set MMC1 to mode 3 at startup
This commit is contained in:
parent
e49921541d
commit
c12022e2ed
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
This is an NES emulator and a work in progress. There are still some minor bugs and the audio is kind of scratchy. I've mostly tested on Donkey Kong, Super Mario Bros., and Zelda so far. There are plenty of full-featured emulators out there; this is primarily an educational project but I do want it to run well. SDL2 is the only dependency, it's NTSC timing, and contains no `unsafe` code.
|
This is an NES emulator and a work in progress. There are still some minor bugs and the audio is kind of scratchy. I've mostly tested on Donkey Kong, Super Mario Bros., and Zelda so far. There are plenty of full-featured emulators out there; this is primarily an educational project but I do want it to run well. SDL2 is the only dependency, it's NTSC timing, and contains no `unsafe` code.
|
||||||
|
|
||||||
<img src="pics/smb.png" width=350> <img src="pics/zelda.png" width=350>
|
<img src="pics/smb.png" width=350> <img src="pics/zelda_dungeon.png" width=350>
|
||||||
|
|
||||||
## Controls:
|
## Controls:
|
||||||
```
|
```
|
||||||
|
|
|
@ -34,7 +34,7 @@ impl Mmc1 {
|
||||||
control: 0,
|
control: 0,
|
||||||
prg_ram_bank: vec![0; 0x2000],
|
prg_ram_bank: vec![0; 0x2000],
|
||||||
prg_ram_enabled: false,
|
prg_ram_enabled: false,
|
||||||
prg_bank_mode: 0,
|
prg_bank_mode: 3,
|
||||||
prg_bank_select: 0,
|
prg_bank_select: 0,
|
||||||
chr_ram_bank: vec![0; 0x2000],
|
chr_ram_bank: vec![0; 0x2000],
|
||||||
chr_low_bank: 0,
|
chr_low_bank: 0,
|
||||||
|
|
Loading…
Reference in New Issue