Commit Graph

33 Commits

Author SHA1 Message Date
Rekai Musuka 9c3d511ec4 Update depenencies. 2020-08-01 16:40:50 -05:00
Rekai Musuka 67c2b9b100 Switch from Mutex to AtomicU8 2020-07-16 00:30:51 -05:00
Rekai Musuka 3bbd896e18 Fix Underflow bug, and require game path in arg 2020-07-15 17:37:11 -05:00
Rekai Musuka 6fffa6fac5 Connect CHIP-8 to Timer tick() thread, Emulator now runs as expected. 2020-07-15 17:17:43 -05:00
Rekai Musuka 6954a60864 Run Sound + Delay Timers in another thread in Safe Rust
There is yet to be communication between the Parallel timers and the
actual CHIP-8 Emulator
2020-07-15 16:50:57 -05:00
Rekai Musuka e1616caf06 Fix failing test 2020-07-15 15:10:53 -05:00
Rekai Musuka 7acfaeb3a1 Remove Beep from Delay Timer 2020-07-15 15:08:02 -05:00
Rekai Musuka 37a2e89dab Remove unnecesary print from Timer#beep() 2020-07-15 15:01:40 -05:00
Rekai Musuka a6f1dd0f11 Implement CHIP-8 Beep 2020-07-15 15:00:50 -05:00
Rekai Musuka f10ad7f8dd Implement opcode-limiting (current: 500 opcodes per second) 2020-07-15 14:25:29 -05:00
Rekai Musuka ff1a8222a8 Fix issues with user input.
Maybe we should do something about the 36 if statements in handle_input
2020-07-14 23:35:00 -05:00
Rekai Musuka 8d1a2b59d6 Remove Beep println from Timer 2020-07-14 23:33:36 -05:00
Rekai Musuka f05e01b7de Implement User Input, add req_redraw flag, fix Fx15 bug 2020-07-14 22:44:26 -05:00
Rekai Musuka 9b88965cab Fix bug in Fx33 Opcode. Fx33 now works as intended. 2020-07-14 21:43:03 -05:00
Rekai Musuka 80850e6fe8 Fix bug in Display#draw_sprite. Display now works properly 2020-07-14 21:04:07 -05:00
Rekai Musuka 6b116d2592 Slightly improve code quality 2020-07-13 23:07:39 -05:00
Rekai Musuka 28be6356f2 Remove useless hidpi_factor variable from main.rs 2020-07-13 22:32:45 -05:00
Rekai Musuka acf1b10e66 Move where CHIP-8 Program Counter is updated 2020-07-13 22:16:42 -05:00
Rekai Musuka f4a8840b91 Refactor several opcodes + remove opcode property 2020-07-13 21:39:38 -05:00
Rekai Musuka 05f52dd397 Implement working Dxyn Opcode 2020-07-13 18:08:15 -05:00
Rekai Musuka 2e2497206f Begin reimplementation of CHIP-8 Dxyn opcode 2020-07-13 15:28:41 -05:00
Rekai Musuka f49426c371 Update Dependencies 2020-07-13 15:28:26 -05:00
Rekai Musuka 83b48cf27a Continue implementing more opcode tests 2020-06-27 21:49:58 -05:00
Rekai Musuka 8ca64ec98d Update dependencies 2020-06-27 20:04:38 -05:00
Rekai Musuka dd41957dd5 Improve code quality 2020-06-26 15:54:18 -05:00
Rekai Musuka 9cb0317a6a Implement tests for a number of opcodes 2020-06-25 23:59:59 -05:00
Rekai Musuka 9f990159b6 Restructured opcodes and reorganized code in src/main.rs 2020-06-25 19:06:27 -05:00
paoda 4acffdfb6b Add pixels-rs and winit as dependencies 2020-06-25 14:22:37 -05:00
paoda be4be99c92 Implement DRW and reorganize project 2020-06-25 13:13:09 -05:00
paoda b320398394 Fix program counter issues 2020-06-25 12:15:31 -05:00
Rekai Musuka cb030b992d Implement CHIP-8 Opcodes
Warning: There are currently no tests and I'm pretty sure none of them
work well /shrug
2020-06-25 01:40:09 -05:00
Rekai Musuka 632eab5e34 Create Chip8 Struct and implement opcode parsing 2020-06-15 00:45:49 -05:00
paoda fe2735c102 Initial Commit 2020-06-14 00:57:43 -05:00