Commit Graph

46 Commits

Author SHA1 Message Date
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