Commit graph

210 commits

Author SHA1 Message Date
Jeremy Penner fb0c141653 Fix a couple bugs in z80 assembly, support addresses + function args 2023-02-22 00:06:04 -05:00
Jeremy Penner 4f40b3851b Upgrade to Fennel 1.3.0, z80 assembly support 2023-02-20 19:50:02 -05:00
Jeremy Penner 8f6a214d83 git subrepo push --remote=git@github.com:jeremypenner/lite vendor/lite
subrepo:
  subdir:   "vendor/lite"
  merged:   "384d54f"
upstream:
  origin:   "git@github.com:jeremypenner/lite"
  branch:   "master"
  commit:   "384d54f"
git-subrepo:
  version:  "0.4.3"
  origin:   "???"
  commit:   "???"
2022-01-07 12:58:17 -05:00
Jeremy Penner 3a4d6ff460 outline tile that will be changed when editing, fix tile list 2021-12-29 17:15:37 -06:00
Jeremy Penner b0db9a10a1 highlight active layer when mousing over map, fix layout 2021-12-27 20:11:09 -06:00
Jeremy Penner 2c06782600 show all map layers at once 2021-12-27 16:59:00 -06:00
Jeremy Penner d01ec40181 deprecate imstate 2021-12-26 21:00:00 -06:00
Jeremy Penner d17ae7873f fix font and portrait editor 2021-12-26 15:37:30 -06:00
Jeremy Penner 7b6893d6e3 deprecate gfxedit2 2021-12-26 14:04:34 -06:00
Jeremy Penner e6eee86a91 Move repl / inspector to new imgui
* make views pin scrolling to bottom
* support multiline labels (no wordwrap yet)
* always expand groups (don't clear after populating form)
2021-12-25 13:26:00 -06:00
Jeremy Penner 45e78e298e move 8bitsy editor to new imgui, add label widget 2021-12-24 17:08:01 -06:00
Jeremy Penner 8aa79a4c2d refactor layout API 2021-12-23 22:36:20 -06:00
Jeremy Penner a9b54cc890 Fix mapedit layout, add inspector helper function for when pretty-print debugging is ugly 2021-12-22 15:36:29 -06:00
Jeremy Penner 939cfc6065 First cut at updating mapedit 2021-12-21 21:04:43 -06:00
Jeremy Penner b9ec214b46 widget grouping mechanism 2021-12-21 09:45:45 -06:00
Jeremy Penner e711557fdf fix textbox styling 2021-12-21 09:41:15 -06:00
Jeremy Penner 8b646eac4b update tile selector to use horiz-wrapper layout 2021-12-21 09:36:38 -06:00
Jeremy Penner f81dd88a52 rewrite imgui, tile editor 2021-12-20 20:40:18 -05:00
Jeremy Penner d070e8adb0 debugging udp 2021-12-20 12:25:28 -05:00
Jeremy Penner 3e87f231bc fix test program 2021-12-11 13:51:31 -05:00
Jeremy Penner 38023f8828 fix map label offset, some more tiles 2021-11-22 01:15:52 -05:00
Jeremy Penner de6ac91c95 upgrade to Fennel 1.0 2021-11-21 20:23:12 -05:00
Jeremy Penner 8d97344643 somewhat better layered maps, simpler serialization 2021-11-17 21:46:38 -05:00
Jeremy Penner 18f62e89b9 Multiple tile-style support, layered maps 2021-11-14 14:55:41 -05:00
Jeremy Penner fe00a91064 hot code reload works on hardware!! 2021-10-10 22:15:11 -04:00
Jeremy Penner e8665e7c0a Fix multiple breakpoints at the same memory address 2021-10-07 22:16:09 -04:00
Jeremy Penner 06ccd4a2b3 preserve globals across hot reloads why doncha 2021-10-04 22:00:14 -04:00
Jeremy Penner e11241eb10 Hotswap works in MAME (once)! 2021-10-04 21:22:48 -04:00
Jeremy Penner 4d0beb0dbe * Capture callsite details
* refactor "jump" command into "eval"
* Add debug server task to program
* Allow compiling overlay programs that assume the existing program is already in memory
* Add "forever" form to generate optimized infinite loops
* Handle client changing its udp port
2021-10-03 11:45:25 -04:00
Jeremy Penner 2df2abe543 udp message queue to make write wait for confirmation 2021-09-30 22:25:04 -04:00
Jeremy Penner 9ec998e128 IT WORKS 2021-09-28 20:19:13 -04:00
Jeremy Penner 3f295581f5 whoops, missed some stuff 2021-09-26 23:21:57 -04:00
Jeremy Penner 2f59db6766 Implement string constants, buffers, macro barriers
macro barriers are a hack to say "this form does its own macroexpansion
internally" so that we can have state-smart macros that expand to
different values depending on if they are being used in code or in a
function definition. This seems like a real bad design choice but I
can't think of a better one right now!

(not quite true: the better design choice is to allow forms to return
opgens, and then define a :bytes form that returns the address of the
generated thing. :bytes could be understood by :buffer directly.
But that's... complicated.)
2021-09-26 23:07:36 -04:00
Jeremy Penner 6a92211024 Implement macros, symbol expansion (replaces constants, getters) 2021-09-26 20:32:17 -04:00
Jeremy Penner 5e46b908bd refactor set!, byte-at, word-at, long-at 2021-09-26 00:34:48 -04:00
Jeremy Penner 683296b4e8 iigs: tested, unworking uthernet-ii debug stub 2021-09-25 14:53:18 -04:00
Jeremy Penner ccfb52aeaa iigs: untested uthernet-ii debug stub
65816: support 8-bit immediate mode
repl: add re-run and clear buttons
ssc: fix returning false from an else clause
     add byteswap, byte reads / writes
     start stdlib with memcpy
2021-09-23 22:28:48 -04:00
Jeremy Penner c0160c7018 isometric experiments 2021-09-13 23:16:03 -04:00
Jeremy Penner 432a4fa26a Sprite compiler!!! had to redraw my tiles 2021-09-12 00:18:21 -04:00
Jeremy Penner d2ff69258f implement draw-object & pei slamming
asm: allow computed addresses, not just immediate mode values
map llissp source to assembly
2021-09-10 22:55:47 -04:00
Jeremy Penner ba03b74278 full-screen draw speed test 2021-09-06 23:23:45 -04:00
Jeremy Penner a03c8b2865 Tiledraw rewrite for speed and size, locals bugfix 2021-09-06 00:19:22 -04:00
Jeremy Penner 7a3436dc7e I'm drawing lots of tiles!! also support locals in inline asm 2021-09-05 23:29:16 -04:00
Jeremy Penner f833e62d91 I'm drawing a tile!! 2021-09-01 22:59:55 -04:00
Jeremy Penner dc61bb08e0 iigs tile editing basically works 2021-08-28 22:04:54 -04:00
Jeremy Penner f54ebea6bc platform-specific tile editor 2021-08-24 21:24:06 -04:00
Jeremy Penner b2d374622a preserve 0x1xx stack for main task, and restore on quit 2021-08-20 22:29:21 -04:00
Jeremy Penner c428ef3d9c Multitasking 2021-08-19 23:51:12 -04:00
Jeremy Penner 64281801b2 Show LINE NUMBERS in compiler errors!! 2021-08-18 22:19:57 -04:00
Jeremy Penner bee38a4168 whoooooops, broke that 2021-08-16 22:14:48 -04:00