mirror of
https://github.com/elliotnunn/supermario.git
synced 2024-11-25 09:30:50 +00:00
35 lines
928 B
Plaintext
35 lines
928 B
Plaintext
|
;
|
||
|
; File: DeferredTaskEqu.a
|
||
|
;
|
||
|
; Contains: Assembly Interface for Deferred Task Manager
|
||
|
;
|
||
|
; Written by: Paul Wolf
|
||
|
;
|
||
|
; Copyright: © 1992 by Apple Computer, Inc., all rights reserved.
|
||
|
;
|
||
|
; Change History (most recent first):
|
||
|
;
|
||
|
;
|
||
|
|
||
|
IF &TYPE('__INCLUDINGDEFERREDTASKEQU__') = 'UNDEFINED' THEN
|
||
|
__INCLUDINGDEFERREDTASKEQU__ SET 1
|
||
|
|
||
|
|
||
|
;dtQType EQU 7 ; deferred task queue element ID
|
||
|
;inDTQ EQU 6 ; bit index for "in deferred task" flag
|
||
|
|
||
|
|
||
|
DeferredTask RECORD 0, INCREMENT
|
||
|
|
||
|
qLink ds.l 1 ; Link to next element [pointer]
|
||
|
qType ds.w 1 ; Unique ID for validity [word]
|
||
|
dtFlags ds.w 1 ; optional flags [word]
|
||
|
dtAddr ds.l 1 ; service routine [pointer]
|
||
|
dtParm ds.l 1 ; optional A1 parameter [long]
|
||
|
dtReserved ds.l 1 ; reserved [long]
|
||
|
dtQElSize equ * ; length of DT queue element in bytes
|
||
|
|
||
|
ENDR ;DeferredTask
|
||
|
|
||
|
|
||
|
ENDIF ;... already included
|