# HG changeset patch # User boisy # Date 1030204951 0 # Node ID 3639065eb2961857920fd942a9039f1bfa08f2df # Parent 25c2f2c8f15f6956192ef41931877d92baf8d33a Added NitrOS-9 conditionals to boot_1773 diff -r 25c2f2c8f15f -r 3639065eb296 level2/modules/boot_1773.asm --- 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 * diff -r 25c2f2c8f15f -r 3639065eb296 level2/modules/makefile --- 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)>$@