From: Bernard Blackham Date: Sun, 20 Jun 2004 15:31:31 +0000 (+0000) Subject: Only turn on the column shift register output if we need it. X-Git-Tag: ROMW~40 X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=69e91c633f123ca0d250147929decb0c678eb2e9;p=uccvend-snackrom.git Only turn on the column shift register output if we need it. --- diff --git a/ROM2/motors.c b/ROM2/motors.c index a114490..ba91ec9 100644 --- a/ROM2/motors.c +++ b/ROM2/motors.c @@ -55,13 +55,13 @@ void motor_on(u8 slot) { break; default: /* < 8 */ motor_shift_send(1 << col); /* cols from 0..7 */ + bclr((void*)&_io_ports[M6811_PORTA], PORTA_MOTOR_COL_DISABLE); } motor_shift_send(1 << (row-1)); /* rows from 1..8 here */ bclr((void*)&_io_ports[M6811_PORTA], PORTA_MOTOR_CLOCK); bclr_changer_output(A3000_MOTOR_ROW_DISABLE); - bclr((void*)&_io_ports[M6811_PORTA], PORTA_MOTOR_COL_DISABLE); } void motors_off() {