11 Commits

Author SHA1 Message Date
jan
f5ea5b88fe Moved the controller support into a cargo feature that needs to be turned on explicitely. This makes the emulator more portable. 2024-12-23 16:26:33 +01:00
jan
890c2b7b79 Added better error-reporting to the emulator. 2024-12-22 13:17:41 +01:00
JanNeuendorf
36579b22dd
Utility buffer and expansion card mechanism (#7)
* Included utility buffer in sketch and reworked it.

* Included the new buffer and instruction changes in the README.

* Implemented the new buffer in the emulator

* Made the buffer clear since no expansion is active

* Added the new buffer and expansion card to the specification document

* Used more consistent wording and added expandability to the goals. Added more examples for expansions.
2024-12-21 14:16:53 +01:00
jan
010583c6b4 Gamepad input is working 2024-12-19 16:07:02 +01:00
jan
5fce0f70cf Bumped winit version to highest 0.29 release 2024-12-19 15:08:15 +01:00
jan
c52aa24609 Indicate paused state in window title 2024-12-19 14:37:10 +01:00
jan
a229e6d378 Preallocated the u16 pixel buffer and made the -v output more detailed. 2024-12-19 13:38:35 +01:00
JanNeuendorf
3cbeba00ee
Port to pixels crate (#5)
Using "pixels" instead of minifb allows for better window decorations and resizing. 
I mostly copied their winit exampe.  
The debug option has been removed and the scaling option is now a plain factor.
2024-12-19 12:35:46 +01:00
JanNeuendorf
4ba681cc52
Additional input (#3)
* Implemented additional input codes in the emulator

* Explained new inputs in the README

* Added additional inputs to the specification and changed the layout.

* Made a more advanced input-tester example that shows all keys.
2024-12-18 13:20:42 +01:00
JanNeuendorf
df631a0060 Mapped the mouse buttons to the keyboard as an alternative 2024-12-17 00:10:44 +01:00
jan
31ea35cc93 Included the emulator 2024-12-13 11:22:32 +01:00