Mercurial > hg > Members > kono > nitros9-code
diff level1/modules/clock.asm @ 2656:2ebf5e737ceb
Updated to address Atari port problems
author | Boisy Pitre <boisy.pitre@nuance.com> |
---|---|
date | Wed, 11 Apr 2012 21:21:22 -0500 |
parents | 442795681807 |
children | 90d13dbd887a |
line wrap: on
line diff
--- a/level1/modules/clock.asm Tue Apr 10 22:25:19 2012 -0500 +++ b/level1/modules/clock.asm Wed Apr 11 21:21:22 2012 -0500 @@ -150,7 +150,7 @@ IFNE atari * Atari - Tell ANTIC to assert NMI on Vertical Blank lda #$40 - sta $D40E enable VBlank NMI + sta NMIEN enable VBlank NMI rts ELSE ldx #PIA0Base point to PIA0 @@ -183,9 +183,8 @@ clra tfr a,dp set direct page to zero IFNE atari - sta $D40F clear NMI interrupt - ELSE - tst PIA0Base+3 get hw byte + sta NMIRES clear NMI interrupt + ELSE tst PIA0Base+3 get hw byte bmi L0032 branch if sync flag on jmp [>D.SvcIRQ] else service other possible IRQ L0032 tst PIA0Base+2 clear interrupt