361 Commits

Author SHA1 Message Date
Joshua Bell
8231e303f4 Add Control Panel DA.
* Desktop pattern
* Double-click speed
* Joystick calibration
* Insertion point blink speed

Settings live in LCBANK1 at $FF80 and are persisted directly to DESKTOP2 when the DA closes. DeskTop itself is modified to pull values from there. IP blink routines are improved to not slow down when the mouse pointer is over the window.

Fixes #2, #31, #72
2019-07-30 21:22:28 -07:00
Joshua Bell
ea4acbeb3f Rename the icon management logic in Aux 'Icon ToolKit' 2019-07-28 16:54:06 -07:00
Joshua Bell
421cebb5ef Move macros.inc into inc/ to tidy top level dir 2019-07-27 10:49:13 -07:00
Joshua Bell
65d57412da Move MGTK to mgtk/ dir to tidy up top level 2019-07-27 10:45:31 -07:00
Joshua Bell
2730c96058 Calculator DA: Fix FSUB call. Fixes #159
When updating how Calculator calls ROM routines in 88666311 the FSUB
wrapper was missing a PLA. Convert the wrappers into a macro to avoid
such mistakes (D.R.Y.)

Also, updated refs to CHRGET routine.
2019-07-11 21:18:48 -07:00
Joshua Bell
9d6e4ce835 Simplify Calculator DA's init/exit/redraw logic 2019-07-11 16:43:15 -07:00
Joshua Bell
d2f88aaed1 Prevent crashes in Calculator/Eyes DA using ROM FP routines
During calls, MGTK uses the top half of the zero page to hold the
active grafport and local variables. It normally saves/restores the ZP
on each call so that the application's ZP state is preserved. Per
docs, the ZP1 call with param $00 can be used to disable this; MGTK
will write its state to the ZP and assume the ZP is not touched until
a subsequent ZP1 call with param $80, allowing higher performance.

DeskTop would normally run in this state ($00), except when DAs were
invoked since they could use ROM routines (etc) and expect the top
half of the ZP to be preserved during MGTK calls. But it did this with
a toggle ($00, $80, run the DA, then $00 again). Confusingly, the Calc
(and Eyes, c/o copy/pasta) DA would also attempt to get to a normal
state when running ($80, run, $00).

