Commit Graph

110 Commits

Author SHA1 Message Date
asc
3abd2e87aa Refactor to use GNU build tools
* Added configure.ac and non-recursive Makefile.am
    * Modularized source into subdirectories
    * Simplified header inclusion
2014-01-22 20:51:50 -08:00
Aaron Culliney
12f6c9704e Support for dynamically changing window size
* Beginning of support for fullscreen mode
    * Fullscreen depends on "fuzzing" the graphics
2014-01-04 14:24:55 -08:00
Aaron Culliney
b5023f88f4 Interface tweaks 2014-01-01 11:36:27 -08:00
Aaron Culliney
58041f5105 Set/synchronize CAPSLOCK from X11 2014-01-01 11:15:54 -08:00
Aaron Culliney
8414a37025 Allow regular arrow keys to move joystick axes
* Useability enhancement for PCs without a keypad or physical joystick/gamepad ;)
    * There will be contention in programs that utilize both the joystick and arrow keys for
      different things, yet I don't know of any examples of this...
2014-01-01 10:55:57 -08:00
Aaron Culliney
4ada3d7319 More sanity with scancodes and keycodes
* Use defines instead of magic numbers in a bunch of places
    * Remove deprecated ii_keymaps and only use iie_keymaps
    * Allow keypad corners for emulated joystick
2013-12-29 18:07:24 -08:00
Aaron Culliney
d2215b0f0b Better calibration extremes 2013-12-29 11:40:19 -08:00
Aaron Culliney
e104ad9cb3 Some timing debugging tweaks 2013-12-29 11:39:34 -08:00
Aaron Culliney
b50d2c89cf Fix potential NULL-dereference 2013-12-29 11:37:05 -08:00
Aaron Culliney
5d405be27a Assure following _ASSERT doesn't fire 2013-12-29 10:59:20 -08:00
Aaron Culliney
760a409762 Remove apparently unused/unneeded js_timelimit 2013-12-29 10:58:43 -08:00
Aaron Culliney
70cded47f8 new screenshot 2013-12-29 10:51:29 -08:00
Aaron Culliney
ffd78508ba Better support for keypad emulated joystick
* Allow for automatic recentering of keypad emulated joystick
    * Force X11 to give us a detectable auto-repeat
2013-12-28 21:48:42 -08:00
Aaron Culliney
f8d338b382 Automatically save preference on quit 2013-12-28 14:28:04 -08:00
Aaron Culliney
bca9f24ebe Update preferences for joystick modes
* Preferences file changes to support a fixed joystick
    * Simplify the interface -- remove explicitly setting joy_step
2013-12-28 13:54:26 -08:00
Aaron Culliney
b9815968a1 Various fixes for input handling
* Merges input handling into one routine called thru video_sync at refresh rate
    * Adds keypad joystick calibration routine
    * Simplify joystick calibration routines to use same codepath as main emulator joystick handling
2013-12-28 13:08:35 -08:00
Aaron Culliney
ca5f76fc1a Use GZIP routines for simplicity and compat 2013-12-22 12:37:01 -08:00
Aaron Culliney
ef59e1ae9a Better PC Joystick calibration routine
* Cleaned up the parameters page
    * Tweaked main/credits page
2013-12-21 23:56:21 -08:00
Aaron Culliney
34a5fea9a7 Remove unneeded joystick parameters & preferences 2013-12-21 15:25:02 -08:00
Aaron Culliney
d0ea2d654e Fix the game controller routines to use proper timers
* Add proper timers according to spec mentioned in _Understanding the Apple IIe_
    * This will allow us to refactor/eliminate all the hackish joystick adjustment routines
