changeset 2641:190364f73e4c

Fixed issue where interrupt shadow byte wasn't being applied in dwwrite, causing keyboard to lockup after a write.
author Boisy Pitre <boisy.pitre@nuance.com>
date Tue, 28 Feb 2012 23:22:06 -0600
parents 8d24c482646e
children 11e6f408141f
files level1/atari/TODO level1/atari/modules/dwwrite.asm
diffstat 2 files changed, 2 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/level1/atari/TODO	Tue Feb 28 23:09:32 2012 -0600
+++ b/level1/atari/TODO	Tue Feb 28 23:22:06 2012 -0600
@@ -13,9 +13,6 @@
 troubles with it uncommented.
 - NMI as clock source could be a problem for DriveWire because OP_TIME could come in
 the middle of a DriveWire read or write.
-- dwread.asm/dwwrite.asm could use improvement, there are occasional errors in SIO.
 
 Other:
 - CoCoBoot needs to be ported to the Atari.
-- Do this:  xyz</x1@ and the keyboard stops working after getting the WHAT?? from the shell.
-Wondering why this is?
--- a/level1/atari/modules/dwwrite.asm	Tue Feb 28 23:09:32 2012 -0600
+++ b/level1/atari/modules/dwwrite.asm	Tue Feb 28 23:22:06 2012 -0600
@@ -37,7 +37,8 @@
           lda	     #SKSEND        	; set pokey to transmit data mode
           sta	     SKCTL
           sta	     SKRES
-          lda       #MSKSEND
+          lda       D.IRQENSHDW
+          ora       #MSKSEND
           sta       IRQEN
           lda       ,x+
           sta       SEROUT