# HG changeset patch # User Shinji KONO # Date 1549930584 -32400 # Node ID 91447c3ccd589bda6031de3ce7a688331696d2dd # Parent 1a30cd6e5973d88445da98e08f1e3fa7b8b3dca1 fix diff -r 1a30cd6e5973 -r 91447c3ccd58 game09/game09.asm --- a/game09/game09.asm Tue Feb 05 09:03:07 2019 +0900 +++ b/game09/game09.asm Tue Feb 12 09:16:24 2019 +0900 @@ -15,10 +15,7 @@ mod eom,name,tylg,atrv,start,size - org 0 -dpage rmb $96 - DP00 equ $00 VAROFS equ $04 variabble base 'A'-'Z' until $36 DP38 equ $38 variable end @@ -54,7 +51,11 @@ lineend rmb 2 $A2 ustack rmb 128 linebuf rmb 252 + ifeq Level-2 +program rmb $d000-. + else program rmb $6000 + endc size equ . name fcs "Game09" diff -r 1a30cd6e5973 -r 91447c3ccd58 os9/level1/Makefile --- a/os9/level1/Makefile Tue Feb 05 09:03:07 2019 +0900 +++ b/os9/level1/Makefile Tue Feb 12 09:16:24 2019 +0900 @@ -13,7 +13,7 @@ clean : cd cmds; make clean - rm -f $(MOD) *.lst krn.asm + rm -f $(MOD) *.lst krn.asm mc09 LST = -l $@.lst @@ -89,5 +89,6 @@ TL1 : ln -s ../../TL1 . + mc09 : ln -s ../mc09 . diff -r 1a30cd6e5973 -r 91447c3ccd58 os9/level1/cmds/Makefile --- a/os9/level1/cmds/Makefile Tue Feb 05 09:03:07 2019 +0900 +++ b/os9/level1/cmds/Makefile Tue Feb 12 09:16:24 2019 +0900 @@ -8,7 +8,7 @@ all : $(OBJ2) $(OBJ1) -A09 = ../../../src/a09 -I ../ +A09 = ../../../src/a09 clean : rm -rf *.lst $(OBJ2) $(OBJ1) diff -r 1a30cd6e5973 -r 91447c3ccd58 os9/level1/cmds/defsfile --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/os9/level1/cmds/defsfile Tue Feb 12 09:16:24 2019 +0900 @@ -0,0 +1,19 @@ +* Main defsfile for OS-9 Level One V2 +* +* +* OS-9 Level and Version equates +Level equ 1 +OS9Vrsn equ 1 +OS9Major equ 0 +OS9Minor equ 1 +NOS9VER equ OS9Vrsn +NOS9MAJ equ OS9Major +NOS9MIN equ OS9Minor + +CHECK_FOR_VALID_RAM equ 1 + + use ../../nitros9-code/defs/coco.d + use ../../nitros9-code/defs/os9.d + use ../../nitros9-code/defs/scf.d + use ../../nitros9-code/defs/rbf.d + diff -r 1a30cd6e5973 -r 91447c3ccd58 os9/level2/Makefile --- a/os9/level2/Makefile Tue Feb 05 09:03:07 2019 +0900 +++ b/os9/level2/Makefile Tue Feb 12 09:16:24 2019 +0900 @@ -12,7 +12,7 @@ clean : cd cmds ; make clean - rm -rf $(ALL) *.lst *.dSYM + rm -rf $(ALL) *.lst *.dSYM mc09 LST = -l $@.lst pdisk : diff -r 1a30cd6e5973 -r 91447c3ccd58 src/Makefile --- a/src/Makefile Tue Feb 05 09:03:07 2019 +0900 +++ b/src/Makefile Tue Feb 12 09:16:24 2019 +0900 @@ -15,7 +15,7 @@ # CFLAGS=-g -DTERM_CONTROL \ # -std=c99 -D_POSIX_C_SOURCE=1 -D_XOPEN_SOURCE=1 -D_POSIX_SOURCE=200809L -D_GNU_SOURCE=1 \ # -Dd_namlen=d_reclen -CFLAGS=-g -DTERM_CONTROL +CFLAGS=-g -O2 -DTERM_CONTROL V09FLAGS= -DUSE_TERMIOS # -DNOFMEMOPEN -DBIG_ENDIAN