Skip to content

Conversation

@zohassadar
Copy link
Collaborator

see commit notes

These bytes are remnants from the vanilla rom and aren't used by
anything.  They appear to be either an incorrect version of the Famicom
Disk System Interupt/Reset vector controls, or the correct version of
the same controls for an internal development platform.  Either way they
can be cleaned up.

from: https://www.nesdev.org/wiki/FDS_BIOS#Interrupt/Reset_vector_controls
> Interrupt/Reset vector controls > The FDS BIOS uses 4 bytes at the
> lower end of the stack page to control the behaviour of interrupt/reset
> vectors:
>
> [$0100]:	PC action on NMI. $C0 (NMI #3) on reset.
> [$0101]:	PC action on IRQ. $80 (BIOS acknowledge and delay) on reset.
> [$0102]:	RESET flag. $35 on reset after the boot files have loaded.
> [$0103]:	RESET type. $AC = first boot of the game, $53 = the game was soft-reset by the user.
@kirjavascript
Copy link
Owner

funny how this took so long 👍

@kirjavascript kirjavascript merged commit d4ffde9 into kirjavascript:master Mar 26, 2025
@zohassadar zohassadar deleted the clean-fds-remnant branch March 26, 2025 23:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants