Commit Graph

151 Commits

Author SHA1 Message Date
Aaron Culliney
1c982adb04 New keyboard help topics and updates 2014-12-11 11:20:58 -08:00
Aaron Culliney
3b07bfffed Disk image template file for distributing Apple2Mac
- bunzip2 -c > Apple2Mac.dmg && mount it...
    - remove the placeholder Apple2Mac.app file, replace with real Apple2Mac.app
    - ship it!
2014-12-09 21:58:41 -08:00
Aaron Culliney
720b68e23f Don't allow joy_step values < 1 2014-12-07 14:24:09 -08:00
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
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
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
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
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
06a4bd3961 First cut at Mac help docs 2014-11-02 10:24:21 -10:00
Aaron Culliney
94822df9a7 Misc tweaks for Mac version
* Accessing disks and prefs windows forces app into "almost-fullscreen"
    * Added emulator icons
    * Mac version is 0.9
    * About text updated
2014-10-26 13:55:29 -07:00
Aaron Culliney
3297f671b3 Robustify disk interface
* Don't keep extra non-GUI state
    * Better ability to (un)select startup disks
    * Don't error when selecting inflated disk already in drive
    * Adds an OK button to dismiss disks window
2014-10-25 16:26:49 -07:00
Aaron Culliney
ec0af686b2 Mac can toggle emulation pause state 2014-10-25 13:51:32 -07:00
Aaron Culliney
cfc779a86f A Mac preferences window and settings 2014-10-19 12:56:30 -07:00
Aaron Culliney
21660fdcb9 Misc tweaks
* intercept application terminate and eject disks
    * closing last window terminates app
    * send scancodes for control keys
2014-10-18 12:50:46 -07:00
Aaron Culliney
2f884cf129 Refactor disk interface into separate controller class 2014-10-18 12:02:02 -07:00
Aaron Culliney
a632166767 Adds EmulatorWindow to pass keycodes when not fullscreen
* Also bumps XIB to Xcode 6
2014-10-14 19:06:04 -07:00
Aaron Culliney
abf5944064 Handle more keys 2014-10-13 19:45:17 -07:00
Aaron Culliney
a42a10eb86 Beginnings of key handling for Apple2Mac 2014-10-12 17:09:54 -07:00
Aaron Culliney
6c63c49d09 Improvements to Mac GUI
* Reboot... menu option
    * Disk image selection interface
    * Whitespace code changes
2014-10-12 16:43:51 -07:00
Aaron Culliney
442e4c99b2 Display tests on Mac and Mac tests cleanup 2014-10-12 12:42:29 -07:00
Aaron Culliney
e941d5b10f First cut at getting audio working on Mac 2014-10-12 12:14:13 -07:00
Aaron Culliney
a37ed6cd98 tests run again on Mac 2014-10-11 19:34:12 -07:00
Aaron Culliney
d6b8057c57 Beginning of VM Tests on Mac 2014-10-10 20:05:46 -07:00
Aaron Culliney
6eaf4e1871 Get CPU test running on Mac 2014-10-10 19:14:46 -07:00
Aaron Culliney
bad54cce05 Better name 2014-10-10 19:13:03 -07:00
Aaron Culliney
09eb430ac5 Gets Mac project building again 2014-10-07 22:11:27 -07:00
Aaron Culliney
e696f7882f Refactor for whitespace and clarity 2014-10-07 21:59:21 -07:00
Aaron Culliney
6858e51a75 Apple2Mac first cut and refactor common rendering code
* Based on NSOpenGLView and Apple's GLEssentials sample code
    * CVDisplayLink- or NSTimer-driven rendering
    * Works in window or fullscreen mode on Mac OSX Lion or later

TODO FIXME:
    * Breaks Linux/Posix build
    * Cocoa menu interfaces
    * Key/mouse/joystick/gamepad handling
2014-09-30 21:01:58 -07:00
Aaron Culliney
e527e40a6a Remove XCTest stuff and roll our own
* Eh, not sure what bennies going with XCTest offers, use our existing stuff
    * Also appears that XCTest does some real whacky dloading jazz that doesn't play well with our hand-rolled assembly
2014-06-25 22:55:58 -07:00
Aaron Culliney
576df53cb4 Rename CPU Test 2014-06-25 21:30:52 -07:00
Aaron Culliney
eb51f5e23f ROM shim for Xcode builds 2014-06-22 12:26:40 -07:00
Aaron Culliney
fd2f143c64 OS X Cocoa target "hello world" 2014-06-21 22:05:38 -07:00
Aaron Culliney
a69d8685eb Reset Darwin target(s)
* Unfortunately cocos2d doesn't support what I'd like to do with a Mac target at this point, maybe sometime...
2014-06-21 20:37:48 -07:00
Aaron Culliney
3a3219234f Get tests building on OS X 2014-06-21 15:43:24 -07:00
Aaron Culliney
02a4feba78 Build shim for glue.S and Mac project tweaks 2014-06-21 13:43:13 -07:00
Aaron Culliney
51e261fc9d Add font.c to reduce Xcode project build complexity
* font.c shouldn't change if font.txt isn't tweaked
    * easy to regenerate without needing Xcode
2014-06-21 12:17:59 -07:00
Aaron Culliney
ac55dee266 Adds unit test target to project, moves existing tests to that target 2014-06-21 12:14:15 -07:00
Aaron Culliney
b9cdf663a0 Shim clock_gettime 2014-06-21 10:02:26 -07:00
Aaron Culliney
686d4e9b63 Initial integration of emulator code
* No audio support
    * No video support
2014-06-21 09:36:49 -07:00
Aaron Culliney
7c44ff4191 Initial Cocos2d Mac project 2014-06-16 22:57:54 -07:00