mirror of
https://github.com/mi57730/a2d.git
synced 2025-01-21 02:34:03 +00:00
Tighten up MGTK name
This commit is contained in:
parent
e7785fa845
commit
748055dcfc
4
APIs.md
4
APIs.md
@ -2,11 +2,11 @@
|
|||||||
|
|
||||||
There are three distinct API classes that need to be used:
|
There are three distinct API classes that need to be used:
|
||||||
|
|
||||||
* Mouse Graphics Tool Kit - graphics primitives, windowing and events
|
* MouseGraphics ToolKit - graphics primitives, windowing and events
|
||||||
* DeskTop Jump Table - simple JSR calls starting at $4003 MAIN, no arguments
|
* DeskTop Jump Table - simple JSR calls starting at $4003 MAIN, no arguments
|
||||||
* DeskTop API - another MLI-style interface starting at $8E00 AUX
|
* DeskTop API - another MLI-style interface starting at $8E00 AUX
|
||||||
|
|
||||||
## Mouse Graphics Tool Kit
|
## MouseGraphics ToolKit
|
||||||
|
|
||||||
This is a complex API library written by Apple circa 1985. It consists of:
|
This is a complex API library written by Apple circa 1985. It consists of:
|
||||||
|
|
||||||
|
@ -80,7 +80,7 @@ Loaded at $800-$FFF, this does one-time initialization of the
|
|||||||
DeskTop. It is later overwritten when any desk accessories are
|
DeskTop. It is later overwritten when any desk accessories are
|
||||||
run.
|
run.
|
||||||
|
|
||||||
### Mouse Graphics Tool Kit (MGTK)
|
### MouseGraphics ToolKit (MGTK)
|
||||||
|
|
||||||
`a2d.s`
|
`a2d.s`
|
||||||
|
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
.include "../macros.inc"
|
.include "../macros.inc"
|
||||||
|
|
||||||
;;; ==================================================
|
;;; ==================================================
|
||||||
;;; Mouse Graphics Tool Kit
|
;;; MouseGraphics ToolKit
|
||||||
;;; ==================================================
|
;;; ==================================================
|
||||||
|
|
||||||
.proc mgtk
|
.proc mgtk
|
||||||
@ -324,7 +324,7 @@ jump_table:
|
|||||||
.addr VersionImpl ; $1C Version
|
.addr VersionImpl ; $1C Version
|
||||||
|
|
||||||
;; ----------------------------------------
|
;; ----------------------------------------
|
||||||
;; Mouse Graphics Tool Kit
|
;; MouseGraphics ToolKit
|
||||||
|
|
||||||
;; Initialization Calls
|
;; Initialization Calls
|
||||||
.addr StartDeskTopImpl ; $1D StartDeskTop
|
.addr StartDeskTopImpl ; $1D StartDeskTop
|
||||||
@ -439,7 +439,7 @@ param_lengths:
|
|||||||
PARAM_DEFN 0, $00, 0 ; $1C Version
|
PARAM_DEFN 0, $00, 0 ; $1C Version
|
||||||
|
|
||||||
;; ----------------------------------------
|
;; ----------------------------------------
|
||||||
;; Mouse Graphics Tool Kit Calls
|
;; MouseGraphics ToolKit Calls
|
||||||
|
|
||||||
;; Initialization
|
;; Initialization
|
||||||
PARAM_DEFN 12, $82, 0 ; $1D StartDeskTop
|
PARAM_DEFN 12, $82, 0 ; $1D StartDeskTop
|
||||||
|
6
mgtk.inc
6
mgtk.inc
@ -1,5 +1,5 @@
|
|||||||
;;; ==================================================
|
;;; ==================================================
|
||||||
;;; Mouse Graphics Tool Kit (w/ Graphics Primitives)
|
;;; MouseGraphics ToolKit (w/ Graphics Primitives)
|
||||||
;;; ==================================================
|
;;; ==================================================
|
||||||
|
|
||||||
.scope MGTK
|
.scope MGTK
|
||||||
@ -175,7 +175,7 @@ Version := $1C ; Get toolkit version
|
|||||||
;;; .word (out) number
|
;;; .word (out) number
|
||||||
|
|
||||||
;;; ==================================================
|
;;; ==================================================
|
||||||
;;; Mouse Graphics Tool Kit Calls
|
;;; MouseGraphics ToolKit Calls
|
||||||
;;; ==================================================
|
;;; ==================================================
|
||||||
|
|
||||||
;;; --------------------------------------------------
|
;;; --------------------------------------------------
|
||||||
@ -494,7 +494,7 @@ textbg_black := $00
|
|||||||
textbg_white := $7F
|
textbg_white := $7F
|
||||||
|
|
||||||
;;; ==================================================
|
;;; ==================================================
|
||||||
;;; Mouse Graphics Tool Kit Constants
|
;;; MouseGraphics ToolKit Constants
|
||||||
|
|
||||||
;;; Used in GetEvent
|
;;; Used in GetEvent
|
||||||
event_kind_no_event := 0 ; No mouse or keypress
|
event_kind_no_event := 0 ; No mouse or keypress
|
||||||
|
Loading…
x
Reference in New Issue
Block a user