move direction right to the correct place

This commit is contained in:
Mark Canlas 2020-08-26 01:04:06 -04:00
parent 58f15e85e8
commit dfb7849353

View File

@ -75,7 +75,7 @@ class Easy6502Spec extends AnyFlatSpec with should.Matchers {
val initSnake =
sub("initSnake") { implicit a =>
registers.X.incr
snakeDirection.write(Right)
}
val generateApplePosition =
@ -137,7 +137,6 @@ class Easy6502Spec extends AnyFlatSpec with should.Matchers {
asm { implicit a =>
sysRandom.read
sysLastKey.read
snakeDirection.read
appleLocation.read
jump(init)