changeset 2068:192496d18a9b

Minor kosher fix
author boisy
date Sun, 04 Jun 2006 13:43:36 +0000
parents d5f8704387ee
children 3faa1f2fc574
files level1/modules/boot_1773.asm
diffstat 1 files changed, 6 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/level1/modules/boot_1773.asm	Sat May 20 15:43:19 2006 +0000
+++ b/level1/modules/boot_1773.asm	Sun Jun 04 13:43:36 2006 +0000
@@ -35,6 +35,10 @@
 *
 *   9      2006/05/05  Boisy G. Pitre
 * Fixed bug where single sided booting was broken
+*
+*          2006/06/04  Boisy G. Pitre
+* Removed hard-coded value of #18 when adding back sectors per track and replaced
+* with the appropriate value: ddtks,u
 
          nam   Boot
          ttl   WD1773 Boot module
@@ -283,8 +287,8 @@
 SnglSid  subb  ddtks,u		subtract sectors per track from B
          sbca  #$00
          bcc   L0160
-L0168    addb  #18			add sectors per track (should this be ddtks?)
-         puls  a			get current track indicator off of stack
+L0168    addb  ddtks,u		add sectors per track
+         puls  a		get current track indicator off of stack
 L016C    incb
          stb   SECTREG,y	save in sector register
 SetTrak  ldb   currtrak,u	get current track in B