In rev 30532c31 I disabled DeskTop's toggling around DAs to fix an
issue in the Sort Directory DA (see #119), which might have changed
the overall behavior. The result is that on the IIc+ (and possibly
other hardware, but not Virtual II or Laser 128EX) the Calc and Eyes
DAs would crash.

This change disables use of the ZP1 by DeskTop and the DAs. This will
likely impair performance somewhat due to the save/restore overhead on
each call, but at least this gets us to a "known good state".

Fixes #157, #158
2019-07-11 15:50:20 -07:00
Joshua Bell
3d3261f10c Key Caps DA: Fix IIc+ test 2019-07-11 15:08:14 -07:00
Joshua Bell
505336d286 This Apple DA: Add II/II+ icon, for kicks 2019-06-26 20:00:05 -07:00
Joshua Bell
af2147232e Remove obsolete comment 2019-04-23 21:20:08 -07:00
Joshua Bell
6bafe66a88 Macro tidying: use param blocks; dedupe macros that differ only by order 2019-03-30 08:34:49 -07:00
Joshua Bell
1879452886 Merge remote-tracking branch 'origin/disasm' 2019-03-30 08:23:51 -07:00
Joshua Bell
6ec0cf71e4 Macros for relocated procs 2019-03-30 08:21:34 -07:00
Joshua Bell
d552e0e31d This Apple DA: Distinguish 65802/65816 2019-03-27 19:13:21 -07:00
Joshua Bell
7474be8efd Add 'Screen Saver' DA, issue #27. Also adds DrawMenu to MGTK, fixes #136. 2019-03-11 19:44:07 -07:00
Joshua Bell
a84fdd8122 This Apple DA: Fix RAMWorks bank detection/counting. Fixes #131 2019-02-28 19:38:31 -08:00
Joshua Bell
b14abdf502 Show Apple icon for Desk Accessory files, allow running (Fixes #101. Fixes #116.) 2019-02-22 20:21:58 +11:00
Joshua Bell
aac41d0078 This Apple DA: Add missing RTS 2019-02-17 16:01:47 +11:00
mgcaret
6dd42214db this.apple: correct Apple IIe Card identification (#130) 2019-02-17 14:33:24 +11:00
Joshua Bell
c700349c19 This Apple DA: Invert bitmaps 2019-02-13 20:37:12 -08:00
Joshua Bell
150744b97f disasm: Sort Dir DA stack fun; copy dialog resources/proc 2019-01-29 08:24:23 -08:00
Joshua Bell
8b59d1dfd3 Don't monkey with ZP configuration when launching DA. Fixes #119 2019-01-28 20:32:23 -08:00
Joshua Bell
b86ecb8dd7 Add "Preview DAs", allow opening text/graphics directly (Issue #101) 2019-01-21 12:35:43 -08:00
Joshua Bell
70867c3cc8 Show Image File DA: Call main routines via trampoline 2019-01-20 21:40:49 -08:00
Joshua Bell
9b2d636704 Drop DA dependency on menu click params 2019-01-20 15:14:23 -08:00
Joshua Bell
8c351a22a0 Expose JT entry point for restoring system state 2019-01-20 15:04:52 -08:00
Joshua Bell
90ffddd85b Show Text File DA: Don't clear selection 2019-01-19 20:38:37 -08:00
Joshua Bell
be3f962136 Key Caps DA: Handle IIgs/IIc+ layout 2019-01-13 23:24:53 -08:00
Joshua Bell
2aaa5a36ee Refactor color/mono mode control into new JT entries 2019-01-13 20:01:43 -08:00
Joshua Bell
e108d9a5ed Re-enable Le Chat Mauve/AppleColor DHR color mode on exit. Fixes #111 2019-01-13 14:55:41 -08:00
Joshua Bell
13a89e6b7f fix make clean 2019-01-08 08:13:51 -08:00
Joshua Bell
af3af934e8 Show Text File DA: Fix Proportional/Fixed button, delete dead code. Fixes #110 2019-01-06 14:34:51 -08:00
Joshua Bell
c6a0c7d905 .gitignore consolidation 2019-01-04 19:46:52 -08:00
Joshua Bell
c4925f59d0 Merge remote-tracking branch 'origin/disasm' 2019-01-04 19:44:07 -08:00
Joshua Bell
7c4bf6b820 .gitignore updates 2019-01-04 19:43:54 -08:00
Joshua Bell
9a771d6733 This Apple DA: Make identification menu driven, identify IIc/IIgs ROM versions. Fixes #29 2019-01-04 18:27:47 -08:00
Joshua Bell
d8d07868d0 release notes 2019-01-02 13:32:12 -08:00
Joshua Bell
cd7e22fca9 Add "Key Caps" DA 2018-12-30 12:12:03 -08:00
Joshua Bell
89a4eac55a Eyes DA: Tweak dimensions slightly to fill space better 2018-12-28 16:24:37 -08:00
Joshua Bell
4a05ee9bd0 Prefer = for constants and := for labels (new code too) 2018-12-28 16:18:08 -08:00
Joshua Bell
805d72b056 Merge remote-tracking branch 'origin/disasm' 2018-12-28 15:47:20 -08:00
Joshua Bell
65391b5888 Prefer = for constants and := for labels 2018-12-28 15:46:09 -08:00
Joshua Bell
1f8b97b50f RBH DA: Set PREFIX last. Fixes #95 2018-12-28 09:28:52 -08:00
Joshua Bell
3037a751f4 RBH DA: Restore devices and reformat /RAM. Fixes #98 2018-12-27 12:55:56 -08:00
Joshua Bell
1a8dae4513 Run Basic Here DA: Use orig DT prefix if copied to ramcard. Issue #95 2018-12-27 10:01:00 -08:00
Joshua Bell
e57399a919 fix unreferenced label warning 2018-12-24 18:24:11 -08:00
Joshua Bell
7281eb2c52 Merge remote-tracking branch 'origin/disasm' 2018-12-24 18:23:34 -08:00
Joshua Bell
08f1901af5 disasm: misc macros, constants 2018-12-24 16:00:55 -08:00
Joshua Bell
721aa01734 Remove 'orig' files in master branch 2018-12-19 19:50:04 -08:00
Joshua Bell
606aa0fb2b SIF DA: Optimize main>aux copy, use more macros 2018-12-19 18:52:33 -08:00