Aaron Culliney
397b43b3e7
Improve joystick button reset procedure
2019-11-10 16:10:08 -08:00
Aaron Culliney
5aa691815b
Support open/closed apple tap events from touch keyboard
2019-11-10 15:30:58 -08:00
Aaron Culliney
bf4f76a142
Use origin value for touch joysticks if pythagorean result is 0
2019-11-10 06:58:27 -08:00
Aaron Culliney
00984b7ab9
Compile on Android with more warnings
2019-10-27 13:10:29 -07:00
Aaron Culliney
f608de450e
Allow super twitchy touch joystick
2019-10-20 18:40:59 -07:00
Aaron Culliney
96e75f50ff
Avoid doing stderr logging, period
2019-06-28 21:10:07 -07:00
Aaron Culliney
fe714af37c
Kill some unnecessary uses of volatile
2019-06-28 18:30:45 -07:00
Aaron Culliney
45cc3332fb
Fixes for Linux build
2019-06-27 16:22:05 -07:00
Aaron Culliney
e643b1c855
Remove misguided justTapConfigured code path
2019-06-09 14:04:14 -07:00
Aaron Culliney
4515e5d7b7
Support touch joystick button fire when swiping left/right
2019-06-09 13:02:27 -07:00
Aaron Culliney
c98777c6ae
Correctly handle shifted keys in JSON touch keypad joystick and simplify associated JSON preferences
2019-06-09 10:53:31 -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
ef3944a4dd
Provide callback API for end-of-video-frame
2019-06-01 07:01:42 -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
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
1d089af199
Default enable half scanlines because ... nostalgia :)
2018-11-20 11:31:43 -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
05633d4b0e
Unbreak Desktop Linux build
2018-11-17 13:35:35 -08:00
Aaron Culliney
8e3c07ed57
Fix some broken preference handling
2018-11-17 11:14:11 -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
32d5d2ee1c
Avoid a memcpy in graphics pipeline
2018-11-11 08:22:49 -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
ed37c18ec5
Eliminate branch conditionals in scanner address calculation
2018-11-10 10:26:11 -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
0f3ba15e87
Fix build break on touch devices
2018-08-07 07:57:51 -07:00
Aaron Culliney
75edac3ace
First cut at implementing conformant video scanner
2018-07-29 18:33:17 -07:00
Aaron Culliney
eb13718c5e
Introduce CPU thread function annotation and enforcement
2018-04-22 08:43:16 -07:00
Aaron Culliney
dd42645c4c
Silence some Xcode compiler warnings
2018-01-22 07:33:06 -08:00
Aaron Culliney
e4e0c941d3
Refactor CPU assembly for simplicity and efficiency
...
- Variables needed in assembly now accessible in a struct pointer that avoids __PIC__ nastiness
- Reduces code size and execution time for CPU thread
2018-01-15 16:19:21 -08:00
Aaron Culliney
8b554083b4
Use "inverse" for keyboard selection color...
2017-11-26 16:20:05 -08:00
Aaron Culliney
cd6eb65fc5
Ensure color preferences set before any messaging on startup
2017-11-26 13:35:33 -08:00
Aaron Culliney
4bc61b6216
Allow access to system soft touch keyboard from top right menu
2017-11-26 13:35:04 -08:00
Aaron Culliney
7a99b72f20
Allow different colorschemes with HUD devices
2017-11-11 16:02:38 -08:00
Aaron Culliney
dc5e7eee25
Allow showing system soft touch keyboard
2017-11-11 11:59:20 -08:00
Aaron Culliney
53459c9e78
Clean up a number of Xcode build warnings
2017-09-28 16:27:12 -07:00
Aaron Culliney
b5b79faf1d
First cut at CLI ncurses video renderer
...
- Currently supports 40/80col TEXT modes
- TODO : graphics scaling
2017-09-09 18:06:43 -10:00
Aaron Culliney
8e6701bcbb
Allow CLI dynamic choice of A/V backends
2017-09-09 15:35:00 -10:00
Aaron Culliney
2d5c47d534
Autotools builds on Mac somewhat
2017-08-21 17:56:20 -10:00
Aaron Culliney
f8b4602fca
Beginning to refactor display and backend video
...
- Futher disentangle display, interface, and video backends
- Backend video owns the staging/intermediate framebuffer for now
- Add the beginnings of display update callbacks
2017-08-06 12:12:12 -10:00