ACPTR - Get data from the serial bus

PreparationTALK, TKSA
Send.Aignored
.Xignored
.Yignored
Stack usage13
Returns.AByte from serial bus
.Xundefined
.Ypreserved
ErrorsSee READST


CHKIN - Open a channel for input

Preparation(OPEN)
Send.Aignored
.XFile number
.Yignored
Stack usageNone
Returns.Aundefined
.Xundefined
.Ypreserved
ErrorsNone


CHKOUT - Open a channel for output

Preparation(OPEN)
Send.Aignored
.XFile number
.Yignored
Stack usage4+
Returns.Aundefined
.Xundefined
.Ypreserved
Errors0,3,5,7 (See READST)


CHRIN - Get a character from the input channel

Preparation(OPEN, CHKIN)
Send.Aignored
.Xignored
.Yignored
Stack usage7+
Returns.ARetrieved byte
.Xundefined
.Ypreserved
Errors0 (See READST)


CHROUT - Output a character

Preparation(CHKOUT,OPEN)
Send.AByte to send
.Xignored
.Yignored
Stack usage8+
Returns.Aundefined
.Xpreserved
.Ypreserved
Errors0 (See READST)


CINT - Initialize screen editor & 6567 video chip

PreparationNone
Send.Aignored
.Xignored
.Yignored
Stack usage4
Returns.Aundefined
.Xundefined
.Yundefined
ErrorsNone


CIOUT - Transmit a byte over the serial bus

PreparationLISTEN, [SECOND]
Send.AByte to send
.Xignored
.Yignored
Stack usage5
Returns.Apreserved
.Xpreserved
.Ypreserved
ErrorsSee READST


CLALL - Close all files

PreparationNone
Send.Aignored
.Xignored
.Yignored
Stack usage11
Returns.Aundefined
.Xundefined
.Ypreserved
ErrorsNone


CLOSE - Close a logical file

PreparationNone
Send.AFile number
.Xignored
.Yignored
Stack usage2+
Returns.Aundefined
.Xundefined
.Yundefined
Errors0,240 (See READST)


CLRCHN - Clear I/O channels

PreparationNone
Send.Aignored
.Xignored
.Yignored
Stack usage9
Returns.Aundefined
.Xundefined
.Ypreserved
ErrorsNone


GETIN - Get a character

PreparationCHKIN, OPEN
Send.Aignored
.Xignored
.Yignored
Stack usage7+
Returns.Aundefined
.Xundefined
.Yundefined
ErrorsSee READST


IOBASE - Locate I/O memory page

PreparationNone
Send.Aignored
.Xignored
.Yignored
Stack usage2
Returns.Apreserved
.XLow byte of I/O hardware location
.YHigh byte of I/O hardware location
ErrorsNone


IOINIT - Initialize I/O devices

PreparationNone
Send.Aignored
.Xignored
.Yignored
Stack usageNone
Returns.Aundefined
.Xundefined
.Yundefined
ErrorsNone


LISTEN - Command a device on the serial bus to listen

PreparationNone
Send.ADevice number
.Xignored
.Yignored
Stack usageNone
Returns.Aundefined
.Xpreserved
.Ypreserved
ErrorsSee READST


LOAD - Load RAM from device

PreparationSETLFS, SETNAM
Send.A0 for Load, 1 for Verify
.X[Low byte of load address]
.Y[High byte of load address]
Stack usageNone
Returns.Aundefined
.XLow byte of ending address
.YHigh byte of ending address
Errors0,4,5,8,9, READST


MEMBOT - Set bottom of RAM

PreparationNone
Send.Aignored
.X[Low byte of new RAM bottom]
.Y[High byte of new RAM bottom]
Stack usageNone
Returns.Apreserved
.X[Low byte of current RAM bottom]
.Y[High byte of current RAM bottom]
ErrorsNone


MEMTOP - Set the top of RAM

PreparationNone
Send.Aignored
.X[Low byte of new RAM top]
.Y[High byte of new RAM top]
Stack usage2
Returns.Apreserved
.X[Low byte of current RAM top]
.Y[High byte of current RAM top]
ErrorsNone


