changeset 382:3639065eb296

Added NitrOS-9 conditionals to boot_1773
author boisy
date Sat, 24 Aug 2002 16:02:31 +0000
parents 25c2f2c8f15f
children fc9c4ad0a850
files level2/modules/boot_1773.asm level2/modules/makefile
diffstat 2 files changed, 38 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/level2/modules/boot_1773.asm	Sat Aug 24 15:43:07 2002 +0000
+++ b/level2/modules/boot_1773.asm	Sat Aug 24 16:02:31 2002 +0000
@@ -44,7 +44,7 @@
          fcb   edition
 
 start    clra
-         ldb   #$0A
+         ldb   #size
 L0015    pshs  a
          decb
          bne   L0015
@@ -61,8 +61,16 @@
          lda   #$09
          sta   >$FF40
          ldd   #$C350
+         ifne  NitrOS9
+         nop
+         endc
 L003A    nop
          nop
+         ifne  NitrOS9
+         nop
+         nop
+         nop
+         endc
          subd  #$0001
          bne   L003A
          pshs  u,y,x,b,a
@@ -236,14 +244,35 @@
          sta   >$FF40
          stb   >$FF48
          rts
-L01A8    bsr   L019F
-L01AA    lbsr  L01AD
-L01AD    lbsr  L01B0
-L01B0    rts
+L01A8 
+         ifne  NitrOS9
+         nop
+         endc
+         bsr   L019F
+L01AA  
+         ifne  NitrOS9
+         nop
+         nop
+         endc
+         lbsr  L01AD
+L01AD 
+         ifne  NitrOS9
+         nop
+         nop
+         endc
+         lbsr  L01B0
+L01B0 
+         ifne  NitrOS9
+         nop
+         endc
+         rts
 
 * Filler to get $1D0
 Filler   fcb   $39,$39,$39,$39,$39,$39,$39,$39,$39,$39,$39,$39,$39,$39,$39,$39
-         fcb   $39,$39,$39,$39,$39,$39,$39,$39,$39,$39,$39,$39
+         fcb   $39,$39
+         ifeq  NitrOS9
+         fcb   $39,$39,$39,$39,$39,$39,$39,$39,$39,$39
+         endc
 
          emod
 eom      equ   *
--- a/level2/modules/makefile	Sat Aug 24 15:43:07 2002 +0000
+++ b/level2/modules/makefile	Sat Aug 24 16:02:31 2002 +0000
@@ -59,6 +59,9 @@
 
 
 
+boot_1773: boot_1773.asm
+	$(AS) -aNitrOS9=0 $(AFLAGS) $< $(ASOUT)$@
+
 kernel_1773: $(KERNEL_1773) $(DEPENDS)
 	$(MERGE) $(KERNEL_1773)>$@