changeset 977:dd89c62ea2ca

os9.asm and oscode.asm now use BTStart symbolic from systype
author boisy
date Tue, 04 Feb 2003 19:43:52 +0000
parents df0d4a622a2c
children 020929a44372
files level1/modules/kernel.asm level1/modules/oscode.asm
diffstat 2 files changed, 6 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/level1/modules/kernel.asm	Tue Feb 04 19:41:56 2003 +0000
+++ b/level1/modules/kernel.asm	Tue Feb 04 19:43:52 2003 +0000
@@ -153,7 +153,7 @@
          bne   L00C2                   nope, not RAM here!
          std   ,y                      else restore org contents
          leax  >$0100,y                check top of next 256 block
-         cmpx  #$EF00                  stop short of boot track mem
+         cmpx  #BTStart                stop short of boot track mem
          bcs   ChkRAM
          leay  ,x
 * Here, Y = end of RAM
@@ -1132,8 +1132,8 @@
          anda  #$7F                    kill hi bit
          cmpa  #$7F                    is code $7F?
          beq   SSvcOK
-         cmpa  #$37
-         bcs   SSvcOK                  branch if A less than $37
+         cmpa  #$37			compare against highest call allowed
+         bcs   SSvcOK                  branch if A less than highest call
          comb
          ldb   #E$ISWI
          rts
--- a/level1/modules/oscode.asm	Tue Feb 04 19:41:56 2003 +0000
+++ b/level1/modules/oscode.asm	Tue Feb 04 19:43:52 2003 +0000
@@ -13,8 +13,6 @@
          endc
 
 ScrnLoc  equ   $8000
-OS9Start equ   $EF00
-OS9Size  equ   $0F80
 
 * Initial code executed upon booting up to OS-9
 
@@ -68,13 +66,13 @@
 
          beq   L266E
          leau  >Start,pcr
-         ldx   #OS9Size
-         ldy   #OS9Start
+         ldx   #$FE80-BTStart
+         ldy   #BTStart
 L2663    lda   ,u+
          sta   ,y+
          leax  -1,x
          bne   L2663
-         jmp   >OS9Start+L266E
+         jmp   >BTStart+L266E
 L266E    leax  <eoc,pcr
          ldd   $09,x
          jmp   d,x