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
|
|
|
|
|
*--------------------------------------
|
2023-07-14 10:24:49 +00:00
|
|
|
|
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
|
|
|
|
*--------------------------------------
|
2017-11-05 21:23:21 +00:00
|
|
|
|
* AppleTalk MLICALL (AUXLC to MAINLC)
|
|
|
|
|
* Used by user
|
2016-06-07 06:10:18 +00:00
|
|
|
|
* In:
|
2017-11-05 21:23:21 +00:00
|
|
|
|
* Y,A = Params
|
2016-06-07 06:10:18 +00:00
|
|
|
|
*--------------------------------------
|
2017-11-05 21:23:21 +00:00
|
|
|
|
jmp GP.AtkCall
|
2016-11-25 16:20:28 +00:00
|
|
|
|
*--------------------------------------
|
2018-06-14 15:31:36 +00:00
|
|
|
|
* ROMCALL (AUXLC to ROMLC)
|
2017-08-31 15:35:15 +00:00
|
|
|
|
* Used by Kernel
|
|
|
|
|
* In:
|
2018-06-14 15:31:36 +00:00
|
|
|
|
* X = ROM Function
|
|
|
|
|
* Y,A = Param
|
2017-08-31 15:35:15 +00:00
|
|
|
|
*--------------------------------------
|
2019-07-07 20:48:57 +00:00
|
|
|
|
jmp GP.FpuCall
|
2017-07-01 13:44:40 +00:00
|
|
|
|
*--------------------------------------
|
|
|
|
|
* BADCALL
|
|
|
|
|
*--------------------------------------
|
2017-10-26 16:01:54 +00:00
|
|
|
|
lda #MLI.E.BADCALL
|
2017-07-01 13:44:40 +00:00
|
|
|
|
sec
|
|
|
|
|
rts
|
2017-11-22 16:27:50 +00:00
|
|
|
|
*--------------------------------------
|
|
|
|
|
* SLEEP
|
2017-11-17 16:16:05 +00:00
|
|
|
|
*--------------------------------------
|
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
|
|
|
|
*--------------------------------------
|
2023-11-12 13:20:15 +00:00
|
|
|
|
.BS A2osX.KCONFIG-*
|
2017-05-03 15:40:02 +00:00
|
|
|
|
*--------------------------------------
|
2023-11-12 13:20:15 +00:00
|
|
|
|
* Kernel Config Block
|
2017-05-03 15:40:02 +00:00
|
|
|
|
*--------------------------------------
|
2023-11-26 13:17:41 +00:00
|
|
|
|
.DA #6 A2osX.HZ : 60hz
|
|
|
|
|
.DA #2 A2osX.TTYDEVS : 2
|
|
|
|
|
.DA #0 A2osX.F : ChRoot/Preemptive Disabled
|
|
|
|
|
.BS A2osX.S-*
|
|
|
|
|
.BS 7 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
|