3 ms·
Yeah I just happen to have been hacking on Microsoft BASIC over the last two weeks and stumbled on it. Here is its disassembly. Self-modifying, looks for colo
by chillingeffect 7y ago
Yeah I just happen to have been hacking on Microsoft BASIC over the last two weeks and stumbled on it. Here is its disassembly. Self-modifying, looks for colons and spaces:
> (C:$00b7) d 73
> .C:0073 E6 7A INC $7A
> .C:0075 D0 02 BNE $0079
> .C:0077 E6 7B INC $7B
> .C:0079 AD 00 08 LDA $0800
> .C:007c C9 3A CMP #$3A
> .C:007e B0 0A BCS $008A
> .C:0080 C9 20 CMP #$20
> .C:0082 F0 EF BEQ $0073
> .C:0084 38 SEC
>.C:0085 E9 30 SBC #$30
>.C:0087 38 SEC
>.C:0088 E9 D0 SBC #$D0
>.C:008a 60 RTS