Mercurial > hg > Members > kono > os9 > sbc09
changeset 161:91447c3ccd58
fix
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 12 Feb 2019 09:16:24 +0900 |
parents | 1a30cd6e5973 |
children | d3a9f5f7befb |
files | game09/game09.asm os9/level1/Makefile os9/level1/cmds/Makefile os9/level1/cmds/defsfile os9/level2/Makefile src/Makefile |
diffstat | 6 files changed, 28 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- 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"
--- 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 .
--- 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)
--- /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 +
--- 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 :
--- 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