1
0
mirror of https://github.com/KarolS/millfork.git synced 2025-08-08 03:25:11 +00:00
Files
millfork/include/c64_panic.mfk
2018-07-12 19:39:25 +02:00

27 lines
380 B
Plaintext

void _panic() {
asm {
SEI
PLA
TAY
PLA
TAX
JSR hi_nibble_to_hex
JSR putchar
TXA
JSR lo_nibble_to_hex
JSR putchar
TYA
JSR hi_nibble_to_hex
JSR putchar
TYA
JSR lo_nibble_to_hex
JSR putchar
LDA #2
STA $D020
}
while(true){}
}