Commit Graph

639 Commits

Author SHA1 Message Date
Joshua Bell
87d48e2a7f Save/Restore QUIT routine. Fixes #3
On startup (DESKTOP.SYSTEM), the current ProDOS QUIT handler
(selector/dispatcher) living in Main LC Bank 2 $D100-$D3DD is written
out to a "Quit.tmp" file, along with preamble code to restore it
and invoke QUIT.

On quit (DESKTOP2), the "Quit.tmp" file is loaded at $1000, /RAM is
reattached, then the code is invoked.

This presumes prefix is set on launch and remains unchanged. If
the Quit.tmp file cannot be found, File > Quit shows an error.

Also copy Quit.tmp to RAM Card
2018-12-09 20:08:38 -08:00
Joshua Bell
39581705cf Allow up to 12 DAs. Fixes #90 2018-12-09 20:08:38 -08:00
Joshua Bell
832725e347 DeskTop: Increase number of desktop volumes to 13. Fixes #20 2018-12-09 20:08:38 -08:00
Joshua Bell
e4c14c8307 Improve text/generic icons 2018-12-09 20:08:38 -08:00
Joshua Bell
037d58fa96 Remove bogus padding 2018-12-09 20:08:38 -08:00
Joshua Bell
22c56a5ed2 MGTK: Fix param length table entries. Issue #60 2018-12-09 20:08:38 -08:00
Joshua Bell
b5222b4f04 Improve system file icon 2018-12-09 20:08:38 -08:00
Joshua Bell
d68cfdf917 Improve Trash icon appearance. Issue #74 2018-12-09 20:08:38 -08:00
Joshua Bell
e4c68af91e IIgs: Restore Color DHR when exiting. 2018-12-09 20:08:38 -08:00
Joshua Bell
1f70bcd7f1 Optimize volume icons 2018-12-09 20:08:38 -08:00
Joshua Bell
0c16467fd5 Bump version to 1.2
* Drop dead (?) code segment
* Add mount scropt (for Virtual ][)
2018-12-09 20:08:38 -08:00
Joshua Bell
86940aa19a Don't poke Le Chat Mauve addresses on IIgs to avoid emulator crash. Fixes #85 2018-12-09 20:08:38 -08:00
Joshua Bell
f08ff631b7 Extend Travis-CI push to include full package; fix script; fix several typos 2018-12-09 19:49:45 -08:00
Joshua Bell
21584f128c DeskTop disasm: icon creation 2018-12-08 14:04:06 -08:00
Joshua Bell
adbd1c8fc7 disasm: block copy macros, rename pointers 2018-12-08 09:56:47 -08:00
Joshua Bell
e82df4d29e DeskTop disasm: ProDOS driver protocol 2018-12-05 19:35:04 -08:00
Joshua Bell
87d2d53fb7 DeskTop disasm: view sorting 2018-12-03 22:05:29 -08:00
Joshua Bell
6ad09bfb2c DeskTop disasm: view sorting 2018-12-03 21:49:12 -08:00
Joshua Bell
90812e9602 DeskTop disasm: view sorting 2018-12-03 18:41:08 -08:00
Joshua Bell
4f0e554175 DeskTop disasm: view handling, file records 2018-12-02 22:10:00 -08:00
Joshua Bell
1ea7fe51c3 DeskTop disasm: string un-padding 2018-12-02 12:54:24 -08:00
Joshua Bell
265b8bff62 DeskTop device identification: improve comment 2018-12-02 12:37:29 -08:00
Joshua Bell
0ea3e2837a DeskTop disasm: view by logic 2018-12-02 12:35:24 -08:00
Joshua Bell
5820653796 DeskTop: window animation 2018-11-30 21:30:04 -08:00
Joshua Bell
05e87145b1 DeskTop: SmartPort calls and device enumerations 2018-11-29 22:16:19 -08:00
Joshua Bell
b45743a6f9 Added Screen Dump DA. Fixes #46 2018-11-27 17:31:43 -08:00
Joshua Bell
e4480a55b6 disasm: invoker preamble 2018-11-26 20:19:25 -08:00
Joshua Bell
4689d3ea84 Use a common mount/ directory 2018-11-25 21:16:39 -08:00
Joshua Bell
da715ed9ce disasm: quit routines 2018-11-25 14:38:06 -08:00
Joshua Bell
c71bbaa7a4 DeskTop disasm: Menu command dispatch table 2018-11-24 16:23:49 -08:00
Joshua Bell
a93663b1bc Use cheap local labels for self-modifying code where possible. Fixes #89 2018-11-24 11:17:46 -08:00
Joshua Bell
ae2938c58e DeskTop disasm: startup flow 2018-11-24 10:55:14 -08:00
Joshua Bell
418cd09cd6 DeskTop disasm: volume enumeration 2018-11-23 23:03:11 -08:00
Joshua Bell
a90ef2226c DeskTop disasm 2018-11-23 22:49:41 -08:00
Joshua Bell
9efbe15092 DeskTop disasm 2018-11-23 20:02:01 -08:00
Joshua Bell
03929d70fd update README with better overlay details 2018-11-23 19:41:53 -08:00
Joshua Bell
f8d5358a88 DeskTop: disasm 2018-11-23 18:15:50 -08:00
Joshua Bell
a13ec0d872 DeskTop: disasm 2018-11-23 16:25:36 -08:00
Joshua Bell
f923f1d5fe Format/Erase Overlay: disasm 2018-11-23 15:23:15 -08:00
Joshua Bell
5ed9cec8cf Format/Erase Overlay: disasm 2018-11-23 15:20:56 -08:00
Joshua Bell
8c27dfe1e6 diasm - burn down raw references 2018-11-23 14:44:18 -08:00
Joshua Bell
3745757e74 diasm - burn down raw references 2018-11-23 14:33:37 -08:00
Joshua Bell
78498cf655 diasm - burn down raw references 2018-11-23 13:38:59 -08:00
Joshua Bell
65db2c1e92 Common Overlay disasm 2018-11-23 10:07:33 -08:00
Joshua Bell
2c292d80c0 Common Overlay disasm 2018-11-23 09:56:53 -08:00
Joshua Bell
038eb4b7eb Common Overlay disasm 2018-11-23 09:50:47 -08:00
Joshua Bell
5f7584d8d5 Disk Copy Overlay disasm 2018-11-22 20:49:48 -08:00
Joshua Bell
08bcffad5c Disk Copy Overlay disasm 2018-11-22 16:53:50 -08:00
Joshua Bell
014ac606b9 Disk Copy Overlay disasm 2018-11-22 16:20:54 -08:00
Joshua Bell
b379e4236c Disk Copy Overlay disasm 2018-11-22 14:37:58 -08:00
Joshua Bell
24b9eacd20 Disk Copy Overlay disasm 2018-11-22 14:27:03 -08:00
Joshua Bell
c519a28769 Disk Copy Overlay disasm 2018-11-22 14:13:21 -08:00
Joshua Bell
dd2422fb83 Disk Copy Overlay disasm 2018-11-22 14:12:31 -08:00
Joshua Bell
6454d5fae0 Disk Copy Overlay disasm 2018-11-21 21:00:49 -08:00
Joshua Bell
1d6a8208c9 Disk Copy Overlay disasm - more padding garbage 2018-11-21 20:24:30 -08:00
Joshua Bell
891e7d6c1a Disk Copy Overlay disasm 2018-11-21 15:29:24 -08:00
Joshua Bell
83e16b5ad8 Disk Copy Overlay disasm 2018-11-21 12:11:35 -08:00
Joshua Bell
27fd1d1677 Disk Copy Overlay disasm 2018-11-21 11:05:39 -08:00
Joshua Bell
8e2be989b1 Disk Copy Overlay disasm 2018-11-21 10:46:14 -08:00
Joshua Bell
51df5c6821 Disk Copy Overlay disasm 2018-11-21 08:49:09 -08:00
Joshua Bell
6f2d18e4e8 disasm: More padding with BS1.1 2018-11-21 00:09:11 -08:00
Joshua Bell
aeece3e83a Disk Copy Overlay disasm 2018-11-20 21:45:07 -08:00
Joshua Bell
8e0fb2983a fix bad label 2018-11-20 21:44:33 -08:00
Joshua Bell
8664a98da2 diasm: align cross-overlay equates 2018-11-19 23:21:36 -08:00
Joshua Bell
b9608fceb2 Comments/docs: Solid Apple not Closed Apple 2018-11-19 20:27:40 -08:00
Joshua Bell
7c1ead2a8e Build: DeskTop and overlays as one target 2018-11-19 19:55:00 -08:00
Joshua Bell
45e649b57c Use constants for version fields 2018-11-18 23:35:25 -08:00
Joshua Bell
5ddb8efe6f ovl2 disasm 2018-11-18 21:45:40 -08:00
Joshua Bell
2b9bef5cbe DeskTop disasm: Overlay entry points 2018-11-17 21:00:40 -08:00
Joshua Bell
1bb2824ea5 MGTK: Start using enums/constants 2018-11-17 20:34:17 -08:00
Joshua Bell
20603b1d81 DeskTop disasm: Desk Acc enumeration 2018-11-17 17:34:35 -08:00
Joshua Bell
eb7745c324 use padding macros 2018-11-16 21:13:52 -08:00
Joshua Bell
ab1389d6df disassembly: misc labels 2018-11-16 20:02:54 -08:00
Joshua Bell
e771d2cc63 DeskTop: volume icon disasm tweaks 2018-11-11 19:11:44 -08:00
Joshua Bell
1692b4da42 Add macro for copy16 w/ indexed indirect src/dst 2018-11-10 20:31:31 -08:00
Joshua Bell
ac84a24a71 Depict 'bank 2' in memory map (poorly) 2018-11-05 20:37:42 -08:00
Joshua Bell
5f825cfeab Move DESKTOP.SYSTEM a.k.a. DESKTOP1 to separate directory 2018-11-05 20:14:29 -08:00
Joshua Bell
a05d4631df Build disk for DeskTop itself 2018-09-03 17:31:25 -07:00
Joshua Bell
3a7a8a4b68 DeskTop: Icon creation 2018-07-28 20:46:38 -07:00
Joshua Bell
8bb974200c DeskTop: Unify filename case adjusting procs 2018-07-26 21:44:29 -07:00
Joshua Bell
c7c7d866e4 Struct for Event record 2018-07-04 21:12:20 -07:00
Joshua Bell
3b085738aa Macros: add/sub16in to use indirect indexed, with integrated INY 2018-07-04 20:58:54 -07:00
Joshua Bell
ad71d77c3d Character masks, and sort directory DA identifications 2018-06-01 18:52:26 -07:00
Joshua Bell
501635259a DeskTop: Drag logic 2018-05-28 20:48:13 -07:00
Joshua Bell
501776a7a7 DeskTop: Untangling last API call 2018-05-27 21:16:32 -07:00
Joshua Bell
3f15d12eb1 DeskTop: Internal API noodling 2018-05-27 09:31:43 -07:00
Joshua Bell
3fff12d1f3 Miscellaneous identification 2018-05-26 09:53:55 -07:00
Joshua Bell
f3ac87df65 MGTK: More structs 2018-05-26 00:35:28 -07:00
Joshua Bell
f0ef581a16 MGTK: More structs 2018-05-25 18:49:36 -07:00
Joshua Bell
8b3d056d7f MGTK: Start using structs 2018-05-25 18:39:43 -07:00
Joshua Bell
94e02e4a72 DeskTop: IconEntry struct, more DT calls 2018-05-25 18:24:35 -07:00
Joshua Bell
2d835585c0 DeskTop internal calls 2018-05-24 21:35:22 -07:00
Joshua Bell
06eb536f08 DeskTop internal calls 2018-05-24 18:54:42 -07:00
Joshua Bell
361e6a6563 DeskTop: call routines 2018-05-24 08:25:41 -07:00
Joshua Bell
06c721b418 SIF: Le Chat Mauve COL/BW modes 2018-05-23 20:33:44 -07:00
Joshua Bell
ecb94d43a5 DeskTop: More overlay noodling 2018-05-18 09:07:41 -07:00
Joshua Bell
afb769020c DeskTop: More overlay noodling 2018-05-17 23:54:10 -07:00
Joshua Bell
4658142898 DeskTop: Common dialog key handling 2018-05-17 19:10:47 -07:00
Joshua Bell
0fdd1a9d60 DeskTop: Overlay tidying 2018-05-17 08:54:22 -07:00
Joshua Bell
3fabe4b545 Extended QUIT 2018-05-14 00:10:39 -07:00
Joshua Bell
90bfbb8310 Fix min/max cont width/length, misc other tidying 2018-05-13 22:20:46 -07:00
Joshua Bell
2da03912a0 DeskTop: Insertion point fun 2018-05-08 20:14:59 -07:00
Joshua Bell
904ce43d49 DeskTop: name input resources 2018-05-07 21:13:29 -07:00
Joshua Bell
6ff0b94a0e DeskTop: Identify double click timer in main memory 2018-05-07 21:06:43 -07:00
Joshua Bell
df2babc38e Elements of common dialog 2018-05-07 19:35:36 -07:00
Joshua Bell
4ff1b11ed2 README: notes about the disk copy overlays 2018-05-07 12:43:24 -07:00
Joshua Bell
4ffa58fac8
List segments in table form 2018-05-06 23:41:45 -07:00
Joshua Bell
0fba98f1f2 DeskTop: More overlay resource identifiers 2018-05-06 17:35:34 -07:00
Joshua Bell
a1c6736df2 DeskTop: More overlay resource identifiers 2018-05-06 10:09:31 -07:00
Joshua Bell
e894207778 DeskTop: More overlay resource identifiers 2018-05-06 09:15:41 -07:00
Joshua Bell
bbe9ff8896 DeskTop: More overlay resource identifiers 2018-05-05 23:40:37 -07:00
Joshua Bell
c837871bfb DeskTop: More overlay resource identifiers 2018-05-04 08:09:07 -07:00
Joshua Bell
cab4983514 Explain the various desktop source files 2018-05-03 22:35:59 -07:00
Joshua Bell
b57070fabc DeskTop: More overlay resource identifiers 2018-05-03 19:08:30 -07:00
Joshua Bell
7bd4eec08b DeskTop: More overlay resource identifiers 2018-05-03 18:43:09 -07:00
Joshua Bell
9ea7ac1a4e DeskTop: More overlay resource identifiers 2018-05-03 09:01:57 -07:00
Joshua Bell
40bf0db1d3 DeskTop: Resource string labels used in overlays 2018-05-02 22:56:52 -07:00
Joshua Bell
fe2948e489 Autogenerate include file for LC resources 2018-05-02 21:05:31 -07:00
Joshua Bell
f77932a28d Split desktop source into separate files 2018-05-02 19:58:17 -07:00
Joshua Bell
d280dfd023 DeskTop overlays: identify a few string references 2018-04-30 22:35:58 -07:00
Joshua Bell
f2f3e8467d MGTK: One more PARAM_BLOCK 2018-04-29 13:21:52 -07:00
Joshua Bell
9cdbb78cc2 MGTK: More PARAM_BLOCK usage 2018-04-28 16:22:33 -07:00
mgcaret
68766cb60b Rewrite quit_code to use ca65 '816 mnemonics and provide some analysis (#79)
* Convert '816 quit code to use ca65 65816 mode.
Add commentary on this code.
2018-04-28 16:00:08 -07:00
Joshua Bell
9a2a595f8d Documentation updates 2018-04-27 20:40:39 -07:00
Joshua Bell
71c2da54ae Remove desk.acc/fonts, update tools. Resolves #76 2018-04-27 19:37:12 -07:00
Joshua Bell
f3ac302764 Factor mount/ directory population into separate script 2018-04-25 20:59:49 -07:00
Joshua Bell
f6830a7f2e travis CI build fix 2018-04-10 21:12:48 -07:00
eric-ja
21861e04fd MGTK: Keyboard mouse/misc ($17D79..$18431) 2018-04-10 16:26:36 -07:00
eric-ja
3f819bee4e MGTK: Windows/controls. ($17013..$17D69)
* MGTK: Windows/controls. ($17013..$17D69)
* Fix scoping.
2018-04-04 09:09:09 -07:00
Joshua Bell
655e86f37b MGTK: minor S2W/W2S cleanup 2018-04-03 21:26:13 -07:00
eric-ja
6b176d4ac1 MGTK: Menus. ($16867..$16F39) 2018-04-02 08:00:43 -07:00
Joshua Bell
5f09da834a ovl1c: sector format 2018-04-01 20:36:02 -07:00
Joshua Bell
177e988398 ovl1c: more drive control 2018-04-01 13:33:53 -07:00
eric-ja
c1c3171f46 MGTK: Cursor/events/initialization. ($16004..$166DE) 2018-04-01 09:27:39 -07:00
Joshua Bell
f4139c08b5 ovl1c: Start understanding low level disk ops 2018-03-31 21:13:10 -07:00
Joshua Bell
579e3dbd78 ovl1c: procs, params 2018-03-31 16:50:58 -07:00
Joshua Bell
31b4b1f86b ovl1b: more params 2018-03-30 21:50:29 -07:00
Joshua Bell
5aa3c5fd17 ovl1b: dialog members 2018-03-30 21:11:36 -07:00
Joshua Bell
848a1d9342 ovl1b: unref'd definitions 2018-03-30 20:15:53 -07:00
Joshua Bell
fe82e7efd6 ovl1b: procs and params 2018-03-30 19:34:44 -07:00
eric-ja
f522008c3f MGTK: Text drawing ($15907..$15E01) 2018-03-30 07:58:10 -07:00
Joshua Bell
c76a540871 Menu definitions; call ids 2018-03-29 21:40:39 -07:00
Joshua Bell
85faffa915 MGTK calls 2018-03-29 21:17:18 -07:00
Joshua Bell
96683a6c09 ovl1b strings 2018-03-29 08:38:20 -07:00
Joshua Bell
e5ebe33221 more strings 2018-03-29 07:52:03 -07:00
Joshua Bell
7b9ead9cac strings 2018-03-28 21:28:03 -07:00
Joshua Bell
fda56ba686 Start work on ovl1b/c 2018-03-28 21:05:12 -07:00
eric-ja
7e483c3ef5 MGTK: BitBlt/rect/poly drawing routines (#54)
* Document that Text Page 1 is used as buffers.
* Merge keyboard/mouse
* Work on error symbols.
* MGTK: Drawing routines. (4F8E..584A)
* MGTK: Style/fix warnings.
2018-03-27 07:44:13 -07:00
Joshua Bell
2dbeadc5b2 MGTK: Correct some bad disassembly 2018-03-25 21:04:15 -07:00
Joshua Bell
6d9e05f7f7 MGTK: Macros for 16-bit ops with leading clc/sec 2018-03-25 20:49:27 -07:00