EasyManua.ls Logo

Commodore 128 - Page 322

Commodore 128
448 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
SWAP
Swap contents of host RAM with contents of expansion RAM.
SWAP #bytes, intsa, expsa, expb
Refer to FETCH command for description of parameters.
SYS/SYS
Called and execute a machine language subroutine at
the specified address
SYS address C64 mode
SYS address [,a] [,x] [,y] [,s] C128 mode
This statement performs a call to a machine code subroutine at
the given address in a memory configuration set up according to
the BANK command. Optionally, arguments a,x,y and s are
loaded into the accumulator, x, y and status registers,
respectively before the subroutine is called.
The address range is 0 to 65535. The program begins executing
the machine-language program starting at that memory location.
Also see the BANK command.
EXAMPLES:
SYS 40960
Calls and executes the machine-language routine at location
40960.
SYS 8192,0
Calls and executes the machine-language routine at location
8192 and loads zero into the accumulator.
TEMPO
Define the speed of the song being played
TEMPO n
where n is a relative duration between (1 and 255)
17-80

Table of Contents

Other manuals for Commodore 128

Related product manuals