1
0
mirror of https://github.com/KarolS/millfork.git synced 2024-11-01 05:05:32 +00:00
millfork/include/a8_pia.mfk

18 lines
332 B
Plaintext
Raw Normal View History

2019-10-21 20:27:50 +00:00
// Atari 8-bit PIA hardware
#if not(ATARI_8)
#warn a8_pia module should be used only on Atari computer-compatible targets
#endif
// port A data r/w
volatile byte pia_porta @$D300
// port B data r/w
volatile byte pia_portb @$D301
// port A control
volatile byte pia_pactl @$D302
// port B control
volatile byte pia_pbctl @$D303