2016-08-28 20:48:01 +00:00
|
|
|
|
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
|
|
|
|
|
|
2016-08-29 15:12:04 +00:00
|
|
|
|
rts
|
|
|
|
|
|
2016-08-28 20:48:01 +00:00
|
|
|
|
.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
|