supermario/base/SuperMarioProj.1994-02-09/Internal/Asm/DeferredTaskEqu.a

35 lines
928 B
Plaintext
Raw Permalink Normal View History

2019-06-29 15:17:50 +00:00
;
; 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