Aaron Culliney
ee83ecb52c
Enable CPU speed animation
2015-11-14 10:41:53 -08:00
Aaron Culliney
29fd1f5025
Bugfix : avoid massively overflowing heap memory
2015-11-14 09:56:11 -08:00
Aaron Culliney
33160be9ac
Disambiguate texture name from texture() function in basic fragment shader
2015-11-14 08:09:10 -08:00
Aaron Culliney
0aacdfa9e5
Various fixes from Apple Clang static analyzer
2015-11-14 08:03:44 -08:00
Aaron Culliney
a61fd339a6
Various fixes to get Mac build compiling
2015-11-14 08:01:20 -08:00
Aaron Culliney
dc1845afe9
Add correct files to Mac project
2015-11-13 23:09:24 -08:00
Aaron Culliney
a41dc46eee
Fix broken menus on x86 Android
...
- Make it explicit that we are dealing with uint8_t values and not ambiguous signed int values
2015-11-10 22:22:31 -08:00
Aaron Culliney
ad5a6e8061
Get NDK debugging working from script: './apple2ix debug'
2015-11-10 22:08:32 -08:00
Aaron Culliney
e4c669f016
x86 builds and basically works on Android x86 devices
2015-11-09 22:45:52 -08:00
Aaron Culliney
3bdbe50f0f
Bump Android version to 1.0.4
2015-11-08 22:03:22 -08:00
Aaron Culliney
0cefd912b5
Build against API 23 now that text relocs appear to be solved
2015-11-08 21:13:13 -08:00
Aaron Culliney
456f9a14e4
Build PIC without relocations in TEXT section
2015-11-08 21:11:03 -08:00
Aaron Culliney
f06257b2c5
Add ARM assembly PIC without TEXTREL
...
- Adds codepaths that allow for Position Independent Code (PIC) that also avoids having TEXT relocations (TEXTREL)
that the dynamic linker needs to patch up
2015-11-08 14:42:03 -08:00
Aaron Culliney
7a8c4dda63
Update generated file
2015-11-07 10:44:08 -08:00
Aaron Culliney
63b6e0a29a
Fix my blended rendering on Tegra 2 (and arguably globally)
2015-11-07 10:36:20 -08:00
Aaron Culliney
f423c2dbe6
Work around broken Tegra 2 GPU
2015-11-06 22:18:16 -08:00
Aaron Culliney
dd7727f757
Simplify fragment shader and remove dead macro
2015-11-06 21:20:33 -08:00
Aaron Culliney
e9bae19e9e
Bump Android version to 1.0.3
2015-11-04 21:15:12 -08:00
Aaron Culliney
bc96417091
DO NOT use API 23 yet ... we need to fix text relocations first!
...
- This prevents crashing on Marshmallow (for the time being)
2015-11-04 20:03:28 -08:00
Aaron Culliney
fb4d6f466b
Splash screen is not dismissable during first time initialization or crash reporting
2015-11-03 22:47:35 -08:00
Aaron Culliney
a6ac111707
lightly refactor two-phase first-time launch
2015-11-03 22:42:24 -08:00
Aaron Culliney
d0319bd2ff
Splash screen may be dismissable (or not)
2015-11-03 22:41:50 -08:00
Aaron Culliney
9b56050c1e
All the Broken Adrenos!
2015-11-02 20:46:16 -08:00
Aaron Culliney
871762975a
Bump Android version to 1.0.2
2015-11-01 22:03:39 -08:00
Aaron Culliney
ce974177b2
Correct link
2015-11-01 21:00:05 -08:00
Aaron Culliney
b524b5a068
Point to curated public domain images repo
2015-11-01 20:48:46 -08:00
Aaron Culliney
646d64cd92
Don't forget to clean up crash spam ;-)
2015-11-01 19:33:39 -08:00
Aaron Culliney
6de1cae478
Move nativeOnCreate back to proper position as first native call
...
- This runs discovery of CPU family
- This sets up native crash handling
2015-11-01 19:26:34 -08:00
Aaron Culliney
4999471ade
Work around black screen if someone went to joystick calibration from splash screen
2015-11-01 14:19:40 -08:00
Aaron Culliney
933e99c927
Bugfix Gingerbread GLSurfaceView lifecycle
2015-11-01 14:17:10 -08:00
Aaron Culliney
9a2044f75e
Apparently not possible to query this early on Gingerbread devices
2015-11-01 13:43:09 -08:00
Aaron Culliney
3d634004cf
Avoid reinitializing preferences every resume of GLView
2015-11-01 13:42:05 -08:00
Aaron Culliney
bf54615198
Refactor menu ownership and dismissal
...
- Fix incorrect iteration in dismissAll() that could lead to restarting CPU too early
- Semi-lazy-loaded Apple2MainMenu (which depends on GLSurfaceView/Apple2View as main content) no longer owns
Apple2SettingsMenu and Apple2DisksMenu
2015-11-01 12:44:31 -08:00
Aaron Culliney
521d1daccf
Refactor app startup
...
- Make sure crash checking is performed as early as possible
- Minimize calling complex native functions until after splash screen is dimissed
- Do not attempt to setup/resume OpenGL until after splash screen is dimissed
2015-11-01 10:14:40 -08:00
Aaron Culliney
cbe8a734d0
Move CPU feature discovery into CTOR
2015-10-31 23:00:45 -07:00
Aaron Culliney
6c959a030c
Remove unused public methods
2015-10-31 14:03:53 -07:00
Aaron Culliney
acdc8da64f
Refactor pause/resume functions to be strictly CPU thread pause/resume
2015-10-31 14:01:47 -07:00
Aaron Culliney
e52f753bf3
Remove commented code
2015-10-31 10:35:24 -07:00
Aaron Culliney
d4adabda93
SNEAKY BUGFIX race condition between UI thread and CPU thread on disk insertion
...
- Previously we would start the CPU thread and then insert, which has been a long standing race condition, but
possibly better exposed since the recent disk.c rephactor to use mmap I/O
- This directly manifested on a Kindle Fire 1st Gen as a crash, and, anecdotally on other devices as a "stalled"
disk read requiring a reboot of the virtual machine. Yay for crappy devices helping to expose crappy code! (git
blame me). =P
2015-10-30 23:19:33 -07:00
Aaron Culliney
20f79dc5eb
Avoid buffer overflow
...
- Appears to fix a crash on Kindle Fire 1st Gen
2015-10-30 23:14:20 -07:00
Aaron Culliney
84fe0dd479
Fix crash on Nexus 10 device due to regfree()ing something not regcomp()ed
2015-10-30 23:12:12 -07:00
Aaron Culliney
5c4ab06612
Hopefully improve crash reporting on older devices by sending a crash summary (possibly in addition to the attachment)
2015-10-30 00:13:14 -07:00
Aaron Culliney
dcd77a4650
Allow and gracefully handle case when external files directory is null
2015-10-28 23:52:54 -07:00
Aaron Culliney
916a54fb4b
Update README.md
2015-10-28 00:04:03 -07:00
Aaron Culliney
616428a03f
Slightly improved DHIRES colors
2015-10-26 23:11:29 -07:00
Aaron Culliney
38dce3e212
Check if parent view exists as proxy for isShowing
2015-10-25 22:03:44 -07:00
Aaron Culliney
844d8b815b
Losing trust with implementation(s) of Apple2MenuView.isShowing()
...
- This changes the behavior to rely on non-null status as proxy for showing
- TODO : investigate why isShowing() appears to be a race/bogus
2015-10-25 21:00:16 -07:00
Aaron Culliney
997461318f
Bump Android version code
2015-10-25 20:56:51 -07:00
Aaron Culliney
aae70eb59b
Bump Android version to 1.0.0
2015-10-25 14:16:46 -07:00
Aaron Culliney
e5f08849ae
revert back to sync byte and state reason
2015-10-25 13:51:54 -07:00