Commit Graph

805 Commits

Author SHA1 Message Date
Joshua Bell
7502d6f592 Drop unnecessary MGTK relay/usage 2019-01-19 14:49:56 -08:00
Joshua Bell
a764621f58 Merge remote-tracking branch 'origin/disasm' 2019-01-19 14:37:39 -08:00
Joshua Bell
63a7bf730d disasm: labels for window/icon tables 2019-01-19 14:37:27 -08:00
Joshua Bell
443be43396 notes on memory usage 2019-01-19 10:33:38 -08:00
Joshua Bell
1e80673273 Merge remote-tracking branch 'origin/disasm' 2019-01-19 09:43:57 -08:00
Joshua Bell
3caf86649d use icon macro for volume icons now too 2019-01-19 09:41:24 -08:00
Joshua Bell
ca15759620 disasm: Rename LC relays from SHOUTY_CAPS to TitleCase 2019-01-19 09:40:43 -08:00
Joshua Bell
5197aa83fc Free up more res space; pad with xx's for easier hole finding 2019-01-17 21:27:56 -08:00
Joshua Bell
8132a8c8f0 Merge remote-tracking branch 'origin/disasm' 2019-01-16 21:11:11 -08:00
Joshua Bell
78dc563020 disasm: Icon painting 2019-01-16 21:04:07 -08:00
Joshua Bell
120c9bac55 Icon for AppleTalk file shares. Fixes #88 2019-01-16 20:26:57 -08:00
Joshua Bell
c8cc3bde53 Use proper masks for desktop (volume) icons 2019-01-15 23:36:00 -08:00
Joshua Bell
d81e18a228 re-use save area constant 2019-01-15 21:20:30 -08:00
Joshua Bell
70c0cf2abc Merge remote-tracking branch 'origin/disasm' 2019-01-15 19:04:26 -08:00
Joshua Bell
3e55cbc4f0 disasm: Dialog bg save/restore, icon painting 2019-01-15 19:02:01 -08:00
Joshua Bell
8c9993deeb Delete unused resources 2019-01-14 23:28:45 -08:00
Joshua Bell
741579d293 Delete unused code/buffers 2019-01-14 21:04:07 -08:00
Joshua Bell
7e3f27ce3d Merge remote-tracking branch 'origin/disasm' 2019-01-14 20:45:33 -08:00
Joshua Bell
5a445fa078 disasm: copy/delete/lock/unlock/size operations 2019-01-14 20:43:17 -08:00
Joshua Bell
3a7d1985b4 Refactor color/mono mode control into new JT entries 2019-01-13 20:01:43 -08:00
Joshua Bell
b817f5c0b0 Re-enable Le Chat Mauve/AppleColor DHR color mode on exit. Fixes #111 2019-01-13 14:55:41 -08:00
Joshua Bell
0078eb6b96 Fix IIc+ detection. Fixes #25 2019-01-13 14:36:34 -08:00
Joshua Bell
0db0530367 Allow dragging "unlimited" icons. Fixes #18
The number of draggable icons was restricted to a hardcoded limit
of 20, using a pre-allocated buffer (680 bytes) to hold a composite
polygon of the icon outlines.

Switch that to re-use the "save area" (used by MGTK to stash the
background of menus, so not in conflict), $800-$1AFF, which is
more than enough room for 127 icons (the maximum number supported).
2019-01-13 12:32:52 -08:00
Joshua Bell
74fb526ced Merge remote-tracking branch 'origin/disasm' 2019-01-13 12:02:09 -08:00
Joshua Bell
4f4a514abe disasm: drag items, menus 2019-01-13 12:01:26 -08:00
Joshua Bell
2a24e28db1 Drop unreferenced names/procs 2019-01-12 17:47:49 -08:00
Joshua Bell
527ecc93cf Reclaim some redundant/unused buffers 2019-01-12 17:27:31 -08:00
Joshua Bell
91b93cb860 Tidy up case adjustment code, release notes. Resolves #64 2019-01-12 11:23:43 -08:00
Joshua Bell
86d299bb32 Support GS/OS volume name casing. Issue #64 2019-01-12 09:23:53 -08:00
Joshua Bell
55544b8835 Support GS/OS filename casing for files. Issue #64
* Move filename case adjustment to directory enumeration
* Don't adjust filename case if GS/OS upper/lowercase bitflags set
* Details at GS/OS Tech Note #8

