NESmaker 4.0.11 - Code Editor - Reset Vector Mystery [SOLVED]

Mihoshi20

Member
I have an interesting question about the reset vector perhaps someone can enlighten me on. Inside of Vectors.asm it seems the values within are first placed in $FFF0, does that mean that the first value in the .db (#$e7) is placed at $FFF0, is it placed one position after it at $FFF1? I ask this as it seems that the RESET vector is placed at $FFFB instead of $FFFC. If this is the case it somehow still seems to work. Or perhaps I am misunderstanding the significance of the dwords.

Code:
	.org $fff0
	.db #$e7, #$De, #$ec, #$e6, #$da, #$e4, #$de, #$eb, #vLog, #vTS
	;.org $fffa
	.dw NMI
	.dw RESET
	.dw 00
 

Mihoshi20

Member
dale_coop said:
I have completly no idea... it’s far from my current knowledge.

It sudden just dawned on me that I could simply take an assembled NESmaker rom into a hex editor and look at the end of it for the vectors and what I had figured was right. the dwords are 2 bytes in length pushing the next one down so the reset does start at FFFC.
 
Top Bottom