home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 1995 November
/
PCWK1195.iso
/
inne
/
podstawy
/
dos
/
format
/
2m30src.exe
/
2MFBMAKE.BAS
< prev
next >
Wrap
BASIC Source File
|
1995-03-06
|
588b
|
22 lines
100 '
110 ' Convertir 2MFBOOT.BIN a listado ensamblador con DefineByte
120 '
130 PRINT
140 PRINT "QBASIC/GWBASIC CONVIRTIENDO 2MFBOOT.BIN EN 2MFBOOT.DB"
150 PRINT "QBASIC/GWBASIC TRANSLATING 2MFBOOT.BIN INTO 2MFBOOT.DB"
160 PRINT
170 DEFINT I,J
180 OPEN "R",#1,"2mfboot.bin",1
190 OPEN "2mfboot.db" FOR OUTPUT AS #2
200 FIELD #1,1 AS A$
210 FOR I=0 TO 319
220 PRINT #2," DB ";
230 FOR J=0 TO 7
240 GET #1
250 PRINT #2,USING"###";ASC(A$);
260 IF J<>7 THEN PRINT #2,", "; ELSE PRINT #2,
270 NEXT
280 NEXT
290 CLOSE #1, #2
300 SYSTEM