main.c: In function 'vectordrawtopoint': main.c:46:30: warning: large integer implicitly truncated to unsigned type [-Woverflow] #define VIA_cntl 0xD00C //VIA control register ^ main.c:98:16: note: in expansion of macro 'VIA_cntl' vectrexwrite (VIA_cntl, 0xCC); // Enable #ZERO and try to enable #BLANK ^~~~~~~~ main.c:14:30: warning: large integer implicitly truncated to unsigned type [-Woverflow] #define VIA_port_b 0xD000 //VIA port B data I/O register ^ main.c:102:17: note: in expansion of macro 'VIA_port_b' vectrexwrite (VIA_port_b, 0x84); // Mux to Z, #RAMP disabled ^~~~~~~~~~ main.c:25:30: warning: large integer implicitly truncated to unsigned type [-Woverflow] #define VIA_port_a 0xD001 //VIA port A data I/O register (handshaking) ^ main.c:103:17: note: in expansion of macro 'VIA_port_a' vectrexwrite (VIA_port_a, intensity); //Set Z ^~~~~~~~~~ main.c:14:30: warning: large integer implicitly truncated to unsigned type [-Woverflow] #define VIA_port_b 0xD000 //VIA port B data I/O register ^ main.c:104:17: note: in expansion of macro 'VIA_port_b' vectrexwrite (VIA_port_b, 0x85); // Store Z ^~~~~~~~~~ main.c:46:30: warning: large integer implicitly truncated to unsigned type [-Woverflow] #define VIA_cntl 0xD00C //VIA control register ^ main.c:107:16: note: in expansion of macro 'VIA_cntl' vectrexwrite (VIA_cntl, 0xCE); //#ZERO Disabled, #BLANK Enabled ^~~~~~~~ main.c:14:30: warning: large integer implicitly truncated to unsigned type [-Woverflow] #define VIA_port_b 0xD000 //VIA port B data I/O register ^ main.c:109:16: note: in expansion of macro 'VIA_port_b' vectrexwrite (VIA_port_b, 0x81); //Mux Disabled, #RAMP Disabled ^~~~~~~~~~ main.c:25:30: warning: large integer implicitly truncated to unsigned type [-Woverflow] #define VIA_port_a 0xD001 //VIA port A data I/O register (handshaking) ^ main.c:110:16: note: in expansion of macro 'VIA_port_a' vectrexwrite (VIA_port_a, ystrength); //Y Strength ^~~~~~~~~~ main.c:14:30: warning: large integer implicitly truncated to unsigned type [-Woverflow] #define VIA_port_b 0xD000 //VIA port B data I/O register ^ main.c:111:16: note: in expansion of macro 'VIA_port_b' vectrexwrite (VIA_port_b, 0x80); //Store Y ^~~~~~~~~~ main.c:14:30: warning: large integer implicitly truncated to unsigned type [-Woverflow] #define VIA_port_b 0xD000 //VIA port B data I/O register ^ main.c:112:16: note: in expansion of macro 'VIA_port_b' vectrexwrite (VIA_port_b, 0x81); ^~~~~~~~~~ main.c:25:30: warning: large integer implicitly truncated to unsigned type [-Woverflow] #define VIA_port_a 0xD001 //VIA port A data I/O register (handshaking) ^ main.c:113:16: note: in expansion of macro 'VIA_port_a' vectrexwrite (VIA_port_a, xstrength); //X Strength (connected directly, doesn't need to be stored) ^~~~~~~~~~ main.c:46:30: warning: large integer implicitly truncated to unsigned type [-Woverflow] #define VIA_cntl 0xD00C //VIA control register ^ main.c:118:17: note: in expansion of macro 'VIA_cntl' vectrexwrite (VIA_cntl, 0xEE); // Disable #ZERO and try to disable #BLANK ^~~~~~~~ main.c:34:30: warning: large integer implicitly truncated to unsigned type [-Woverflow] #define VIA_shift_reg 0xD00A //VIA shift register ^ main.c:119:17: note: in expansion of macro 'VIA_shift_reg' vectrexwrite (VIA_shift_reg, 0xFF); // #BLANK disabled ^~~~~~~~~~~~~ main.c:29:30: warning: large integer implicitly truncated to unsigned type [-Woverflow] #define VIA_t1_cnt_hi 0xD005 //VIA timer 1 count register hi ^ main.c:120:24: note: in expansion of macro 'VIA_t1_cnt_hi' vectrexwrite (VIA_t1_cnt_hi, 0); // start timer - Disables #BLANK ^~~~~~~~~~~~~ main.c:46:30: warning: large integer implicitly truncated to unsigned type [-Woverflow] #define VIA_cntl 0xD00C //VIA control register ^ main.c:124:17: note: in expansion of macro 'VIA_cntl' vectrexwrite (VIA_cntl, 0xCE); // #ZERO Disabled, #BLANK Enabled ^~~~~~~~ main.c:34:30: warning: large integer implicitly truncated to unsigned type [-Woverflow] #define VIA_shift_reg 0xD00A //VIA shift register ^ main.c:125:17: note: in expansion of macro 'VIA_shift_reg' vectrexwrite (VIA_shift_reg, 0x00); // #BLANK Enabled ^~~~~~~~~~~~~ main.c:34:30: warning: large integer implicitly truncated to unsigned type [-Woverflow] #define VIA_shift_reg 0xD00A //VIA shift register ^ main.c:126:17: note: in expansion of macro 'VIA_shift_reg' vectrexwrite (VIA_shift_reg, 0); // Start timer - Enabled #BLANK ^~~~~~~~~~~~~ main.c:14:30: warning: large integer implicitly truncated to unsigned type [-Woverflow] #define VIA_port_b 0xD000 //VIA port B data I/O register ^ main.c:132:16: note: in expansion of macro 'VIA_port_b' vectrexwrite (VIA_port_b, 0x81); // Disable #RAMP ^~~~~~~~~~ main.c:46:30: warning: large integer implicitly truncated to unsigned type [-Woverflow] #define VIA_cntl 0xD00C //VIA control register ^ main.c:136:17: note: in expansion of macro 'VIA_cntl' vectrexwrite (VIA_cntl, 0xCC); // Enable #ZERO and enable #BLANK ^~~~~~~~ main.c:34:30: warning: large integer implicitly truncated to unsigned type [-Woverflow] #define VIA_shift_reg 0xD00A //VIA shift register ^ main.c:137:17: note: in expansion of macro 'VIA_shift_reg' vectrexwrite (VIA_shift_reg, 0); // Enable #BLANK ^~~~~~~~~~~~~ main.c:46:30: warning: large integer implicitly truncated to unsigned type [-Woverflow] #define VIA_cntl 0xD00C //VIA control register ^ main.c:145:18: note: in expansion of macro 'VIA_cntl' vectrexwrite (VIA_cntl, 0xCE); // Enable #ZERO and enable #BLANK ^~~~~~~~ main.c:34:30: warning: large integer implicitly truncated to unsigned type [-Woverflow] #define VIA_shift_reg 0xD00A //VIA shift register ^ main.c:146:18: note: in expansion of macro 'VIA_shift_reg' vectrexwrite (VIA_shift_reg, 0); // Enable #BLANK ^~~~~~~~~~~~~ main.c: In function 'main': main.c:26:30: warning: large integer implicitly truncated to unsigned type [-Woverflow] #define VIA_DDR_b 0xD002 //VIA port B data direction register (0=input 1=output) ^ main.c:170:16: note: in expansion of macro 'VIA_DDR_b' vectrexwrite (VIA_DDR_b, 0x9F); // All Outputs except COMPARE input and PB6 at Cartridge Port ^~~~~~~~~ main.c:27:30: warning: large integer implicitly truncated to unsigned type [-Woverflow] #define VIA_DDR_a 0xD003 //VIA port A data direction register (0=input 1=output) ^ main.c:171:16: note: in expansion of macro 'VIA_DDR_a' vectrexwrite (VIA_DDR_a, 0xFF); // All Outputs ^~~~~~~~~ main.c:35:30: warning: large integer implicitly truncated to unsigned type [-Woverflow] #define VIA_aux_cntl 0xD00B //VIA auxiliary control register ^ main.c:176:16: note: in expansion of macro 'VIA_aux_cntl' vectrexwrite (VIA_aux_cntl, 0x98); ^~~~~~~~~~~~