MicroChess, TASM and native 6502
Posted: Wed Oct 05, 2005 2:25 am
Howdy everyone,
Until the past few days, I had never played a game of chess.
Nevertheless, I wanted to check out Daryl Rictor's modified version of Peter Jennings' MicroChess.
Needing a DOS run assembler, I downloaded TASM 3.01 from Speech Technology (see bottom of the page).
I had to make a few changes to Daryl's source file as follows:
TASM doesn't like "LABEL = $hhhh (or $hh) " , used "LABEL .EQU $hhhh (or $hh) " instead.
TASM doesn't like "*=$hhhh" , used ".ORG $hhhh" instead.
TASM encodes "LSR" as "LSR $00" , used "LSR A" instead.
NMOS 6502 can't do "PHY" or "PLY", used "STY YSAV", LDY YSAV instead.
I also need to make changes to my own internal source file:
I need to learn to play a better game of chess...
'Hope this helps any fellow newbies here.
Thx for the fun,
Brian
Until the past few days, I had never played a game of chess.
Nevertheless, I wanted to check out Daryl Rictor's modified version of Peter Jennings' MicroChess.
Needing a DOS run assembler, I downloaded TASM 3.01 from Speech Technology (see bottom of the page).
I had to make a few changes to Daryl's source file as follows:
TASM doesn't like "LABEL = $hhhh (or $hh) " , used "LABEL .EQU $hhhh (or $hh) " instead.
TASM doesn't like "*=$hhhh" , used ".ORG $hhhh" instead.
TASM encodes "LSR" as "LSR $00" , used "LSR A" instead.
NMOS 6502 can't do "PHY" or "PLY", used "STY YSAV", LDY YSAV instead.
I also need to make changes to my own internal source file:
I need to learn to play a better game of chess...
'Hope this helps any fellow newbies here.
Thx for the fun,
Brian