![]() |
|
|
#1 |
|
Архивный участник
Join Date: Apr 2006
Posts: 54
|
Simple console converter. DO NOT USE SPACES WHEN WRITING HEX code 5B 5D <-- WRONG !
5B5D <-- Good http://www.sendspace.com/file/bmqz2u ![]() Edit: UPDATED ! 1.01v Hex --> ascii Ascii--> Hex now awailible !
|
|
|
|
|
#2 |
|
Архивный участник
Join Date: Apr 2006
Posts: 54
|
some please, say some1 , make hex---> ascii or not ? if it's usless i will not do it
|
|
|
|
|
#3 |
|
Архивный участник
Join Date: Apr 2006
Posts: 461
|
There are tools out there, but most of them suck. If this works well for both hex to ASCII and ASCII to hex then I'd use it.
|
|
|
|
|
#4 |
|
Архивный участник
Join Date: Apr 2006
Posts: 54
|
Thanks, its glad even 1 man will use it, so... i think in today evening i will make and upload both hex-->ascii and ascii-->hex, will post it here
Btw i'm very very lame for now... just started learning, and it will be my 1st share
|
|
|
|
|
#5 |
|
Архивный участник
Join Date: Apr 2006
Posts: 54
|
Updated, check the 1st post
|
|
|
|
|
#6 |
|
Архивный участник
Join Date: Jun 2005
Posts: 258
|
lol it's funny I was just bitching last night that I needed something like this... Good share in my opinion .. I'll have to check it out and see if it works well
![]() Thanks |
|
|
|
|
#7 |
|
Архивный участник
Join Date: Apr 2006
Posts: 54
|
np, its looks strange with those switching modes: hex and ascii, but after some time u will be ok, don't forget do not use Spaces in hex
!
|
|
|
|
|
#8 |
|
Архивный участник
Join Date: Jun 2005
Posts: 258
|
What I really want to see is a program that will convert assembly instructions into their corresponding opcode ...
|
|
|
|
|
#9 |
|
Архивный участник
Join Date: May 2005
Posts: 367
|
question.
did u ever open ultraedit options..? it has very same converters and lots more
|
|
|
|
|
#10 |
|
Архивный участник
Join Date: Apr 2006
Posts: 54
|
maybe, wanna i will make laugh u ? it writen in pascal ROFL
|
|
|
|
|
#11 |
|
Архивный участник
Join Date: Nov 2005
Posts: 403
|
mmm, funny
i dont realy know what reason in your program, but nice - i give another one in your collectionCode:
program dem_size;
uses crt;
var
P:pointer;
I:word;
procedure Prog_size;
var
SystemTotalSize:word;
PrefixSize:word;
CodeSize:word;
DataSize:word;
HeapSize:word;
AllocHeapSize:word;
Factor:real;
S:string[80];
L:byte absolute S;
L1:byte;
function Lin_adr (P:pointer):longint;
begin
Lin_adr:=longint(Seg(p^))*16+Ofs(P^)
end;
begin
SystemTotalSize:=640*1024 div 16;
PrefixSize:=256 div 16;
CodeSize:=Dseg - PrefixSeg - PrefixSize;
DataSize:=Seg(HeapOrg^)-SSeg;
HeapSize:=MemW[PrefixSeg:2] - Seg(HeapOrg^);
AllocHeapSize:=(Lin_adr(HeapPtr)-Lin_adr(HeapOrg)+1) div 16;
Factor:=67/SystemTotalSize;
L:=Round(Factor*PrefixSize);
FillChar(S[1],L,#176);
Writeln('PSP ',PrefixSize:5,' ',S);
L:=Round(Factor*CodeSize);
FillChar(S[1],L,#176);
Writeln('Code ',CodeSize:5,' ',S);
L:=Round(Factor*DataSize);
FillChar(S[1],L,#176);
Writeln('Data ',DataSize:5,' ',S);
L:=Round(Factor*HeapSize);
L1:=Round(Factor*AllocHeapSize);
FillChar(S[1],L1,#176);
FillChar(S[L1+1],L-L1,#219);
Writeln('Heap ',HeapSize:5,' ',S);
end;
begin
Randomize;
for I:=1 to 100 do
GetMem(P,Random(1000));
Rrog_size;
end.
|
|
|
|
|