Search found 8 matches

by bruce_lee
Fri Sep 12, 2008 6:46 pm
Forum: Programming
Topic: nes emulation problem
Replies: 3
Views: 3925

nes emulation problem

hi there,
i have so far completed all addressing modes, instructions, the routine of fetching opcodes, push/ pop. So in short if i load a game into my emulator, it verifies the nes format, then fetches code and executes instructions etc.
The problem is that upon fetching the first instruction which ...
by bruce_lee
Sun Aug 24, 2008 11:46 am
Forum: Programming
Topic: nes emulattion - where can i get ram data from
Replies: 6
Views: 4629

hi there, thanks for your reply,
can you elaborate on this for me please? , i understand that the rom data is retrieved at startup (assuming this is programmable rom we are talking about),
which part of the rom gets stored in the ram? at what offset? and how large? assuming we are using the fread ...
by bruce_lee
Sat Aug 23, 2008 10:53 pm
Forum: Programming
Topic: nes emulattion - where can i get ram data from
Replies: 6
Views: 4629

nes emulattion - where can i get ram data from

hi there,
i am in the process of completing the cpu side of a nes emulator i am programming.
The current problem i have is that the ram is loaded with no data - i understand that when loading the rom file the nes gets the program rom from the 10th element in the rom file, and the vrom comes after ...
by bruce_lee
Sat Aug 02, 2008 1:47 pm
Forum: Emulation and Simulation
Topic: indexed zero page X
Replies: 1
Views: 4516

indexed zero page X

Hi there,
i have written a function to simulate zero page index addressing mode, the trouble is i am not sure if my function increments the program counter the correct amount - currently it increments by 2, but when i tested the function on michaels 6502 simulator it incremented by 3 - i am not sure ...
by bruce_lee
Wed Jul 23, 2008 5:25 am
Forum: Emulation and Simulation
Topic: testing my 6502 cpu emulator
Replies: 5
Views: 9433

cheers guys appreciate the help :)
by bruce_lee
Sat Jul 19, 2008 11:27 pm
Forum: Emulation and Simulation
Topic: testing my 6502 cpu emulator
Replies: 5
Views: 9433

hi guys, thanks for your replies,

i have done a few test and compared results with the simulator you guys mentioned, the good news is that all my opcodes return the same results as the simulator (for the moment yes but i still have to test with all addressing modes) with the exception of one - SBC ...
by bruce_lee
Sat Jul 19, 2008 6:37 pm
Forum: Emulation and Simulation
Topic: Op-code testing
Replies: 9
Views: 12566

thanks alot guys appreciate it :D
by bruce_lee
Fri Jul 18, 2008 11:12 am
Forum: Emulation and Simulation
Topic: testing my 6502 cpu emulator
Replies: 5
Views: 9433

testing my 6502 cpu emulator

hi there!
i have written a emulator for the 6502 processor, ie all the opcodes and the addressing modes, trouble is i need to test to see if the results i am getting from the functions are all correct (the processor status, flags, x, y reg, program counter etc ). Does anyone have any test cases i ...