home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Programmer 7500
/
MAX_PROGRAMMERS.iso
/
PROGRAMS
/
UTILS
/
FLOPPIES
/
FDFORM16.ZIP
/
GETBOOT.PAS
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Pascal/Delphi Source File
|
1990-10-26
|
324 b
|
21 lines
USES baseconv;
VAR c: Byte;
f: FILE OF Byte;
g: Text;
i: Word;
BEGIN
Assign(f,ParamStr(1));
Assign(g,'BOOT.DAT');
Reset(f);
Rewrite(g);
FOR i:=1 TO 512 DO BEGIN
Read(f,c);
Write(g,'$',hexf(c,2),',');
IF i MOD 16=0 THEN WriteLn(g);
END;
Close(f);
Close(g);
END.