Commit Graph

1640 Commits

Author SHA1 Message Date
Aaron Culliney
f038ef0346 Unify and brace thread creation with TEMP_FAILURE_RETRY() 2019-02-24 09:24:12 -08:00
Aaron Culliney
d90e12b5dc Rename touch joystick variants for code clarity 2019-02-17 08:12:23 -08:00
Aaron Culliney
c22ad4c1e9 Remove ancient text files 2018-12-08 07:57:09 -08:00
Aaron Culliney
1bf328795a Silence some Android build warnings 2018-12-02 09:10:11 -08:00
Aaron Culliney
aa74763d28 Bump Android version to 2.0.1 2018-11-25 19:01:45 -08:00
Aaron Culliney
36c83c62e3 Make sure data_dir and logging are initialized for all platforms 2018-11-25 18:57:26 -08:00
Aaron Culliney
27a848f61b Android 2.0.0 RC2 2018-11-25 16:26:58 -08:00
Aaron Culliney
253a99ead2 Ensure tests pass again 2018-11-25 16:19:56 -08:00
Aaron Culliney
b08c5d9289 Silence a firing assert for now 2018-11-25 15:32:24 -08:00
Aaron Culliney
5230afa788 Useability tweak for Millenials and kids ... disk images should be "inserted" read/write by default ;) 2018-11-25 14:45:39 -08:00
Aaron Culliney
1d2f521e0b Fix graphics tearing and stuttering for disk images that sync to video scanner
- Use a second framebuffer to avoid tearing
    - Occasionally stall graphics thread for ~4ms until CPU thread (video scanner) completes drawing a frame
    - These fixes seem to essentially fix graphics issues with Dagen Brock's Flappie Bird (flapple140.po.gz disk image)
2018-11-24 15:16:38 -08:00
Aaron Culliney
db4a71ca6f Enable Chromium systrace for all platforms 2018-11-24 15:15:34 -08:00
Aaron Culliney
27c45834d2 Rename systrace sources 2018-11-23 07:40:37 -08:00
Aaron Culliney
1e2449cfdf Misc Droid updates 2018-11-22 12:08:58 -08:00
Aaron Culliney
3317a23563 Correctly set video preferences 2018-11-22 10:36:28 -08:00
Aaron Culliney
346d7128d8 Fix some issues around disk loading preferences on macOS 2018-11-22 10:14:46 -08:00
Aaron Culliney
0478afe60e Pervasively use full range of signed 16bit samples for speaker 2018-11-22 10:10:24 -08:00
Aaron Culliney
d8e6f54c6b Update README.md 2018-11-21 13:02:21 -08:00
Aaron Culliney
e31a50a7fd Fix a few visual glitches in a hackish way because Android APIs are so damn atrocious 2018-11-20 13:20:06 -08:00
Aaron Culliney
e9ad630996 Android 2.0.0 RC1
- Completely new video scanner
    - NTSC video modes
    - Fast disk loading
2018-11-20 12:36:12 -08:00
Aaron Culliney
d3432fb3d8 Show release notes on first launch/upgrade
- Include a menu item to re-show the release notes
    - Upgrade migration sets new Color TV video mode
2018-11-20 12:34:34 -08:00
Aaron Culliney
3a35404fa3 Enable semi-hackish codepath to reduce audio glitching on fast loading 2018-11-20 12:08:37 -08:00
Aaron Culliney
ab0c796249 Do not go to max speed if no disk image "inserted" 2018-11-20 11:32:28 -08:00
Aaron Culliney
1d089af199 Default enable half scanlines because ... nostalgia :) 2018-11-20 11:31:43 -08:00
Aaron Culliney
6a519b7b5f Tests appear to be working on Droid 2018-11-20 11:30:18 -08:00
Aaron Culliney
8a347630b3 Changes insisted upon by Android Studio 2018-11-18 14:30:17 -08:00
Aaron Culliney
d890cddfa1 Better commentary for new settings 2018-11-18 14:28:54 -08:00
Aaron Culliney
6f03b89283 Misc macOS tweaks 2018-11-18 14:27:17 -08:00
Aaron Culliney
fdc5bd33f0 Fix occasional scanner glitching 2018-11-18 14:24:31 -08:00
Aaron Culliney
aef25292b7 Fix occasional scanner glitching 2018-11-18 13:08:22 -08:00
Aaron Culliney
8b19ba762f Render up to 7 extra scanlines to redraw entire text row when video frame is dirty
- Appears to fix occasional underdraw of bottom row cursor when in 80 column text mode
2018-11-18 12:05:49 -08:00
Aaron Culliney
184884635b Fix compiler warnings in Droid build 2018-11-17 15:57:27 -08:00
Aaron Culliney
92369c3fdb Fix some compiler warnings and tests pass on desktop Linux 2018-11-17 15:52:51 -08:00
Aaron Culliney
0625084602 Avoid deadlock in log rotation 2018-11-17 15:52:14 -08:00
Aaron Culliney
05633d4b0e Unbreak Desktop Linux build 2018-11-17 13:35:35 -08:00
Aaron Culliney
55418504f4 Fix testing after recent video scanner upheaval 2018-11-17 12:39:43 -08:00
Aaron Culliney
8e3c07ed57 Fix some broken preference handling 2018-11-17 11:14:11 -08:00
Aaron Culliney
05d3d884b9 Fix testdisplay after video scanner upheaval 2018-11-17 10:39:28 -08:00
Aaron Culliney
fb44420713 Testing is beginning to work again after upheaval
- testcpu, testvm, testdisk all look good
    - TODO : testdisplay, etc ...
2018-11-11 19:43:49 -08:00
Aaron Culliney
0ddd9ffd91 Use CONFORMANT_TRACKS for macOS build and re-arrange preprocessor macros 2018-11-11 13:18:52 -08:00
Aaron Culliney
80f741f225 Ensure correct pixel adjustment to framebuffer (over)-draw
- Ensures correct starting position for all modes
    - Renders the last 4 samples into the right side overdraw of framebuffer for NTSC modes
2018-11-11 12:17:23 -08:00
Aaron Culliney
aabc29e924 Refresh video after CPU pause
- Fixes rendering if new video mode selected
2018-11-11 12:10:33 -08:00
Aaron Culliney
32d5d2ee1c Avoid a memcpy in graphics pipeline 2018-11-11 08:22:49 -08:00
Aaron Culliney
f235dd6d7c Introduce some one-off memory fixes for poorly-written kracks 2018-11-11 08:22:04 -08:00
Aaron Culliney
ae5a2c4d61 Allow selection of disk images with wrong case extension 2018-11-11 07:30:35 -08:00
Aaron Culliney
dfbc97d7a5 Screen holes should not trigger graphics updates 2018-11-11 07:23:47 -08:00
Aaron Culliney
2928556be8 Optimize video scanner+generator when nothing has been drawn
- Video updates trigger one full frame + one (sub-)scanline re-generate
    - Otherwise video_scannerUpdate() doesn't do much work
2018-11-10 16:49:55 -08:00
Aaron Culliney
fa2f8569f8 Brighter half-scanlines and commentary 2018-11-10 10:28:53 -08:00
Aaron Culliney
a0f2819a4e Misc display fixes 2018-11-10 10:27:05 -08:00
Aaron Culliney
ed37c18ec5 Eliminate branch conditionals in scanner address calculation 2018-11-10 10:26:11 -08:00