mirror of
https://github.com/cc65/cc65.git
synced 2024-10-30 12:28:25 +00:00
35 lines
560 B
ArmAsm
35 lines
560 B
ArmAsm
|
|
||
|
;
|
||
|
; 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
|