changeset 2577:7ebb02168028

Changed two routines that are not compatible with DriveWire.
author robertgault
date Mon, 01 Aug 2011 12:04:15 +0000
parents 35c61c91bc29
children 48e3cadb6222
files 3rdparty/packages/koronis/koronis.asm
diffstat 1 files changed, 12 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/3rdparty/packages/koronis/koronis.asm	Mon May 16 00:57:24 2011 +0000
+++ b/3rdparty/packages/koronis/koronis.asm	Mon Aug 01 12:04:15 2011 +0000
@@ -21,6 +21,10 @@
 *          2003/01/12  Boisy G. Pitre
 * Disassembled from original binary; patched so that standard output
 * is used and /TERM is no longer assumed.
+*          2011/08/01  Robert Gault
+* Changed two routines that toggle the RS-232 line at $FF20 to the
+* single bit sound line at $FF22. This preserves timing and prevents
+* DriveWire complications. L5A1F, L5A2C
 
          nam   Koronis
          ttl   Koronis Rift Program
@@ -9810,16 +9814,20 @@
          fcb   $E3,$DD,$EF,$F7,$F7,$FF,$F7,$FF   c]oww.w.
          fcb   $C7,$AB,$6D,$01,$6D,$AB,$C7
 
+* These next two routines change the RS-232 line and can't have any use in the game.
+* They do interfere with DW4 so I've changed them to toggle the single bit sound as
+* that might just make some sense. Also no timing changes will result by switching to
+* $FF22. RG
 L5A1F    pshs  a
-         lda   >$FF20
+         lda   >$FF22
          anda  #$FD
-         sta   >$FF20
+         sta   >$FF22
          puls  a
          rts   
 L5A2C    pshs  a
-         lda   >$FF20
+         lda   >$FF22
          ora   #$02
-         sta   >$FF20
+         sta   >$FF22
          puls  a
          rts   
 * Needs Label