mirror of
https://github.com/A2osX/A2osX.git
synced 2024-09-10 07:54:37 +00:00
Kernel version 0.8 : INIT2 boot stage fixed
This commit is contained in:
parent
270098e108
commit
8b2c65df01
BIN
A2OSX.BOOT.po
BIN
A2OSX.BOOT.po
Binary file not shown.
BIN
A2OSX.SRC.po
BIN
A2OSX.SRC.po
Binary file not shown.
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user