News for hackers. Stuff that matters.
Re:Dirty tricks 6502 programmers use by IcePic on Monday August 19, 2019 @09:29AM (#20737534)
I don't think that would be this quick either. Since the code might/will mess up zeropage and/or other dataareas in use by the C64 basic, you would have to wipe it to a known state for each test, which almost means "boot up the KERNAL and let it run complete INIT".

Not that even this have to take a long while on a 3GHz computer running full speed, but doing it 2^272 times ...

Re:Dirty tricks 6502 programmers use by saagarjha on Tuesday August 20, 2019 @03:39AM (#20744632)
> you would have to wipe it to a known state for each test, which almost means "boot up the KERNAL and let it run complete INIT"

FWIW, if I were actually doing this I’d run it in a emulator and “save” the initial state to restore for the every test.