1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-27 15:29:46 +00:00
cc65/libsrc/geos/process/processinitrestartenable.s

35 lines
560 B
ArmAsm
Raw Normal View History

;
; Maciej 'YTM/Alliance' Witkowiak
;
; 27.10.99
;
; void InitProcesses (char number, struct process* proctab);
; void RestartProcess (char number);
; void EnableProcess (char number);
;
.import popa
.export _InitProcesses
.export _RestartProcess
.export _EnableProcess
.include "../inc/jumptab.inc"
.include "../inc/geossym.inc"
_InitProcesses:
sta r0L
stx r0H
jsr popa
jmp InitProcesses
_RestartProcess:
tax
jmp RestartProcess
_EnableProcess:
tax
jmp EnableProcess