Every day for the past five years I've taken the 6502's startup process pretty
much for granted when it throws "Apple ][" (or more recently, "Apple //e")
across the top of the monitor and starts loading a DOS in from the drive. How
does the processor get to that point, though? I know what ROM routines are
responsible for the boot process, but how does the 65(C)02 know where those
routines are, and how does it call them? I don't think this is something the
_Apple_IIe_Technical_Reference_Manual_ covers, as it is not a IIe-specific
thing, but is related more to the processor than anything else.
Scott Alfter-------------------------------------------------------------------
Bitnet: free0066@uiucvmd _/_ Apple II: the power to be your best!
Internet: alf...@mrcnext.cso.uiuc.edu / v
cs1...@ux1.cso.uiuc.edu ( ( A keyboard--how quaint!
saa3...@uxa.cso.uiuc.edu _^_/ --M. Scott, STIV
The other half of it is that you have to use a ROM at the top of memory
to hold the interupt vectors (including the one for reset). Point the
reset vector to your startup code.
Scott Alfter asks how the 6502 starts up. It starts up via the RESET vector at
$FFFC, $FFFD. I believe the 65816 powers up in Emulation mode, so you'd find
its reset vector at 00/FFFC, 00/FFFD. Note that the CPU has to be reset when
its turned on, to put the processor into a known state.
UUCP: crash!pro-generic!sb
ARPA: crash!pro-generic!s...@nosc.mil
INET: s...@pro-generic.cts.com