From 3bbab4a126746c54363579cf8bc2f234ce7dbcff Mon Sep 17 00:00:00 2001 From: zbyti Date: Wed, 9 Sep 2020 00:57:12 +0200 Subject: [PATCH] new memory mapping helpers --- include/a8_antic.mfk | 5 ++--- include/a8_os.mfk | 1 + 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/include/a8_antic.mfk b/include/a8_antic.mfk index 8566a148..853c9e3f 100644 --- a/include/a8_antic.mfk +++ b/include/a8_antic.mfk @@ -19,6 +19,5 @@ 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 - -// nmi reset status -volatile byte antic_nmires @$D40F +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 diff --git a/include/a8_os.mfk b/include/a8_os.mfk index c3258365..c31915f1 100644 --- a/include/a8_os.mfk +++ b/include/a8_os.mfk @@ -424,6 +424,7 @@ volatile byte os_CDTMF4 @$022C // COUNT DOWN TIMER 4 FLAG volatile byte os_INTEMP @$022D // IAN'S TEMP volatile byte os_CDTMF5 @$022E // COUNT DOWN TIMER FLAG 5 volatile byte os_SDMCTL @$022F // SAVE DMACTL REGISTER +volatile word os_SDLST @$0230 // SAVE DISPLAY LIST volatile byte os_SDLSTL @$0230 // SAVE DISPLAY LIST LOW BYTE volatile byte os_SDLSTH @$0231 // SAVE DISPLAY LIST HI BYTE volatile byte os_SSKCTL @$0232 // SKCTL REGISTER RAM