Kernel version 0.8 : INIT2 boot stage fixed

This commit is contained in:
Rémy GIBERT 2016-09-29 08:26:54 +02:00
parent 270098e108
commit 8b2c65df01
6 changed files with 7 additions and 9 deletions

Binary file not shown.

Binary file not shown.

View File

@ -61,7 +61,7 @@ A2osX.SYSCALL1 bit KERNEL.SYSCALL.FLAGS,x
bit $C000,x bit $C000,x
pha pha
jsr .7 go to kernel..... jsr .6 go to kernel.....
stx .5+1 save X stx .5+1 save X
plx get back Source BNK plx get back Source BNK

View File

@ -438,8 +438,6 @@ K.TskMgrInit stz TSKMGR.LASTID
ldy #S.PS.hERRDEV ldy #S.PS.hERRDEV
sta (pPs),y Make ERR DEV = SYS sta (pPs),y Make ERR DEV = SYS
>DEBUG
>SYSCALL SYS.GetDevByIDA >SYSCALL SYS.GetDevByIDA
>STYA pDev >STYA pDev
ldx #DEVMGR.OPEN ldx #DEVMGR.OPEN

View File

@ -5,7 +5,8 @@ INC 1
AUTO 6 AUTO 6
.LIST OFF .LIST OFF
*-------------------------------------- *--------------------------------------
Kernel.Init3 ldx #DEVMGR.SELECT Kernel.Init3 >DEBUG
ldx #DEVMGR.SELECT
jsr pDevJmp jsr pDevJmp
>LDYAI MSG.Init3 >LDYAI MSG.Init3
@ -33,7 +34,9 @@ Kernel.Init3 ldx #DEVMGR.SELECT
>LDYAI TskMgr.Table >LDYAI TskMgr.Table
>STYA pPs >STYA pPs
rts >DEBUGOA
jmp K.KernelRun
.9 >PUSHA .9 >PUSHA
>LDYAI MSG.StartupErr >LDYAI MSG.StartupErr

View File

@ -41,10 +41,7 @@ ZPQuickPtr4 .EQ ZPKERNEL+6
sta SETALTZP sta SETALTZP
bit RRAMWRAMBNK1 bit RRAMWRAMBNK1
bit RRAMWRAMBNK1 bit RRAMWRAMBNK1
jsr Kernel.Init3 jmp Kernel.Init3
>DEBUGOA
*--------------------------------------
jmp K.KernelRun
*-------------------------------------- *--------------------------------------
.INB X.PRINTF.S .INB X.PRINTF.S
.INB SYS/KERNEL.S.INIT2 .INB SYS/KERNEL.S.INIT2