Commit Graph

20 Commits

Author SHA1 Message Date
transistor
3bd4c24ea8 Modified debugger so the input is in the frontend
The debug loop that reads a command and does something is part of the
frontend's main loop, so that it can potentially update, even though
it doesn't actually work for minifb because the command input is a
blocking call.  It's also not implemented in the pixels frontend.
At some point I'll make a web frontend.
2023-06-10 15:28:21 -07:00
transistor
fdca8970f2 Added new Device type to replace TransmutableBox
It's mostly just sugar, but it now includes a unique ID
2023-06-07 20:44:14 -07:00
transistor
e959b8df1c Fixed version issue with Pixels frontend and updated to 0.12 2023-05-13 15:14:11 -07:00
transistor
6be36fe816 Added Cargo.lock to fix github actions 2023-05-09 23:10:05 -07:00
transistor
6389fa0482 Connected the web ui controller inputs to sim 2023-05-07 14:57:45 -07:00
transistor
527f65c69b Refactored audio to use ClockedQueue
It now actually checks the clock and tries to mix the audio in sync
relative to the clock, but the cpal output doesn't yet try to sync
to the StreamInstant time.  Sound seems a lot better on chrome in
wasm, but and kind of better on firefox despite frame skipping not
being supported yet, but it's way slower for some reason (12fps)
2023-05-07 10:03:25 -07:00
transistor
112bd8219b Replaced controller/key/mouse updaters with event queues 2023-05-06 10:04:44 -07:00
transistor
3471eb4e8c Removed WindowUpdater and BlitableSurface 2023-05-03 22:42:24 -07:00
transistor
d6d88e5b3b Fixed unresolved import in pixels frontend 2023-04-30 23:05:58 -07:00
transistor
7030924188 Added bin 2023-04-30 22:59:59 -07:00
transistor
8b30750924 Changed package names to not conflict with binary names 2023-04-30 21:32:33 -07:00
transistor
69c94fa3af Removed cpu timer and moved audio wave generators to libraries 2023-04-23 19:52:19 -07:00
transistor
07a675fab5 Added new clock types similar to Duration 2023-04-23 15:46:47 -07:00
transistor
941c793523 Added pixel encoding, requested by frontend
The hope was that this would reduce the amount of copying and bit
shifting required by the frontend to get the data on screen, but
it doesn't seem to offer much advantage, surprisingly.  I'll leave
it in though.  There are a few other minor tweaks included here to
try to improve the performance a bit
2023-03-25 10:51:46 -07:00
transistor
e6614f3e15 Refactored to allow dummy audio for console frontend 2023-03-14 20:05:29 -07:00
transistor
ea2fc95905 Cleanup 2022-10-13 20:22:29 -07:00
transistor
cd89a4c57d Minor tweaks to the update loop to keep it more realtime 2022-10-11 22:36:49 -07:00
transistor
d26e80ffaa Refactored pixels web frontend to separate sim run
It will now run the sim on a separate loop powered by setTimeout
instead of trying to do it inline with the frame updating
2022-10-11 14:40:12 -07:00
transistor
0b27ac04e7 Minor fixes to audio 2022-10-11 10:28:59 -07:00
transistor
9ee9d00ca6 Added work-in-progress on pixels frontend 2022-10-02 21:20:44 -07:00