2013-12-21 13:55:40 -08:00
Aaron Culliney
e0bd3e4017 this assert appears problematic 2013-12-18 20:57:49 -08:00
Aaron Culliney
bf92ad6050 minor logging/comment tweaks 2013-12-18 20:57:13 -08:00
Aaron Culliney
9900a3f283 New splash/credits screen 2013-12-15 14:59:18 -08:00
Aaron Culliney
b3280f8382 Show screenshots 2013-12-14 11:15:27 -08:00
Aaron Culliney
efbaae47a4 Screenshots 2013-12-14 11:10:45 -08:00
Aaron Culliney
36317339c6 Updated README.md 2013-12-14 10:49:15 -08:00
Aaron Culliney
3340997798 WIP : fix joystick parameters 2013-12-08 16:57:02 -08:00
Aaron Culliney
71d5367875 Preferences changes
* Deprecate "lazy" color modes
    * Allow setting speaker sound volume
    * Make Joystick code more generic (future support of touch input)
    * Deprecate setting emulator mode (//e is ascendant)
2013-12-06 22:55:00 -08:00
Aaron Culliney
bd64a567b0 Output the correct error message 2013-12-06 12:15:03 -08:00
Aaron Culliney
32b807e742 Gracefully handle zlib errors 2013-12-01 12:36:43 -08:00
Aaron Culliney
717b501c5e separate actual inflate/deflate from wrappers 2013-12-01 12:22:55 -08:00
Aaron Culliney
cd2cb71280 Various interface/error handling improvements 2013-12-01 12:08:17 -08:00
Aaron Culliney
a259c34b5c Support .do disk image extensions 2013-12-01 11:14:19 -08:00
Aaron Culliney
f5c8df9a4a Use zlib instead of fork/exec gzip executable
* Now all disk images are saved gzipped
2013-12-01 10:57:58 -08:00
Aaron Culliney
e6ee8db900 Rename protected variable to is_protected 2013-12-01 10:44:32 -08:00
Aaron Culliney
cec59bda47 Removed some gotos and redundant code paths 2013-11-30 20:00:34 -08:00
Aaron Culliney
2ce40ddba9 Some interface/keys cleanup
* Condensed reboot code path into reset codepath
    * Reset sequence now checks for openapple or closedapple key and routes accordingly
    * Pause/Break key is now strictly emulation pause key
    * F4 is now unused
    * End key is now mapped as //e reset key (easier to hit, and less likely window manager is using it)
    * PrintScreen/SysReq key is now unused
2013-11-30 14:14:22 -08:00
Aaron Culliney
05e8e0f4a2 Interface screens are now 80 columns 2013-11-27 12:43:58 -08:00
Aaron Culliney
8959e00eed refactor else if 2013-11-26 14:41:43 -08:00
Aaron Culliney
9cd5fb1406 SSI263 voices/thread is not currently used
* prevent segfaults when emulated program attempts to play SSI263 phonemes
2013-11-26 12:56:53 -08:00
Aaron Culliney
e52b25f170 get joystick working again after a decade 2013-11-25 16:58:55 -08:00
Aaron Culliney
e94e9d6b10 Allow 2x window scale and beginnings of fullscreen 2013-11-24 18:24:00 -08:00
Aaron Culliney
64abddfe2f it's not a //e it's a //ix ! 2013-11-24 15:38:55 -08:00
Aaron Culliney
59f116258a refactoring else if 2013-11-24 15:38:31 -08:00
Aaron Culliney
02ce514399 Ctrl-Pause/Brk should send a reset sequence 2013-11-24 14:33:29 -08:00
Aaron Culliney
a102c82434 fix interface border graphics 2013-11-24 14:08:45 -08:00
Aaron Culliney
97282fa916 fix backspacing disk path in parameters interface 2013-11-24 12:19:54 -08:00
Aaron Culliney
4856a33b28 reset MB if machine is rebooting
* this fixes a bug whereby emulator won't reboot from an active session of using the Mockingboard
2013-11-23 16:00:07 -08:00
Aaron Culliney
32b4cd48c4 switch internal/peripheral rom on CXROM flag
* fixes a bug where op_BRK doesn't work when Mockingboard installed
    * this is still hackish and hardcoded ... ultimately we need an interface to add/remove virtual peripherals
2013-11-22 23:40:24 -08:00
Aaron Culliney
0cc0db17b2 change/move softswitch declarations 2013-11-22 23:37:26 -08:00