Open lucasw opened 6 years ago
Is there an example in https://github.com/alpine9000/amiga_examples ? No it looks mainly graphics oriented.
https://github.com/keirf/Amiga-Stuff/blob/master/systest/keyboard.c
$bfec01 CIAA serial data register
http://amiga-dev.wikidot.com/hardware:intenar - look at use of INTENA $dff09a
fs-uae Documents/FS-UAE/Configurations/fsuae_config.fs-uae --load_state=1 --console_debugger=1
Then F12 d
to stop execution and bring up the debugger.
?
lists commands
z
steps forward, but not clear where in own program it is.
Fork of uae with more useful debugger: http://eab.abime.net/showthread.php?t=82187
Good debugger instructions: http://eab.abime.net/showthread.php?t=70007
have instruction like clr.w $100 before the code you need to debug and use memwatch point to break when $100 is accessed (for example "w 0 100 2")
Giving up on keyboard, just use joystick for now- the default is that the arrow keys and right alt and ctrl are the joystick 1 (the second joy/mouse).
Detecting special keys looks easy, but is there an example of reading other keys?
Actually it is easy to detect the first keypress, then it needs to be cleared or otherwise it continues to report as pressed?