Mercurial > hg > Members > kono > nitros9-code
changeset 1300:636cabe76c6e
Now Bt.Size is defined for Level One
author | boisy |
---|---|
date | Mon, 01 Sep 2003 19:25:24 +0000 |
parents | 1f0995cd0431 |
children | 4a50c6fb28b2 |
files | defs/os9defs level1/cmds/cobbler.asm level1/cmds/os9gen.asm level1/cmds/os9gen_d64.asm level1/modules/sysgo.asm |
diffstat | 5 files changed, 13 insertions(+), 17 deletions(-) [+] |
line wrap: on
line diff
--- a/defs/os9defs Mon Sep 01 16:59:50 2003 +0000 +++ b/defs/os9defs Mon Sep 01 19:25:24 2003 +0000 @@ -1204,6 +1204,7 @@ IFEQ Level-1 + ***************************** * Boot defs for CoCo 1/2 OS-9 * @@ -1211,7 +1212,10 @@ * system. * Bt.Start equ $EF00 Start address of the boot track in memory +Bt.Size equ $0F80 Maximum size of bootfile + ELSE + ***************************** * Boot defs for CoCo 3 OS-9 * @@ -1222,6 +1226,7 @@ Bt.Flag equ $8A34 Flag in Bt.Block to verify that it's unchanged Bt.Offst equ 2 Offset into the screen where the current ptr is Bt.Start equ $ED00 Start address of the boot track in memory + ENDC
--- a/level1/cmds/cobbler.asm Mon Sep 01 16:59:50 2003 +0000 +++ b/level1/cmds/cobbler.asm Mon Sep 01 19:25:24 2003 +0000 @@ -26,9 +26,6 @@ rev set $01 edition set 7 -os9l1start equ $EF00 -os9l1size equ $0F80 - mod eom,name,tylg,atrv,start,size org 0 @@ -346,8 +343,8 @@ ldb #$00 lbsr Seek2LSN lda <devpath - ldx #os9l1start - ldy #os9l1size + ldx #Bt.Start + ldy #Bt.Size ENDC
--- a/level1/cmds/os9gen.asm Mon Sep 01 16:59:50 2003 +0000 +++ b/level1/cmds/os9gen.asm Mon Sep 01 19:25:24 2003 +0000 @@ -31,9 +31,6 @@ rev set $02 edition set 10 -os9l1start equ $EF00 -os9l1size equ $0F80 - mod eom,name,tylg,atrv,start,size org 0 @@ -602,8 +599,8 @@ * lda #BTrack boot track * ldb #$00 sector 1 lbsr Seek2LSN - ldx #os9l1start - ldy #os9l1size + ldx #Bt.Start + ldy #Bt.Size ENDC
--- a/level1/cmds/os9gen_d64.asm Mon Sep 01 16:59:50 2003 +0000 +++ b/level1/cmds/os9gen_d64.asm Mon Sep 01 19:25:24 2003 +0000 @@ -28,9 +28,6 @@ use defsfile endc -os9start equ $EF00 -os9size equ $0F80 - tylg set Prgrm+Objct atrv set ReEnt+rev rev set $01 @@ -280,8 +277,8 @@ anda #$90 eora #$90 lbne L0385 - ldx #os9start Address of kernel in RAM - ldy #os9size Amount to write + ldx #Bt.Start Address of kernel in RAM + ldy #Bt.Size Amount to write lda <devfd os9 I$Write bcs L0354
--- a/level1/modules/sysgo.asm Mon Sep 01 16:59:50 2003 +0000 +++ b/level1/modules/sysgo.asm Mon Sep 01 19:25:24 2003 +0000 @@ -100,11 +100,11 @@ BasicRst fcb $55 neg <$0074 nop - clr >$FF03 + clr >PIA0Base+3 nop nop sta >$FFDF turn off ROM mode - jmp >$EF0E jump to boot + jmp >Bt.Start+2 jump to boot BasicRL equ *-BasicRst * SysGo entry point