MCPcopy Create free account
hub / github.com/OneLoneCoder/olcNES / reset

Method reset

Part#2 - CPU/olc6502.cpp:156–180  ·  view source on GitHub ↗

Forces the 6502 into a known state. This is hard-wired inside the CPU. The registers are set to 0x00, the status register is cleared except for unused bit which remains at 1. An absolute address is read from location 0xFFFC which contains a second address that the program counter is set to. This allows the programmer to jump to a known and programmable location in the memory to start executing fro

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

OnUserCreateMethod · 0.45
OnUserUpdateMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected