Commit Graph

31 Commits

Author SHA1 Message Date
jasonhilder ec8bcdb5ed Fighting the wasm build... 2026-07-02 10:20:35 +02:00
jasonhilder 717ef479fa Added globals and refactor for wasm. 2026-06-28 06:59:46 +02:00
jasonhilder d43ec53d8d Added build tag for non web only. 2026-06-28 06:55:13 +02:00
jasonhilder 8830331774 Restructure of code for wasm build. 2026-06-25 06:25:44 +02:00
jasonhilder 30a37f26c5 Updated fzf ignore file, added raylib window title 2026-06-24 10:34:02 +02:00
jasonhilder 97f34d72a7 Added a stack view in bottom panel 2026-06-24 10:33:39 +02:00
jasonhilder 65b692f293 Added an info box for name, repo link. 2026-06-24 10:33:09 +02:00
jasonhilder 6d706a34cd Dropped tab layout, floating info window and clean
No longer using tabs, all info in one bottom panel.
Added a floating info window, can open from control bar.
Cleanup vertical widths for scroll bars in some panes.
2026-06-24 10:31:09 +02:00
jasonhilder 6a43058033 Added adjustable speed for simulator.
Added struct fields, calcs for the correct cycles per frame by hz value.
Updated control bar to wire it all up and make sure it updates in real
time.
2026-06-24 10:21:52 +02:00
jasonhilder c909d28587 Added embed roms and cleaned up selecting roms.
Added 2 new helper functions one to load a rom selected on system and
anothe to load a rom into memory from the embedded roms.
2026-06-23 08:06:08 +02:00
jasonhilder 356ed2408a Refactor disassembled instructions to be fixed arr
Updated code to make disassembled instructions a fixed array since we
know the cap at runtime, Also added toggle switch to follow the current
instruction
2026-06-19 12:35:12 +02:00
jasonhilder 0b5006f985 Step, reset, tick_timer proc and struct cleanup.
Added a tick_timer proc so the code handles the step neatly.
Added some new struct fields to accomodate this and moved danglings
struct defs into the simulator definition.
2026-06-19 12:33:47 +02:00
jasonhilder e9cf387640 Cleanup of comments. 2026-06-19 12:31:20 +02:00
jasonhilder 16b97b24b0 Updated themes for potential theme picker. 2026-06-19 11:43:35 +02:00
jasonhilder 6f701560df added section for file loading + memory cleanup
Make sure to clean up any memory allocated to the sim in terms of
disassembly instructions etc
2026-06-18 08:26:14 +02:00
jasonhilder 1a6346895a Small ui changes to fit the window better. 2026-06-18 08:25:14 +02:00
jasonhilder 350a26d1b9 Added disassembly component. 2026-06-18 07:40:54 +02:00
jasonhilder 52cc1e08b6 Small additions 2026-06-17 07:48:25 +02:00
jasonhilder 6605d86916 Added/updated components to be isolated rectangles. 2026-06-17 07:48:07 +02:00
jasonhilder cccc4fb06c Removed unneeded components, renamed reused.
Updated the components to start with a gui_ prefix, changed the layout
idea that each component is responsible for their own bounding box and
inner content.
2026-06-17 07:46:24 +02:00
jasonhilder baca22a004 Reorganized all usable assets. 2026-06-13 09:34:14 +02:00
jasonhilder 2c664b24a9 Cleaning up ui components making uniform. 2026-06-13 09:31:32 +02:00
jasonhilder d28aa8a401 added field for checking rom loaded state. 2026-06-13 09:31:17 +02:00
jasonhilder c3367cdf3e Added left panel rom loader.
Left panel has tinyfieldialogs to open a file picker, so you can swap
out roms, required a reset machine function aswell.
2026-06-13 09:29:53 +02:00
jasonhilder 4839adf6c1 Initial workings for components. 2026-06-12 09:44:24 +02:00
jasonhilder 231c260bc6 Added uniform constants for neater components. 2026-06-12 09:43:47 +02:00
jasonhilder 0b35d9016c Figuring out the file dialog. 2026-06-11 09:11:17 +02:00
jasonhilder 02ee850e82 Small cleanup/refactor. 2026-06-11 09:11:07 +02:00
jasonhilder 01abcfead0 Initial workings of keypad for left panel. 2026-06-10 08:03:55 +02:00
jasonhilder 3b24dc8566 Small cleanup and fixed height control/status bars. 2026-06-10 08:03:39 +02:00
jasonhilder f8ef6f030f Renamed gui to simulator as a better structure. 2026-06-09 08:17:47 +02:00