New books from Apress

Andy Armstrong andy at hexten.net
Sun May 21 20:33:44 BST 2006


On 21 May 2006, at 17:14, Peter Corlett wrote:
> Are you faithfully reproducing the 6502's wraparound bugs?

Getting closer - I'd screwed up the flags after ADC and SBC in some  
cases.

voodoo:~/Works/6502/65Perl02 [20:30] andy$ ./65Perl02.pl 2> 65Perl02.log
 >FOR I%=1 TO 10 : PRINT I% : NEXT
          1
          2
          3
          4
          5
          6
          7
          8
          9
         10
 >DIM P% 100
 >PRINT P%
       2050
 >[LDA #&41 : JMP &FFEE
0802 A9 41    LDA #&41
0804 4C EE FF JMP &FFEE
 >CALL &802
A>

Time for a beer.

-- 
Andy Armstrong, hexten.net



More information about the london.pm mailing list