2000-05-28 13:40:48 +00:00
|
|
|
;
|
|
|
|
; Maciej 'YTM/Alliance' Witkowiak
|
|
|
|
;
|
|
|
|
; 27.10.99
|
|
|
|
|
2013-05-09 11:56:54 +00:00
|
|
|
; void InitProcesses (char number, struct process* proctab);
|
|
|
|
; void RestartProcess (char number);
|
|
|
|
; void EnableProcess (char number);
|
2000-05-28 13:40:48 +00:00
|
|
|
|
2013-05-09 11:56:54 +00:00
|
|
|
.import popa
|
|
|
|
.export _InitProcesses
|
|
|
|
.export _RestartProcess
|
|
|
|
.export _EnableProcess
|
2000-05-28 13:40:48 +00:00
|
|
|
|
2013-05-09 11:56:54 +00:00
|
|
|
.include "jumptab.inc"
|
|
|
|
.include "geossym.inc"
|
2000-05-28 13:40:48 +00:00
|
|
|
|
|
|
|
_InitProcesses:
|
2013-05-09 11:56:54 +00:00
|
|
|
sta r0L
|
|
|
|
stx r0H
|
|
|
|
jsr popa
|
|
|
|
jmp InitProcesses
|
|
|
|
|
2000-05-28 13:40:48 +00:00
|
|
|
_RestartProcess:
|
2013-05-09 11:56:54 +00:00
|
|
|
tax
|
|
|
|
jmp RestartProcess
|
|
|
|
|
2000-05-28 13:40:48 +00:00
|
|
|
_EnableProcess:
|
2013-05-09 11:56:54 +00:00
|
|
|
tax
|
|
|
|
jmp EnableProcess
|