1
0
mirror of https://github.com/cc65/cc65.git synced 2025-02-26 23:30:03 +00:00

Renamed 'UnBlockProcess' to 'UnblockProcess' and 'UnFreezeProcess' to 'UnfreezeProcess' to matchall 3rd party docs.

git-svn-id: svn://svn.cc65.org/cc65/trunk@5504 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
ol.sc 2012-02-09 07:37:08 +00:00
parent 129d3bf872
commit 2a0fd9bda0
5 changed files with 19 additions and 19 deletions

View File

@ -1199,24 +1199,24 @@ after <tt/InitProcesses/, because it resets all flags and counters and it starts
<p> <p>
<tt/EnableProcess/ forces the given process to execute by simulating the timer expiring. <tt/EnableProcess/ forces the given process to execute by simulating the timer expiring.
<sect2>BlockProcess and UnBlockProcess <sect2>BlockProcess and UnblockProcess
<p> <p>
<tt/void BlockProcess (char processNumber)/ <tt/void BlockProcess (char processNumber)/
<p> <p>
<tt/void UnBlockProcess (char processNumber)/ <tt/void UnblockProcess (char processNumber)/
<p> <p>
<tt/BlockProcess/ disables the execution of the given process, but this does not disable the timers. <tt/BlockProcess/ disables the execution of the given process, but this does not disable the timers.
It means that if you call <tt/UnBlockProcess/ before the timer runs out, the process will be executed. It means that if you call <tt/UnblockProcess/ before the timer runs out, the process will be executed.
<p> <p>
<tt/UnBlockProcess/ does the opposite. <tt/UnblockProcess/ does the opposite.
<sect2>FreezeProcess and UnFreezeProcess <sect2>FreezeProcess and UnfreezeProcess
<p> <p>
<tt/void FreezeProcess (char processNumber)/ <tt/void FreezeProcess (char processNumber)/
<p> <p>
<tt/void UnFreezeProcess (char processNumber)/ <tt/void UnfreezeProcess (char processNumber)/
<p> <p>
<tt/FreezeProcess/ disables timer for given process. <tt/UnFreezeProcess/ does the opposite. <tt/FreezeProcess/ disables timer for given process. <tt/UnfreezeProcess/ does the opposite.
This is not equal to <tt/RestartProcess/ as timers are not reloaded with initial value. This is not equal to <tt/RestartProcess/ as timers are not reloaded with initial value.
<sect2>Sleep <sect2>Sleep

View File

@ -15,9 +15,9 @@ void __fastcall__ InitProcesses(char number, struct process *proctab);
void __fastcall__ RestartProcess(char number); void __fastcall__ RestartProcess(char number);
void __fastcall__ EnableProcess(char number); void __fastcall__ EnableProcess(char number);
void __fastcall__ BlockProcess(char number); void __fastcall__ BlockProcess(char number);
void __fastcall__ UnBlockProcess(char number); void __fastcall__ UnblockProcess(char number);
void __fastcall__ FreezeProcess(char number); void __fastcall__ FreezeProcess(char number);
void __fastcall__ UnFreezeProcess(char number); void __fastcall__ UnfreezeProcess(char number);
void __fastcall__ Sleep(unsigned jiffies); void __fastcall__ Sleep(unsigned jiffies);

View File

@ -9,9 +9,9 @@ InitProcesses = $c103
RestartProcess = $c106 RestartProcess = $c106
EnableProcess = $c109 EnableProcess = $c109
BlockProcess = $c10c BlockProcess = $c10c
UnBlockProcess = $c10f UnblockProcess = $c10f
FreezeProcess = $c112 FreezeProcess = $c112
UnFreezeProcess = $c115 UnfreezeProcess = $c115
HorizontalLine = $c118 HorizontalLine = $c118
InvertLine = $c11b InvertLine = $c11b
RecoverLine = $c11e RecoverLine = $c11e

View File

@ -6,10 +6,10 @@
; void InitProcesses (char number, struct process* proctab); ; void InitProcesses (char number, struct process* proctab);
; (rest) ; (rest)
; void BlockProcess (char number); ; void BlockProcess (char number);
; void UnBlockProcess (char number); ; void UnblockProcess (char number);
.export _BlockProcess .export _BlockProcess
.export _UnBlockProcess .export _UnblockProcess
.include "jumptab.inc" .include "jumptab.inc"
@ -17,6 +17,6 @@ _BlockProcess:
tax tax
jmp BlockProcess jmp BlockProcess
_UnBlockProcess: _UnblockProcess:
tax tax
jmp UnBlockProcess jmp UnblockProcess

View File

@ -4,10 +4,10 @@
; 27.10.99 ; 27.10.99
; void FreezeProcess (char number); ; void FreezeProcess (char number);
; void UnFreezeProcess (char number); ; void UnfreezeProcess (char number);
.export _FreezeProcess .export _FreezeProcess
.export _UnFreezeProcess .export _UnfreezeProcess
.include "jumptab.inc" .include "jumptab.inc"
@ -15,6 +15,6 @@ _FreezeProcess:
tax tax
jmp FreezeProcess jmp FreezeProcess
_UnFreezeProcess: _UnfreezeProcess:
tax tax
jmp UnFreezeProcess jmp UnfreezeProcess