mirror of
https://github.com/a2stuff/prodos-drivers.git
synced 2024-12-22 05:29:54 +00:00
55 lines
1.7 KiB
PHP
55 lines
1.7 KiB
PHP
;;; ============================================================
|
|
;;;
|
|
;;; More Apple II Symbols
|
|
;;;
|
|
;;; ============================================================
|
|
|
|
;;; ============================================================
|
|
;;; Soft Switches
|
|
;;; ============================================================
|
|
|
|
RAMRDOFF := $C002
|
|
RAMRDON := $C003
|
|
RAMWRTOFF := $C004
|
|
RAMWRTON := $C005
|
|
ALTZPOFF := $C008
|
|
ALTZPON := $C009
|
|
|
|
CLR80VID := $C00C
|
|
SET80VID := $C00D
|
|
RDALTZP := $C016
|
|
RD80STORE := $C018
|
|
RDPAGE2 := $C01C
|
|
|
|
BANKSEL := $C073 ; Select RamWorks bank
|
|
|
|
ROMIN2 := $C082 ; Read ROM; no write
|
|
RWRAM1 := $C08B ; Read/write RAM bank 1
|
|
|
|
;;; ============================================================
|
|
;;; I/O Registers (for Slot 2)
|
|
;;; ============================================================
|
|
|
|
TDREG := $C088 + $20 ; ACIA Transmit Register (write)
|
|
RDREG := $C088 + $20 ; ACIA Receive Register (read)
|
|
STATUS := $C089 + $20 ; ACIA Status/Reset Register
|
|
COMMAND := $C08A + $20 ; ACIA Command Register (read/write)
|
|
CONTROL := $C08B + $20 ; ACIA Control Register (read/write)
|
|
|
|
;;; ============================================================
|
|
;;; Monitor ROM routines
|
|
;;; ============================================================
|
|
|
|
INIT := $FB2F
|
|
HOME := $FC58
|
|
GETLN := $FD6A ; with prompt character
|
|
GETLN2 := $FD6F ; no prompt character
|
|
CROUT := $FD8E
|
|
PRBYTE := $FDDA
|
|
COUT := $FDED
|
|
SETNORM := $FE84
|
|
SETKBD := $FE89
|
|
SETVID := $FE93
|
|
|
|
INPUT_BUFFER := $200
|