2023-11-04 14:42:28 +00:00
|
|
|
|
NEW
|
|
|
|
|
AUTO 3,1
|
|
|
|
|
.LIST OFF
|
|
|
|
|
.OP 65C02
|
|
|
|
|
.OR $2000
|
|
|
|
|
|
|
|
|
|
.TF sys/krnl8m
|
|
|
|
|
|
2023-11-12 13:20:15 +00:00
|
|
|
|
K8M .EQ 1
|
|
|
|
|
MAIN.ORG .EQ $8000
|
|
|
|
|
|
2023-11-04 14:42:28 +00:00
|
|
|
|
.INB inc/macros.i
|
|
|
|
|
.INB inc/a2osx.i
|
|
|
|
|
.INB inc/io.i
|
|
|
|
|
.INB inc/io.iic.i
|
|
|
|
|
.INB inc/io.iigs.i
|
|
|
|
|
.INB inc/mli.i
|
|
|
|
|
.INB inc/mli.e.i
|
|
|
|
|
.INB inc/net.telnet.i
|
|
|
|
|
.INB inc/xy.mouse.i
|
|
|
|
|
|
|
|
|
|
.INB inc/kernel.i
|
|
|
|
|
.INB usr/src/sys/kernel.s.def
|
|
|
|
|
.INB usr/src/sys/kernel.s.init
|
|
|
|
|
.INB usr/src/shared/x.printf.s
|
|
|
|
|
|
|
|
|
|
A2osX.Unpak >STYA ZPOutBufPtr
|
|
|
|
|
.INB usr/src/shared/x.unpak.s
|
|
|
|
|
|
2023-11-12 13:20:15 +00:00
|
|
|
|
GP .DA #0
|
|
|
|
|
.DA GP.S
|
|
|
|
|
|
|
|
|
|
GP.B .PH $0140
|
|
|
|
|
.INB usr/src/sys/kernel.s.gp
|
|
|
|
|
.EP
|
|
|
|
|
|
|
|
|
|
GP.S .EQ *-GP.B
|
2023-11-04 14:42:28 +00:00
|
|
|
|
|
|
|
|
|
MAIN .DA #0
|
|
|
|
|
.DA MAIN.S
|
|
|
|
|
|
2023-11-12 13:20:15 +00:00
|
|
|
|
MAIN.B .PH MAIN.ORG
|
2023-11-04 14:42:28 +00:00
|
|
|
|
.INB usr/src/sys/kernel.s.core
|
|
|
|
|
.INB usr/src/sys/kernel.s.drv
|
|
|
|
|
.INB usr/src/sys/kernel.s.pft
|
|
|
|
|
.INB usr/src/sys/kernel.s.fs
|
|
|
|
|
.INB usr/src/sys/kernel.s.mathf
|
|
|
|
|
.EP
|
|
|
|
|
MAIN.S .EQ *-MAIN.B
|
|
|
|
|
|
|
|
|
|
AUX .DA #0
|
|
|
|
|
.DA AUX.S
|
|
|
|
|
|
|
|
|
|
AUX.B .PH Mem.XHiMem
|
|
|
|
|
|
|
|
|
|
.DA SHARED.TXTPTRgn OSD.TXTPTRgn
|
|
|
|
|
|
|
|
|
|
.INB usr/src/sys/kernel.s.jmpx
|
|
|
|
|
.INB usr/src/sys/kernel.s.termx
|
|
|
|
|
.INB usr/src/sys/kernel.s.strvx
|
|
|
|
|
.INB usr/src/sys/kernel.s.envx
|
|
|
|
|
.INB usr/src/sys/kernel.s.timex
|
|
|
|
|
.INB usr/src/sys/kernel.s.md5x
|
|
|
|
|
.INB usr/src/sys/kernel.s.pwdx
|
|
|
|
|
.INB usr/src/sys/kernel.s.slistx
|
|
|
|
|
.INB usr/src/sys/kernel.s.blistx
|
|
|
|
|
.INB usr/src/sys/kernel.s.errorx
|
|
|
|
|
.EP
|
|
|
|
|
AUX.S .EQ *-AUX.B
|
|
|
|
|
|
|
|
|
|
D1 .DA #0
|
|
|
|
|
.DA D1.S
|
|
|
|
|
|
|
|
|
|
D1.B .PH $D000
|
|
|
|
|
.DA #IO.RRAMWRAMBNK1
|
|
|
|
|
.INB usr/src/sys/kernel.s.stat
|
|
|
|
|
.INB usr/src/sys/kernel.s.dirent
|
|
|
|
|
.INB usr/src/sys/kernel.s.unistd
|
|
|
|
|
.INB usr/src/sys/kernel.s.stdio
|
|
|
|
|
.INB usr/src/sys/kernel.s.prodos
|
|
|
|
|
.INB usr/src/sys/kernel.s.dev
|
|
|
|
|
.INB usr/src/sys/kernel.s.sock
|
|
|
|
|
.INB usr/src/sys/kernel.s.pipe
|
|
|
|
|
.EP
|
|
|
|
|
D1.S .EQ *-D1.B
|
|
|
|
|
|
|
|
|
|
D2 .DA #0
|
|
|
|
|
.DA D2.S
|
|
|
|
|
|
|
|
|
|
D2.B .PH $D000
|
|
|
|
|
.DA #IO.RRAMWRAMBNK2
|
|
|
|
|
.INB usr/src/sys/kernel.s.mount
|
|
|
|
|
.INB usr/src/sys/kernel.s.stkobj
|
|
|
|
|
.INB usr/src/sys/kernel.s.arg
|
|
|
|
|
.INB usr/src/sys/kernel.s.error
|
|
|
|
|
.INB usr/src/sys/kernel.s.stdlib
|
|
|
|
|
.INB usr/src/sys/kernel.s.string
|
|
|
|
|
.INB usr/src/sys/kernel.s.bin
|
|
|
|
|
.INB usr/src/sys/kernel.s.ps
|
|
|
|
|
.EP
|
|
|
|
|
D2.S .EQ *-D2.B
|
|
|
|
|
|
|
|
|
|
E0 .DA #0
|
|
|
|
|
.DA E0.S
|
|
|
|
|
|
|
|
|
|
E0.B .PH $E000
|
|
|
|
|
.INB usr/src/sys/kernel.s.jmp
|
|
|
|
|
.INB usr/src/sys/kernel.s.irq
|
|
|
|
|
.INB usr/src/sys/kernel.s.shared
|
|
|
|
|
.INB usr/src/sys/kernel.s.math
|
|
|
|
|
.INB usr/src/sys/kernel.s.math16
|
|
|
|
|
.INB usr/src/sys/kernel.s.math32
|
|
|
|
|
|
|
|
|
|
.INB usr/src/sys/kernel.s.term
|
|
|
|
|
.INB usr/src/sys/kernel.s.strv
|
|
|
|
|
.INB usr/src/sys/kernel.s.env
|
|
|
|
|
.INB usr/src/sys/kernel.s.time
|
|
|
|
|
.INB usr/src/sys/kernel.s.md5
|
|
|
|
|
.INB usr/src/sys/kernel.s.pwd
|
|
|
|
|
.INB usr/src/sys/kernel.s.slist
|
|
|
|
|
|
|
|
|
|
.INB usr/src/sys/kernel.s.mem
|
|
|
|
|
|
|
|
|
|
DevMgr.Timer .BS 1
|
|
|
|
|
DevMgr.Stat .DA DevMgr.FreeMem
|
|
|
|
|
DevMgr.Free .DA DevMgr.FreeMem
|
|
|
|
|
.DA DevMgr.HiMem
|
|
|
|
|
DevMgr.FreeMem .EQ *
|
|
|
|
|
.EP
|
|
|
|
|
|
|
|
|
|
E0.S .EQ *-E0.B
|
|
|
|
|
|
2023-11-12 13:20:15 +00:00
|
|
|
|
PAKME.GP .DA GP
|
|
|
|
|
PAKME.MAIN .DA MAIN
|
|
|
|
|
PAKME.AUX .DA AUX
|
|
|
|
|
PAKME.D1 .DA D1
|
|
|
|
|
PAKME.D2 .DA D2
|
|
|
|
|
PAKME.E0 .DA E0
|
|
|
|
|
|
2023-11-04 14:42:28 +00:00
|
|
|
|
.AS "PAKME" TAG
|
|
|
|
|
.DA $2000 BIN ORG
|
|
|
|
|
.DA #5 Chunk Count
|
2023-11-12 13:20:15 +00:00
|
|
|
|
.DA PAKME.GP Chunks
|
2023-11-04 14:42:28 +00:00
|
|
|
|
|
|
|
|
|
.INB usr/src/sys/kernel.s.ctrl
|
|
|
|
|
MAN
|
|
|
|
|
SAVE usr/src/sys/krnl8m.s
|
|
|
|
|
ASM
|