The original Genesis controller had 3 fire buttons, and one select... but later on, to compete with the SNES an extra 3 buttons were added,
We need to use a control port to select the keys to read in, then read the actulal keystates from a second port, Lets take a look!
http://www.chibiakumas.com/68000/platfo ... #LessonP11
Lesson P11 - Joystick Reading on the Genesis
Lesson P11 - Joystick Reading on the Genesis
Chibi Akuma(s) Comedy-Horror 8-bit Bullet Hell shooter! // 「チビ悪魔」可笑しいゴシックSTG ! // Work in Progress: ChibiAliens
Interested in CPU's :Z80,6502,68000,6809,ARM,8086,RISC-V
Learning: 65816,ARM,8086,6809
Interested in CPU's :Z80,6502,68000,6809,ARM,8086,RISC-V
Learning: 65816,ARM,8086,6809