A2osX/SYS/KERNEL.S.GP.txt

68 lines
1.7 KiB
Plaintext
Raw Normal View History

2017-12-22 21:24:30 +00:00
NEW
2019-05-25 19:24:07 +00:00
AUTO 3,1
2016-06-07 06:10:18 +00:00
*--------------------------------------
2016-09-26 16:00:52 +00:00
* SYSCALL (AUXLC to AUXLC)
2021-01-12 21:14:13 +00:00
* Used by user & kernel for inter bank Calls
2016-06-07 06:10:18 +00:00
* In:
* X = SYSfnc.Index
* Y,A = free for Inline param
*--------------------------------------
jmp GP.SysCall
2016-06-07 06:10:18 +00:00
*--------------------------------------
* LIBCALL (AUXLC to AUXLC)
2021-01-12 21:14:13 +00:00
* Used by user
2016-06-07 06:10:18 +00:00
* In:
* Y = LIB.ID
* X = LIBfnc.Index
* A = free for Inline param
*--------------------------------------
2017-10-27 14:56:46 +00:00
jmp GP.LibCall
2016-06-07 06:10:18 +00:00
*--------------------------------------
* AppleTalk MLICALL (AUXLC to MAINLC)
* Used by user
2016-06-07 06:10:18 +00:00
* In:
* Y,A = Params
2016-06-07 06:10:18 +00:00
*--------------------------------------
jmp GP.AtkCall
*--------------------------------------
2018-06-14 15:31:36 +00:00
* ROMCALL (AUXLC to ROMLC)
* Used by Kernel
* In:
2018-06-14 15:31:36 +00:00
* X = ROM Function
* Y,A = Param
*--------------------------------------
2019-07-07 20:48:57 +00:00
jmp GP.FpuCall
*--------------------------------------
* BADCALL
*--------------------------------------
lda #MLI.E.BADCALL
sec
rts
*--------------------------------------
* SLEEP
*--------------------------------------
2023-11-12 13:20:15 +00:00
jmp GP.Sleep
2016-06-07 06:10:18 +00:00
*--------------------------------------
2023-11-12 13:20:15 +00:00
* NON BLOCKING Entry point (From libs)
2016-09-26 16:00:52 +00:00
*--------------------------------------
2023-11-12 13:20:15 +00:00
jmp JMP.2
2016-09-26 16:00:52 +00:00
*--------------------------------------
2023-11-12 13:20:15 +00:00
* Public Vars
2023-11-04 14:42:28 +00:00
*--------------------------------------
.LIST ON
2023-11-12 13:20:15 +00:00
.BS A2osX.KCONFIG-*
2023-11-04 14:42:28 +00:00
.LIST OFF
*--------------------------------------
2023-11-12 13:20:15 +00:00
* Kernel Config Block
*--------------------------------------
.DA #6 A2osX.HZ=60hz
2019-01-21 21:45:47 +00:00
.DA #2 A2osX.TTYDEVS=2
.DA #0 ChRoot/Preemptive Disabled
2023-11-12 13:20:15 +00:00
.HS 000000000000 spare
.HS 00000000000000 All Slots marked as "Free"
2016-06-07 06:10:18 +00:00
*--------------------------------------
MAN
2020-12-15 13:23:22 +00:00
SAVE usr/src/sys/kernel.s.gp
LOAD usr/src/sys/kernel.s
2016-06-07 06:10:18 +00:00
ASM