home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Programmer 7500
/
MAX_PROGRAMMERS.iso
/
PROGRAMS
/
UTILS
/
FLOPPIES
/
FDFORMAT.ZIP
/
SOURCE.ZIP
/
GETBOOT.PAS
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
NeXTSTEP
RISC OS/Acorn
UTF-8
Wrap
Pascal/Delphi Source File
|
1989-09-02
|
349 b
|
22 lines
uses baseconv;
Var c: Byte;
f: file of Byte;
g: Text;
i: Word;
begin
assign(f,paramstr(1));
assign(g,'BOOT.DAT');
Writeln(paramstr(0));
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.