1
0
mirror of https://github.com/KarolS/millfork.git synced 2024-12-25 21:29:25 +00:00
millfork/include/a8_antic.mfk

25 lines
1.3 KiB
Plaintext
Raw Normal View History

2019-10-21 20:27:50 +00:00
// Atari 8-bit ANTIC hardware
#if not(ATARI_8)
#warn a8_antic module should be used only on Atari computer-compatible targets
#endif
volatile byte antic_dmactl @$D400 // direct memory access control
volatile byte antic_chactl @$D401 // character mode control
2020-09-08 23:50:44 +00:00
volatile word antic_dlist @$D402 // display list pointer
2019-10-21 20:27:50 +00:00
volatile byte antic_dlistl @$D402 // display list pointer low-byte
volatile byte antic_dlisth @$D403 // display list pointer high-byte
volatile byte antic_hscrol @$D404 // horizontal scroll enable
volatile byte antic_vscrol @$D405 // vertical scroll enable
volatile byte antic_unuse0 @$D406 // unused
volatile byte antic_pmbase @$D407 // msb of p/m base address
volatile byte antic_unuse1 @$D408 // unused
volatile byte antic_chbase @$D409 // character base address
volatile byte antic_wsync @$D40A // wait for horizontal synchronization
volatile byte antic_vcount @$D40B // vertical line counter
volatile byte antic_penh @$D40C // light pen horizontal position
volatile byte antic_penv @$D40D // light pen vertical position
volatile byte antic_nmien @$D40E // non-maskable interrupt enable
2020-09-08 22:57:12 +00:00
volatile byte antic_nmist @$D40F // (R) NMI status; holds cause for the NMI interrupt, corresponding to the same bits in NMIEN
volatile byte antic_nmires @$D40F // (W) Reset for NMIST; clears the interrupt request register