#pragma vx_copyright "2020" #pragma vx_title_pos -100, -80 #pragma vx_title_size -8, 80 #pragma vx_title "CONTROLS TEST" #pragma vx_music vx_music_1 #include "vectrex.h" #include "bios.h" // http://www.playvectrex.com/designit/chrissalo/joystick.htm const char rom_text[] = "JOYSTICKS:"; int main() { char j1t[] = { '1', ':', '_', '_', '_', '_', 0x00 }; char btn1[] = { '1', '2', '3', '4', 0x00 }; char j2t[] = { '2', ':', '_', '_', '_', '_', 0x00 }; char btn2[] = { '1', '2', '3', '4', 0x00 }; uint8_t i, j1, j2, btns; while(1) { wait_retrace(); j1 = read_joystick(1); j2 = read_joystick(2); btns = read_buttons(); // momentary btns = *((byte*)0xc80f); // persistent for(i=0;i<4;i++) { j1t[2+i] = (j1 & (1<