Commit Graph

310 Commits

Author SHA1 Message Date
Joshua Bell
6a2aa90656 DAs: rename structs 2018-01-29 20:14:34 -08:00
Joshua Bell
fa0126feac MGTK call ids 2018-01-29 08:38:23 -08:00
Joshua Bell
a63eca2a0e MGTK internal renames 2018-01-29 00:57:55 -08:00
Joshua Bell
1ae615fb20 Rename A2D to MGTK 2018-01-28 22:03:48 -08:00
Joshua Bell
0eac3e2ba7 more labels and docs 2018-01-21 15:49:54 -08:00
Joshua Bell
a541023587 Pull the rogue DeskTop segment 51F-DFF into DeskTop, update include files 2018-01-20 10:40:48 -08:00
Joshua Bell
81ec68bd1b DeskTop: Puzzle out the segment loader 2018-01-05 00:26:13 -08:00
Joshua Bell
a513ac12d8 DeskTop: Start cleaning up Loader 2018-01-04 21:57:50 -08:00
Joshua Bell
4ec1ff2e61 Segment work 2017-12-15 21:36:09 -08:00
Joshua Bell
8800a0a59b Split up include files for GUI library vs. DeskTop app 2017-10-11 20:45:58 -07:00
Joshua Bell
bf46981549 DeskTop: Tidy up relays 2017-10-09 22:20:40 -07:00
Joshua Bell
4c0dae8c93 Identify CFG_DISPLAY and input processing 2017-10-08 15:02:16 -07:00
Joshua Bell
d3722b14f4 Identify SET_FONT and tease out font details 2017-10-08 11:06:40 -07:00
Joshua Bell
8e2d95611c DeskTop Seg 1: impl details 2017-10-08 08:42:27 -07:00
Joshua Bell
8abcbe3b0a DeskTop Seg 1: tease out another A2D calling style 2017-10-07 20:51:11 -07:00
Joshua Bell
6bd9738e90 Standardize state label names a bit 2017-10-07 20:22:39 -07:00
Joshua Bell
31aa3ec57b DeskTop Seg 1: mouse hookup 2017-10-07 15:07:12 -07:00
Joshua Bell
e681879ede DeskTop Seg 1: various symbols 2017-10-07 13:59:25 -07:00
Joshua Bell
e222654103 DeskTop Seg 1: ZP usage vs. state param breakthrough 2017-10-06 21:10:34 -07:00
Joshua Bell
f6a009feda DeskTop Seg 1: A2D dispatch and params 2017-10-06 09:09:43 -07:00
Joshua Bell
f774daf8eb DeskTop: Seg 1 strings 2017-09-29 22:51:11 -04:00
Joshua Bell
6401ed9bc9 DeskTop: more seg2 structuring 2017-09-29 16:57:02 -04:00
Joshua Bell
1bbf77f8aa DeskTop: more seg2 structuring 2017-09-29 16:01:54 -04:00
Joshua Bell
39885d040d DeskTop: window param blocks in seg2 2017-09-28 12:24:41 -07:00
Joshua Bell
d2bb4f12f2 DeskTop: Strings and icons in seg2 2017-09-28 08:45:05 -07:00
Joshua Bell
ec18ec8c44 DeskTop: Icon disassembly WIP 2017-09-27 19:41:40 -07:00
Joshua Bell
574d59072b Identify 'moved' output byte from DRAG 2017-09-24 21:02:13 -07:00
Joshua Bell
fa98ed8445 Identify 'next' member of window params 2017-09-24 19:59:49 -07:00
Joshua Bell
fe81830ce0 More DRAW_BITMAP param block definition labels 2017-09-24 19:16:55 -07:00
Joshua Bell
7da8d58ee0 Document offset params for DRAW_BITMAP 2017-09-24 17:57:57 -07:00
Joshua Bell
d51708fa43 Docs: Factor out drags 2017-09-24 16:26:15 -07:00
Joshua Bell
8e7e9f3dec No custom IDs? 2017-09-24 16:20:32 -07:00
Joshua Bell
0d7bb5990e Try fixing anchors 2017-09-24 16:18:57 -07:00
Joshua Bell
bd667a7291 API docs 2017-09-24 16:16:36 -07:00
Joshua Bell
1d51caeea0 Identify 'tmask' property of window parans/state 2017-09-23 20:53:19 -07:00
Joshua Bell
e14adf3ffa Confirm font usage, add converter and a handful of fonts 2017-09-23 14:10:53 -07:00
Joshua Bell
2956b786a7 Update a2d.md 2017-09-22 09:33:49 -07:00
Joshua Bell
5c9f0dcd0b Create a2d.md 2017-09-22 09:00:30 -07:00
Joshua Bell
13e8479fc5 Tentatively identify CONFIGURE_ZP_USE 2017-09-21 08:09:11 -07:00
Joshua Bell
7559715903 In fixed calculator, swap ROM in/out only for FP ops, for #36 2017-09-20 23:37:12 -07:00
Joshua Bell
c9028c41cc Remove cursor jump in fixed version - issue #35 2017-09-20 19:56:31 -07:00
Joshua Bell
bc47645c5f Add modified calc with bugs #33, #34 fixed 2017-09-20 19:54:19 -07:00
Joshua Bell
e94b6e7f2d Identify SET_INPUT 2017-09-19 07:58:17 -07:00
Joshua Bell
15e354c927 Identify SET_TEXT_MASK 2017-09-18 22:51:24 -07:00
Joshua Bell
05d8caf8a6 Identify DRAW_LINE 2017-09-18 21:43:35 -07:00
Joshua Bell
aede1af6e9 Identify SET_CURSOR 2017-09-18 21:32:46 -07:00
Joshua Bell
2f1e20099d Show Image File additions/fixes
* Make ESC key close
* Fix cursor glitch when closing if over menu
* Don't overlap input/window params - maybe fix MD bug?
2017-09-18 19:50:16 -07:00
Joshua Bell
c39a8a5816 Figured out $8E00 call - redraws desktop icons.
Also found a couple bugs:
https://github.com/inexorabletash/a2d/issues/33
https://github.com/inexorabletash/a2d/issues/34
2017-09-18 18:34:45 -07:00
Joshua Bell
c1ece9ad71 Standardize on sizeof_ hack 2017-09-18 17:17:30 -07:00
Joshua Bell
4227be7825 Identify REDRAW_ALL entry point 2017-09-18 08:10:19 -07:00
Joshua Bell
82f5dbc2bb snapshot 2017-09-17 11:18:47 -07:00
Joshua Bell
c1f9bcb46b Clean up directories, start work mapping DESKTOP2 2017-09-16 17:11:50 -07:00
Joshua Bell
3712af2dce Add include file for ASCII code points 2017-09-16 14:20:41 -07:00
Joshua Bell
a9f8039a12 STF: more symbols; also add glyph definitions 2017-09-16 09:31:05 -07:00
Joshua Bell
1bff134a6d STF: symbols - yay tabs 2017-09-15 22:05:41 -07:00
Joshua Bell
947340adf9 STF: symbols 2017-09-15 21:44:41 -07:00
Joshua Bell
62ed78f148 Identify font glyphs in memory 2017-09-15 21:31:20 -07:00
Joshua Bell
97efeaf44d STF: Glyph widths 2017-09-15 20:04:56 -07:00
Joshua Bell
3b22aa7dbd Explore calls from DeskTop 2017-09-15 19:30:49 -07:00
Joshua Bell
df3ad2054c Image: Use hat operator to get 3rd byte; more symbols for STF 2017-09-15 19:08:20 -07:00
Joshua Bell
326760e6bc STF: Symbols 2017-09-15 01:09:42 -07:00
Joshua Bell
b2b36a2e32 mask defaults 2017-09-15 01:02:38 -07:00
Joshua Bell
a2c64de108 Calc: symbols 2017-09-15 00:53:45 -07:00
Joshua Bell
87aff9debc Calc: symbol cleanup 2017-09-14 21:22:27 -07:00
Joshua Bell
4d4966d6b4 Factor out common A2 defines 2017-09-14 21:13:54 -07:00
Joshua Bell
391ee78bdd Puzzle: reduce generic symbols 2017-09-14 19:11:21 -07:00
Joshua Bell
6bb8ef67f9 pattern -> bitmap 2017-09-13 21:58:37 -07:00
Joshua Bell
e57c316180 Clarify comments about masks 2017-09-13 21:38:35 -07:00
Joshua Bell
12acca8db7 Identify more state params/calls 2017-09-13 21:35:23 -07:00
Joshua Bell
ae232b1cf4 Identify window/box pattern fields, use .res 2017-09-13 21:01:30 -07:00
Joshua Bell
40026a0f46 Date: Identify SET_LINE_WIDTH call, thickness and pattern params for window state 2017-09-13 20:09:36 -07:00
Joshua Bell
cc82e3a1f0 Date: Identify save to file logic 2017-09-13 19:31:54 -07:00
Joshua Bell
ebd24191d8 Date: constants, procs 2017-09-13 08:09:33 -07:00
Joshua Bell
ea53285584 Date: many procs 2017-09-13 01:28:28 -07:00
Joshua Bell
939394efa8 Update completion estimate in readme 2017-09-13 00:04:48 -07:00
Joshua Bell
f0bc46b444 Date: key handling 2017-09-13 00:04:21 -07:00
Joshua Bell
5e7a83dfc9 Date: decimal constants 2017-09-12 22:03:23 -07:00
Joshua Bell
a65459124c Date: strings 2017-09-12 22:01:45 -07:00
Joshua Bell
7b98c5e996 Date: rect/label params 2017-09-12 21:27:27 -07:00
Joshua Bell
8e9d31c374 Date: initial param identifications, procs 2017-09-12 18:52:14 -07:00
Joshua Bell
b4e879de66 Date: identify a few strings 2017-09-12 00:19:22 -07:00
Joshua Bell
a71c3e9594 Puzzle: routines and param blocks 2017-09-11 23:16:29 -07:00
Joshua Bell
460204bcab Puzzle: routines and param blocks 2017-09-11 21:06:37 -07:00
Joshua Bell
9c5d8f269b Puzzle: routines and param blocks 2017-09-11 20:38:58 -07:00
Joshua Bell
44df378f29 Puzzle: input loop and overall structure 2017-09-11 08:36:31 -07:00
Joshua Bell
089a18df14 Puzzle: victory check 2017-09-10 23:38:20 -07:00
Joshua Bell
2ee842fa96 Puzzle: position table, window id 2017-09-10 23:09:33 -07:00
Joshua Bell
15c6221fc0 Puzzle: piece patterns 2017-09-10 22:58:30 -07:00
Joshua Bell
62b5695d35 Puzzle/Date - A2D call sites 2017-09-10 20:40:32 -07:00
Joshua Bell
275255db02 Initial disassembly snapshot for Date and Puzzle 2017-09-10 20:18:29 -07:00
Joshua Bell
7807f9d17e A2D API digging 2017-09-10 19:40:52 -07:00
Joshua Bell
57e80d7240 Identify SET_FILL_MODE 2017-09-10 10:40:08 -07:00
Joshua Bell
2fbbd23f20 Identify QUERY_SCREEN 2017-09-09 21:15:01 -07:00
Joshua Bell
d0ed145ef5 Calc: Misc comments and params 2017-09-09 19:11:05 -07:00
Joshua Bell
aefb3016f4 Clarify close button handler, A2D API comments 2017-09-09 18:43:32 -07:00
Joshua Bell
ba55d8d8f4 TEXT_BOX -> SET_BOX, and speculate $80 is stride 2017-09-09 18:28:15 -07:00
Joshua Bell
4b9f4f2cc3 Identify QUERY_BOX and params 2017-09-09 18:11:01 -07:00
Joshua Bell
6039648211 Identified A2D_DRAW_PATTERN details 2017-09-09 17:43:37 -07:00
Joshua Bell
e9d9e06545 Identify TEST_BOX, refine SET_POS 2017-09-09 12:18:06 -07:00
Joshua Bell
b20a8ffae2 Calc: puzzling out button presses 2017-09-09 11:27:35 -07:00
Joshua Bell
2bbd9e4ec9 Calc: calc state/error recovery sleuthing 2017-09-09 11:08:40 -07:00
Joshua Bell
8095434e1e Window dragging 2017-09-08 21:10:56 -07:00
Joshua Bell
0d460f63c1 Sort out call 0 2017-09-08 20:45:11 -07:00
Joshua Bell
96d7ccf9d8 Calc: disentangle input params 2017-09-08 20:13:09 -07:00
Joshua Bell
dbc26c14c9 Calc: init comments 2017-09-08 18:34:34 -07:00
Joshua Bell
be971c90ee Add docs explaining HR to DHR conversion process 2017-09-08 15:54:14 -07:00
Joshua Bell
f91394cfbe Calc: more procs and comments 2017-09-08 08:41:51 -07:00
Joshua Bell
73ab8e6714 MEASURE_TEXT and floating point entry points 2017-09-08 08:36:36 -07:00
Joshua Bell
de84c69fe9 Calc: more procs and comments 2017-09-08 01:00:58 -07:00
Joshua Bell
ca77bd988f Calc: proc identifications 2017-09-08 00:42:45 -07:00
Joshua Bell
6278ba56a8 Calc: btn definitions 2017-09-08 00:10:54 -07:00
Joshua Bell
2305de6870 Calc: btn definitions 2017-09-07 23:40:01 -07:00
Joshua Bell
98ef84c74d Calc: btn definitions 2017-09-07 22:13:24 -07:00
Joshua Bell
9067fd668a Calc: btn definitions 2017-09-07 21:47:27 -07:00
Joshua Bell
bbf648410c Calc: btn definitions 2017-09-07 21:42:58 -07:00
Joshua Bell
a97edd4712 Calc: special case button bounds checks 2017-09-07 21:03:57 -07:00
Joshua Bell
c08a2f69cc Calc: special case button bounds checks 2017-09-07 21:03:07 -07:00
Joshua Bell
f0189e3d96 Calc: sort out mouse queries - WIP 2017-09-07 20:59:38 -07:00
Joshua Bell
9c57fa6c92 More doc edits 2017-09-07 08:37:13 -07:00
Joshua Bell
8d336c5881 Docs update 2017-09-07 08:34:45 -07:00
Joshua Bell
4a748f7306 FOUND MOUSE HIDING YAY 2017-09-06 23:43:40 -07:00
Joshua Bell
7a63772865 Click/press loop 2017-09-06 21:33:22 -07:00
Joshua Bell
a86513cf32 Calc: FP ops 2017-09-06 20:43:12 -07:00
Joshua Bell
e8f4b5f515 button hit bounds 2017-09-06 19:38:06 -07:00
Joshua Bell
6dc8fdad19 button row/col lookup 2017-09-06 19:05:49 -07:00
Joshua Bell
a4c2f4066d button boxes 2017-09-06 08:55:53 -07:00
Joshua Bell
5810e0653f button boxes 2017-09-06 08:42:33 -07:00
Joshua Bell
62d8c35399 button boxes 2017-09-06 08:23:23 -07:00
Joshua Bell
f4542e5d64 Calc: text buffers 2017-09-06 00:00:46 -07:00
Joshua Bell
f41acaa76d Calc labels 2017-09-05 23:55:44 -07:00
Joshua Bell
483a59674b more params 2017-09-05 23:37:05 -07:00
Joshua Bell
fb77cfb5fd more params 2017-09-05 23:24:21 -07:00
Joshua Bell
f4cacbc2c3 Calc: start param block identification 2017-09-05 22:59:02 -07:00
Joshua Bell
a32e5e6d73 More calculator symbols 2017-09-05 22:19:45 -07:00
Joshua Bell
379c715aba Calc: identify known A2D calls 2017-09-05 19:08:11 -07:00
Joshua Bell
0310a79aaa Initial Calculator disassembly snapshot 2017-09-05 18:41:13 -07:00
Joshua Bell
1855f51302 Combine HGR/DHR viewers 2017-09-04 19:44:55 -07:00
Joshua Bell
d6fa37e7b1 HGR works 2017-09-04 19:18:37 -07:00
Joshua Bell
323c3772e8 HGR works but palettes flipped 2017-09-04 16:47:11 -07:00
Joshua Bell
a297b3e956 First stab at hgr to dhr 2017-09-04 16:00:09 -07:00
Joshua Bell
2542a20984 Rework files, add Makefile 2017-09-04 13:51:51 -07:00
Joshua Bell
c705c4b876 Add .gitignore file for .o / .list files 2017-09-04 12:58:06 -07:00
Joshua Bell
0428643cba Move STF files up into DA directory 2017-09-04 12:56:41 -07:00
Joshua Bell
fefe806842 DHR: Strip unused fields 2017-09-04 09:24:44 -07:00
Joshua Bell
dd406a01ef DHR: Stash menu pixels 2017-09-03 22:55:17 -07:00
Joshua Bell
dacb8c82a7 Start playing with a DHR-displaying DA 2017-09-03 21:47:45 -07:00
Joshua Bell
4e786a7ccf Jump table identifications 2017-09-03 20:07:05 -07:00
Joshua Bell
454d2db7f6 Window params includes text box params, which defines initial window bounds 2017-09-03 10:44:42 -07:00
Joshua Bell
467a1783c6 label tidying, a few todos 2017-09-03 00:31:23 -07:00
Joshua Bell
471719dace div/mul by 16 helpers 2017-09-02 22:52:38 -07:00