a2d/inc/apple2.inc
2018-02-19 20:18:58 -08:00

52 lines
1.2 KiB
PHP

;;; ------------------------------
;;; More Apple II Symbols
;;; ------------------------------
;;; Zero Page
COUT_HOOK := $36
;;; Soft Switches
SPKR := $C030
ROMIN2 := $C082
NEWVIDEO := $C029 ; IIgs - new video modes
SHADOW := $C035 ; IIgs - inhibit shadowing
AN3_ON := $C05F ; AppleColor Adapter Card / Le Chat Mauve
AN3_OFF := $C05E
HR1_ON := $C0B3
HR1_OFF := $C0B2
HR2_ON := $C0B5
HR2_OFF := $C0B4
HR3_ON := $C0B7
HR3_OFF := $C0B6
;;; Key Codes
KEY_RETURN := $0D
KEY_ESCAPE := $1B
KEY_LEFT := $08
KEY_DOWN := $0A
KEY_UP := $0B
KEY_RIGHT := $15
KEY_DELETE := $7F
;;; Monitor
INIT := $FB2F
BELL1 := $FBDD
VTAB := $FC22
HOME := $FC58
COUT := $FDED
SETKBD := $FE89
SETVID := $FE93
MONZ := $FF69
;;; Miscellaneous
IRQ_VECTOR := $3FE
ID_BYTE_FBB3 := $FBB3 ; $06 = IIe or later
ID_BYTE_FBC0 := $FBC0 ; $EA = IIe, $E0 = IIe enh/IIgs, $00 = IIc/IIc+
ID_BYTE_FE1F := $FE1F ; RTS ($60) on pre-IIgs