x68000:cpsfdev
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
x68000:cpsfdev [2017/10/08 03:38] – unbuffered key detection for exit. doesn't spew trash into the console anymore. neko68k | x68000:cpsfdev [2019/08/27 20:45] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 59: | Line 59: | ||
// quit on ESC | // quit on ESC | ||
- | if(_dos_inpout(0xFF)==27){ | + | if(_dos_inpout(0xFF)==0x1B){ |
- | if(_dos_inpout(0xFF)==00){ | + | *joycontrolword = 8; |
- | *joycontrolword = 8; | + | *joyport_c = joyport_c_old; |
- | *joyport_c = joyport_c_old; | + | _iocs_b_super(usp); |
- | _iocs_b_super(usp); | + | return 0; |
- | return 0; | + | |
- | } | + | |
} | } | ||
} | } | ||
} | } | ||
</ | </ |
x68000/cpsfdev.1507397938.txt.gz · Last modified: 2019/08/27 20:44 (external edit)