.import platform_doexec
.import _inint
.import _platform_monitor
- .import _switchout
+ .import _platform_switchout
.import push0
.import incaxy
.i8
lda U_DATA__U_PTAB
ldx U_DATA__U_PTAB+1
- jsr _switchout
+ jsr _platform_switchout
;
; We will (one day maybe) pop back out here. It's not
; guaranteed (we might be killed off)
sta P_TAB__P_STATUS_OFFSET,x
; Sleep on the kernel stack, IRQs will get re-enabled if need
; be
- jsr _switchout
+ jsr _platform_switchout
;
; We will resume here after the pre-emption. Get back onto
; the user stack and map ourself in
.globl _inint
.globl _platform_interrupt
.globl platform_interrupt_all
- .globl _switchout
+ .globl _platform_switchout
; exported symbols
.globl _chksigs
;
ld hl, (U_DATA__U_PTAB)
ld (hl), #P_READY
- call _switchout
+ call _platform_switchout
;
; We are no longer in an interrupt or a syscall
;