Search found 123 matches
To me to use this ASM code? | get current pad value | entry: a0 = pad control port | exit: d2 = pad value (0 0 0 1 M X Y Z S A C B R L D U) or (0 0 0 0 0 0 0 0 S A C B R L D U) get_pad: bsr.b get_input /* - 0 s a 0 0 d u - 1 c b r l d u */ move.w d0,d1 andi.w #0x0C00,d0 bne.b no_pad bsr.b get_input ...
6 button
How to include 6 button joy stick? (X, Y, Z) #include <genesis.h> #include <joy.h> volatile u16 joy; int main() { JOY_setSupport(0, JOY_SUPPORT_6BTN); JOY_setSupport(1, JOY_SUPPORT_6BTN); VDP_drawText(APLAN, "----------------------------------------", 0, 0, 25); while (1) {joy = JOY_readJoypad(JOY_1...