Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
x68000:cpsfdev [2017/10/08 04:38]
neko68k unbuffered key detection for exit. doesn't spew trash into the console anymore.
x68000:cpsfdev [2019/08/27 20:45] (current)
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; +
- }+
  }  }
  }  }
 } }
 </​file>​ </​file>​
 
 x68000/cpsfdev.txt · Last modified: 2019/08/27 20:45 (external edit)
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Noncommercial-Share Alike 4.0 International
Recent changes RSS feed Driven by DokuWiki