Post Pacific  

Go Back   Post Pacific > Восстановленный архив > Темы без сохранившегося раздела
FAQ Community Calendar Today's Posts Search

Notices

 
 
Thread Tools Search this Thread Display Modes
Old 03.10.2006, 10:31   #1
Kengurius
Архивный участник
 
Join Date: Apr 2006
Posts: 54
Default Maybe will help

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 !
Kengurius is offline  
Old 03.10.2006, 11:08   #2
Kengurius
Архивный участник
 
Join Date: Apr 2006
Posts: 54
Default

some please, say some1 , make hex---> ascii or not ? if it's usless i will not do it
Kengurius is offline  
Old 03.10.2006, 13:06   #3
mcrabben7
Архивный участник
 
Join Date: Apr 2006
Posts: 461
Default

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.
mcrabben7 is offline  
Old 03.10.2006, 13:11   #4
Kengurius
Архивный участник
 
Join Date: Apr 2006
Posts: 54
Default

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
Kengurius is offline  
Old 03.10.2006, 19:04   #5
Kengurius
Архивный участник
 
Join Date: Apr 2006
Posts: 54
Default

Updated, check the 1st post
Kengurius is offline  
Old 03.10.2006, 19:35   #6
HongK
Архивный участник
 
Join Date: Jun 2005
Posts: 258
Default

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
HongK is offline  
Old 03.10.2006, 19:42   #7
Kengurius
Архивный участник
 
Join Date: Apr 2006
Posts: 54
Default

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 !
Kengurius is offline  
Old 03.10.2006, 19:42   #8
HongK
Архивный участник
 
Join Date: Jun 2005
Posts: 258
Default

What I really want to see is a program that will convert assembly instructions into their corresponding opcode ...
HongK is offline  
Old 05.10.2006, 11:32   #9
demon
Архивный участник
 
Join Date: May 2005
Posts: 367
Default

question.
did u ever open ultraedit options..? it has very same converters and lots more
demon is offline  
Old 05.10.2006, 12:19   #10
Kengurius
Архивный участник
 
Join Date: Apr 2006
Posts: 54
Default

maybe, wanna i will make laugh u ? it writen in pascal ROFL
Kengurius is offline  
Old 05.10.2006, 18:50   #11
Aspire
Архивный участник
 
Join Date: Nov 2005
Posts: 403
Default

Quote:
Originally Posted by Kengurius View Post
maybe, wanna i will make laugh u ? it writen in pascal ROFL
mmm, funny i dont realy know what reason in your program, but nice - i give another one in your collection
Code:
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.
GL
Aspire is offline  
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 16:34.