1
0
mirror of https://github.com/fadden/6502bench.git synced 2024-12-13 12:29:49 +00:00
6502bench/SourceGen/RuntimeData/Apple/A3-IO.sym65

46 lines
1.2 KiB
Plaintext
Raw Normal View History

2018-09-28 22:06:35 +00:00
; Copyright 2018 David Schmidt. All Rights Reserved.
; See the LICENSE.txt file for distribution terms (Apache 2.0).
;
; Adapted from Apple /// reference materials
2018-09-28 23:43:33 +00:00
;
2018-09-28 22:06:35 +00:00
*SYNOPSIS Symbols from hardware I/O areas
KBD @ $C000 ;last key pressed
KBDFLG @ $C008 ;
KBDSTRB @ $C010 ;RW keyboard strobe
SPKR @ $C030 ;RW toggle speaker (Apple II type)
2018-09-29 04:31:32 +00:00
SPKRIII @ $C040 ;RW beeps speaker (Apple /// type)
JOYRDY @ $C066 ;
CLOCK @ $C070 ;clock
PHASOFF @ $C080 ;
PHASON @ $C081 ;
MOTOROFF @ $C088 ;
MOTORON @ $C089 ;
DRV0EN @ $C08A ;
DRV1EN @ $C08B ;
Q6L @ $C08C ;
Q6H @ $C08D ;
Q7L @ $C08E ;
ACIASTAT @ $C0F1 ;status of ACIA
2018-09-28 22:06:35 +00:00
; Other hardware registers
Z_REG @ $FFD0 ;zero page register
D_DDRB @ $FFD2 ;data direction register B
D_DDRA @ $FFD3 ;data direction register A
2018-09-28 22:06:35 +00:00
TIMER1L @ $FFD8
TIMLATCH @ $FFD9
D_ACR @ $FFDB
D_PCR @ $FFDC
D_IFR @ $FFDD
D_IER @ $FFDE
E_REG @ $FFDF ;environment register
2018-09-28 22:06:35 +00:00
E_IORB @ $FFE0
E_DDRB @ $FFE2
E_DDRA @ $FFE3
E_ACR @ $FFEB
E_PCR @ $FFEC
E_IFR @ $FFED
E_IER @ $FFEE
B_REG @ $FFEF ;bank switch register