WeeGUI/switches.s
2014-08-29 12:19:19 -07:00

30 lines
615 B
ArmAsm

;
; switches.s
; Softswitches for Apple ][
;
; Created by Quinn Dunki on 8/15/14.
; Copyright (c) 2014 One Girl, One Laptop Productions. All rights reserved.
;
PAGE2 = $c01c ; Read bit 7
PAGE2OFF = $c054 ; Read/Write
PAGE2ON = $c055 ; Read/Write
COL80 = $c01f ; Read bit 7
COL80OFF = $c00c ; Write
COL80ON = $c00d ; Write
STORE80 = $c018 ; Read bit 7
STORE80OFF = $c000 ; Write
STORE80ON = $c001 ; Write
TEXT = $c01a ; Read bit 7
TEXTOFF = $c050 ; Read/Write
TEXTON = $C051 ; Read/Write
KBD = $c000 ; Read
KBDSTRB = $c010 ; Read/Write
RDVBLBAR = $C019 ; Read bit 7 (active low)