LogFAQs > #979481660

LurkerFAQs, Active Database ( 12.01.2023-present ), DB1, DB2, DB3, DB4, DB5, DB6, DB7, DB8, DB9, DB10, DB11, DB12, Clear
Topic List
Page List: 1
TopicWriting an NES emulator ama
Yellow
03/21/24 3:36:19 AM
#3:


Yeah people always say to start with chip8, but idc about chip8, I've never heard about it in my life.

The only weird thing is dealing with the many different kinds of mappers that ROMs used, which basically put the ROM somewhere in the 64kb address space, as well as any RAM that came with the cartridge itself. After that, you spend a week or so doing every opcode, and apparently the PPU is simple enough to get done quickly, then you can play Mario.

But the reason movement is kind of janky on the NES is that the NES did not support any kind of decimal number. There is no 0.5 on the NES. And the dumb thing is that the 6502 did support decimal arithmetic, it's just they disabled it because they were using a bootleg chip that was based off the 6502, and it's speculated that they disabled the decimal functions to avoid a lawsuit.

It's in a nice middle ground where it's complicated enough to make a good emulator that you might even use, without taking years to complete. ("complete" an emulator, yeah that never happens)

---
https://www.youtube.com/watch?v=5C_Wrt6pNSw
... Copied to Clipboard!
Topic List
Page List: 1