Search found 3 matches

by zachmo47
Mon Jul 05, 2021 3:18 am
Forum: NESemdev
Topic: Difficulty Running Fogleman GO NES Emulator on Ubuntu 16.04
Replies: 1
Views: 579

Difficulty Running Fogleman GO NES Emulator on Ubuntu 16.04

Hello, I've been trying to run Fogleman's go NES emulator on multiple different versions of Ubuntu but I've not had any luck running a rom with it the reason I'm trying to run it is I have been building my own NES emulator based on Fogleman's go NES emulator and I'm having some issues with the PPU a...
by zachmo47
Wed Jun 09, 2021 12:56 pm
Forum: NESemdev
Topic: Handling Illegal Opcodes
Replies: 10
Views: 2985

Re: Handling Illegal Opcodes

How you handle illegal opcodes is entirely up to you, but there are several methods to choose from: 1. Immediately halt emulation and don't allow it to resume. If you hit one of the "HLT"/"KIL" opcodes (02/22/42/62 or 12/32/52/72/92/B2/D2/F2), this is technically the "corre...
by zachmo47
Wed Jun 09, 2021 9:10 am
Forum: NESemdev
Topic: Handling Illegal Opcodes
Replies: 10
Views: 2985

Handling Illegal Opcodes

Hello! I've been trying to write my own NES emulating using JS but one thing I'm unsure about is when an illegal opcode is encountered how much do I need to increment the program counter otherwise it'll just get stuck trying to run the same illegal opcode?