mirror of
https://github.com/bsnes-emu/bsnes.git
synced 2025-02-24 07:02:27 +01:00
byuu says: All 256 instructions implemented fully. Fixed a major bug with instructions that both read and write to ModRM with displacement. Riviera now runs into an infinite loop ... possibly crashed, possibly waiting on interrupts or in to return something. Added a bunch of PPU settings registers, but nothing's actually rendering with them yet.
10 lines
222 B
C++
10 lines
222 B
C++
auto CPU::ramRead(uint16 addr) -> uint8 {
|
|
if(WS() && addr >= 0x4000) return 0x90;
|
|
return iram[addr];
|
|
}
|
|
|
|
auto CPU::ramWrite(uint16 addr, uint8 data) -> void {
|
|
if(WS() && addr >= 0x4000) return;
|
|
iram[addr] = data;
|
|
}
|