mirror of
https://github.com/mcanlas/6502-opcodes.git
synced 2024-12-22 09:30:45 +00:00
move direction right to the correct place
This commit is contained in:
parent
58f15e85e8
commit
dfb7849353
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user