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
Aaron Culliney
d443f01af3
Bugfix disk6_ioWrite
2018-10-13 07:38:05 -07:00
Aaron Culliney
50d440df1b
Fix interpolated color after recent upheaval
2018-08-24 17:41:44 -07:00
Aaron Culliney
9f1ef968ac
Improve display testing
...
- Also test graphics modes in COLOR_MODE_BW
- Changed TESTHIRES80_2 to merge the two portions of the HIRES80 picture data
- New TESTLORES_2 and TESTLORES80_2 that draws colors/patterns that better showcase continuous pixel data
2018-08-11 16:32:13 -07:00
Aaron Culliney
6ee8699079
Rename color_mode_t values for clarity
2018-08-11 15:54:00 -07:00
Aaron Culliney
0f3ba15e87
Fix build break on touch devices
2018-08-07 07:57:51 -07:00
Aaron Culliney
55ca51262b
First cut at monochrome for LORES80
2018-08-05 17:19:15 -07:00
Aaron Culliney
b403ee7b6e
Fix LORES80 shifting algorithm
...
- Previous variant was not properly truncating bit 9
2018-08-05 17:18:48 -07:00
Aaron Culliney
58488ab8e9
Remove a conditional codepath in LORES40 drawing
2018-08-05 16:00:53 -07:00
Aaron Culliney
0f38791940
Improve a flappy display test
2018-07-29 19:58:59 -07:00
Aaron Culliney
dc49060eda
Remove old unused display code
2018-07-29 19:53:41 -07:00
Aaron Culliney
75edac3ace
First cut at implementing conformant video scanner
2018-07-29 18:33:17 -07:00
Aaron Culliney
43ab5c8233
Implement a generic debugger hook to break stepping
2018-07-29 16:43:36 -07:00
Aaron Culliney
14bb75a941
Misc testing tweaks
2018-07-29 16:42:33 -07:00
Aaron Culliney
596f767b9a
Updated generated file
2018-07-29 16:33:07 -07:00
Aaron Culliney
8f4e878919
Allow ignoring font mode in conversion
2018-07-29 16:31:10 -07:00
Aaron Culliney
a8e14381c1
Ensure disk_byte is properly reinitialized
...
- Improves CPU tracing against baseline
2018-07-29 16:28:56 -07:00
Aaron Culliney
7ac8f4303c
Repurpose a softswitch printing function
2018-07-29 16:26:07 -07:00
Aaron Culliney
db8fb67944
Help Xcode/lldb cpu thread debugging on Intel by zeroing out the clobbered base pointer
2018-07-29 13:51:36 -07:00
Aaron Culliney
aa41c89e68
Lite refactor video timing
2018-05-06 10:14:47 -07:00
Aaron Culliney
6ed0100291
More explicitly enable assert() in Droid release builds
2018-04-22 08:44:02 -07:00
Aaron Culliney
3318d159b5
mark expected assertion codepath
2018-04-22 08:43:57 -07:00
Aaron Culliney
234caa8c9c
Consolidate hires page write handlers
2018-04-22 08:43:53 -07:00
Aaron Culliney
eb13718c5e
Introduce CPU thread function annotation and enforcement
2018-04-22 08:43:16 -07:00
Aaron Culliney
51d2efba03
Streamline CPU tracing codepaths and remove some deadc0de
2018-03-31 12:48:14 -07:00
Aaron Culliney
1de71d1ff4
monocolor mode for LORES
2018-03-31 12:27:50 -07:00
Aaron Culliney
3c04e12db0
Add proper monocolor mode for HIRES80
2018-03-11 16:30:17 -07:00
Aaron Culliney
cedf7b9d0e
Minor clean-up deadc0de in HGR40 generation
2018-03-11 16:28:07 -07:00
Aaron Culliney
dd42645c4c
Silence some Xcode compiler warnings
2018-01-22 07:33:06 -08:00
Aaron Culliney
e898a85f50
Remove unneeded i86 assembly and fix iOS simulator build
2018-01-21 12:41:07 -08:00
Aaron Culliney
807b441ab1
Partial revert of "Mac app and tests build again"
...
This partially reverts commit 8f155b5190
.
2018-01-20 17:42:04 -08:00
Aaron Culliney
8f155b5190
Mac app and tests build again
2018-01-20 08:14:08 -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
167263ab3a
Ensure starting with clean buffer ...
2018-01-15 10:17:02 -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
a0c26386e8
malloc returns pointer ;)
2017-11-18 11:38:46 -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
570147712c
Get Mac and iOS builds working again
...
- iOS build is still super Alpha ;)
2017-09-13 20:27:42 -07:00
Aaron Culliney
981cff845b
Also convert '\n' to SCODE_RET
2017-09-09 18:08:49 -10: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
dd02333eae
Convert raw emulator key data to ASCII (or mousetext)
2017-09-09 16:59:55 -10:00
Aaron Culliney
a055ae8b8d
Minimally begin to support UTF8
2017-09-09 16:57:06 -10:00
Aaron Culliney
25e4fd0eba
Allow querying whether the classic interface is showing
2017-09-09 16:55:39 -10:00
Aaron Culliney
58d2392eac
Name the running man glyph
2017-09-09 16:54:43 -10:00
Aaron Culliney
ae76537a19
Name colormap indices
2017-09-09 16:53:10 -10:00
Aaron Culliney
8e6701bcbb
Allow CLI dynamic choice of A/V backends
2017-09-09 15:35:00 -10:00
Aaron Culliney
2517b45720
Silence a compile warning
2017-08-27 19:18:15 -10:00
Aaron Culliney
d35d87af9f
Call open() with reasonable mode setting
2017-08-27 19:17:32 -10:00
Aaron Culliney
2d5c47d534
Autotools builds on Mac somewhat
2017-08-21 17:56:20 -10:00
Aaron Culliney
85dc4e5132
Move some sources into meta directory
2017-08-19 19:57:23 -10:00
Aaron Culliney
861cb3320c
Display further refactored for text mode callbacks
2017-08-15 18:44:49 -10:00
Aaron Culliney
d226db8021
Better naming in font loading functions
2017-08-15 18:43:48 -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
Aaron Culliney
0801c9f010
Be moar pessimistic about VAO availability
...
- TODO FIXME : refactor to dynamically check this
2017-07-31 17:49:53 -07:00
Aaron Culliney
11cf51753b
Fix Desktop and Android builds after headless upheaval
2017-07-31 17:47:58 -07:00
Aaron Culliney
98aecedd65
Null renderer build can now execute tests
2017-07-30 12:42:31 -10:00
Aaron Culliney
bcbf5ac234
Refactor LOG() facilities
...
- Enable logging to file(s)
- Enable log rotation
- Allow silencing console logging (e.g., to stderr)
2017-07-30 12:24:48 -07:00
Aaron Culliney
153f1434db
Rename GL_ERRLOG() to GL_MAYBELOG()
2017-07-15 15:08:42 -10:00
Aaron Culliney
51a5f5fcf7
Excise ERRLOG() in favor of LOG()
2017-07-15 14:39:15 -10:00
Aaron Culliney
3b1c72e872
Excise RELEASE_LOG() and RELEASE_BREAK() macros
...
- LOG() and assert() work just fine ;)
2017-07-15 14:19:31 -10:00
Aaron Culliney
3c1dcd4a69
Refactor to enable loading multiple AV backends
...
- Includes default 'null' backends with lowest priority
2017-07-15 13:25:00 -10:00
Aaron Culliney
97a98f0c86
Force X11 scaling to 2X and remove option for now
2017-07-15 13:16:50 -10:00
Aaron Culliney
bdbe544c3b
Avoid SIGSEGV if glCheckFramebufferStatus not available
2017-07-09 15:41:43 -07:00
Aaron Culliney
aefe243620
Work around mysterious occasionally failing assert
2017-07-08 14:50:39 -10:00
Aaron Culliney
5102706441
Ensure that Apple2ix handles invalid gzipped files
2017-07-07 17:57:19 -10:00
Aaron Culliney
55cba116e4
Revert adding A2V3 format as it is unnecessary
...
- Re-gzipping ejected images is based solely on the file extension and not the actual file stream contents
- Read/write disk images with extension ".gz" are re-gzipped in-place upon ejection
- Read/write disk images without extension ".gz" are not changed upon ejection
- Read-only disk images maintain current behavior (no modifications performed at all)
2017-07-06 19:36:37 -10:00
Aaron Culliney
ccfaa0544a
Explicitly test A2V3 data
2017-07-04 08:01:02 -10:00
Aaron Culliney
c00a52cbc6
unbreak testui
2017-07-04 08:00:52 -10:00