+ u8 row, col;
+ row = slot%10;
+ col = slot/10;
+ if (row >= 5) row--;
+
+ /* loads up the shift register with the right bits */
+ bclr_misc_output(A3800_MOTOR_COL8_ENABLE|A3800_MOTOR_COL9_ENABLE);
+ switch (col) {
+ case 8:
+ bset_misc_output(A3800_MOTOR_COL8_ENABLE);
+ motor_shift_send(0);
+ break;
+ case 9:
+ bset_misc_output(A3800_MOTOR_COL9_ENABLE);
+ motor_shift_send(0);
+ break;
+ default: /* < 8 */
+ motor_shift_send(1 << col); /* cols from 0..7 */
+ }
+
+ 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);