Commit Graph

792 Commits

Author SHA1 Message Date
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
Aaron Culliney
3b832a1aba No really, post out-of-space stability testing of raw disk image bytes 2015-10-12 20:30:54 -07:00
Aaron Culliney
427a90d755 Post out-of-space stability testing of raw disk image bytes 2015-10-12 20:17:05 -07:00
Aaron Culliney
b8a3521ee5 Calculate disk reverse translate table once at CTOR time 2015-10-11 13:21:45 -07:00
Aaron Culliney
ddd479f271 BUGFIX : don't read past the track buffer
- Causes a disk image stability test to go green =)
2015-10-11 12:19:36 -07:00
Aaron Culliney
aa225d6e48 Add some new disk I/O tests for stability
- test that BLOADing a bunch of junk files results in expected data
    - test that disk image files themselves are unchanged after the battery of tests
2015-10-11 11:51:51 -07:00
Aaron Culliney
7c7a96af71 Refactor : rename to track_width for clarity 2015-10-10 22:38:57 -07:00
Aaron Culliney
51f5bc64ba Expose macro globally 2015-10-04 14:39:53 -07:00
Aaron Culliney
f4fa5670b4 Add function-call time tracing for Linux/Android 2015-10-04 14:22:26 -07:00
Aaron Culliney
b3ad0ae4ac Seems more symmetric =P 2015-10-04 14:14:04 -07:00