Mercurial > hg > Members > kono > os9 > sbc09
changeset 17:67046a9431a0
fix
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Sun, 08 Jul 2018 16:15:34 +0900 |
parents | 807141dc5ee8 |
children | e3b08716aa53 |
files | os9/Makefile os9/level2/Makefile os9/level2/sysgo.asm os9/makerom.c |
diffstat | 4 files changed, 8 insertions(+), 9 deletions(-) [+] |
line wrap: on
line diff
--- a/os9/Makefile Sun Jul 08 09:34:34 2018 +0900 +++ b/os9/Makefile Sun Jul 08 16:15:34 2018 +0900 @@ -25,4 +25,4 @@ ./makerom -o os9d.rom modules/Shell modules/init.b modules/mdir modules/dir.b modules/SysGo modules/IOMan modules/pty-dd.b modules/pty.b modules/pdisk.b modules/d0.b modules/d1.b modules/clock.b modules/SCF modules/rbf.b modules/OS9p2 modules/OS9 os9lv2.rom : makerom level2/init - ./makerom -o os9lv2.rom -2 level2/Shell level2/ioman level2/os9p3_perr level2/os9p4_regdump level2/pipe level2/piper level2/pipeman modules/SysGo level2/scf level2/rbf level2/os9p2 level2/pdisk level2/pty level2/term level2/init level2/boot level2/os9p1 + ./makerom -o os9lv2.rom -2 level2/Shell level2/ioman level2/os9p3_perr level2/os9p4_regdump level2/pipe level2/piper level2/pipeman level2/scf level2/rbf level2/os9p2 level2/sysgo level2/pdisk level2/pty level2/term level2/init level2/boot level2/os9p1
--- a/os9/level2/Makefile Sun Jul 08 09:34:34 2018 +0900 +++ b/os9/level2/Makefile Sun Jul 08 16:15:34 2018 +0900 @@ -4,7 +4,7 @@ SRCDIR=../../CoCoOS9/level2v3/MODULES SRCCMD=../../CoCoOS9/level2v3/CMDS -all : ioman pdisk init os9p1 os9p2 os9p3_perr os9p4_regdump pipe pipeman pipeman_named piper rbf scf term pty d0 d1 clock vector boot shell dir mdir +all : ioman pdisk init os9p1 os9p2 os9p3_perr os9p4_regdump pipe pipeman pipeman_named piper rbf scf term pty d0 d1 clock vector boot shell dir mdir sysgo clean : rm -f ioman pdisk init os9p1 os9p2 os9p3_perr os9p4_regdump pipe pipeman pipeman_named piper rbf scf term pty d0 d1 clock vector boot shell dir mdir
--- a/os9/level2/sysgo.asm Sun Jul 08 09:34:34 2018 +0900 +++ b/os9/level2/sysgo.asm Sun Jul 08 16:15:34 2018 +0900 @@ -11,7 +11,6 @@ ifp1 use defsfile - use scfdefs endc tylg set Prgrm+Objct @@ -67,8 +66,8 @@ ldy #BannLen lda #$01 standard output os9 I$Write write out banner - leax >DefTime,pcr - os9 F$STime set time to default +* leax >DefTime,pcr +* os9 F$STime set time to default leax >ExecDir,pcr lda #EXEC. os9 I$ChgDir change exec. dir
--- a/os9/makerom.c Sun Jul 08 09:34:34 2018 +0900 +++ b/os9/makerom.c Sun Jul 08 16:15:34 2018 +0900 @@ -41,7 +41,7 @@ char * outfile ; #define LV2START 0xffd0 // our own small boot for mmu -#define LV2ROMEND 0xff00 +#define LV2ROMEND 0xff80 // #define DEBUG @@ -121,7 +121,7 @@ if (level == 1) top = 0xf800; // OS9p1 else { - top = 0x10000-(m->size+0x100); + top = 0x10000-(m->size+0x80); rewrite_vector(m,m->size,m->mod+getword(m->mod+2),7); } } @@ -203,8 +203,8 @@ fputc(0xff,romfile); } } else { - int pend = 0x10000-( cur->size +0x100); - for(; pos < pend ; pos++) { // os9p1 ends 0xfeff + int pend = 0x10000-( cur->size +0x80); + for(; pos < pend ; pos++) { // os9p1 ends 0xff7f fputc(0xff,romfile); } }