2016-08-28 20:48:01 +00:00
|
|
|
|
PR#3
|
|
|
|
|
PREFIX /A2OSX.SRC
|
|
|
|
|
NEW
|
|
|
|
|
INC 1
|
|
|
|
|
AUTO 6
|
|
|
|
|
.LIST OFF
|
|
|
|
|
*--------------------------------------
|
2016-09-29 06:26:54 +00:00
|
|
|
|
Kernel.Init3 >DEBUG
|
|
|
|
|
ldx #DEVMGR.SELECT
|
2016-08-28 20:48:01 +00:00
|
|
|
|
jsr pDevJmp
|
|
|
|
|
|
|
|
|
|
>LDYAI MSG.Init3
|
2016-09-21 15:20:37 +00:00
|
|
|
|
>SYSCALL SYS.PStrOutYA
|
2016-08-28 20:48:01 +00:00
|
|
|
|
|
|
|
|
|
ldy #S.PS.hPREFIX
|
|
|
|
|
lda (pPs),y
|
|
|
|
|
>SYSCALL SYS.GetMemPtrA
|
|
|
|
|
|
|
|
|
|
>PUSHYA
|
|
|
|
|
>LDYAI MSG.Prefix
|
2016-09-21 15:20:37 +00:00
|
|
|
|
>SYSCALL SYS.PStrOutYA
|
2016-08-28 20:48:01 +00:00
|
|
|
|
|
|
|
|
|
>PUSHWI STARTUP.CMDLINE
|
|
|
|
|
>LDYAI MSG.Startup
|
2016-09-21 15:20:37 +00:00
|
|
|
|
>SYSCALL SYS.PStrOutYA
|
2016-08-28 20:48:01 +00:00
|
|
|
|
|
|
|
|
|
>LDYAI STARTUP.CMDLINE
|
|
|
|
|
>SYSCALL SYS.CreateProcessYA
|
|
|
|
|
bcs .9
|
|
|
|
|
|
|
|
|
|
>LDYAI MSG.Init3.OK
|
2016-09-21 15:20:37 +00:00
|
|
|
|
>SYSCALL SYS.PStrOutYA
|
2016-08-28 20:48:01 +00:00
|
|
|
|
|
|
|
|
|
>LDYAI TskMgr.Table
|
|
|
|
|
>STYA pPs
|
|
|
|
|
|
2016-09-29 06:26:54 +00:00
|
|
|
|
>DEBUGOA
|
|
|
|
|
jmp K.KernelRun
|
|
|
|
|
|
2016-08-29 15:12:04 +00:00
|
|
|
|
|
2016-08-28 20:48:01 +00:00
|
|
|
|
.9 >PUSHA
|
|
|
|
|
>LDYAI MSG.StartupErr
|
2016-09-21 15:20:37 +00:00
|
|
|
|
>SYSCALL SYS.PStrOutYA
|
2016-08-28 20:48:01 +00:00
|
|
|
|
bra *
|
|
|
|
|
*--------------------------------------
|
|
|
|
|
MSG.Init3 >PSTRING "A2osX[Stage3]:Init\n"
|
|
|
|
|
MSG.Prefix >PSTRING "Prefix:%S\n"
|
|
|
|
|
MSG.Startup >PSTRING "Executing Kernel Startup Script...\nCmd:%S\n"
|
|
|
|
|
MSG.StartupErr >PSTRING "Failed : [$%h]\n"
|
|
|
|
|
MSG.Init3.OK >PSTRING "A2osX[Stage3]:Complete.\n"
|
|
|
|
|
*--------------------------------------
|
|
|
|
|
STARTUP.CMDLINE >PSTRING "${A2OSX}SBIN/SHELL ${A2OSX}A2osX.STARTUP"
|
|
|
|
|
*--------------------------------------
|
|
|
|
|
MAN
|
|
|
|
|
SAVE SYS/KERNEL.S.INIT3
|
|
|
|
|
LOAD SYS/KERNEL.S
|
|
|
|
|
ASM
|