I would like to know how much feasible would it be today to make a nes interpreter?
We see emulators about nes rom sprouting every day (I don't say it's a bad thing since I'm guilty too because I wanted to make one a long time ago out of curiosity) but not nes interperter. Maybe I should explain what I mean since sometime my question seems to be always filled with ambiguity.
Let say you have an IDE like Visual Studio/Eclipse. You write your nes code in this. Then, instead of compiling your code to a rom and debugging it with an existing emulator, you would trace instead your code inside that ide. This mean you interpret the nes 6502 instructions in real time, like the gwbasic interpreter and see the results from that IDE. You can put break point anywhere you want, check the state of your memory etc from the IDE.
Since the 6502 instruction set is quite simple and almost as close as the byte code used in the rom, I guess it must be feasible. Possible problems I see are related with code that requires precise timing cannot really debugged with break points and supporting multiple contexts (ca65, asm6, wla, nesasm etc syntax).
Who think that it's now feasible with the current state of computing we are these days?
We see emulators about nes rom sprouting every day (I don't say it's a bad thing since I'm guilty too because I wanted to make one a long time ago out of curiosity) but not nes interperter. Maybe I should explain what I mean since sometime my question seems to be always filled with ambiguity.
Let say you have an IDE like Visual Studio/Eclipse. You write your nes code in this. Then, instead of compiling your code to a rom and debugging it with an existing emulator, you would trace instead your code inside that ide. This mean you interpret the nes 6502 instructions in real time, like the gwbasic interpreter and see the results from that IDE. You can put break point anywhere you want, check the state of your memory etc from the IDE.
Since the 6502 instruction set is quite simple and almost as close as the byte code used in the rom, I guess it must be feasible. Possible problems I see are related with code that requires precise timing cannot really debugged with break points and supporting multiple contexts (ca65, asm6, wla, nesasm etc syntax).
Who think that it's now feasible with the current state of computing we are these days?