Aaron Culliney
3120b75e00
Enforce module ctor priorities
2016-02-22 22:41:37 -08:00
Aaron Culliney
f0e55af6f0
Fix a glitch rerendering pressed ctrl key ... codegen error in ARM gcc 4.8 toolchain?
2016-02-19 21:41:34 -08:00
Aaron Culliney
699f4697df
Don't leak azimuth model objects
2016-02-19 20:00:42 -08:00
Aaron Culliney
efcf0afa4e
Set framebuffer dirty on restore state
2016-02-17 22:38:50 -08:00
Aaron Culliney
00a5f6e102
Fix "re-insert" disk edge case
2016-02-17 22:32:01 -08:00
Aaron Culliney
e073954ec8
Add a test case that shows a problem with "re-inserted" disks
2016-02-17 22:24:07 -08:00
Aaron Culliney
afeaba8b2a
Lock access to zlib functions and unlinking image files to prevent data loss
2016-02-17 21:31:43 -08:00
Aaron Culliney
a2b7603e53
Only reset disk stepper_phases during VM initialization and allow for save/restoring it
2016-02-17 21:10:09 -08:00
Aaron Culliney
0dbcfbc9a2
Various fixes to get Mac and iOS building
2016-02-15 21:10:16 -08:00
Aaron Culliney
fccd2629d4
Clear color should be solid and should be set by toplevel glnode
2016-02-15 14:03:52 -08:00
Aaron Culliney
bac745845b
Don't allow reaching beyond buffer row bounds
2016-02-15 14:01:59 -08:00
Aaron Culliney
545376b1be
Improve testcpu on desktop and fix it on Android
2016-02-15 13:32:05 -08:00
Aaron Culliney
7ef70e7943
Make use of the video memory dirty bit
2016-02-15 13:30:35 -08:00
Aaron Culliney
5ce91fa96d
Do not test internal implementation detail that no longer exists
2016-02-15 13:30:31 -08:00
Aaron Culliney
829291feba
Refactor all drawing to run on video thread in one scanner pass
...
- Moves extra work off CPU/audio thread
- Prepares the way to possibly remove the vestigal intermediate indexed framebuffer and do direct RGBA_8888 writes
to XImage or OpenGL texture
- Prepares the ground for possible better emulation of video scanner hardware
Conflicts:
src/display.c
src/video/glvideo.c
src/video/video.h
2016-02-15 13:29:58 -08:00
Aaron Culliney
5354b0cfd5
First cut at allowing portrait mode (on mobile devices)
2016-02-14 20:18:07 -08:00
Aaron Culliney
70afe71c82
Add various new JSON data format parsing functions
2016-02-13 21:19:06 -08:00
Aaron Culliney
261ae2efae
Refactor to not use video_backend in so many places
2016-02-07 14:42:32 -08:00
Aaron Culliney
5fec80a33a
Refactor video_shutdown() to appease Valgrind
...
- This likely breaks Darwin ports ... will fix soon[ish]
2016-02-07 14:42:28 -08:00
Aaron Culliney
edaae0bc89
Refactor glvideo to be the root glnode, begin to privatize video_backend APIs
2016-02-07 14:42:16 -08:00
Aaron Culliney
c0b7b8dd9b
Simplify XEvent processing loop and fix non-MITSHM codepath
2016-01-31 13:21:38 -08:00
Aaron Culliney
e638c13d9d
Lock access to INTERFACE_CLASSIC thread on desktop POSIX
2016-01-31 13:18:19 -08:00
Aaron Culliney
433f4baafa
Eliminate unnecessary variable and draw axis/buttons for duration of tracking touch
2016-01-30 14:46:49 -08:00
Aaron Culliney
8f03d0ca6f
Enforce pointer index tracking for touch lifecycle
...
- Fixes glitch where GLTouchMenu would capture a joystick event if the movement came into its portion of the screen
- Prepares the way for allowing both keyboard and joystick access to same screen real-estate
2016-01-30 14:46:43 -08:00
Aaron Culliney
c29daf006e
Refactor : naming RB -> Azimuth
2016-01-30 14:46:31 -08:00
Aaron Culliney
ac151ae9e9
Bugfix Mockingboard volume getting improperly reset
2016-01-30 14:46:08 -08:00
Aaron Culliney
1912428ed3
Properly account for mockingboard card enabled/disabled
2016-01-30 14:45:51 -08:00
Aaron Culliney
ba07bcc274
Avoid resetting Mockingboard state machine when all we need to do is reset the backend
...
- Also slightly disentangles audio initialization from reinitialization
2016-01-30 14:45:35 -08:00
Aaron Culliney
b5fbf29f21
Don't let FLASH text counter overflow
2016-01-24 11:03:50 -08:00
Aaron Culliney
661b4220ef
Unbreak TOUCH_JOY_LOG() macro
2016-01-24 10:25:45 -08:00
Aaron Culliney
1358a52eee
Add but disable CPU trace on Android
2016-01-24 09:47:57 -08:00
Aaron Culliney
b9acdc7d4c
reset FBSHA after LORES80 iteration
2016-01-24 09:47:44 -08:00
Aaron Culliney
d44aad062a
ARM bugfix: actually return the correct value when reading from slot I/O card
...
- Allows NSCT.dsk to boot on ARM architecture devices
2016-01-23 13:00:45 -08:00
Aaron Culliney
f8e4ba3551
FLASHing text is handled by CPU timing and not render loop
2016-01-20 23:17:39 -08:00
Aaron Culliney
175df18401
Don't use long word for cycles counter
...
- Lightly optimize a hot code path
- Include debug code for testing counter overflow
2016-01-20 23:17:30 -08:00
Aaron Culliney
edfd5243ff
First cut at LORES80 graphics
...
- This comes with the caveat that all video modes will need to be refactored to take into account proper timing
2016-01-20 23:16:42 -08:00
Aaron Culliney
090f5f4db4
Don't actually draw unless byte written to active page or page was swapped
...
- Avoids "flicker" in 80's apps that use double buffering
- Possibly improves performance since we only take the render hit in page swap (or direct render to visible page)
2016-01-20 23:16:34 -08:00
Aaron Culliney
a8e6f4fc92
Refactor : coalesced text/mixed drawing codepath
2016-01-16 22:05:28 -08:00
Aaron Culliney
8626215205
Silence a number of spurious compiler warnings
...
- Existing warnings are now a good proxy for areas of code smell ;-)
2016-01-10 12:09:04 -08:00
Aaron Culliney
1dc08f4a25
Silence compiler warning about asprintf() when running flex
2016-01-10 11:41:54 -08:00
Aaron Culliney
0c77e4a659
Fix testdisk assertions in debug builds
2016-01-09 14:00:33 -08:00
Aaron Culliney
144086c667
Don't LOG() in Breakpad callback
2016-01-09 12:44:11 -08:00
Aaron Culliney
b2824e9145
Improve tap responsiveness in GL touch joystick
2016-01-08 00:28:57 -08:00
Aaron Culliney
a64941694f
Expose timespec_add
2016-01-07 22:42:04 -08:00
Aaron Culliney
18c02d3673
Fix broken assert
2016-01-07 20:57:22 -08:00
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