JMP #0 at end of RP06 loader (2nd take)
This commit is contained in:
parent
0354558bb8
commit
1599eef46b
1 changed files with 3 additions and 10 deletions
13
loaders.cpp
13
loaders.cpp
|
@ -138,18 +138,11 @@ void set_boot_loader(bus *const b, const bootloader_t which)
|
||||||
bl = rl02_code;
|
bl = rl02_code;
|
||||||
}
|
}
|
||||||
else if (which == BL_RP06) {
|
else if (which == BL_RP06) {
|
||||||
start = offset = 01000;
|
start = offset = 02000;
|
||||||
|
|
||||||
static const uint16_t rp06_code[] = {
|
static const uint16_t rp06_code[] = {
|
||||||
0012700, // MOV #0176704,R0
|
012700, 0176704, 012740, 0177000, 012740, 000071, 012700, 0, 000110, 000000
|
||||||
0176704,
|
|
||||||
0012740, // MOV #0177000,-(R0)
|
|
||||||
0177000,
|
|
||||||
0012740, // MOV #071, -(R0)
|
|
||||||
0000071,
|
|
||||||
0000127, // JMP #0
|
|
||||||
0000000,
|
|
||||||
00, // HALT
|
|
||||||
};
|
};
|
||||||
|
|
||||||
size = sizeof(rp06_code)/sizeof(rp06_code[0]);
|
size = sizeof(rp06_code)/sizeof(rp06_code[0]);
|
||||||
|
|
Loading…
Add table
Reference in a new issue