OPEN - Open a logical file

PreparationSETLFS, SETNAM
Send.Aignored
.Xignored
.Yignored
Stack usageNone
Returns.Aundefined
.Xundefined
.Yundefined
Errors1,2,4,5,6,240, READST


PLOT - Set cursor location

PreparationNone
Send.Aignored
.X[New cursor row]
.Y[New cursor column]
Stack usage2
Returns.Aundefined
.X[Current cursor row]
.Y[Current cursor column]
ErrorsNone


RAMTAS - Perform RAM test

PreparationNone
Send.Aignored
.Xignored
.Yignored
Stack usage2
Returns.Aundefined
.Xundefined
.Yundefined
ErrorsNone


RDTIM - Read system clock

PreparationNone
Send.Aignored
.Xignored
.Yignored
Stack usage2
Returns.AHigh byte of system time
.XMiddle byte of system time
.YLow byte of system time
ErrorsNone


READST - Read I/O status

PreparationNone
Send.Aignored
.Xignored
.Yignored
Stack usage2
Returns.AStatus code
.Xpreserved
.Ypreserved
ErrorsNone


RESTOR - Restore default system and interrupt vectors

PreparationNone
Send.Aignored
.Xignored
.Yignored
Stack usage2
Returns.Aundefined
.Xundefined
.Yundefined
ErrorsNone


SAVE - Save memory to a device

PreparationSETLFS, SETNAM
Send.AZero-page location of the start address pointer
.XLow byte of ending address
.YHigh byte of ending address
Stack usageNone
Returns.Aundefined
.Xundefined
.Yundefined
Errors5,8,9, READST


SCNKEY - Scan the keyboard

PreparationIOINIT
Send.Aignored
.Xignored
.Yignored
Stack usage5
Returns.Aundefined
.Xundefined
.Yundefined
ErrorsNone


SCREEN - Return screen format

PreparationNone
Send.Aignored
.Xignored
.Yignored
Stack usage2
Returns.Apreserved
.XNumber of screen columns
.YNumber of screen rows
ErrorsNone


SECOND - Send secondary address for LISTEN

PreparationLISTEN
Send.ASecondary address
.Xignored
.Yignored
Stack usage8
Returns.Aundefined
.Xpreserved
.Ypreserved
ErrorsSee READST


SETLFS - Set up a logical file

Preparation2
Send.AA, X, Y
.XNone
.YNone
Stack usage
Returns.ASETMSG
.XControl system message output
.Y$FF90
ErrorsNone


A - None

PreparationSet file name
Send.AA
.X
.YSETNAM
Stack usage65469
Returns.AA, X, Y
.XNone
.YNone
Errors$FFBD


None -

PreparationNone
Send.A$FFDB
.X65499
.YA, X, Y
Stack usage2
Returns.ANone
.X
.YSETTMO
ErrorsNone


$FFA2 - 65442

Preparation
Send.ANone
.X2
.YNone
Stack usageCheck if key is pressed
Returns.A$FFE1
.X65505
.YA
ErrorsSTOP


None - None

Preparation65460
Send.ATALK
.XCommand a device on the serial bus to TALK
.Y$FFB4
Stack usageNone
Returns.ASee READST
.X8
.YA
ErrorsA


TKSA - Send a secondary address to a device commanded to TALK

Preparation8
Send.AA
.XTALK
.YSee READST
Stack usage
Returns.AUDTIM
.XUpdate the system clock
.Y$FFEA
ErrorsA


None - None

PreparationSend an UNLISTEN command
Send.AA, X
.X
.YUNLSN
Stack usage65454
Returns.ANone
.XNone
.YSee READST
Errors$FFAE


A -

PreparationNone
Send.A$FF8D
.X65421
.YX, Y
Stack usage2
Returns.AA, X, Y
.XNone
.YSee READST
ErrorsNone


All pages were generated with a text editor.
All images (except counter art and host ads) are generated, owned and (c) by
me.

Home - Files - Super Reference
1