Commit Graph

439 Commits

Author SHA1 Message Date
Aaron Culliney
ac1931d2ba Clean up some unused outlets 2014-12-07 13:40:36 -08:00
Aaron Culliney
3a7eec8603 Updated Apple2Mac help documentation 2014-12-07 13:39:54 -08:00
Aaron Culliney
91b1cc58f9 Default to bundled images path 2014-12-06 17:19:47 -08:00
Aaron Culliney
d52075d5c1 Include DDHidLib framework in Apple2Mac.app 2014-12-06 16:53:35 -08:00
Aaron Culliney
81dc987869 Clean up packaging 2014-12-06 16:30:35 -08:00
Aaron Culliney
a24436e88f Gamepad clamp-beyond-radius implemented 2014-12-05 22:31:12 -08:00
Aaron Culliney
e61ff8e660 Adds a joystick calibration routine to preferences window
- TODO : use common code paths for key handling
2014-12-01 22:48:10 -08:00
Aaron Culliney
5c6c66f243 Joystick controller fixes
- only poll for joystick connectivity once per second
    - if keypad joystick enabled, pump the handler
2014-12-01 22:39:46 -08:00
Aaron Culliney
575bb2448b Pause emulation if prefs or disks window becomes key 2014-12-01 22:16:05 -08:00
Aaron Culliney
dd0085e3d7 key handling improvements
- keyboard joystick axes handled separately
    - discriminate more classic-interface-only codepaths
2014-12-01 22:00:45 -08:00
Aaron Culliney
a6935b18c8 EmulatorGLView posts an NSNotification rather than calls API method(s)
- Joystick connectivity polling is a consumer
2014-12-01 21:58:18 -08:00
Aaron Culliney
0f25f6d9d1 srandom/random for PRNG should be "good enough" 2014-11-29 14:23:27 -08:00
Aaron Culliney
c1bf118fa2 Startup disks should be gzipped 2014-11-29 13:36:56 -08:00
Aaron Culliney
9c320c4de6 Joystick fixes for Mac
- Prevent spurious NSExceptions from harshing our mellow
    - Allow joystick hot-plugging by polling connectivity during link/timer callback
2014-11-29 13:33:57 -08:00
Aaron Culliney
b6e329a3c6 Prevent segfault in glGetError() during app initialization 2014-11-29 13:31:21 -08:00
Aaron Culliney
4f0814ce42 Remove unstable __FILE__ output from vmtrace logging 2014-11-29 13:28:34 -08:00
Aaron Culliney
ad39463519 update vmtrace test 2014-11-29 10:04:21 -08:00
Aaron Culliney
6c1215dbb2 Tests build/run on Mac
- Fixes statistics printing
    - Some VM tests currently fail on Mac
2014-11-27 10:52:12 -08:00
Aaron Culliney
2aa2648d30 Fix for other VM/display tests 2014-11-25 22:01:46 -08:00
Aaron Culliney
bc643bfbdb joystick devices only supported under VIDEO_OPENGL 2014-11-25 21:59:05 -08:00
Aaron Culliney
e51a57b376 Fix PAGE2 display test 2014-11-25 21:57:57 -08:00
Aaron Culliney
050d1de389 HIRES PAGE2 test: shows moire on page2 2014-11-25 21:56:44 -08:00
Aaron Culliney
0ad98602fe Improved VM_TRACING syntax 2014-11-23 17:13:05 -08:00
Aaron Culliney
88b7db0387 unwedge test_PHP 2014-11-23 17:12:20 -08:00
Aaron Culliney
101e507add Adds a VM tracing facility and functionality test 2014-11-23 14:03:18 -08:00
Aaron Culliney
89fc5f6599 Display test improvements
* Removes hackish code in testdisplay.c in preparation for a bugfix
    * Adds function to output state of softswitches ... useful from GDB
2014-11-23 12:53:59 -08:00
Aaron Culliney
3536b6b65a Force a splash screen before allowing emulation to start 2014-11-22 14:28:38 -08:00
Aaron Culliney
c075460b76 Gets OpenGL output working with testing VM and display
* Refactors test routine to its own thread to not interfere with OpenGL on main thread
    * Misc TESTING/HEADLESS switch tweaks
