mirror of
https://github.com/blondie7575/WeeGUI.git
synced 2026-03-11 10:41:54 +00:00
- Moved primary library code to AUX memory - Factored mouse driver out into separate loadable module, living at the top of main memory - Pending actions now handled by caching click location instead of View ID, so interrupt handler doesn't have to call AUX memory code
40 lines
988 B
ArmAsm
40 lines
988 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)
|
|
|
|
OURCH = $057b ; 80 col cursor position (H)
|
|
OURCV = $05fb ; 80 col cursor position (V)
|
|
|
|
RAMRDOFF = $c002 ; Write (Read from main RAM)
|
|
RAMRDON = $c003 ; Write (Read from aux RAM)
|
|
TRAMRD = $c013 ; Read bit 7 (state of RAMRD)
|
|
RAMWRTOFF = $c004 ; Write (Write to main RAM)
|
|
RAMWRTON = $c005 ; Write (Write to aux RAM)
|
|
TRAMWRT = $c014 ; Read bit 7 (state of RAMWRT)
|