mirror of
https://github.com/A2osX/A2osX.git
synced 2024-09-10 22:54:59 +00:00
55 lines
1.2 KiB
Plaintext
55 lines
1.2 KiB
Plaintext
PR#3
|
||
PREFIX /A2OSX.SRC
|
||
NEW
|
||
INC 1
|
||
AUTO 6
|
||
.LIST OFF
|
||
*--------------------------------------
|
||
Kernel.Init3 ldx #DEVMGR.SELECT
|
||
jsr pDevJmp
|
||
|
||
>LDYAI MSG.Init3
|
||
>SYSCALL SYS.PSTROutYA
|
||
|
||
ldy #S.PS.hPREFIX
|
||
lda (pPs),y
|
||
>SYSCALL SYS.GetMemPtrA
|
||
|
||
>PUSHYA
|
||
>LDYAI MSG.Prefix
|
||
>SYSCALL SYS.PSTROutYA
|
||
|
||
>PUSHWI STARTUP.CMDLINE
|
||
>LDYAI MSG.Startup
|
||
>SYSCALL SYS.PSTROutYA
|
||
|
||
>LDYAI STARTUP.CMDLINE
|
||
>SYSCALL SYS.CreateProcessYA
|
||
bcs .9
|
||
|
||
>LDYAI MSG.Init3.OK
|
||
>SYSCALL SYS.PSTROutYA
|
||
|
||
>LDYAI TskMgr.Table
|
||
>STYA pPs
|
||
|
||
rts
|
||
|
||
.9 >PUSHA
|
||
>LDYAI MSG.StartupErr
|
||
>SYSCALL SYS.PSTROutYA
|
||
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
|