Commit Graph
67 Commits
Author SHA1 Message Date
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 7403efa6cf Tiny cleanup 2026-06-24 10:13:37 +02:00
jasonhilder 9d83c49872 Updated showcase. 2026-06-24 08:12:35 +02:00
jasonhilder 6ca732f178 Updated showcase. 2026-06-23 08:40:51 +02:00
jasonhilder baa1e1a5cf added game roms to src for embedding. 2026-06-23 08:40:34 +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 d314ef651e Renamed style_dark to dark. 2026-06-19 11:51:15 +02:00
jasonhilder 16b97b24b0 Updated themes for potential theme picker. 2026-06-19 11:43:35 +02:00
jasonhilder 61471536ca Updated screenshot/showcase. 2026-06-18 08:29:57 +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 19f4593e0e Update README.md 2026-06-18 05:55:30 +02:00
jasonhilder c1c67d596d Fixed screenshot 2026-06-17 07:55:28 +02:00
jasonhilder ff3ff4bfda First version of Readme 2026-06-17 07:54:47 +02:00
jasonhilder 5b4e968d1c Added some default game roms 2026-06-17 07:48:34 +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 d40a00c74a Added .ignore file for fzf searching 2026-06-13 09:31:50 +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 2e83baea8e Added tinyfilediaglogs external dependancy 2026-06-13 09:29:01 +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 eb702890bb Added assets for gui to use. 2026-06-09 08:18:20 +02:00
jasonhilder f8ef6f030f Renamed gui to simulator as a better structure. 2026-06-09 08:17:47 +02:00
jasonhilder 2df6a14610 Added a better way for drawing ui elements. 2026-06-05 08:10:41 +02:00
jasonhilder 141aea0fc4 Small cleanup with new run machine proc. 2026-06-05 08:10:24 +02:00
jasonhilder 31cbcb38e8 Cleanup debug border, add test button. 2026-06-03 07:36:33 +02:00
jasonhilder 9f6d69227c Fixed incorrect layout for control bar. 2026-06-03 07:36:18 +02:00
jasonhilder 97cc324abb Updated .gitignore 2026-06-03 07:14:41 +02:00
jasonhilder 756fd07bb2 No need for display file in machine, gui handles it. 2026-06-03 07:13:52 +02:00
jasonhilder e6feabe2f1 Gui code neatened up for easy components.
Updated the gui init etc to use a layout struct to quickly setup new
rectangles for the gui. Each component can use its rect as its bounding
box for ui elements, each can set its own padding etc per panel
2026-06-03 07:04:04 +02:00
jasonhilder cf572179ea Initial gui commit.
Very much WIP trying to find a good way to keep components self
contained and composable.
2026-06-02 08:23:26 +02:00
jasonhilder 37da094469 Added sound checks, instructions and timers.
Also added some more test roms for later checks.
2026-06-02 08:22:47 +02:00
jasonhilder 11ef572634 Attached input handling and timer decrements. 2026-05-28 07:03:59 +02:00
jasonhilder 380dffbf83 Added input handling and capturing. 2026-05-28 07:03:44 +02:00
jasonhilder b5d9811209 Added input test rom 2026-05-28 07:02:45 +02:00
jasonhilder 3876eba050 added the last set of instructions. 2026-05-27 07:16:39 +02:00
jasonhilder 6a4ed63138 Added instructions for flag test rom. 2026-05-26 07:50:34 +02:00
jasonhilder e604880b4e Small cleanup formatting and new rom locations. 2026-05-26 07:48:47 +02:00
jasonhilder bc9a282b52 Moved test roms to own folder. 2026-05-26 07:48:20 +02:00
jasonhilder 167e50b3a7 Major clean before doing the rest of instructions.
After looking at the code, I noticed I was doing the same operations in
the functions and most of the instructions require the same compoenents
if not some so I split them out into a pre decode step and pass down.
2026-05-22 07:37:50 +02:00
jasonhilder 4b77405ba4 Indentation formatting fix. 2026-05-22 07:37:32 +02:00
jasonhilder b3ed78097c Continued adding next instructions 2026-05-20 21:42:09 +02:00
jasonhilder ac19813b4c Added function to render the display buffer. 2026-05-20 21:41:31 +02:00
jasonhilder e3d9263ff6 Crude drawing call for now just to test. 2026-05-19 08:06:46 +02:00
jasonhilder 6f4754d235 Added, clear, jmp, ld, add, set and draw ops.
Also cleaned up comments for now will add better clear ones later down
the line for future reference.
2026-05-19 08:06:06 +02:00
jasonhilder ebb3de3784 Small fix to display buffer and new rom addition. 2026-05-19 08:05:43 +02:00
jasonhilder 951a16f024 Added extra test rom. 2026-05-19 08:05:09 +02:00
jasonhilder beb2faa1ed Split files to domains. 2026-05-16 09:13:38 +02:00
jasonhilder 8ff22fac55 added raylib for initial window/display. 2026-05-16 09:07:19 +02:00
jasonhilder 4fec0b5d94 Initial commit, with some added boiler plate. 2026-05-15 11:14:28 +02:00
jasonhilder 6ec91bee2e Initial commit 2026-05-14 05:23:30 +00:00