2014-11-22 14:24:43 -08:00
Aaron Culliney
8416dd4d49 adds PRNG tests 2014-11-22 14:03:57 -08:00
Aaron Culliney
7ed5250392 new SHA1 to fix cputrace test 2014-11-21 22:27:10 -08:00
Aaron Culliney
4483105edb Don't reset joystick buttons on menu exit 2014-11-19 20:00:13 -08:00
Aaron Culliney
9f1c54e555 Expose c_read_random() 2014-11-19 19:59:39 -08:00
Aaron Culliney
3badb546d6 Annunciator is noop for the moment 2014-11-18 22:31:38 -08:00
Aaron Culliney
e6ca42be64 CPU fixes from tracing against AppleWin
- All regs are 0xFF on reboot
    - Stack pointer is 0xFC on reboot
    - Flags are set accordingly
    - Fix op_JMP_ind tracing display
2014-11-18 22:27:25 -08:00
Aaron Culliney
9bbe906f43 CPU_TRACING bugfix and more readable
- GetImm mode was not reporting correct arg
    - Converts it to a format easier to compare against similar CPU trace output from AppleWin
    - Sanity-check arg counts
2014-11-18 22:16:44 -08:00
Aaron Culliney
9b9ca39344 Improve disk tracing
- Disk trace is now ASCII output
    - Output track sector and file position data
    - Debugger command added
    - New preprocessor define
2014-11-17 20:52:29 -08:00
Aaron Culliney
95680c6a15 Handle joysticks/gamepads on Mac 2014-11-09 19:59:47 -08:00
Aaron Culliney
78cd319107 Merge commit '7d64531b89057a2beed03af65b8ed6d1e5a1ddce' as 'Apple2Mac/DDHidLib' 2014-11-09 17:08:23 -08:00
Aaron Culliney
7d64531b89 Squashed 'Apple2Mac/DDHidLib/' content from commit e6a9848
git-subtree-dir: Apple2Mac/DDHidLib
git-subtree-split: e6a9848859fc84e689afb85799658f4980651106
2014-11-09 17:08:23 -08:00
Aaron Culliney
e5e087c4e0 Refactor joystick handling
* Removes Linux-specific joystick handling
    * Adds cross-platform GLUT joystick handling; Caveats:
        - GLUT is not robust to joystick hot plugging like my old Linux-specific code was.  (Fix should be made in the
          GLUT driver and pushed upstream if we really care)
        - Deprecated X11 renderer now can only use keypad joystick
2014-11-09 15:48:05 -08:00
Aaron Culliney
2c12aa6112 Improve CPU_TRACING output 2014-11-09 13:06:25 -08:00
Aaron Culliney
30d7f88c21 Fix emulation problem manifesting as bug in cracked version of J---- 2014-11-08 00:21:52 -08:00
Aaron Culliney
2d6ca9ce89 don't busy-sleep when paused 2014-11-02 11:46:30 -10:00
Aaron Culliney
06a4bd3961 First cut at Mac help docs 2014-11-02 10:24:21 -10:00
Aaron Culliney
c1db658589 Balance EffectiveAddr_X ... CPU_TRACING test passes 2014-11-02 12:10:09 -08:00
Aaron Culliney
9144b48885 Enable abusive CPU_TRACING test 2014-11-02 12:09:30 -08:00
Aaron Culliney
c7c888d218 Refactor style/whitespace 2014-11-01 20:02:44 -07:00
Aaron Culliney
74943c71e5 Fix INITHELLO for dsk images
* This has apparently been broken since around the turn of the millenium from an ancient refactor.  Luckily I still
      have earlier pre-git code drops ;-)
2014-11-01 19:47:38 -07:00
Aaron Culliney
b3c1af9786 disk INITHELLO tests ... 2014-11-01 19:26:40 -07:00
Aaron Culliney
31b87f67e4 Refactor test_setup_boot_disk 2014-11-01 18:44:54 -07:00