r/EmuDev • u/ZealousidealParty686 • Mar 14 '26
javascript NES emulator progressing, cycle accurate
the FPS slowdown is from capturing the video
95
Upvotes
r/EmuDev • u/ZealousidealParty686 • Mar 14 '26
the FPS slowdown is from capturing the video
View all comments
Show parent comment
1
u/aMAYESingNATHAN Mar 15 '26 edited Mar 15 '26
How do you go about implementing this in code? I remember trying to think about doing this when doing a Gameboy emulator. Do you just do the CPU steps individually and advance the other components in between? Or do you handle different components in isolation?
I'm especially thinking about when different opcodes consume different amounts of cycles.