small optimization of panic routine
This commit is contained in:
1 parent
5a231c1847
commit
5c02adae3e
1 file changed
+5
-8
+5
-8
@@ -60,18 +60,15 @@ panic:
|
|||||||
kernal_panic_infinite_loop:
|
kernal_panic_infinite_loop:
|
||||||
ldx #$00
|
ldx #$00
|
||||||
stx VIC_EXTCOL
|
stx VIC_EXTCOL
|
||||||
|
|
||||||
ldx #$80
|
|
||||||
!:
|
!:
|
||||||
dex
|
inx
|
||||||
bne !-
|
bpl !-
|
||||||
|
|
||||||
ldx #$06
|
ldx #$06
|
||||||
stx VIC_EXTCOL
|
stx VIC_EXTCOL
|
||||||
!:
|
|
||||||
dex
|
|
||||||
bne !-
|
|
||||||
|
|
||||||
beq kernal_panic_infinite_loop // branch always
|
nop
|
||||||
|
|
||||||
|
bne kernal_panic_infinite_loop // branch always
|
||||||
|
|
||||||
#endif // CONFIG_PANIC_SCREEN
|
#endif // CONFIG_PANIC_SCREEN
|
||||||
Reference in new issue
Block a user