; ------------------------------------------------------------- ; MOS 6502 Architecture - Gravity of Realization Subroutine ; ------------------------------------------------------------- ORG $C000 ; Start at memory address $C000
REALISE: LDA #$01 ; Load '1' into Accumulator (The Punchline) CMP #$00 ; Compare it with expected '0' (A Joke) BNE .HORROR ; If Not Equal, jump straight to the panic loop RTS ; Return safely if it was just a laugh
.HORROR: LDX #$FF ; Set X register to max (255 units of dread) .PANIC: STX $D020 ; Flash border color violently DEX ; Decrement X (breathing intensifies) BNE .PANIC ; Loop until X hits zero and reality sinks in BRK ; Break system. Silence.