Commodore 128 System Manual page 251

Hide thumbs Also See for 128:
Table of Contents

Advertisement

Draws the outline of a rectangle.
BOX 1,10, 10, 60, 60, 45,1
Draws a painted, rotated box (a diamond).
BOX , 30, 90,, 45,1
Draws a filled, rotated polygon.
BOX 1, 20, 20,„1
Draws a filled rectangle from 20, 20 to the current pixel cursor.
Any parameter can be omitted but you must include a comma in
its place, as in the last two examples.
NOTE:
X2, Y2 count as one parameter so only one extra comma
is required. Wrapping occurs if the degree is greater than 360 ie:
360=0 (450=90).
BSAVE
Save a binary file from the specified memory locations
BSAVE "filename"[,Ddrive number] [,<ON | ,>Udevice
number] [,Bbank number]Pstart address TO Pend address
where:
• filename is the name you give the file
• drive number is either 0 or 1 on a dual drive (0 is the default.)
• device number is the number of disk drive unit (default is 8)
• bank number is the number of the bank you specify (0-15)
• start address is the starting address where the program is
SAVEd from end address -1 is the last address in memory which
is SAVEd i.e. end address should be 1 byte higher than the last
byte you wish to save
This is the same as the SAVE command in the machine language
MONITOR.
EXAMPLE:
BSAVE "SPRITE DATA",B0,P3584 to P4096
17-9

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

128d

Table of Contents