tomcw
3b9dc8d0f7
Merge branch 'master' of ssh://github.com/AppleWin/AppleWin
2019-09-21 16:38:46 +01:00
tomcw
9ee9414bb6
Debugger: show video-scanner's h,v position (at the expense of losing 2 watches). ( #666 )
2019-09-21 16:37:45 +01:00
Andrea Odetti
0a6de645e0
Incorporate chat * -> std::string conversion.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2019-09-21 09:58:29 +01:00
Andrea Odetti
52bd4ba3d8
Merge remote-tracking branch 'upstream/master'
2019-09-21 09:39:29 +01:00
tomcw
e4f0a8b8d9
Debugger: fix crash in ParseSymbolTable() due to PR #687
2019-09-17 19:17:30 +01:00
tomcw
3264fd3ee9
Two fixes for the 'char* to std::string' PR #687
2019-09-15 21:26:40 +01:00
tomcw
660c75617b
Merge branch 'strings' of ssh://github.com/audetto/AppleWin into audetto-strings
2019-09-15 20:45:05 +01:00
tomcw
506a52f359
Refactor slots & allow empty slots for s1(printer), s6(disk2)
...
. NB. can't empty s3(uthernet) yet
2019-09-15 20:37:20 +01:00
Andrea Odetti
197c84d556
Add missing g_Slot2.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2019-09-12 21:01:42 +01:00
Andrea Odetti
fef75d878a
Merge remote-tracking branch 'upstream/master'
2019-09-12 20:58:49 +01:00
tomcw
94556b5eaf
SSC: Added support for '-s2 empty' to remove SSC from slot-2 ( #668 )
2019-09-09 22:12:51 +01:00
Andrea Odetti
409634d65f
Use a more descriptive variable name.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2019-09-08 21:33:26 +01:00
Andrea Odetti
bd201202cd
Some more std::string changes.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2019-09-07 19:37:19 +01:00
Andrea Odetti
be476f9a9c
Fix a couple of issues around std::string.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2019-09-07 18:51:07 +01:00
Andrea Odetti
dced4793b7
Next iteration of the string project.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2019-09-07 10:16:51 +01:00
Andrea Odetti
f5f60310c1
More std::strings.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2019-09-07 09:02:39 +01:00
Andrea Odetti
0783c4ec1d
Merge remote-tracking branch 'upstream/master'
2019-09-07 08:32:37 +01:00
tomcw
300494c470
Mockingboard: only do multi-TIMER1 support update when 6502 interrupts are enabled. ( #685 )
2019-09-06 19:59:28 +01:00
Andrea Odetti
d5890e8356
Replace some char * with std::string.
2019-09-06 17:34:25 +01:00
tomcw
ed9ae72778
Mockingboard: moved multi-TIMER1 support before the AY access. ( #685 )
2019-09-05 22:03:56 +01:00
tomcw
11323e2aba
Mockingboard: support multiple TIMER1 interrupts, with one for MB reg updates ( #685 )
2019-09-05 20:42:34 +01:00
tomcw
64bdd7192a
NTSC: fixed comment
2019-09-01 17:35:15 +01:00
tomcw
bd16b34514
NTSC: Minor refactor of updateFramebufferColorTVXXXScanline() names
2019-09-01 16:47:48 +01:00
tomcw
65b5330c51
TV video rendering: use prev (not next) line's pixel to avoid artifacts from prev frame! ( #650 )
2019-09-01 16:38:27 +01:00
tomcw
2f6b24b970
Fixed up the Debug/Release NoDX configurations
2019-09-01 11:28:24 +01:00
tomcw
fe375534cf
NTSC: Commit to the improved TV modes. ( #650 )
2019-08-31 15:02:32 +01:00
tomcw
bad963026c
1.29.1.1: test improved TV modes for #650 . Use Ctrl-9 to toggle 1.29.1.0 and 1.29.1.1.
2019-08-30 21:58:03 +01:00
tomcw
7495d0d9cc
NTSC: Minor refactor of getScanlineXXX() func names
2019-08-30 16:43:28 +01:00
tomcw
bae7208852
Removed the old EXTEND_14M_VIDEO_BY_1_PIXEL rejected solution for #555
2019-08-29 21:38:00 +01:00
tomcw
2cc0f91fbf
Minor: changed a REGLOAD() to REGLOAD_DEFAULT()
2019-08-29 19:19:47 +01:00
Michael "Code Poet" Pohoreski
9e3f7b0ffc
Merge pull request #679 from AppleWin/bug_678_toggle_speed
...
Bug 678 toggle speed
2019-08-27 08:53:09 -07:00
tomcw
af8257eefc
Updated implementation to reflect my comment in #678 .
2019-08-26 20:52:40 +01:00
tomcw
d9a15c30da
Save-state: fix for loading state not re-asserting pending IRQs for Mouse & SSC. ( #677 )
...
NB. Small opt to CheckInterruptSources() to explicitly test sg_Mouse.IsActive() first.
2019-08-26 20:13:52 +01:00
tomcw
94bbc5ec3d
Save-state: fix for loading state not re-asserting any pending MB/SY6522 interrupts
2019-08-26 16:52:11 +01:00
tomcw
b54fc8a058
Reverted 8a11feb7
( #650 ) - missed a bit!
2019-08-26 15:56:34 +01:00
Andrea Odetti
907474c489
Add wrappers for StringCbXXXX functions and default RegLoadXXXX.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2019-08-26 10:27:38 +01:00
tomcw
521a09e75a
Reverted 8a11feb7
( #650 )
2019-08-25 19:41:30 +01:00
Andrea Odetti
ed82f9d9d6
Merge remote-tracking branch 'upstream/master'
...
# Conflicts:
# source/StdAfx.h
2019-08-25 19:25:00 +01:00
tomcw
05f86f3e59
Changed _snprintf() to StringCbPrintf() ( #268 )
2019-08-25 19:21:33 +01:00
tomcw
2f52206e1e
Merge branch 'master' of ssh://github.com/beevik/AppleWin into beevik-master
2019-08-25 17:18:23 +01:00
tomcw
e09cd21703
Added experiment code for DirectDraw & WaitForVerticalBlank() - #680
2019-08-25 17:07:08 +01:00
tomcw
1ee2261c60
Improved comments
2019-08-24 12:35:59 +01:00
tomcw
b488961fca
Removed comment
2019-08-24 12:11:09 +01:00
michaelangel007
5e9b8fe2ae
Set Ctrl-0 Toggle Fastest/100%, Ctrl-3 Always fastest
2019-08-23 19:33:56 -07:00
michaelangel007
32b42b2aeb
Add Ctrl-0, Ctrl-1, Ctrl-3 for #678
2019-08-23 08:46:43 -07:00
michaelangel007
93bd7c678f
Merge branch 'master' of https://github.com/AppleWin/AppleWin
2019-08-23 07:32:08 -07:00
Andrea Odetti
4d2febfb42
Linux changes for current version of AppleWin.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2019-08-10 16:16:44 +01:00
Andrea Odetti
850ceff343
Merge remote-tracking branch 'upstream/master'
2019-08-10 08:52:17 +01:00
tomcw
8a11feb739
NTSC TV video modes: adjust y-position by 1 pixel ( #650 )
2019-08-09 22:58:12 +01:00
Brett Vickers
9e5e21b8c9
Prevent uninitialized value bugs and improve string safety.
...
This change does two things:
1. Updates the registry APIs to reduce the likelihood of uninitialized
variables.
The code wasn't always checking the return value of registry load operations.
In some cases, this led to uninitialized memory being used, and crashes could
result. For example, LoadConfiguration in Applewin.cpp was using an
uninitialized value for the computer type if no registry variable for the
"Apple 2 type" was set.
New registry reading methods and macros have also been introduced, allowing
default value fallbacks for the cases where a registry variable is not found.
This makes registry access simpler and safer when a default value is known in
advance.
The registry code's style has also been updated to conform with the rest of
the code base (tabs instead of spaces, naming conventions, etc.)
2. Introduces string safety improvements.
A number of code paths have been modified to use safe-string functions instead
of their unsafe counterparts (e.g., strcpy, sprintf). In the process, some
strings were converted from "char" to "TCHAR". This was done mostly for
consistency with the rest of the code-base.
2019-08-09 13:38:50 -07:00