; Input Module ; --------------------------------------------------------------------------- INCDIR "c:/Users/capitano/Documents/giochino/" INCLUDE "custom.i" ; XDEF ReadInput ; XDEF LastKey ; SECTION Code,CODE_C ; ReadInput ; Returns: d0 = Raw Keycode (or 0 if no key) ; Preserves: d1-a6 ReadInput: moveq #0,d0 ; Default: no key ; Simple approach: just return 0 for now (disable keyboard) ; This prevents crashes from keyboard input rts ; TODO: Implement proper keyboard reading later ; The keyboard reading via CIA is complex and error-prone ; SECTION Data,DATA_C LastKey: dc.b 0