home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Nibble Magazine
/
nib05.dsk
/
BSAVE.bas
< prev
next >
Wrap
BASIC Source File
|
2023-02-26
|
489b
|
13 lines
10 REM THIS PROGRAM DOES A "BSAVE"
20 REM USING THE LAST ADDRESS AND LENGTH
30 REM FROM THE LAST "BLOAD".
40 REM RAUL CARTAYA, NOV. 2, 1980.
50 REM LOAD BINARY AFTER THIS.
60 D$ = CHR$(4)
70 PRINT "HAS BINARY BEEN LOADED? (Y OR N): ";: GET A$
75 PRINT
80 IF A$ < >"Y" THEN INPUT "BINARY FILE NAME: ";F$: PRINT D$"BLOAD"F$
90 INPUT "NAME FOR OUTPUT FILE: ";F$
100 L = PEEK(43616) +256 * PEEK(43617)
110 A = PEEK(43634) +256 * PEEK(43635)
120 PRINT D$"BSAVE"F$",A"A",L"L