This is primarily for ProDOS 2.5 support. Note that volume names are
not handled correctly yet - they are always case-adjusted.
2019-01-11 19:47:41 -08:00
Joshua Bell
3180399fb0 center Trash icon with other volumes 2019-01-11 18:35:53 -08:00
Joshua Bell
6e7c30112f Merge remote-tracking branch 'origin/disasm' 2019-01-11 18:32:45 -08:00
Joshua Bell
1a0fe7ec55 Center volume icons using icon defs 2019-01-11 18:32:40 -08:00
Joshua Bell
53d97be9c2 disasm: trash icon position 2019-01-11 18:31:38 -08:00
Joshua Bell
e403bef725 Merge remote-tracking branch 'origin/disasm' 2019-01-11 17:56:05 -08:00
Joshua Bell
f138c4ffba disasm: get info, masks 2019-01-11 17:55:53 -08:00
Joshua Bell
d8d9f876a6 Merge remote-tracking branch 'origin/disasm' 2019-01-10 20:58:15 -08:00
Joshua Bell
17272f74a5 disasm: new folder params 2019-01-10 20:58:03 -08:00
Joshua Bell
270ed1c053 fix make clean 2019-01-08 08:13:51 -08:00
Joshua Bell
5fe2a90e21 Add icon for CMD files. Resolves #105 (for now) 2019-01-06 11:33:37 -08:00
Joshua Bell
fc9920cb1a Tweak aspect ratio of Graphics icon 2019-01-06 10:53:51 -08:00
Joshua Bell
216370c9d9 Enumerate DEVLST in reverse order to improve icon order. Fixes #94 2019-01-05 21:23:10 -08:00
Joshua Bell
6fface983b Merge remote-tracking branch 'origin/disasm' 2019-01-05 21:02:19 -08:00
Joshua Bell
9d9d5b25a8 disasm: drive refreshing, volume icon creation 2019-01-05 20:57:42 -08:00
Joshua Bell
dfa87c3f2a .gitignore consolidation 2019-01-04 19:46:52 -08:00
Joshua Bell
caf44adeda Merge remote-tracking branch 'origin/disasm' 2019-01-04 19:44:07 -08:00
Joshua Bell
e18d18003a .gitignore updates 2019-01-04 19:43:54 -08:00
Joshua Bell
2032c53fd0 disasm: misc rect table 2019-01-04 19:34:34 -08:00
Joshua Bell
53230b5967 disasm: various labels 2019-01-04 19:20:20 -08:00
Joshua Bell
a7c54d7711 IIgs: Correctly set NEWVIDEO bits on exit. Fixes #109 2019-01-04 18:53:36 -08:00
Joshua Bell
3a7701fc31 Populate Startup menu using ProDOS device ID bytes. Fixes #106 2019-01-03 21:28:23 -08:00
Joshua Bell
d795636248 remove some dead resources/code 2019-01-03 18:48:47 -08:00
Joshua Bell
550247f472 Compute icon offsets, eliminate table 2019-01-03 18:13:47 -08:00
Joshua Bell
555f75cedc Fix icon vertical offsets 2019-01-03 17:45:04 -08:00
Joshua Bell
c83d788b06 Start adding icon for REL files 2019-01-03 16:07:59 -08:00
Joshua Bell
6be45bcb47 Allow two-click use of menus, like modern GUIs. Fixes #104 2019-01-02 22:38:22 -08:00
Joshua Bell
8ecea72c84 Skip DAs with high bit set. Fixes #102 2019-01-02 10:46:03 -08:00
Joshua Bell
50a755afde Add IIgs file type remapping and icon 2019-01-01 16:28:38 -08:00
Joshua Bell
149eaf2966 Correct AppleWorks file type TLAs 2019-01-01 15:31:16 -08:00
Joshua Bell
0c44a6e073 Dedupe icon masks using explicit pointers 2019-01-01 11:55:10 -08:00
Joshua Bell
49fb7c72dd disasm: Fix icon/mask rows 2019-01-01 11:47:03 -08:00
Joshua Bell
39bf5c771a Merge remote-tracking branch 'origin/disasm' 2019-01-01 10:45:07 -08:00
Joshua Bell
0b0171d1a5 disasm: icon logic 2019-01-01 09:48:06 -08:00
Joshua Bell
6f9f3b1467 Icons for graphics, AppleWorks types 2019-01-01 09:47:47 -08:00
Joshua Bell
813e60443e Rework file type / icon tables. Fixes #103 2018-12-30 20:35:23 -08:00
Joshua Bell
b2a9e62f6d Add icon y-delta table to minimize bitmap sizes 2018-12-30 19:59:37 -08:00
Joshua Bell
16bb4a6e53 Improve RAMDisk icon 2018-12-29 11:25:56 -08:00
Joshua Bell
287da7395c Center desktop icons in columns 2018-12-29 10:55:26 -08:00
Joshua Bell
3a128da01d Compute SmartPort unit numbers more sensibly. Fixes #100 2018-12-29 10:23:33 -08:00
Joshua Bell
2bfb2cd443 Use '<=1600 blocks' heuristic for 3.5 disks; tentatively fixes #6 2018-12-28 21:43:46 -08:00
Joshua Bell
6e8e5a4cd4 Merge remote-tracking branch 'origin/disasm' 2018-12-28 15:47:20 -08:00
Joshua Bell
ceec6f41a4 Prefer = for constants and := for labels 2018-12-28 15:46:09 -08:00
Joshua Bell
401695b1d4 Lowercase 'by' in View menu items. 2018-12-28 10:26:56 -08:00
Joshua Bell
3958aea47d Merge remote-tracking branch 'origin/disasm' 2018-12-28 10:15:22 -08:00
Joshua Bell
cee0de16fd disasm: menu items 2018-12-28 10:11:59 -08:00
Joshua Bell
4b77727677 Reorganize/rename menu items. Fixes #13 2018-12-28 10:11:43 -08:00
Joshua Bell
23acfe7c50 Consolidate padding 2018-12-27 21:25:52 -08:00
Joshua Bell
4cf8ab90ab Add Special > Check Drive command. Fixes #97 2018-12-27 21:15:02 -08:00
Joshua Bell
8c1c184549 Merge remote-tracking branch 'origin/disasm' 2018-12-27 18:55:37 -08:00
Joshua Bell
4543aa9966 disasm: Eject command logic 2018-12-27 18:55:27 -08:00
Joshua Bell
15c03ebb70 Fix minor off-by-one bug in rename logic 2018-12-27 18:47:59 -08:00
Joshua Bell
245cf779f1 Merge remote-tracking branch 'origin/disasm' 2018-12-27 18:41:32 -08:00
Joshua Bell
59a9b2e16c disasm: Check Drive logic 2018-12-27 18:40:56 -08:00
Joshua Bell
12ee56c674 Fix buffer overrun when renaming. Fixes #99 2018-12-27 17:07:45 -08:00
Joshua Bell
43745ad7a6 Merge remote-tracking branch 'origin/disasm' 2018-12-27 16:49:34 -08:00
Joshua Bell
37db92bd47 disasm: icon renames 2018-12-27 16:49:24 -08:00
Joshua Bell
78189964b1 Merge remote-tracking branch 'origin/disasm' 2018-12-27 16:34:41 -08:00
Joshua Bell
74b2945619 disasm: window/icon table 2018-12-27 16:34:27 -08:00
Joshua Bell
231d03b548 RBH DA: Restore devices and reformat /RAM. Fixes #98 2018-12-27 12:55:56 -08:00
Joshua Bell
cb99c2c9c9 Make /RAM restoration consistent. Fixes #96 2018-12-27 12:42:48 -08:00
Joshua Bell
cb5cc42c6e Merge remote-tracking branch 'origin/disasm' 2018-12-27 11:52:44 -08:00
Joshua Bell
2e09f2b9cc disasm: Check Drive logic 2018-12-27 11:52:15 -08:00
Joshua Bell
51ef098738 Fix/restore volume type identification logic. Issue #6 2018-12-26 20:49:39 -08:00
Joshua Bell
0bb1c8671a DeskTop: Fix for IIc+ drive issue. Fixes #25 2018-12-26 16:20:59 -08:00
Joshua Bell
6677e169ac Merge remote-tracking branch 'origin/disasm' 2018-12-26 15:17:40 -08:00
Joshua Bell
9d9363110b disasm: unscoped label burn-down 2018-12-26 15:13:47 -08:00
Joshua Bell
cffb08efb7 disasm: macros, labels 2018-12-26 14:48:33 -08:00
Joshua Bell
700c0e53e4 disasm: operation callbacks 2018-12-26 09:47:26 -08:00
Joshua Bell
0b65a3b27d disasm: copy logic 2018-12-25 22:07:22 -08:00
Joshua Bell
156ab93d84 Merge remote-tracking branch 'origin/disasm' 2018-12-25 10:56:16 -08:00
Joshua Bell
feaf2a9312 disasm: unscoped label burn-down 2018-12-25 10:55:14 -08:00
Joshua Bell
29ec54e940 disasm: unscoped label burn-down 2018-12-24 23:17:33 -08:00
Joshua Bell
d036236523 Release notes, bump date 2018-12-24 20:17:36 -08:00
Joshua Bell
1f781912da Assign volume coordinates based on Slot/Drive-based table (Issue #94)
This replaces the previous mechanism that used the order from DEVLST
which resulted in somewhat unpredictable ordering, although stable
for a given machine configuration.

Also, restores special case icon for unit_number $3E, used by the
RAM.SYSTEM RAMWorks driver from MouseDesk.
2018-12-24 20:14:10 -08:00
Joshua Bell
ed464dd1fa Merge remote-tracking branch 'origin/disasm' 2018-12-24 18:23:34 -08:00
Joshua Bell
5233597109 disasm: misc macros, constants 2018-12-24 16:00:55 -08:00
Joshua Bell
31b4964738 Merge remote-tracking branch 'origin/disasm' 2018-12-24 15:36:00 -08:00
Joshua Bell
59392f31b8 disasm: Selector > Run, devlist enumeration 2018-12-24 15:34:26 -08:00
Joshua Bell
fc210d094e disasm: more accurate names for dialog procs 2018-12-24 13:37:24 -08:00
Joshua Bell
74bdb4bd30 disasm: operation processing 2018-12-24 09:11:24 -08:00
Joshua Bell
5006979e27 Merge remote-tracking branch 'origin/disasm' 2018-12-23 20:48:33 -08:00
Joshua Bell
f2caf0c1b9 disasm: traversal logic 2018-12-23 20:31:15 -08:00
Joshua Bell
fdd47573d4 disasm: traversal params 2018-12-23 14:28:21 -08:00
Joshua Bell
0cd97501dc disasm: alerts/errors, traversal params and stack 2018-12-23 12:51:03 -08:00
Joshua Bell
1e1adb77f9 disasm: copy file space check 2018-12-23 10:48:17 -08:00
Joshua Bell
9c254838e2 disasm: more operations/dialog procs 2018-12-22 20:18:08 -08:00
Joshua Bell
2e55d97c7a disasm: recursive operations 2018-12-22 18:29:08 -08:00
Joshua Bell
46882d3408 disasm: recursive operations 2018-12-22 18:25:31 -08:00
Joshua Bell
5d6a878024 disasm: recursive operations 2018-12-21 21:25:12 -08:00
Joshua Bell
12d02b49f6 disasm: recursive operations 2018-12-21 20:21:42 -08:00
Joshua Bell
f6946e33e3 Merge remote-tracking branch 'origin/disasm' 2018-12-21 13:19:21 -08:00
Joshua Bell
afba9454a8 disasm: drag and drop 2018-12-21 13:18:32 -08:00
Joshua Bell
1817a81db4 Merge remote-tracking branch 'origin/disasm' 2018-12-20 16:38:46 -08:00
Joshua Bell
7dda998e65 Drag selection and opening 2018-12-20 16:35:18 -08:00
Joshua Bell
55296c2201 Clear selection on directory open. Fixes #17 2018-12-20 16:34:50 -08:00
Joshua Bell
172f1f435c Make device name population table driven 2018-12-20 11:31:20 -08:00
Joshua Bell
ceaf94851a Merge remote-tracking branch 'origin/disasm' 2018-12-20 09:37:10 -08:00
Joshua Bell
45cb968904 Device names 2018-12-20 09:33:52 -08:00
Joshua Bell
81c65f7fff Macros not math 2018-12-20 09:12:19 -08:00
Joshua Bell
97480b89bd Remove 'orig' files in master branch 2018-12-19 19:50:04 -08:00
Joshua Bell
77e7c3a12e Merge origin/disasm 2018-12-18 07:43:47 -08:00
Joshua Bell
827a4c8f98 overlay handlers 2018-12-17 20:36:49 -08:00
Joshua Bell
d6ae4d352b overlay handlers 2018-12-17 20:22:29 -08:00
Joshua Bell
a708a51eab overlay handlers 2018-12-17 20:13:02 -08:00
Joshua Bell
589d6e538a overlay handlers 2018-12-17 19:43:25 -08:00
Joshua Bell
0ca7a41536 overlay handlers 2018-12-17 19:11:26 -08:00
Joshua Bell
896d31c244 overlay disasm 2018-12-17 19:01:37 -08:00
Joshua Bell
1297bbed6b Dedupe another double-click detection procedure 2018-12-16 20:01:10 -08:00
Joshua Bell
06408b3d24 Merge remote-tracking branch 'origin/disasm' 2018-12-16 18:55:07 -08:00
Joshua Bell
6b472d5fdd Identify double-click routine in ovl4 2018-12-16 18:54:03 -08:00
Joshua Bell
a7a672cc18 Merge remote-tracking branch 'origin/disasm' 2018-12-15 18:17:06 -08:00
Joshua Bell
95c5de95f7 disasm: Dialog labels 2018-12-15 18:15:47 -08:00
Joshua Bell
ab7b6c884d Add space prefix to file count, fix count pos 2018-12-15 18:07:14 -08:00
Joshua Bell
bb11e91e33 More case adjustment consolidation 2018-12-15 12:17:26 -08:00
Joshua Bell
e6a69ea587 Merge remote-tracking branch 'origin/disasm' 2018-12-15 12:08:34 -08:00
Joshua Bell
0a2525b700 disasm: more case adjustment procs 2018-12-15 09:42:53 -08:00
Joshua Bell
e073d21bac Unify case adjust functions 2018-12-14 20:46:42 -08:00
Joshua Bell
d632a7e999 Merge remote-tracking branch 'origin/disasm' 2018-12-14 20:10:45 -08:00
Joshua Bell
b2cf01f0c9 disasm: ramcard paths 2018-12-14 20:01:36 -08:00
Joshua Bell
44d1771662 DeskTop disasm: dialog lifecycle/params 2018-12-13 23:24:58 -08:00