The Joystick on the NeoGeo makes things easy for us! There are two ports, one contains Select/Start buttons, and the other contains the joypad settings.
We can just read in from these to get the directions selected on the Joypad.
http://www.chibiakumas.com/68000/platform.php#LessonP9
Lesson P9 - Joystick Reading on the NeoGeo
Lesson P9 - Joystick Reading on the NeoGeo
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