Aaron Culliney
2878c5adde
Partial Revert "Fastpath no-logging, don't do normal logging in release but provide a means to RELEASE_LOG()"
...
- Logging to file may still be useful in release, and we already don't do logging to logcat/stdout
- TODO: verify no hotpath logging in release ...
2019-06-02 13:12:10 -07:00
Aaron Culliney
788c6cb172
Refactor touch joystick variants
...
- Use end-of-video-frame callbacks for more conformant delay timing
- Allow full octant for button side in touch keypad joystick
- Improved response upon unambiguous touch event (e.g., octant change) to immediately press key
2019-06-02 13:08:16 -07:00
Aaron Culliney
44e7bda8ac
Kill some build warnings
2019-06-01 17:47:35 -07:00
Aaron Culliney
20852bf737
Lite refactor keys API
2019-06-01 07:27:54 -07:00
Aaron Culliney
1a32756bd4
Fastpath no-logging, don't do normal logging in release but provide a means to RELEASE_LOG()
2019-06-01 07:24:30 -07:00
Aaron Culliney
5a8aa065a9
Refactor/simplify spinlocking
2019-06-01 07:13:59 -07:00
Aaron Culliney
ef3944a4dd
Provide callback API for end-of-video-frame
2019-06-01 07:01:42 -07:00
Aaron Culliney
9e8a5e2134
Rename some debugger functions and mark as TESTING
2019-03-24 15:50:16 -07:00
Aaron Culliney
1c61071a11
Lite refactor debugger interface
2019-03-24 15:19:58 -07:00
Aaron Culliney
9b110224a0
Lite refactor/rename keys internal API
2019-03-10 12:17:06 -07:00
Aaron Culliney
faf7d707ed
Unbreak INTERFACE_CLASSIC rendering
2019-03-09 06:56:49 -08:00
Aaron Culliney
5bd8e25739
Improved two-thumb support for touch keyboard
2019-03-02 17:23:50 -08:00
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
1bf328795a
Silence some Android build warnings
2018-12-02 09:10:11 -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
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
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
0478afe60e
Pervasively use full range of signed 16bit samples for speaker
2018-11-22 10:10:24 -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
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
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
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
Aaron Culliney
18d831b04c
Fast disk loading is enabled from a pref
2018-11-07 06:49:16 -08:00
Aaron Culliney
227098ec52
Refactor video/display rendering
...
- Import NTSC video display modes
- Migrate to using full-color framebuffers
- Mac and Android builds somewhat working
- TODO : likely breaks display testing
2018-11-04 14:07:30 -08:00
Aaron Culliney
8757cb2a06
Name some new prefs
2018-11-04 14:06:59 -08:00
Aaron Culliney
2a7e375f26
Minor refactor joystick prefs
2018-11-04 14:06:38 -08:00