Remove unnecessary stop instructions

This commit is contained in:
pjht 2022-11-21 12:54:07 -06:00
parent 779624e340
commit 787be520e9

View File

@ -20,7 +20,6 @@ romfindret:
move.b (a0)+, (a1)+ | Transfer a byte of ramcode to the ROM's IO space RAM move.b (a0)+, (a1)+ | Transfer a byte of ramcode to the ROM's IO space RAM
dbra d0, ramcode_loop | Loop back if there is more to transfer dbra d0, ramcode_loop | Loop back if there is more to transfer
jmp (a6) | Jump to the ramcode jmp (a6) | Jump to the ramcode
stop #0x2700
ramcode: ramcode:
move.b #0x0, (0xFE, a6) | Disable the ROM move.b #0x0, (0xFE, a6) | Disable the ROM
@ -32,8 +31,6 @@ ramcode:
move.l #0x0, (0xC, a4) | Set the destination address to 0x0 move.l #0x0, (0xC, a4) | Set the destination address to 0x0
move.w #0x1, (0x8, a4) | Send a DMA read command move.w #0x1, (0x8, a4) | Send a DMA read command
jmp (0x0).W | Jump to the loaded sector jmp (0x0).W | Jump to the loaded sector
stop #0x2700
ramcode_end: ramcode_end:
nop | Padding to make sure ramcode_end and find_first_card are different nop | Padding to make sure ramcode_end and find_first_card are different