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
|
|
|
|
|
2018-11-17 17:17:13 +00:00
|
|
|
|
.INB INC/MACROS.I
|
|
|
|
|
.INB INC/A2OSX.I
|
|
|
|
|
.INB INC/IO.I
|
2019-10-21 19:40:50 +00:00
|
|
|
|
.INB INC/IO.IIC.I
|
2019-10-22 07:52:34 +00:00
|
|
|
|
.INB INC/IO.IIGS.I
|
2018-11-17 17:17:13 +00:00
|
|
|
|
.INB INC/MLI.I
|
|
|
|
|
.INB INC/MLI.E.I
|
2018-12-11 16:41:25 +00:00
|
|
|
|
.INB INC/NET.TELNET.I
|
2018-11-17 17:17:13 +00:00
|
|
|
|
.INB INC/XY.MOUSE.I
|
2020-01-31 16:12:25 +00:00
|
|
|
|
* .INB INC/GFX.I
|
2018-11-29 15:59:14 +00:00
|
|
|
|
|
|
|
|
|
.INB INC/KERNEL.I
|
2018-12-03 06:59:30 +00:00
|
|
|
|
.INB USR/SRC/SYS/KERNEL.S.DEF
|
2018-11-17 17:17:13 +00:00
|
|
|
|
.INB USR/SRC/SYS/KERNEL.S.INIT
|
2019-04-10 15:51:47 +00:00
|
|
|
|
.INB USR/SRC/SHARED/X.PRINTF.S
|
2019-10-28 06:32:12 +00:00
|
|
|
|
.INB USR/SRC/SHARED/X.UNPAK.S
|
2018-07-12 15:20:39 +00:00
|
|
|
|
|
2019-10-30 16:29:46 +00:00
|
|
|
|
PAKME.Table
|
|
|
|
|
PAKME.MAIN .DA A2osX.MAIN
|
|
|
|
|
PAKME.AUX .DA A2osX.AUX
|
|
|
|
|
PAKME.GP .DA A2osX.GP
|
|
|
|
|
PAKME.D1 .DA A2osX.D1
|
|
|
|
|
PAKME.D2 .DA A2osX.D2
|
|
|
|
|
PAKME.E0 .DA A2osX.E0
|
2020-01-10 15:58:47 +00:00
|
|
|
|
|
2019-10-28 06:32:12 +00:00
|
|
|
|
A2osX.MAIN .DA #0
|
|
|
|
|
.DA A2osX.MAIN.S
|
2020-01-10 15:58:47 +00:00
|
|
|
|
|
|
|
|
|
A2osX.MAIN.B .PH A2osX.EndTables
|
2018-11-17 17:17:13 +00:00
|
|
|
|
.INB USR/SRC/SYS/KERNEL.S.CORE
|
|
|
|
|
.INB USR/SRC/SYS/KERNEL.S.DRV
|
2018-12-17 07:02:03 +00:00
|
|
|
|
Mem.MLoMem .EQ *
|
2018-11-17 17:17:13 +00:00
|
|
|
|
.EP
|
2020-01-10 15:58:47 +00:00
|
|
|
|
A2osX.MAIN.S .EQ *-A2osX.MAIN.B
|
2019-10-28 06:32:12 +00:00
|
|
|
|
|
|
|
|
|
A2osX.AUX .DA #0
|
|
|
|
|
.DA A2osX.AUX.S
|
2020-01-10 15:58:47 +00:00
|
|
|
|
|
2020-01-31 16:12:25 +00:00
|
|
|
|
A2osX.AUX.B .PH Mem.XHiMem
|
2020-01-21 11:06:59 +00:00
|
|
|
|
.INB USR/SRC/SYS/KERNEL.S.TERMX
|
2020-02-17 16:55:02 +00:00
|
|
|
|
.INB USR/SRC/SYS/KERNEL.S.STRVX
|
2020-02-02 14:58:01 +00:00
|
|
|
|
.INB USR/SRC/SYS/KERNEL.S.ENVX
|
|
|
|
|
.INB USR/SRC/SYS/KERNEL.S.TIMEX
|
2020-01-20 07:23:51 +00:00
|
|
|
|
.INB USR/SRC/SYS/KERNEL.S.MD5X
|
2020-01-21 11:06:59 +00:00
|
|
|
|
.INB USR/SRC/SYS/KERNEL.S.PWDX
|
2020-01-24 14:21:08 +00:00
|
|
|
|
.INB USR/SRC/SYS/KERNEL.S.SLISTX
|
2020-01-10 15:58:47 +00:00
|
|
|
|
.EP
|
2020-01-31 16:12:25 +00:00
|
|
|
|
A2osX.AUX.S .EQ *-A2osX.AUX.B
|
2020-01-10 15:58:47 +00:00
|
|
|
|
|
2019-10-28 06:32:12 +00:00
|
|
|
|
A2osX.GP .DA #0
|
|
|
|
|
.DA A2osX.GP.S
|
2020-01-10 15:58:47 +00:00
|
|
|
|
|
|
|
|
|
A2osX.GP.B .PH A2osX.SYSCALL
|
2018-11-17 17:17:13 +00:00
|
|
|
|
.INB USR/SRC/SYS/KERNEL.S.GP
|
2020-01-10 15:58:47 +00:00
|
|
|
|
A2osX.GP.SC .EQ GP.CodeEnd-GP.CodeStart
|
2018-11-17 17:17:13 +00:00
|
|
|
|
.EP
|
2020-01-10 15:58:47 +00:00
|
|
|
|
A2osX.GP.S .EQ *-A2osX.GP.B
|
2019-10-30 16:29:46 +00:00
|
|
|
|
|
2019-10-28 06:32:12 +00:00
|
|
|
|
A2osX.D1 .DA #0
|
|
|
|
|
.DA A2osX.D1.S
|
2020-01-10 15:58:47 +00:00
|
|
|
|
|
|
|
|
|
A2osX.D1.B .PH $D000
|
2018-11-17 17:17:13 +00:00
|
|
|
|
.DA #RRAMWRAMBNK1
|
|
|
|
|
.INB USR/SRC/SYS/KERNEL.S.STAT
|
|
|
|
|
.INB USR/SRC/SYS/KERNEL.S.DIRENT
|
2019-07-27 20:51:39 +00:00
|
|
|
|
.INB USR/SRC/SYS/KERNEL.S.UNISTD
|
2020-02-16 20:45:16 +00:00
|
|
|
|
.INB USR/SRC/SYS/KERNEL.S.IO
|
2018-11-17 17:17:13 +00:00
|
|
|
|
.INB USR/SRC/SYS/KERNEL.S.STDIO
|
2020-02-14 16:32:52 +00:00
|
|
|
|
.INB USR/SRC/SYS/KERNEL.S.STDIO2
|
2018-11-17 17:17:13 +00:00
|
|
|
|
.EP
|
2020-01-10 15:58:47 +00:00
|
|
|
|
A2osX.D1.S .EQ *-A2osX.D1.B
|
2019-10-30 16:29:46 +00:00
|
|
|
|
|
2019-10-28 06:32:12 +00:00
|
|
|
|
A2osX.D2 .DA #0
|
|
|
|
|
.DA A2osX.D2.S
|
2020-01-10 15:58:47 +00:00
|
|
|
|
|
|
|
|
|
A2osX.D2.B .PH $D000
|
2018-11-17 17:17:13 +00:00
|
|
|
|
.DA #RRAMWRAMBNK2
|
2020-02-17 16:55:02 +00:00
|
|
|
|
.INB USR/SRC/SYS/KERNEL.S.ARG
|
2020-02-14 07:21:56 +00:00
|
|
|
|
.INB USR/SRC/SYS/KERNEL.S.STDLIB
|
2018-11-17 17:17:13 +00:00
|
|
|
|
.INB USR/SRC/SYS/KERNEL.S.STRING
|
2020-02-16 20:45:16 +00:00
|
|
|
|
.INB USR/SRC/SYS/KERNEL.S.DEV
|
2019-07-29 15:38:55 +00:00
|
|
|
|
.INB USR/SRC/SYS/KERNEL.S.BIN
|
2018-11-17 17:17:13 +00:00
|
|
|
|
.INB USR/SRC/SYS/KERNEL.S.PS
|
|
|
|
|
.EP
|
2020-01-10 15:58:47 +00:00
|
|
|
|
A2osX.D2.S .EQ *-A2osX.D2.B
|
2019-10-30 16:29:46 +00:00
|
|
|
|
|
2019-10-28 06:32:12 +00:00
|
|
|
|
A2osX.E0 .DA #0
|
|
|
|
|
.DA A2osX.E0.S
|
2020-01-10 15:58:47 +00:00
|
|
|
|
|
|
|
|
|
A2osX.E0.B .PH $E000
|
2018-11-17 17:17:13 +00:00
|
|
|
|
.INB USR/SRC/SYS/KERNEL.S.JMP
|
|
|
|
|
.INB USR/SRC/SYS/KERNEL.S.IRQ
|
2020-02-02 14:58:01 +00:00
|
|
|
|
.INB USR/SRC/SYS/KERNEL.S.SHARED
|
2019-07-10 15:39:02 +00:00
|
|
|
|
.INB USR/SRC/SYS/KERNEL.S.MATH
|
2020-01-21 11:06:59 +00:00
|
|
|
|
.INB USR/SRC/SYS/KERNEL.S.TERM
|
2020-02-17 16:55:02 +00:00
|
|
|
|
|
|
|
|
|
.INB USR/SRC/SYS/KERNEL.S.STRV
|
2020-02-03 22:06:28 +00:00
|
|
|
|
.INB USR/SRC/SYS/KERNEL.S.ENV
|
2020-02-02 14:58:01 +00:00
|
|
|
|
.INB USR/SRC/SYS/KERNEL.S.TIME
|
2020-01-24 14:21:08 +00:00
|
|
|
|
.INB USR/SRC/SYS/KERNEL.S.MD5
|
2019-10-28 06:32:12 +00:00
|
|
|
|
.INB USR/SRC/SYS/KERNEL.S.PWD
|
2020-02-18 15:34:56 +00:00
|
|
|
|
.INB USR/SRC/SYS/KERNEL.S.SLIST
|
|
|
|
|
|
2020-02-02 14:58:01 +00:00
|
|
|
|
.INB USR/SRC/SYS/KERNEL.S.MEM
|
2020-01-21 11:06:59 +00:00
|
|
|
|
* go to A2osX.D1
|
2019-07-27 20:51:39 +00:00
|
|
|
|
.INB USR/SRC/SYS/KERNEL.S.PIPE
|
2020-02-16 20:45:16 +00:00
|
|
|
|
.INB USR/SRC/SYS/KERNEL.S.PFT
|
2020-01-21 07:34:32 +00:00
|
|
|
|
|
2020-01-11 17:13:27 +00:00
|
|
|
|
DevMgr.Timer .BS 1
|
2020-01-10 15:58:47 +00:00
|
|
|
|
DevMgr.ASCREEN .BS 1
|
2020-01-11 17:13:27 +00:00
|
|
|
|
DevMgr.SCRNDEVS .BS K.TTY.MAX+2 1-8=VT100, 9=GFX, 0=console
|
2019-08-01 14:59:15 +00:00
|
|
|
|
DevMgr.Stat .DA DevMgr.FreeMem
|
|
|
|
|
DevMgr.Free .DA DevMgr.FreeMem
|
|
|
|
|
.DA DevMgr.HiMem
|
|
|
|
|
DevMgr.DevIdx .DA #1
|
2017-11-22 16:27:50 +00:00
|
|
|
|
DevMgr.FreeMem .EQ *
|
2018-11-17 17:17:13 +00:00
|
|
|
|
.EP
|
2020-01-10 15:58:47 +00:00
|
|
|
|
A2osX.E0.S .EQ *-A2osX.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
|
2019-10-29 14:47:25 +00:00
|
|
|
|
.DA PAKME.Table Chunks
|
2020-01-21 07:34:32 +00:00
|
|
|
|
|
2018-11-17 17:17:13 +00:00
|
|
|
|
.INB USR/SRC/SYS/KERNEL.S.CTRL
|
2015-03-14 21:48:35 +00:00
|
|
|
|
MAN
|
2018-11-17 17:17:13 +00:00
|
|
|
|
SAVE USR/SRC/SYS/KERNEL.S
|
2015-03-14 21:48:35 +00:00
|
|
|
|
ASM
|