LogFAQs > #979545306

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
Sahuagin
03/24/24 9:53:16 PM
#12:


Yellow posted...
C++ is used very often in emulators because people think it's faster, but that's a myth.
I know what you mean yes. I usually follow the rule of thumb "premature optimization is the root of all evil". once something works, then profile it and optimize it (if necessary).

Yellow posted...
How it works is essentially this; the CPU writes values to the a certain area. The APU has some registers mapped to that area, the APU reads these values (just like parameters) and outputs sounds accordingly.
I mean though that you would have to also implement the APU instructions, which would require playing 8-bit audio on a modern system, somehow. (or something, not sure). same with graphics, you will need to have a graphics library and render to a surface and present it to the screen, etc.

---
This day is gone. We can't relive it. It's gone forever.
... Copied to Clipboard!
Topic List
Page List: 1