
RESET AND EARLY STARTUP OPERATION
When the Amiga is turned on or externally reset, the memory map is in a special state. An
additional copy of the system ROM responds starting at memory location $00000000. The
system RAM that would normally be located at this address is not available. On some
Amiga models, portions of the RAM still respond. On other models, no RAM responds.
Software must assume that memory is not available. The OVL bit in one of the 8520 Chips
disables the overlay (See Appendix F for the bit location).
The Amiga System ROM contains an ID code as the first word. The value of the ID code
may change in the future. The second word of the ROM contains a JMP instruction ($4ef9).
The next two words are used as the initial program counter by the 68000 processor.
The 68000 "RESET" instruction works much like external reset or power on. All memory
and AUTOCONFIGTM cards disappear, and the ROM image appears at location $00000000.
The difference is that the CPU continues execution with the next instruction. Since RAM
may not be available, special care is needed to write reboot code that will reliably reboot
all Amiga models.
Here is a source code listing of the only supported reboot code:
; ---- The *only* supported reboot code
CNOP 0,4 ;IMPORTANT: Must be longword aligned
MagicResetCode:
lea.l 2,a0 ;Point to JMP instruction at start of ROM
RESET ;all RAM goes away now!
jmp (a0) ;Rely on prefetch to execute this instruction
The RESET instruction must be executed when the CPU is at the Supervisor privilege level.
If running under Exec, the following code must be used:
_ColdReboot:
move.l 4,a6 ;Get a pointer to ExecBase
lea.l MagicResetCode(pc),a5 ;Location of code to trap to
jsr _LVOSupervisor(a6) ;start code (must use JSR)
- System Control Hardware 219 -
Summary of Contents for Amiga A1000
Page 1: ...AMIGA HARDWARE REFERENCE MANUAL 1992 Commodore Business Machines Amiga 1200 PAL...
Page 20: ...Figure 1 1 Block Diagram for the Amiga Computer Family Introduction 11...
Page 21: ...12 Introduction...
Page 72: ...Figure 3 12 A dual Playfield display Playfield Hardware 63...
Page 87: ...Figure 3 24 Horizontal Scrolling 78 playfield hardware...
Page 101: ...92 Playfield Hardware...
Page 199: ...Figure 6 9 DMA time slot allocation 190 Blitter hardware...
Page 203: ...Figure 6 13 Blitter Block Diagram 194 Blitter Hardware...
Page 229: ...220 System Control Hardware...
Page 246: ...Figure 8 8 Chinon Timing diagram cont Interface Hardware 237...
Page 265: ...256 Interface Hardware...
Page 289: ...280 Appendix A...
Page 297: ...288 Appendix B...
Page 298: ...APPENDIX C CUSTOM CHIP PIN ALLOCATION LIST NOTE Means an active low signal Appendix C 289...
Page 302: ...APPENDIX D SYSTEM MEMORY MAP Appendix D 293...
Page 343: ...334 Appendix F...
Page 351: ...342 Appendix G...
Page 361: ...352 Appendix H...
Page 367: ...358 Appendix I...