User`s manual
General Information
1-17
1
Do the following to prepare the ROMboot routine (includes
checksum calculation):
1. Assemble and link the code, leaving $00 in the even and odd
locations destined to contain the checksum.
2. Load the routine into RAM (with S-records via the LO
command, or from magnetic media using IOP).
3. Display entire ROMboot routine (checksum bytes are at
$00010038 and $00010039).
PPC1-Bug>MD 10000 :10 <Return>
00010000 424F4F54 00000010 0000003A 54455354 BOOT.......:TEST
00010010 39400026 44000002 39400052 44000002 9@.&D...9@.RD...
00010020 39400026 44000002 39400026 44000002 9@.&D...9@.&D...
00010030 39400063 44000002 0000FFFF FFFFFFFF 9@.cD...........
4. Disassemble executable instructions.
PPC1-Bug>MD 10010:5;DI <Return>
00010010 39400026 SYSCALL .PCRLF
00010018 39400052 SYSCALL .RTC_DSP
00010020 39400026 SYSCALL .PCRLF
00010028 39400026 SYSCALL .PCRLF
00010028 39400063 SYSCALL .RETURN
5. Perform checksum on locations $10000 through $10037 (refer
to CS command in chapter 3).
PPC1-Bug>CS 10000:38/2;H <Return>
Effective address: 00010000
Effective count : &56
Checksum: ACFA
6. Insert checksum into bytes $10038, $10039.
PPC1-Bug>M 10038;H <Return>
00010038 0000? ACFA. <Return>
7. Display the entire ROMboot routine with checksums.
PPC1-Bug>MD 10000 :10 <Return>
00010000 424F4F54 00000010 0000003A 54455354 BOOT.......:TEST
00010010 39400026 44000002 39400026 44000002 9@.&D...9@.RD...
00010020 39400026 44000002 39400026 44000002 9@.&D...9@.&D...
00010030 39400063 44000002 ACFAFFFF FFFFFFFF 9@.cD...........