2017-12-22 21:24:30 +00:00
|
|
|
|
NEW
|
2019-04-19 05:42:43 +00:00
|
|
|
|
AUTO 3,1
|
2018-11-17 17:17:13 +00:00
|
|
|
|
.LIST OFF
|
|
|
|
|
.OP 65C02
|
|
|
|
|
.OR $2000
|
2019-11-26 06:46:02 +00:00
|
|
|
|
.TF sys/kernel
|
2017-05-02 15:56:43 +00:00
|
|
|
|
|
2020-05-26 14:23:09 +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
|
2020-04-13 17:04:02 +00:00
|
|
|
|
|
2021-04-29 11:56:34 +00:00
|
|
|
|
A2osX.Unpak >STYA ZPOutBufPtr
|
2020-05-26 14:23:09 +00:00
|
|
|
|
.INB usr/src/shared/x.unpak.s
|
2018-07-12 15:20:39 +00:00
|
|
|
|
|
2021-05-04 17:31:21 +00:00
|
|
|
|
PAKME.MAIN .DA MAIN
|
|
|
|
|
PAKME.AUX .DA AUX
|
|
|
|
|
PAKME.GP .DA GP
|
|
|
|
|
PAKME.D1 .DA D1
|
|
|
|
|
PAKME.D2 .DA D2
|
|
|
|
|
PAKME.E0 .DA E0
|
2020-01-10 15:58:47 +00:00
|
|
|
|
|
2021-05-04 17:31:21 +00:00
|
|
|
|
MAIN .DA #0
|
|
|
|
|
.DA MAIN.S
|
2020-01-10 15:58:47 +00:00
|
|
|
|
|
2021-05-04 17:31:21 +00:00
|
|
|
|
MAIN.B .PH A2osX.EndTables
|
2020-05-26 14:23:09 +00:00
|
|
|
|
.INB usr/src/sys/kernel.s.core
|
|
|
|
|
.INB usr/src/sys/kernel.s.drv
|
|
|
|
|
.INB usr/src/sys/kernel.s.pft
|
2020-06-30 10:40:19 +00:00
|
|
|
|
.INB usr/src/sys/kernel.s.fs
|
2021-05-04 17:31:21 +00:00
|
|
|
|
.INB usr/src/sys/kernel.s.mathf
|
2018-12-17 07:02:03 +00:00
|
|
|
|
Mem.MLoMem .EQ *
|
2018-11-17 17:17:13 +00:00
|
|
|
|
.EP
|
2021-05-04 17:31:21 +00:00
|
|
|
|
MAIN.S .EQ *-MAIN.B
|
2021-04-29 11:56:34 +00:00
|
|
|
|
|
2021-05-04 17:31:21 +00:00
|
|
|
|
AUX .DA #0
|
|
|
|
|
.DA AUX.S
|
2020-01-10 15:58:47 +00:00
|
|
|
|
|
2021-05-04 17:31:21 +00:00
|
|
|
|
AUX.B .PH Mem.XHiMem
|
2020-07-02 14:14:30 +00:00
|
|
|
|
|
2021-05-04 17:31:21 +00:00
|
|
|
|
.DA SHARED.TXTPTRgn
|
2020-07-02 14:14:30 +00:00
|
|
|
|
|
2020-07-02 21:17:57 +00:00
|
|
|
|
.INB usr/src/sys/kernel.s.jmpx
|
2020-05-26 14:23:09 +00:00
|
|
|
|
.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
|
2021-05-04 17:31:21 +00:00
|
|
|
|
.INB usr/src/sys/kernel.s.blistx
|
2021-04-29 11:56:34 +00:00
|
|
|
|
.INB usr/src/sys/kernel.s.errorx
|
2020-01-10 15:58:47 +00:00
|
|
|
|
.EP
|
2021-05-04 17:31:21 +00:00
|
|
|
|
AUX.S .EQ *-AUX.B
|
2021-04-29 11:56:34 +00:00
|
|
|
|
|
2021-05-04 17:31:21 +00:00
|
|
|
|
GP .DA #0
|
|
|
|
|
.DA GP.S
|
2020-01-10 15:58:47 +00:00
|
|
|
|
|
2021-05-04 17:31:21 +00:00
|
|
|
|
GP.B .PH A2osX.SYSCALL
|
2020-05-26 14:23:09 +00:00
|
|
|
|
.INB usr/src/sys/kernel.s.gp
|
2018-11-17 17:17:13 +00:00
|
|
|
|
.EP
|
2021-05-04 17:31:21 +00:00
|
|
|
|
GP.S .EQ *-GP.B
|
2019-10-30 16:29:46 +00:00
|
|
|
|
|
2021-05-04 17:31:21 +00:00
|
|
|
|
D1 .DA #0
|
|
|
|
|
.DA D1.S
|
2020-01-10 15:58:47 +00:00
|
|
|
|
|
2021-05-04 17:31:21 +00:00
|
|
|
|
D1.B .PH $D000
|
2018-11-17 17:17:13 +00:00
|
|
|
|
.DA #RRAMWRAMBNK1
|
2020-05-26 14:23:09 +00:00
|
|
|
|
.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
|
2020-06-30 14:30:14 +00:00
|
|
|
|
.INB usr/src/sys/kernel.s.dev
|
|
|
|
|
.INB usr/src/sys/kernel.s.pipe
|
2018-11-17 17:17:13 +00:00
|
|
|
|
.EP
|
2021-05-04 17:31:21 +00:00
|
|
|
|
D1.S .EQ *-D1.B
|
2019-10-30 16:29:46 +00:00
|
|
|
|
|
2021-05-04 17:31:21 +00:00
|
|
|
|
D2 .DA #0
|
|
|
|
|
.DA D2.S
|
2020-01-10 15:58:47 +00:00
|
|
|
|
|
2021-05-04 17:31:21 +00:00
|
|
|
|
D2.B .PH $D000
|
2018-11-17 17:17:13 +00:00
|
|
|
|
.DA #RRAMWRAMBNK2
|
2020-05-26 14:23:09 +00:00
|
|
|
|
.INB usr/src/sys/kernel.s.mount
|
|
|
|
|
.INB usr/src/sys/kernel.s.arg
|
2020-07-30 13:59:04 +00:00
|
|
|
|
.INB usr/src/sys/kernel.s.error
|
2020-05-26 14:23:09 +00:00
|
|
|
|
.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
|
2018-11-17 17:17:13 +00:00
|
|
|
|
.EP
|
2021-05-04 17:31:21 +00:00
|
|
|
|
D2.S .EQ *-D2.B
|
2019-10-30 16:29:46 +00:00
|
|
|
|
|
2021-05-04 17:31:21 +00:00
|
|
|
|
E0 .DA #0
|
|
|
|
|
.DA E0.S
|
2020-01-10 15:58:47 +00:00
|
|
|
|
|
2021-05-04 17:31:21 +00:00
|
|
|
|
E0.B .PH $E000
|
2020-05-26 14:23:09 +00:00
|
|
|
|
.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
|
2021-04-29 11:56:34 +00:00
|
|
|
|
.INB usr/src/sys/kernel.s.math16
|
|
|
|
|
.INB usr/src/sys/kernel.s.math32
|
2020-05-26 14:23:09 +00:00
|
|
|
|
.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
|
2021-04-29 11:56:34 +00:00
|
|
|
|
|
2020-05-26 14:23:09 +00:00
|
|
|
|
.INB usr/src/sys/kernel.s.mem
|
2020-01-21 07:34:32 +00:00
|
|
|
|
|
2020-01-11 17:13:27 +00:00
|
|
|
|
DevMgr.Timer .BS 1
|
2019-08-01 14:59:15 +00:00
|
|
|
|
DevMgr.Stat .DA DevMgr.FreeMem
|
|
|
|
|
DevMgr.Free .DA DevMgr.FreeMem
|
|
|
|
|
.DA DevMgr.HiMem
|
2017-11-22 16:27:50 +00:00
|
|
|
|
DevMgr.FreeMem .EQ *
|
2018-11-17 17:17:13 +00:00
|
|
|
|
.EP
|
2021-05-04 17:31:21 +00:00
|
|
|
|
|
|
|
|
|
E0.S .EQ *-E0.B
|
2020-01-21 07:34:32 +00:00
|
|
|
|
|
2019-10-29 14:47:25 +00:00
|
|
|
|
.AS "PAKME" TAG
|
|
|
|
|
.DA $2000 BIN ORG
|
2020-01-31 16:12:25 +00:00
|
|
|
|
.DA #6 Chunk Count
|
2021-04-29 11:56:34 +00:00
|
|
|
|
.DA PAKME.MAIN Chunks
|
2020-01-21 07:34:32 +00:00
|
|
|
|
|
2020-05-26 14:23:09 +00:00
|
|
|
|
.INB usr/src/sys/kernel.s.ctrl
|
2015-03-14 21:48:35 +00:00
|
|
|
|
MAN
|
2020-05-26 14:23:09 +00:00
|
|
|
|
SAVE usr/src/sys/kernel.s
|
2015-03-14 21:48:35 +00:00
|
|
|
|
ASM
|