mirror of
https://github.com/nathanriggs/AppleIIAsm-Collection.git
synced 2025-01-07 15:29:29 +00:00
c8cac53c5e
Massive updates that changes the way most subroutines are handled. Major bugfixes, various utilities added, started higher-level libraries.
37 lines
892 B
Ruby
37 lines
892 B
Ruby
********************************
|
|
* *
|
|
* BUILDER MACRO UTILS *
|
|
* *
|
|
********************************
|
|
*
|
|
********************************
|
|
* *
|
|
* POPUP WINDOW *
|
|
* *
|
|
* USAGE: *
|
|
* *
|
|
* PUP X;Y;WDTH;HGHT;SRC;RETURN *
|
|
* *
|
|
********************************
|
|
*
|
|
PUP MAC ; POPUP HANDLER
|
|
LDA ]1
|
|
PHA
|
|
LDA ]2
|
|
PHA
|
|
LDA ]3
|
|
PHA
|
|
LDA ]4
|
|
PHA
|
|
_ISSTR ]5
|
|
_ISLIT ]6
|
|
*
|
|
JMP POPUP
|
|
<<<
|
|
MEND MAC ; MENU DISPLAY ROUTINE
|
|
_ISLIT ]1 ; MENU DATA LOCATION
|
|
_ISLIT ]2 ; DEFAULT RETURN LOCATION
|
|
JMP MENDISP
|
|
<<<
|
|
*
|