Closed AndyHOvine closed 4 years ago
When using GETKEY() to test for keys, there are two sets of constants defined to use with them.
One is for the C64 and one for the Vic20.
c; KEY_2; C64, PLUS4, C128; b;$32 c; KEY_2; VIC20; b;56
The assembler is always picking the first KEY_2 value regardless of the build target. This means that when building for the VIC 20, a value of $32 is returned instead of 56.
Fixed!
When using GETKEY() to test for keys, there are two sets of constants defined to use with them.
One is for the C64 and one for the Vic20.
c; KEY_2; C64, PLUS4, C128; b;$32 c; KEY_2; VIC20; b;56
The assembler is always picking the first KEY_2 value regardless of the build target. This means that when building for the VIC 20, a value of $32 is returned instead of 56.