Aaron Culliney
659a338d26
Avoid crashing if azimuth model is unavailable (shader failed to compile)
2016-01-05 23:19:12 -08:00
Aaron Culliney
4436b9b7ca
Fix semi-opaque glyph shading with scales > 2
...
- Also add defensive coding in debug builds
2016-01-05 23:04:27 -08:00
Aaron Culliney
3089b98a30
For now, enable logging in release builds on Android
2016-01-05 21:39:04 -08:00
Aaron Culliney
f7cb3da434
Mark certain core emulation modules as problematic on iOS/Mac, and something we should fix
2016-01-05 00:11:58 -08:00
Aaron Culliney
086f7d0da2
Do not free the model positions prematurely ... since we occasionally change them
2016-01-05 00:11:16 -08:00
jvernet
b6a9f667ef
Latest commit from mauiaaron need common.h in imagutil for FREE and MALLOC macros
2016-01-04 21:25:27 -08:00
jvernet
4d89d173f4
Here we are: now everything work for iPad.
2016-01-04 21:25:27 -08:00
jvernet
a3040dfb05
IOS stuff
2016-01-04 21:25:26 -08:00
jvernet
5d86735a69
Fixed Crash on reboot
...
It crash ? Killing // ;)
2016-01-04 21:25:25 -08:00
Aaron Culliney
97f52ef2ff
Get Android build unstuck
2016-01-04 20:34:27 -08:00
Aaron Culliney
5737e89150
Initial iOS target compiles, links, and appears to run in simulator and on device =)
2016-01-04 20:34:27 -08:00
Aaron Culliney
5a2529651c
Fix recent Android build break
2016-01-03 13:09:23 -08:00
Aaron Culliney
08a6d99334
Fix assert/crash on desktop Linux introduced by overzealous malloc fencing
2016-01-03 13:01:48 -08:00
Aaron Culliney
c2014e2cde
Add simple display of touch joystick azimuth
2016-01-03 12:36:13 -08:00
Aaron Culliney
29282dcac6
Expose identity matrix and only calculate it once
2016-01-03 12:02:06 -08:00
Aaron Culliney
9219fa7053
Creation of GLCustom model is slightly more RAII
2016-01-03 11:57:48 -08:00
Aaron Culliney
2ec88ad433
Iterate on GLTouchJoystick
...
- Use smaller models/textures
- Slightly change the joystick/kpad glyphs
2016-01-02 15:08:06 -08:00
Aaron Culliney
691dbd5ac2
Coalesce duplicate fade-out codepaths
2016-01-02 14:23:09 -08:00
Aaron Culliney
8b3f288018
Reduce duplicate OpenGL plumbing codepaths
...
- Apple //e "framebuffer" OpenGL model/texture is now a complete GLModel object
- Readability FTW! ... use args struct in quadCreation function to allow for named args
2016-01-02 13:39:07 -08:00
Aaron Culliney
7ca679350d
Move shader/program creation into video_util module
2016-01-02 11:33:47 -08:00
Aaron Culliney
b59672815f
Allow setting keyboard and HUD menu glyph scale
2016-01-02 00:14:21 -08:00
Aaron Culliney
904d89aff8
Get touch menu min/max alpha matching touch keyboard
2016-01-01 21:38:35 -08:00
Aaron Culliney
f5bbda4c6e
Refactor HUD model to allow scaling font glyphs
...
- Should be less pixelation of touch keyboard on large tablet screens
2016-01-01 15:02:29 -08:00
Aaron Culliney
a54a69efcc
Call "super init" during HUD model creation
2015-12-31 22:54:34 -08:00
Aaron Culliney
abae59767c
Enable simple heap memory fencing/scribbling in debug builds
2015-12-31 22:50:43 -08:00
Aaron Culliney
9fd288c0b9
Remove aggressive assert that fired on Cyanogen device (even with a valid CPU pause/resume lifecycle) ...
2015-12-20 15:04:20 -08:00
Aaron Culliney
d69b416c58
Lightly refactor emulator joystick API in preparation for more comprehensive refactor
2015-12-19 13:01:28 -08:00
Aaron Culliney
c7c209907b
Allow for keyboard to completely own/cover screen
...
- Includes updated alternate/custom keyboards
2015-12-19 12:56:24 -08:00
Aaron Culliney
5bd7ff2fe1
Simplify switching to "useralt" touch keyboard
2015-12-16 22:15:19 -08:00
Aaron Culliney
69b096ec14
Avoid showing redundant 0 nibble
2015-12-16 21:33:25 -08:00
Aaron Culliney
f872e0c05c
fix i386 variant of op_SBC_dec (now re-passes tests on x86 Android)
2015-12-16 21:12:45 -08:00
Aaron Culliney
5211722d63
Switch to using DSK to speed up tests on Android
2015-12-16 21:11:52 -08:00
Aaron Culliney
785577e252
Fix some compiler warnings in testdisk.c
2015-12-16 21:11:35 -08:00
Aaron Culliney
3a20c96296
Check more paths in attempt to satisfy test suite disk insertion
...
- This is mainly to accommodate disk locations on Android
2015-12-16 21:01:50 -08:00
Aaron Culliney
9e5274ee18
Flip-flop test to correctly account for e5f08849
2015-12-16 20:56:20 -08:00
Aaron Culliney
26e452c3a3
Avoid bufover in testsuite -- sprintf() already writes terminating null byte!
2015-12-16 20:53:16 -08:00
Aaron Culliney
2dbd77e344
Excise uthash.h from testcpu suite
...
- Works around issue where Android NDK GCC 4.8/4.9 would take an inordinate amount of time when compiling testcpu with -O2
2015-12-14 23:56:48 -08:00
Aaron Culliney
699746a743
Alleviate compiler warnings in testvm/testdisplay
2015-12-14 23:55:08 -08:00
Aaron Culliney
74e97ccc97
Alleviate compiler warnings in testcpu
2015-12-14 22:11:29 -08:00
Aaron Culliney
1f0021667b
Fix display test failures
...
- New framebuffer SHAs result of recent improvements to DHIRES colors
2015-12-14 18:59:44 -08:00
Aaron Culliney
341885e233
Undo selected character highlight when keyboard fades out
2015-12-13 13:38:03 -08:00
Aaron Culliney
87761df512
Avoid using magic row/column numbers when redrawing adjacent characters
2015-12-13 13:24:25 -08:00
Aaron Culliney
22914de79c
Enable setting to show/hide disk read/write HUD messages
2015-12-12 12:01:41 -08:00
Aaron Culliney
edf42b81f9
Improve disk quick save/restore
...
- Flush disk I/O on save
- Ignore ephemeral track_valid/track_dirty bits
- Insure disks are ejected if there was a problem loading state
2015-12-12 00:21:27 -08:00
Aaron Culliney
0aed046b5e
Simplify modulo offset calculations in trackimage
2015-12-12 00:17:58 -08:00
Aaron Culliney
ef1963a175
Avoid potential read off end of trackimage
2015-12-12 00:16:14 -08:00
Aaron Culliney
0f98a34e06
Refactor naming of user-chosen alternate keyboard
2015-12-09 22:11:44 -08:00
Aaron Culliney
1147ce7cd7
Avoid crash potential by doing less during resource acquisition
...
- (This also would have fixed ctrlPressed background bug -- previous 02147f3d
commit)
2015-12-09 21:56:28 -08:00
Aaron Culliney
02147f3d9a
Refactor and avoid NULL deref edge-case
...
- Bug was triggered if ctrlPressed was true when going to background. Foregrounding would reset/NULLify the
GLModel, but attempt to render the ctrl key highlighted before the new GLModel was fully created.
2015-12-09 21:25:09 -08:00
Aaron Culliney
943b8842f7
Show disk track sector change animations
2015-12-07 23:03:44 -08:00
Aaron Culliney
05698c6a5e
Avoid another audio buffer overflow manifesting on Kindle
2015-11-29 22:14:55 -08:00
Aaron Culliney
5a9770829e
Fix commentary and ignore expected_bytes if set to zero
2015-11-29 13:31:17 -08:00
Aaron Culliney
ff204a4300
Slight refactor to move common ".gz" extension handling code to interface module
2015-11-29 13:23:13 -08:00
Aaron Culliney
b9d6d38b17
First cut at save/restore emulator state feature
...
- This adds to overall UX ... (you can finally finish some very difficult arcade games by strategically leveraging
this feature)
- Currently enabled for Android, but not Android-specific
2015-11-22 18:22:01 -10:00
Aaron Culliney
46c286719f
Fix Android build after Mac iteration
2015-11-14 11:09:33 -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
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
e4c669f016
x86 builds and basically works on Android x86 devices
2015-11-09 22:45:52 -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
9b56050c1e
All the Broken Adrenos!
2015-11-02 20:46:16 -08: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
616428a03f
Slightly improved DHIRES colors
2015-10-26 23:11:29 -07:00
Aaron Culliney
e5f08849ae
revert back to sync byte and state reason
2015-10-25 13:51:54 -07:00
Aaron Culliney
aa9a89a3e4
Flag an assert that needs to be rethought
2015-10-24 14:29:52 -07:00
Aaron Culliney
2cc23cf35d
Upgrade to GPLv3 "or later" and update copyrights
2015-10-22 21:09:13 -07:00
Aaron Culliney
01dfff2b1b
Fix a build break on desktop Linux
2015-10-22 20:44:47 -07:00
Aaron Culliney
4ae7e3e735
Silence potentially abusive logging in disk VM callbacks
2015-10-20 20:57:52 -07:00
Aaron Culliney
4742d4e03e
Misc moar logging
2015-10-20 20:51:21 -07:00
Aaron Culliney
df38695779
HACKish commit to ignore SIGABRTs
...
- FIXME TODO ... investigate why these are triggering occasionally on Droid builds
2015-10-20 20:47:08 -07:00
Aaron Culliney
d23a435b56
Use mmap for disk I/O
2015-10-18 16:27:07 -07:00
Aaron Culliney
d46a62a4dd
Refactor to load whole disk image into memory
2015-10-18 15:24:34 -07:00
Aaron Culliney
b496d771f6
Moar data for disk write tracing
2015-10-18 12:44:24 -07:00
Aaron Culliney
41ae0266e2
Bugfix : flush disk buffer data on initialize
...
- Fixes disk image corruption issue that was manifesting in testing
- Out-of-space test(s) now results in a disk image with a correct length byte of 0x20 for the final "JUNK7" file in
the disk image's VTOC
2015-10-18 12:11:09 -07:00
Aaron Culliney
7a2f919175
Refactor load/save track data API
2015-10-17 14:28:08 -07:00
Aaron Culliney
39c09a042f
Do not return sync bytes if no image inserted
...
- This really should be backed by more testing or research =P
2015-10-17 13:23:49 -07:00
Aaron Culliney
053a4c8c93
Safety : flush/close file before calling zlib_deflate on it
2015-10-17 12:02:21 -07:00
Aaron Culliney
1d5c20cc5f
Remove deadc0de
2015-10-17 11:40:56 -07:00
Aaron Culliney
c6244f696f
tweak temp error handling
2015-10-17 10:58:51 -07:00
Aaron Culliney
3ab75c6214
Refactor : improved error handling of track write
2015-10-17 10:58:29 -07:00
Aaron Culliney
989a5ce7c1
Refactor : improved error handling of track read
2015-10-17 10:51:37 -07:00
Aaron Culliney
8261590899
Refactor : improved error handling in disk6_insert
2015-10-16 22:49:59 -07:00
Aaron Culliney
984e15dc04
Get rid of sector deadc0de
...
- unnecessary with the skew_table
2015-10-16 22:15:58 -07:00
Aaron Culliney
0f9cd3a265
Refactor disk file_name to a char*
2015-10-16 21:47:56 -07:00
Aaron Culliney
10bb19ecc5
Minor refactor internal API
2015-10-16 20:34:15 -07:00
Aaron Culliney
4e478d369c
Refactor disk interface API function names
2015-10-15 22:51:44 -07:00
Aaron Culliney
52d74aa43c
Improved disk prefix utility functions
2015-10-15 21:02:52 -07:00
Aaron Culliney
57b7d930d6
User lower-level I/O with temp failure retries
2015-10-15 20:59:31 -07:00
Aaron Culliney
9eee9293bc
Some defensive coding and moar flushing
2015-10-15 20:44:40 -07:00
Aaron Culliney
ce7596754b
Refactor various codepaths for clarity #3
2015-10-13 20:52:10 -07:00
Aaron Culliney
a5854a20f6
Refactor various codepaths for clarity #2
2015-10-12 23:11:23 -07:00
Aaron Culliney
7a0255ff8b
Refactor various codepaths for clarity
2015-10-12 22:30:21 -07:00
Aaron Culliney
6d60116c92
BUGFIX : nasty classic assign versus equality check
...
- I blame myself, but WTF did I not previously see a warning from GCC or Clang with -Wall ?!
- Hooray for pedantic testing!
2015-10-12 21:29:54 -07:00