ROM Entry Points

Thursday 8 November 2012
by  Denis
popularity : 0%

Expansion ROM

The expansion ROM corresponds to the ROM of expansion modules, like the CE-150 printer and cassette interface.

Address Contents Checked /
Documented
8000 - BFFF Expansion ROM - 16KiB
A519 Change printer pen color
A769 Printer motor off
A781 Send ASCII character to printer (no LF)
A8DD Move pen
A9F1 Send Line feed (LF) to printer
AA04 Send n line feeds to the printer
AAD9 Pen up / down
ABCB Switch printer from graphics to text mode
ABEF Switch printer from text to graphics mode
BBD6 Write tape synchronization header
BBF5 Finalization of tape I/O control
BCE8 Read tape synchronization header / search for filename
BD3C Read / write file to tape
BDCC Send a character to tape
BDF0 Read a character from tape
BF11 Turn tape drive on
BF43 Turn tape drive off

System ROM

Entry points to various ROM routines.

Address Contents Checked /
Documented
D0D2 Magnitude comparison for numeric values
D0F9 Magnitude comparison for character strings
D2EA Search for program line number
D461 Find address of variable
D925 String concatenation
D9B1 CHR$
D9CF STR$
D9D7 VAL
D9DD ASC if YL = 60h, LEN if YL = 64h
D9F3 RIGHT$, LEFT$, MID$
E243 Keyboard scan. Wait for character
E33F Auto power off
E42C Keyboard scan no wait
E8CA Display contents of display buffer
ED00 Output n characters to LCD using current cursor position
ED3B Output n characters to LCD at cursor = 0
ED4D Output one char to LCD and increment cursor position
ED57 Output one character to LCD
ED95 Convert two bytes of ASCII code (0-9, A-F) into one byte of hex data
EDEF Output one graphic column to current cursor position
EFB6 X = X - Y
EFBA X = X + Y
F00B I/OP flag 2
F01A X = X * Y
F084 X = X / Y
F0E9 X = SQRT X
F161 X = LN X
F165 X = LOG X
F1CB X = EXP X
F1D4 X = 10 ^ X
F391 X = COS X
F39E X = TAN X
F3A2 X = SIN X
F492 X = ACOS X
F496 X = ATAN X
F49A X = QSIN X
F531 X = DEG X
F564 X = DMS X
F597 X = ABS X
F59D X = SIGN X
F5BE X = INT X
F89C X = X ^ Y
FF00-FFF6 Vectors for jumps and calls (SBR)
FFF8-FFF9 Start address for MI routine
FFFA-FFFB Start address for the internal timer
FFFC-FFFD Start address for the NMI routine
FFFE-FFFF Start address for the RESET routine