Compare commits
5 Commits
20d8953220
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| 93da83704f | |||
| 2d53a59399 | |||
| 7a893076fb | |||
| 4c7073657f | |||
| 2252e1fa75 |
6
LICENSE
6
LICENSE
@@ -1,4 +1,4 @@
|
||||
BSD 3-Clause License
|
||||
BSD 2-Clause License
|
||||
|
||||
Copyright (c) 2025-2026, Antoni Piasecki
|
||||
|
||||
@@ -12,10 +12,6 @@ modification, are permitted provided that the following conditions are met:
|
||||
this list of conditions and the following disclaimer in the documentation
|
||||
and/or other materials provided with the distribution.
|
||||
|
||||
3. Neither the name of the copyright holder nor the names of its
|
||||
contributors may be used to endorse or promote products derived from
|
||||
this software without specific prior written permission.
|
||||
|
||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
||||
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
Emulators written in C and C++
|
||||
|
||||
* `riscv64.cc` - [RV64IM instruction set](https://en.wikipedia.org/wiki/RISC-V) (more extensions coming soon-ish)
|
||||
* `riscv64.cc` - [RV64IMAC instruction set](https://en.wikipedia.org/wiki/RISC-V) (more extensions coming soon-ish)
|
||||
* `chip8.c` - [CHIP8](https://en.wikipedia.org/wiki/CHIP-8)
|
||||
* `mos6502.c` - [MOS 6502](https://en.wikipedia.org/wiki/MOS_Technology_6502)
|
||||
|
||||
|
||||
2
chip8.c
2
chip8.c
@@ -345,7 +345,7 @@ void chip8_step(CHIP8 *c) {
|
||||
break;
|
||||
case 0x0A: {
|
||||
uint8_t key_pressed = 0;
|
||||
while (!key_pressed && WindowShouldClose()) {
|
||||
while (!key_pressed && !WindowShouldClose()) {
|
||||
for (size_t i = 0; i < 16; i++) {
|
||||
if (IsKeyDown(keyboard_map[i])) {
|
||||
key_pressed = 1;
|
||||
|
||||
877
riscv64.cc
877
riscv64.cc
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user