Commodore 128 Programmer's Reference Manual page 41

Hide thumbs Also See for 128:
Table of Contents

Advertisement

BASIC BUILDING BLOCKS AND BASIC 7.0 ENCYCLOPEDIA
31
BSAVE
f""j
Save a binary file from the specified memory locations
BSAVE "filename"[,Ddrive number][<ONI,U>device number] [,Bbank
number],Pstart address TO Pend address
; j
where:
p
start address is the starting address where the program is SAVEd from
\ j
end address is the last address + 1 in memory which is SAVEd
n
This is similar to the SAVE command in the Machine Language MONITOR.
' !
EXAMPLES:
n
BSAVE "SPRITE DATA",B0,
Saves the binary file named "SPRITE DATA",
/ I
P3584 TO P4096 starting at location 3584 through 4095 (BANK
0).
n
BSAVE "PROGRAM.SCR",D0,
Saves the binary file named "PROGRAM.
r
U9,B0,P3182 TO P7999
SCR" in the memory address range 3182
through 7999 (BANK 0) on drive 0, unit 9.
P
CATALOG
i i
Display the disk directory
P]
CATALOG [Ddrive number][<ON|,>Udevice number][,wildcard string]
EXAMPLE:
| i
CATALOG Displays the disk directory on drive 0.
-
CHAR
\
Display characters at the specified position on the screen
r-i
CHAR [color source],X,Y[,string][,RVS]
j
This is primarily designed to display characters on a bit mapped screen, but it can also
be used on a text screen. Here's what the parameters mean:
n
i
/
color source
0 = Background
1 = Foreground
X
Character column (0-39) (VIC screen)
(0-79) (8563) screen

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents