tomcw
8a55e35e2d
LC: fixed INC to only write-enable LC for 65C02 ( #700 )
2019-10-12 18:17:11 +01:00
tomcw
df4ed7b964
Added new cmd-line switch: -model <apple2|apple2p|apple2e|apple2ee>. ( Fixes #689 )
2019-10-12 18:07:51 +01:00
tomcw
ad9dd28942
Added new cmd-line switch: -clock-multiplier.
2019-10-12 16:40:36 +01:00
tomcw
dc8a22169e
Added new cmd-line switch: -s7-empty-on-exit. ( Fixes #692 )
2019-10-12 16:01:55 +01:00
tomcw
75f6ab9e59
Debugger: added auto-run of 'DebuggerAutoRun.txt' on startup. ( #666 )
2019-10-11 21:24:01 +01:00
tomcw
319797df69
Debugger: Video-scanner info:
...
. moved vert,horz onto same row
. made hex & apple modes the default display config
. added 2nd line showing cycles
. moved mini-mem views over by 1 char
2019-10-10 22:21:25 +01:00
tomcw
9994635e13
LC: Support write-enabling LC via single 'INC abs' and similar RMW opcodes ( #700 )
2019-10-08 22:12:35 +01:00
tomcw
7265dee506
Fixes:
...
. loading disk state (v5)
. string append bug introduced in 'char* to std::string' PR #687
2019-10-06 16:39:43 +01:00
tomcw
31b78aa09a
HDD: Fixed not being able to enable HDDs - regression introduced at 506a52f359
2019-10-05 16:56:38 +01:00
tomcw
25496d3a52
WOZ: removed floppyWriteMode/FloppyLoadMode - use Sequencer Function instead
2019-10-05 09:53:02 +01:00
tomcw
d5236d5ee4
Merge branch 'master' of ssh://github.com/AppleWin/AppleWin
2019-09-30 22:14:06 +01:00
tomcw
31f7e7296b
WOZ: support Sequencer Function
2019-09-30 21:29:58 +01:00
tomcw
5e98140da1
WOZ:
...
. set m_headWindow = 0, after >50 bitcell gap
. bias fake bits to be ~30% chance of a 1 bit
Disk logging:
. added timestamps to I/O accesses
. DumpTrackWOZ() now outputs sync bits between nibbles
2019-09-30 20:39:47 +01:00
tomcw
f9a1ef04f7
Debugger: videoinfo cmd: return feedback on success
2019-09-23 01:50:18 +01:00
tomcw
604aff4bbb
Debugger: added help for videoinfo cmd
2019-09-22 16:53:38 +01:00
tomcw
b3eb789e03
Debugger: added BG_INFO_WATCH|ZEROPAGE enums
2019-09-22 15:59:19 +01:00
tomcw
b5b1deeead
Debugger: added & used consts for video-scanner info
2019-09-22 15:28:10 +01:00
tomcw
7261c79054
Debugger: minor refactor for VideoScanner info
2019-09-22 15:11:14 +01:00
tomcw
f84c985751
Debugger refactor: moved ConfigColorsReset() from Debug.cpp to Debugger_Color.cpp
2019-09-22 11:25:48 +01:00
tomcw
9a0617e889
Debugger: removed the now redundant Debug_UpdatePalette() func
2019-09-22 11:14:32 +01:00
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
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
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
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
tomcw
521a09e75a
Reverted 8a11feb7
( #650 )
2019-08-25 19:41:30 +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
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
tomcw
b66e5a2be9
WOZ: Small refactor
2019-08-03 18:21:41 +01:00
tomcw
1af12fbbb1
WOZ: Small refactor to call DataLatchReadWriteWOZ() for any WOZ data-latch access
2019-08-03 18:10:39 +01:00
tomcw
d973fb6b97
WOZ: Added debug dump sector & track functions
2019-08-03 17:51:19 +01:00
tomcw
b770306496
WOZ: #672
...
. Even disk i/o read accesses will update the data latch
. All disk i/o write accesses will update the data latch
2019-07-30 22:41:28 +01:00
tomcw
7987883847
WOZ: Register .woz extension and improved logging for all extensions. Also updated DELREG.INF and help. ( Fixes #671 )
2019-07-28 17:13:39 +01:00
tomcw
816dc77cb0
Only delay certain video modes when not Full-Speed. ( Fixes #670 )
2019-07-27 19:59:45 +01:00
michaelangel007
89eab1156c
Merge branch 'master' of https://github.com/AppleWin/AppleWin
2019-07-22 12:06:53 -07:00
tomcw
c03eb54103
WOZ: Extended latch delay for 'Wizardry III' and 'Space Quest I' copy-protection ( #662 , #669 )
2019-07-22 19:32:25 +01:00
tomcw
75c9669884
Fixed 2x Windowed mode: to show correct track for drive-2
2019-07-09 22:18:36 +01:00
tomcw
a73038fb74
Disk: fix LOGGING and comment typo
2019-07-08 21:14:31 +01:00
tomcw
8e5505c734
Fixed LOG_DISK to use CLK_6502_NTSC
2019-07-06 12:03:15 +01:00
TomCh
4bc75093b8
Support (read-only) WOZ1/WOZ2 images ( #544 ) (PR #653 )
...
Supports:
- all "woz test images" v1.3 (WOZ1, WOZ2) are working, except 3.5"
- additionally: Frogger (spiradisc), Choplifter (not Enhanced //e!), Lode Runner, Marble Madness, Skyfox.
- woz images can be .gz or .zip compressed (ie. same as other supported images)
- save-state
Limitations:
- read-only, so WOZ images are forced to be write-protected
. as a result, games that need r/w images won't work (Stickybear Town Builder, Wizardry)
- 5.25" only (not 3.5")
2019-07-05 23:01:19 +01:00
tomcw
73ce127eef
Removed some old commented out code
2019-06-29 17:05:07 +01:00
tomcw
f0f63f934f
Tweak PAL 6502 base clock
2019-06-28 21:45:43 +01:00
TomCh
bd86088c59
Support 50Hz(PAL) ( #648 ) (PR #658 )
...
- Added Configuration GUI to include checkbox for "50Hz"
- Implicitly use PAL or NTSC base 6502 clocks depending on video refresh rate
- Added new -50hz and -60hz command line switches
- Updated save-state for video refresh rate
1.28.8.0: Updated version & history.txt
2019-06-28 21:34:34 +01:00
tomcw
dbcb789442
Don't delay a PAGE1/2 video mode change ( #656 )
2019-06-24 22:05:32 +01:00
tomcw
e6e52ffcf4
Delay any video mode change by 1 cycle ( #654 )
2019-06-15 18:15:00 +01:00
tomcw
3fbe416424
6522: Underflow on 0x0001 -> 0x0000; and FRT's period is N+2 cycles ( #652 )
2019-06-15 17:41:53 +01:00
tomcw
1f2dc6ee8a
Full-speed: only do interrupt checking every 40 opcodes & simplify CYC macro ( #651 )
2019-06-02 14:30:54 +01:00
tomcw
98a733ba73
Removed comment about benchmark: as benchmark is now run in both normal and full-speed modes
2019-06-01 17:01:15 +01:00
tomcw
3a41061f83
Check interrupt sources after every opcode when in normal speed. ( #651 )
2019-06-01 16:54:58 +01:00
tomcw
941ef46e9a
6522: account for underflowed cycles to ensure consistent interrupt period ( #651 )
2019-06-01 12:21:00 +01:00
michaelangel007
a0f7fe46bf
Merge branch 'master' of https://github.com/AppleWin/AppleWin
2019-04-18 15:58:19 -07:00
tomcw
6929ad98e3
Fix for 6522.TIMER2 not setting CpuAdjustIrqCheck() correctly
2019-04-18 20:47:29 +01:00
tomcw
ec74b9de6b
F2 now resets keyboard. ( Fixes #639 )
2019-04-16 21:24:32 +01:00
tomcw
0d112158d0
Minor improvement to fix for #640
2019-04-16 21:13:55 +01:00
tomcw
06ffa28a7a
Fix for inserting a disk into an empty but spinning driver. ( Fixes #640 )
2019-04-16 21:11:47 +01:00
tomcw
d66cdd5f2c
Remove IsSpinning()
2019-04-16 20:30:54 +01:00
tomcw
65a87c8e11
Change struct FloppyDrive, FloppyDisk into classes
2019-04-16 20:19:35 +01:00
tomcw
c6a11d3824
Minor fixes for LOG_DISK wrapped code
2019-04-14 17:45:01 +01:00
tomcw
ffe37e55e5
Minor: fix a few comments and remove some whitespace
2019-04-14 17:41:26 +01:00
tomcw
d6f8d4edd8
Rename sg_DiskIICard to sg_Disk2Card
2019-04-14 17:01:49 +01:00
tomcw
97ded90a1c
Rename DiskIIInterfaceCard to Disk2InterfaceCard
2019-04-14 17:00:15 +01:00
tomcw
1f846fa26f
Rename Disk_t to FloppyDisk; and prefix members
2019-04-14 16:58:49 +01:00
tomcw
cd62b82af4
Rename Drive_t to FloppyDrive; and prefix members
2019-04-14 16:47:41 +01:00
michaelangel007
c0d442dc76
Merge branch 'master' of https://github.com/AppleWin/AppleWin
2019-04-13 10:22:42 -07:00
michaelangel007
a12f4283e9
TODO: colorize output of CALC
2019-04-13 10:22:39 -07:00
tomcw
971eff7875
Added info about enhanceDisk
2019-04-11 22:34:40 +01:00
tomcw
249b15b02d
Get rid of duplicate func
2019-04-09 19:29:58 +01:00
tomcw
aa1e4cab09
Remove redundant Initialize()
2019-04-09 18:13:05 +01:00
tomcw
7c04c2c51e
Rename var: iDrive to drive
2019-04-08 16:54:11 +01:00
tomcw
4235f08f7a
Remove the 'Disk' prefix from method names
2019-04-08 10:41:47 +01:00
tomcw
f755db8516
Rename all class's private vars
2019-04-07 15:54:26 +01:00
tomcw
bbe0e67584
DiskIIInterfaceCard add in private variables
2019-04-07 15:32:24 +01:00
tomcw
e7d6eac04d
Class-ify disk.cpp into DiskIIInterfaceCard
2019-04-07 14:22:05 +01:00
tomcw
4db23c10dc
Fixed typo & inconsistency in $C070 write statement
2019-04-06 18:56:00 +01:00
tomcw
adcfb9ef3d
Fix reads to $C07X to return floating bus (broke at 7c95c0f6c4
)
2019-04-06 18:24:37 +01:00
tomcw
dad590b8c1
Bumped to 1.28.5.0 and updated History.txt
...
Updates for DHGR MIX (#633 ):
. Support new switch -rgb-card-invert-bit7 to invert bit7 for Dragon Wars.
- Reverted DHGR MIX mode and AN2 off to invert bit7
2019-04-06 17:31:26 +01:00
tomcw
2463aae545
Updates for DHGR MIX and detection ( #633 ):
...
. Support DHGR MIX mode and AN2 off to invert bit7 (undocumented)
. Improve the video-mode precondition to check for 80COL access occurring before $C05F
2019-04-06 15:17:18 +01:00
tomcw
ec36eae817
Updates for DHGR MIX and B&W modes ( #631 ):
...
. Relax the video-mode precondition to just checking VF_MIXED
. In DHGR B&W mode, then HGR screen is also B&W
. For '50% scan lines', don't blend in NTSC B&W mode (as this was inconsistent with the RGB colour rendering), and DHGR MIX mode would look odd!
2019-04-06 13:49:56 +01:00
tomcw
7c95c0f6c4
Fix read so that trigger paddles 555 timers reset (before was just )
2019-04-06 11:26:33 +01:00
tomcw
7096a0a05a
Support Enhanced //e soft switches ( fixes #636 )
...
. IOUDIS, RDIOUDIS, RDDHIRES
Also:
. Persist annunciators to save-state
. Fix so that $C07X trigger paddles 555 timers reset (before was just $C070)
2019-04-06 11:18:48 +01:00
tomcw
ffa41e35cc
Added test cmd-line switch: -screenshot-and-exit <file.bmp>
2019-03-17 15:01:51 +00:00
tomcw
dff37871fc
Changed to a case-insensitive compare for .gz and .zip suffixes. ( Fixes #628 )
2019-03-16 14:40:05 +00:00
tomcw
8c7d45bd8e
Fixed occasional flicker when changing video mode with F9. ( Fixes #611 )
2019-03-16 14:27:40 +00:00
TomCh
b87ebb7514
Support better RGB fro hires video ( #616 ) (PR #630 )
...
For the RGB hires look-up table:
- extended to include the previous video byte's high bit
- so it's now: {previous high bit + prev 2 video bits + next 2 video bits} & current byte
For all the RGB look-up tables:
- reduced from 512 to 256 lines (only 256 were being used, so it was just wasting space)
Refactored CopyMixedSource():
- fixed the Rainbow demo (#627 )
- sped up in Debug config
Bumped version to 1.28.3.1.
2019-03-16 12:49:09 +00:00
tomcw
cd9a207bee
Added cmd line switch (-altgr-sends-wmchar) to enable sending WM_CHAR for key presses, when AltGr is down. ( Fixes #625 )
2019-03-03 14:32:19 +00:00
tomcw
82c2f3d142
1.28.3.0: Vertical blend: Changed CopyMixedSource() to operate on 14M pixel (was 7M) - #616
2019-03-02 15:54:22 +00:00
tomcw
cba3b7662e
Support vertical blending: use same hires look-up table as 1.25.0.4 ( #616 )
2019-02-26 21:48:54 +00:00
tomcw
c3f0653bfa
Added cmd line switch to disable vertical blend ( #616 )
2019-02-24 22:00:14 +00:00
TomCh
082b22d753
Support vertical blending for 'RGB (Color Monitor)' for hires ( #616 ) (PR #624 )
...
Support the old AppleWin 1.25 vertical blending for hires:
- extended Config dialog to include 'Vertical Blend' checkbox
- Persist 'Video Styles' to Registry
- new cmd line options to select this style & also select 'RGB (Color Monitor)'
- code refactor to support enum VideoStyle_e (and replaced g_uHalfScanLines with a bit in g_eVideoStyles)
Bumped version to 1.28.2.0.
2019-02-24 15:59:35 +00:00
tomcw
be81458284
Save-state: correctly stop & play Mockingboard sound buffer across save-state loading transition ( #609 )
2019-02-24 15:37:15 +00:00
tomcw
de3f0d877e
Save-state: Better MB init for loading save-state
2019-02-24 10:49:09 +00:00
tomcw
1f1bcfd374
Save-state: Improved PR #623 : always throw, but don't restart unless VM state has changed
2019-02-24 10:29:34 +00:00
tomcw
f998c7ddb2
Save-state: Explicitly init MB SoundcardType when loading state. ( Fixes #609 )
2019-02-23 10:22:52 +00:00
Raphaël Zumer
11137cbc44
Save-state: Do not reset on minor state load errors (PR #623 )
2019-02-23 09:17:29 +00:00
tomcw
8589ad2510
Fix crash when entering debugger from logo screen. ( Fixes #622 )
2019-02-14 21:57:53 +00:00
tomcw
037adb7f98
Change Windows Subsystem to 5.01 for VS2013,VS2015,VS2017 to fix clipped window. ( Fixes #571 )
2019-02-14 21:55:38 +00:00
Raphaël Zumer
c9553d996d
Convert files with special characters to UTF-8 (PR #604 )
...
* Convert file encoding to UTF-8
* Set character sets to UTF-8 explicitly
2019-02-07 18:08:53 +00:00
tomcw
0458741a85
RGB AppleColor card:
...
- support 160-color mode by squashing 640 pixels into 560 pixels (GH#621)
. squash by losing every 8th pixel
2019-02-03 16:39:27 +00:00
TomCh
dd53812132
Support for AppleColor / Video7 DHGR mixed mode ( #523 ) (PR #620 )
...
Supported modes selected via toggling AN3 and clocking in 80COL:
- 140 color mode (Apple calls this mode 2, Video7 calls this mode 0).
- mixed mode (Apple calls this mode 3, Video7 calls this mode 2).
- 560 mono mode (Apple calls this mode 1, Video7 calls this mode 3).
Save-state is also persists the extra state.
And there's a few corrections to APPLE2E.SYM for the 80STORE and 80COL I/O addresses.
2019-02-02 15:51:27 +00:00
tomcw
53af2a51b4
Renamed Video_OriginalColorTVMode.cpp to RGBMonitor.cpp
2019-01-19 16:51:45 +00:00
tomcw
391336a383
Apple II,II+ keyboard: ignore up/down arrows. ( Fixes #617 )
2019-01-19 10:18:16 +00:00
tomcw
875a0bdd11
Very minor clean-up
2019-01-10 22:00:53 +00:00
tomcw
4d7a3323e9
Extended -videorom <file> to also support Original //e ( #574 )
2019-01-10 21:38:21 +00:00
TomCh
25c7c41b07
Reinstate support for old AppleWin 1.25 "Color (Standard)" video mode ( #357 ) (PR #614 )
...
Renamed this video mode to: "Color (RGB Monitor)"
Also renamed "Color (Monitor)" to "Color (NTSC Monitor)".
As for the colours: I've changed them from the original 1.25 colours. Instead I runtime-generate the colours from the NTSC code. See NTSC.cpp's GenerateBaseColors(). This shifts the same 4-bit pattern in, combining with NTSC color phase, until the colour stabilises. Then I average the next 4 RGB values to get the final colour. The reason for this is that we now have consistent colours between NTSC and this simplified rendering mode.
NB. The 2 greys (in GR,DGR,DHGR) are now the same RGB value.
2019-01-09 21:29:36 +00:00
tomcw
8ee651a6f8
Fixed comment typo
2019-01-06 17:02:24 +00:00
tomcw
ceb0416bf3
Fixed 6522 & interrupt:
...
. Broadside needs to see IRQ within 17 cycles (6 opcodes) of 6522 counter underflowing to detect Mockingboard. (Fixes #605 )
2019-01-06 16:54:54 +00:00
tomcw
eea8cb3cdf
Deprecated and removed support for v1 save-state. ( Fixes #603 )
2019-01-05 22:20:51 +00:00
tomcw
b17f880e6d
HDD: Added a swap HDD function to the Config->Disk UI ( #585 )
2018-12-09 11:48:22 +00:00
tomcw
d0f03fc90c
Removed CTRL+F10 functionality to reveal mouse cursor ( fixes #597 )
2018-12-09 10:05:46 +00:00
tomcw
54fffdf25a
1.27.13: Bump version & update History.txt + help
2018-12-08 13:29:48 +00:00
tomcw
5ddff0d688
DiskII: read write protect - fix spinning test
2018-12-03 21:36:54 +00:00
tomcw
5504d280c7
When drive is off then data register holds its present state. ( Fixes #599 )
...
NB. Drive off = motor off && stopped spinning after 1 sec delay.
2018-12-03 17:38:52 +00:00
tomcw
cbd41333c9
2K ROM: refactor
2018-11-21 21:21:54 +00:00
tomcw
af899fa90a
Added support for Apple II/II+ 2K video ROMs ( fixes #205 )
2018-11-19 22:15:04 +00:00
TomCh
aa59c71847
Add support for PAL/European or custom 8K video ROMs ( #596 )
...
Added new cmd-line switch: -videorom <file> to replace the video ROM for the Enhanced //e.
- Support video ROM sizes of 4K, 8K and 16K (top 8K only).
- NB. The rocker switch is set to European video ROM.
F10 (for //e or Enhanced //e models) emulates the PAL //e's rocker switch (under the keyboard) to toggle between European or US video ROM.
Other:
- Fixed debugger's view of the AltCharSet soft-switch (it was showing the opposite state).
2018-11-17 16:29:17 +00:00
tomcw
14e0bb7b71
Added new switch: '-no-hook-alt' - used to prevent left/right ALT from emulating open/closed apple keys ( #583 )
2018-11-10 15:55:20 +00:00
tomcw
6fb5b3b0e8
Refactor: consolidate 'modechanging' optimisations into a single function
2018-11-10 10:30:19 +00:00
TomCh
42c58f54e7
Refactor Language Card ( #593 )
...
* Refactor Language Card:
. MemSetPaging() now not used for $C080-C08F accesses.
- Instead LC registers its own I/O handler like all other slot 1-7 cards.
. Saturn uses base LC's 16K for bank0
* Move all 'modechanging = 0' to UpdatePaging()
2018-11-09 20:51:51 +00:00
tomcw
f9b7d9326e
Fixed Coverity 'High Impact Outstanding' issues:
...
CIDs in main code:
1446691
1446688 (false positive)
1446672 (false positive)
1446643
1446642
1446641
1446635 (false positive)
CIDs in debugger:
1472410
1446728 (false positive)
1446684
1446673
1472409
1446693
1446692
1446726
1446687
1446685
1446683
2018-11-06 19:13:28 +00:00
tomcw
3bf94eca9d
Fix for save-state v1: original Apple II needs a LC
2018-11-04 20:04:38 +00:00
tomcw
325bc23d08
Fix for LC when //e (broken 13c3936
)
2018-11-04 17:29:22 +00:00
tomcw
155547f847
1.27.10: Bump version & update History.txt
2018-11-04 16:35:25 +00:00
TomCh
13c393624b
Apple II original: default to 48K (ie. no Language Card) (PR #592 )
...
Added support for #590 :
* Changed Apple II original to default to no LC
* Added new cmd-line switch: -s0 <languagecard|lc>
* Changed so when LC is in slot-0, it now use Apple II+'s F8 (auto-start) ROM
2018-11-04 15:07:46 +00:00
tomcw
09ab12d0b6
Save-state: Keyboard - save 'Key Waiting' flag. ( Fixes #591 )
2018-11-01 21:14:16 +00:00
tomcw
034337cb28
Saturn: Change cmd-line to -s0 <saturn|saturn64|saturn128>
2018-10-27 18:49:50 +01:00
tomcw
9e1170ca9e
LC: Added more comments when loading save-state memory v1 for II or II+
2018-10-27 18:16:32 +01:00
TomCh
46274d4d1c
Apple II: Language Card and Saturn support for slot-0 (PR #589 )
...
Support for #408 :
* added slot-0 LC and Saturn 128K for Apple II and II+
* added save-state support
- for slot-0 LC/Saturn, save the LC state in the slot-0 card, not the //e MMU; and switch to a new Apple2 unit ver2
* added g_Slot0, g_SlotAux
* added new LanguageCard.cpp/h to project and moved Saturn code into these new files.
* updated VS2013,2015,2017 projects
2018-10-26 11:23:30 -07:00
tomcw
91a6227da1
Debugger: Fixed disasm of branch targets <000 missing leading zeros. ( Fixes #587 )
2018-10-13 22:35:55 +01:00
TomCh
53d1d04988
DiskII: Support partial nibble reads for very close disk latch reads ( #586 )
...
Support partial reads for sequential accesses of 6 or less cycles.
- And 31 or less cycles when in "Disk Access Speed" = "Authentic Speed"
Save-state support for partial read cycle (Disk][ unit v3)
Added boot-time logging for Phasor1.dsk (ProDOS 1.1.1)
2018-10-02 22:08:54 +01:00
tomcw
a2d05ca386
mem(cache): provide more details about how the mem(cache) and associated variables work, eg. when reading/writing to the same or different memory banks
2018-09-16 22:02:35 +01:00
tomcw
a15e5a47f6
MemGetAuxPtr(): Refactor & added comment about video scanner fetching aux from the 1st 64K aux bank ( #520 )
2018-09-10 21:28:08 +01:00
tomcw
39f91c552c
NTSC ( #555 )
...
. For the 14M video modes (DHGR,DGR,80COL), start rendering 1x 14M pixel early to account for these video modes being shifted right by 1 pixel
. Revert the display width back to 560 by disabling EXTEND_14M_VIDEO_BY_1_PIXEL
2018-09-09 15:41:04 +01:00
tomcw
7d100a349b
NTSC: Merge-squash from 'GH555-1-pixel' branch for the 1 pixel shift for 14M video modes ( #555 )
2018-09-09 13:56:55 +01:00
tomcw
396c55d8a3
Coverity: tackled a few CIDs ( #470 )
2018-08-12 12:48:08 +01:00
tomcw
bd7a96ce6e
Small refactor of VideoGetScannerAddress()
2018-08-06 19:06:28 +01:00
tomcw
d623533e06
Improve VideoGetScannerAddress() to generate NTSC tables; and check tables with all video cycles
2018-08-05 22:19:51 +01:00
tomcw
5e02eaee53
Use VideoGetScannerAddress() to generate the NTSC video lookup tables
2018-08-02 22:37:20 +01:00
tomcw
e4bd6162c5
Refactor: move code for WM_CLOSE next to WM_DESTROY, and WM_KEYDOWN next to WM_CHAR
2018-07-31 18:17:42 +01:00
tomcw
898f30f08a
Fixed save-state on exit not working if there was a VM restart (eg. config h/w change). Fixes #564
2018-07-31 18:06:53 +01:00
tomcw
140d505fe9
Keyboard:
...
. reverted default so that ALT+TAB is not hooked (#556 )
. reverted default so that ALT GR's fake LCONTROL is not hooked (#558 )
. added new switches: -hook-alt-tab and -hook-altgr-control to support hooking these key combo's (#556 )
2018-07-29 22:34:09 +01:00
tomcw
a4f225555f
Keyboard: added comment for GH558 and removed some debug logging
2018-07-27 22:05:59 +01:00
TomCh
6ed354714e
Support ClosedApple+key with Alt Gr when combined with a regular keyboard key:
...
. When Alt Gr is pressed, then manually post WM_CHAR message on receiving a WM_KEYDOWN (manually translate and account for shift/control/caps-lock)
. Hook filter: suppress Alt Gr's (ie. RMENU's) fake LCONTROL messages
Also:
. Hook filter: allow Ctrl+Shift+Esc (for Task Manager)
. Keyboard: refactor only use accessor functions to get the Alt/Control/Shift state
2018-07-27 21:55:53 +01:00
tomcw
1afa2490c5
Keyboard: Refactor for GetKeyState()
2018-07-23 22:27:33 +01:00
tomcw
97b07eaee4
Keyboard hook filter:
...
. Created a dedicated thread with message loop (#570 )
HookFilter dll: Only call GetKeyState() if keycode is ESC (instead of every time)
DebuggerCursorUpdate(): reduce sleep from 10ms to 1ms
2018-07-15 21:00:01 +01:00
tomcw
c457241229
Keyboard:
...
. When in MODE_LOGO, don't pass WM_CHAR to Apple II keyboard (now consistent with WM_KEYDOWN)
. Small refactor for Apple II keyboard's WM_KEYDOWN handler
Move code for log init & done to Log.cpp
2018-07-15 15:38:37 +01:00
tomcw
881e51874b
Fix for other apps having sluggish key response - fixes #569
2018-06-30 18:21:28 +01:00
tomcw
9cacf8d90d
Small refactor for reading $C01x soft switch status flags
...
Prevent Apple II from reading $C01x/$C07F soft switch status flags
2018-06-30 14:30:30 +01:00
tomcw
47ec7f4355
Reverted ad12a8e
: video rendering from screen position -1: so now DHGR vertical column 559 is hidden again (see #555 ).
...
Changed HGR rendering, such that that last video byte (at hpos=64) clears g_nLastColumnPixelNTSC so that the end-of-line off-screen pixel is zero (see #555 ).
2018-06-23 17:50:23 +01:00
tomcw
9bc7feb37e
Mockingboard: Better support for stop/starting 6522's IER.TIMERx ( #567 )
2018-06-20 22:13:18 +01:00
tomcw
7f478fa36c
Mockingboard: Reading 6522's IER now returns 0x80|IER. ( Fixes #567 )
2018-06-17 18:47:57 +01:00
tomcw
6ad2621282
Fixed save-state not saving last key & update history.txt
2018-06-16 11:36:43 +01:00
tomcw
51669f36f3
Hook system keys: ( #556 )
...
. added -no-hook-system-key to prevent hooking system keys
. updated help
. HookFilter.dll: changed to directly send virtual key code
2018-06-16 10:24:05 +01:00
tomcw
734bc4cee2
AKD: Support both Return and Enter (and other extended keys). ( #330 )
2018-06-12 21:50:27 +01:00
tomcw
4a0e93fe28
Added new -alt-enter cmd-line switch to allow configuration of Alt+Enter behaviour ( #556 )
2018-06-10 18:14:34 +01:00
tomcw
e0da17ed96
Removed all VS2012 proj/slns ( #559 )
2018-06-10 17:01:44 +01:00
tomcw
fdd6a622dc
Simplified AKD support
2018-06-02 22:26:29 +01:00
tomcw
539f5db40a
Fix for //e keyboard's AKD. ( Fixes #330 )
2018-05-30 22:38:10 +01:00
tomcw
a07407c6f8
Suppress AKD support for II and II+ models. ( Fixed #116 )
2018-05-28 22:36:00 +01:00
tomcw
0d4be07e7e
SysKey hook filter:
...
. Fix for GetKeyState() not detecting the special keys as being up (so AKD was erroneously reporting the key still down).
. eg. Whilst pressing TAB, press LEFT ALT, then release TAB.
2018-05-28 22:13:54 +01:00
tomcw
6b53adde55
SysKey hook filter:
...
. Also suppress ALT+SPACE
. PostMessage to AppleWin message-pump for WM_KEYDOWN, WM_KEYUP for these special key combos
. Add special any-key-down (AKD) handling for these special key combos
2018-05-28 17:27:38 +01:00
tomcw
19b90800cf
Add hook filter for system keys (eg. ALT+TAB, ALT+ESC, CTRL+ESC) - #145 , #556
2018-05-27 10:56:35 +01:00
tomcw
20cd8913f5
For #556 : Suppress the Windows Default Beep (ie. Ding) whenever ALT+<key> is pressed.
2018-05-26 18:04:13 +01:00
tomcw
ad12a8e6d2
Fix for #555 :
...
. Start video rendering from screen position -1 (ie. 1 DHGR pixel offscreen)
. Allows 559th DHGR vertical column to be visible
. But now an HGR HCOLOR=2 vertical line at column 0 is only 1 DHGR pixel wide
Also:
. Fix TEXT80 to be aligned with DHGR
. Fix FLASH in TEXT80 (inverse aux bits needed to be masked with 0x7f)
2018-05-24 21:34:26 +01:00
tomcw
3e7cc361ff
#555 : Fix for displaying colour dots & vertical lines in the far right hand column
2018-05-13 17:33:13 +01:00
tomcw
7beaf610d2
SSC:
...
. Save-state: SSC unit v2 - support DCD flag, removed redundant vars
2018-05-10 13:47:26 +01:00
tomcw
2fdc270837
SSC: Make default baud-rate consistent (9600)
2018-05-05 16:56:15 +01:00
tomcw
ba090ebcef
SSC: Change DIPSW1's baud rate to 9600 (was 19200) & reflect this change in the help doc for SSC
2018-04-23 21:34:09 +01:00
tomcw
52e7d61c7e
SSC:
...
. DCD state is now a mirror of DSR unless -dcd switch is used. (Fixes #553 )
. Removed -dsr,-dtr switches, so -modem is now an alias for -dcd. (Also for #553 )
. Wait for events (RLSD,DSR,CTS) in CommThread and call GetCommModemStatus() in CommThread.
2018-04-22 14:37:59 +01:00
michaelangel007
10d68a3308
Debugger: 2.9.0.15: Cleanup: HELP CALC examples and See also.
2018-04-17 09:45:45 -07:00
michaelangel007
74c6739542
Debugger: Added HELP CALC see also: HELP OP
2018-04-17 09:43:06 -07:00
michaelangel007
c449ef12b7
Debugger: Clarify HELP CALC operators
2018-04-17 09:33:56 -07:00
michaelangel007
e852d91031
Debugger: Add examples for HELP CALC
2018-04-17 09:32:58 -07:00
michaelangel007
858586d646
Debugger: Cleanup output order of HELP CALC
2018-04-17 09:32:11 -07:00
michaelangel007
f9bc18f54c
Debugger: Fix spelling
2018-04-17 09:30:59 -07:00
michaelangel007
9105019e11
Fixed: Debugger 2.9.0.14: HELP JSR
2018-04-17 07:16:21 -07:00
michaelangel007
8a9ddda46a
2.9.0.13: Add profiler cycles
2018-04-15 13:35:58 -07:00
tomcw
4ab5aa1e7c
SSC work:
...
. SSC: For TCP mode, support DSR, DCD & CTS status bits (#308 ).
. SSC: Now DTR must also be set to enable interrupts (in addition to the respective Tx/Rx interrupt bit).
. SSC: When reading the Status register, throttle calls to GetCommModemStatus() to a maximum of once every 8ms.
2018-04-14 21:15:41 +01:00
tomcw
2900816167
Removed duplicate extern FILE* g_fh
2018-04-08 17:48:08 +01:00
TomCh
a78f1e04da
SSC: Support for TX IRQ and other SSC updates ( #552 )
...
. Support TX IRQ for both TCP and COM modes (fixes #522 )
. Support CTS/RTS (fixes #311 )
. Fixed reading DIPSW registers
. Fixed TCP mode which was only generating an IRQ for first byte received
. Added UpdateCommandReg() to consolidate all updates to SSC command reg
. Updated reference URLs
2018-04-08 17:37:26 +01:00
tomcw
598b20fb52
Refactor: Use INTCXROM instead of SLOTCXROM to be consistent with UTAIIe ( fixes #419 )
2018-04-06 22:36:54 +01:00
tomcw
419238bb54
Added cmd-line option: -s7 empty to remove the HDD Controller card from slot 7
2018-04-05 21:33:36 +01:00
tomcw
2ba55e0c12
Fix Swap Disk regression ( fixes #543 )
2018-04-02 18:21:18 +01:00
tomcw
9be3864f32
Added cmd-line options -h1,-h2 for specifying HDDs - #398
2018-04-02 12:38:05 +01:00
tomcw
d7de4908cd
Add comment for the reason that reset doesn't affect memmode & videomode for II and II+ models.
...
Add accessor for memmode, make static and replace extern refs with GetMemMode().
2018-03-19 18:49:08 -07:00
tomcw
8dcc5d50ca
Added a comment about HD_Insert() - #541
2018-03-10 14:30:18 +00:00
tomcw
2d2304b4c6
AppleWin's Config>Benchmark, reported a "Pure CPU MHz" which was not a good indicator of unthrottled speed for v1.26+, as it was still getting the emulator to do full NTSC/cycle-accurate video update. The reality (when in full-speed/unthrottled mode) is that the video is only refreshed at 16.6ms (wall-clock).
...
So added a 2nd "Pure CPU MHz" for full-speed (ie. no video update), eg:
---------------------------
Benchmarks
---------------------------
Pure Video FPS: 2860 hires, 2868 text
Pure CPU MHz: 10.3 (video update)
Pure CPU MHz: 241.3 (full-speed)
EXPECTED AVERAGE VIDEO GAME
PERFORMANCE: 476 FPS
(ref: #424 , #540 )
2018-03-03 22:01:03 +00:00
tomcw
d9accc82c5
Refactor codebase by renaming nCyclesLeft to uExecutedCycles ( #540 )
2018-03-03 21:27:50 +00:00
tomcw
93f57c0970
Logging: allowing logging of PrintScreen even when switch is used to suppress MsgBox
2018-02-28 21:23:20 +00:00
tomcw
d4a3c5c28f
PrintScreen key: Improve UI feedback when any of the 3 registrations fails & log failures ( fixes #547 )
...
Also tweak to full-speed: consolidating 2 calls to DiskII module into 1 call.
2018-02-27 21:07:16 +00:00
tomcw
552d8fcc7b
Remove old debug timing code ( #540 )
2018-02-26 21:34:01 +00:00
tomcw
6c031e7930
Disk II: changing 'enhancedisk' doesn't cause a restart + added accessors ( fixes #546 )
2018-02-25 15:09:25 +00:00
tomcw
e1286de7a9
Disk II: 'Swap Disks' only swaps disk (not drive properties) - fixes #543
2018-02-25 14:05:45 +00:00
tomcw
92504e0751
Refactor of Disk.cpp and Disk.h in preparation for #543 .
...
Changed struct Disk_t:
. Added new struct Drive_t with "has-a" relationship to Disk_t
. Split properties of drive into Drive_t and properties of disk into Disk_t
2018-02-25 13:38:04 +00:00
Andrea
70540bd6dc
Fix the following errors reported by VS2017 Code Analysis. ( #414 )
...
* Fix the following errors reported by VS2017 Code Analysis.
applewin\source\applewin.cpp(761): warning C6385: Reading invalid data from '"Disk Image"': the readable size is '11' bytes, but '21' bytes may be read.
applewin\source\debugger\debug.cpp(6624): warning C6386: Buffer overrun while writing to 'sName': the writable size is '31' bytes, but '32' bytes might be written.
applewin\source\debugger\debugger_display.cpp(3715): warning C6053: The prior call to 'strncpy' might not zero-terminate string 'sText'.
applewin\source\log.cpp(42): warning C6053: The prior call to '_vsnprintf' might not zero-terminate string 'output'.
applewin\source\debugger\debug.cpp(2759): warning C6011: Dereferencing NULL pointer 'pFont'.
applewin\source\debugger\debugger_symbols.cpp(243): warning C6053: The prior call to '_tcsncpy' might not zero-terminate string 'pText'.
applewin\source\diskimagehelper.cpp(1132): warning C6053: The prior call to '_tcsncpy' might not zero-terminate string 'pszExt'.
applewin\source\diskimagehelper.cpp(1141): warning C6053: The prior call to '_tcsncpy' might not zero-terminate string 'szFilename'.
applewin\source\parallelprinter.cpp(242): warning C6053: The prior call to '_tcsncpy' might not zero-terminate string 'g_szPrintFilename'.
The one about RegSetValue(), according to Microsoft
https://msdn.microsoft.com/en-us/library/windows/desktop/ms724922(v=vs.85).aspx
the last argument cbData is ignored, so I set it to 0, as in some cases was anyway wrong (see "DiskImage").
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
* Use sizeof() rather than hardcoded value.
Fix one more case on non terminated string.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2018-02-24 15:24:37 +00:00
Andrea
6051bc55d0
Changes to ease code compilation in gcc. ( #541 )
...
Changes to ease code compilation in GCC.
Disk_t and HDD contain a std::string and for this reason they need a proper constructor, ZeroMemory is not guaranteed to work.
2018-02-24 15:12:40 +00:00
tomcw
20022d999d
Minor: use global floppylatch
2018-02-24 13:18:26 +00:00
tomcw
dc565dd28c
Removed extra local var and updated DOS 3.2 INIT comment
2018-02-23 22:39:51 +00:00
tomcw
a07d087467
Improve logging and fix asserts for DOS 3.2 INIT ( #537 )
2018-02-15 21:54:15 +00:00
tomcw
82fdf1ab6a
DiskII: allow reading of write-protect state when in write mode ( #537 )
2018-02-11 14:52:21 +00:00
tomcw
839812ab7d
Debugger: OutputTraceLine() - add single-step comment
2018-02-02 21:10:46 +00:00
tomcw
2c8f5ce864
Support floating-bus in full-speed mode ( #508 , #519 , #532 )
2018-02-02 20:19:48 +00:00
tomcw
62b8b5ac14
DiskII: Updated comment about motor off not affecting state
2018-01-28 12:30:54 +00:00
tomcw
da24cd6e60
DiskII: Allow stepper motor to change phase when motor is off, but during the ~1s when it's still spinning ( #525 )
2018-01-28 12:21:28 +00:00
tomcw
b50da5a95b
DiskII: Prevent stepper motor changing phase when motor is off ( fixes #525 )
2018-01-27 17:02:33 +00:00
tomcw
b324f43a15
Added more logging when Apple2 Tyoe changes
2018-01-26 11:03:44 +00:00
tomcw
02a6df73c5
DiskFormat: tweaks and fixed some TODOs in comments
2018-01-20 17:18:24 +00:00
tomcw
4a69ba8a97
git merge --squash GH125-ProDOS-Format. Fix for disk formatting #125 , #196 , #338 :
...
. .dsk / .nib images
. ProDOS format / DOS 3.3 init
. authentic / enhanced disk access speed
For zero-length files, resize to the complete file size when first opened (#506 )
. Support both .dsk and .nib
Created a new class FormatTrack to encapsulate the new track formatting logic
Improved precision of 'authentic' drive mode's spin emulation (#125 )
Save-state: (save-state DiskII unit v2)
. support Format Track state
. save DiskLastCycle
DenibblizeTrack(): added some debug asserts and comments
Updated for VS2008/VS2013/2015/2017 projs & remove dependency on ddraw.lib for VS2013/2015
Updated disk logging:
. Moved all LOG_DISK_xx macros to new DiskLog.h (since shared by Disk.cpp and DiskFormatTrack.cpp)
. For write nibble: option to log cycle count & sync byte count
. For written track: option to log gap1/2/3 and track size
. For disk latch r/w: option to log when D5AA96 detected
Other:
. Debugger: Fix CD cmd to support absolute paths (#505 )
2018-01-14 18:01:22 +00:00
tomcw
efa9ab8aaa
Updated Debugger_Changelog.txt for a handful of issues
2018-01-06 16:26:07 +00:00
tomcw
713efcdcb1
PR #275 : Attenuate speaker (and 8-bit DAC) output sample after 0.25s of inactivity.
...
. Cherry-pick from 'master' of https://github.com/rmacri/AppleWin into master:
2017-12-20 20:09:43 +00:00
tomcw
607165cc9e
Debugger: default to Shift+Click to toggle diasm columns ( #462 )
2017-12-19 23:07:12 +00:00
tomcw
d59d706e5e
Merge branch 'master' into bug_479
2017-12-19 22:23:58 +00:00
tomcw
f37b82a8e7
Serial: after loading save-state, set m_uDTR variable correctly
2017-12-19 22:00:08 +00:00
tomcw
7e38429766
Serial-over-TCP: Receive wasn't setting the ASIC's Status register's interrupt bit. ( Fix #308 )
2017-12-19 21:35:04 +00:00
tomcw
e25b490198
Uthernet: 'TFE not supported' message-box contains broken URL, so add a comment about a copy of the old kb article now being in the repo
2017-12-18 21:54:59 +00:00
tomcw
34094f7299
Fix static analysis issues raised in PR #517
2017-12-17 19:35:54 +00:00
tomcw
664edf5b6f
Debugger: fix some static analysis issues from PR #517
2017-12-17 18:20:39 +00:00
tomcw
d46491c5d0
VideoMode: 80STORE should only mask, not clear PAGE2 - and this is handled by underlying NTSC video code ( #516 )
2017-12-04 20:43:42 +00:00
tomcw
5505ff696f
HDD error wasn't cleared on a reset or power-cycle - fixes #515
2017-12-03 21:05:05 +00:00
tomcw
a551af020d
Fix so that on emu restart, mousecard state is now reset ( #514 )
2017-11-29 06:56:14 +09:00
tomcw
77cbfbec99
Remove stale/unused key buffering code
2017-10-29 10:50:08 +00:00
tomcw
146b6ebad3
Opening any dialog will deactivate the main frame - so don't hide the mouse cursor
2017-10-28 22:13:05 +01:00
tomcw
e5dbdb1696
Full-screen: Hide mouse cursor after 2s of inactivity ( #504 )
2017-10-28 21:59:48 +01:00
tomcw
e2b515de33
MB/Phasor: Wrap 6522.IFR changes inside a critical section to avoid a potential 2 thread data-race
2017-10-28 18:39:45 +01:00
tomcw
74ac2a4f22
Mockingboard/Phasor unit functions only work from an inactive state
...
(#320 )
- Extended save-state (MB/Phasor v3) to support 'Unit state'
2017-10-27 11:10:15 +01:00
TomCh
66321febba
Support Mockingboard/Phasor when polling IFR.Timer1 ( #496 )
...
* Support precise AY8910 sound-buffer filling when polling 6522 IFR.Timer1 (ACR=Free Running mode)
- same as if using 6522 IER.Timer1 interrupt
* Support 6522's Timer2 and some code refactoring
* Bump version: 1.26.3.4
2017-10-24 22:28:22 +01:00
tomcw
49465d0182
Fix position of disk status in 2x Windowed-mode
2017-10-21 21:59:21 +01:00
tomcw
297cea7d2a
Support polling of Mockingboard's & Phasor's 6522 IFR.Timer1 ( #496 )
...
. Extended save-state (Mockingboard & Phasor: version 2) to support 6522 timer being active
2017-10-21 18:47:22 +01:00
tomcw
c49d68f2b5
Flush current track (if dirty) before 'Send to CiderPress' ( fix #499 )
2017-10-19 22:49:10 -07:00
tomcw
1cb5c6868d
UpdatePaging(): Clear memdirty flag for $Cx pages ( #495 )
...
. STA $CFFF will set memdirty[0xCF] flag
. The loop at the end of UpdatePaging() would copy a page of zeros over pCxRomInternal[0xF00] (ie. $CF00-CFFF)
2017-10-17 14:46:55 -07:00
tomcw
ba6a38d325
Frame.cpp: Get rid of the MAGICX/Y constants! Get the correct system-metric: SM_CXFIXEDFRAME (not SM_CXBORDER). Remove more commented out old code.
2017-10-12 22:11:10 +01:00
tomcw
670ca20057
Frame.cpp: Remove redundant, commented out and if 0 code, mostly relating to the old full-screen implementation
2017-10-11 19:18:53 +01:00
tomcw
32ffe0e1ac
Frame.cpp: internalise the FRAMEBUFFER_BORDERLESS_W|H constants as static vars
2017-10-11 17:55:10 +01:00
tomcw
018e338612
Frame.cpp: move header constants into Frame.cpp and expose with accessor functions
2017-10-11 17:38:36 +01:00
tomcw
03b4e889e5
Stop ASSERT when 'mouse entering Apple screen area' ( #464 )
2017-10-10 22:11:36 +01:00
tomcw
b1dfd57502
Tidy-up in Frame.cpp: unused prototypes, dead code; consolidate some full-screen constants
2017-10-10 22:06:24 +01:00
TomCh
0bf2ae677a
Full-screen and 2x tweaks for Status Area ( #492 )
...
Status Area tweaks:
. Full-screen: Correctly erase the PAUSED or STEPPING text status
. 2x windowed mode: draw the the correct size 3d rect
2017-10-05 22:06:53 +01:00
tomcw
9616df504e
Full-screen: Added Config UI checkbox for the display of subunit status (ie. keyboard caps, disk activity, paused/stepping state) - #224
2017-10-02 22:22:26 +01:00
tomcw
c5bbf9a2c2
Cmd-line: Remove old -fs8bit switch
2017-09-30 09:47:48 +01:00
tomcw
3cf50d01ba
Cmd-line: support new -fs-height=<best|nnn> ( #488 )
2017-09-29 20:33:30 +01:00
tomcw
6fd125de31
Add more comments about INTC8ROM
2017-09-23 19:29:59 +01:00
tomcw
3a5bf012f1
Save-state: Fix for when SSC's expansion ROM is active and PC is running in this space (GH#486)
2017-09-22 22:23:13 +01:00
Michaelangel007
b5c5dcf638
Fix poor code formatting
2017-08-26 16:45:51 -07:00
Michaelangel007
7039c2a575
Don't offset viewport when full screen. #464
2017-08-26 16:44:20 -07:00
michaelangel007
cf743203ce
#483 click to toggle flags
2017-08-25 09:29:30 -07:00
michaelangel007
6cabe7740f
#481 Extend arguments from 55 chars to 127 chars
2017-08-25 08:56:23 -07:00
michaelangel007
1612269093
#462 Added for click
2017-08-25 07:36:31 -07:00
michaelangel007
be41616359
Implements #462 sans: help disasm
2017-08-25 07:22:08 -07:00
michaelangel007
d9e9ef34ab
Add note about vector clear() insert() at()
2017-08-24 18:43:54 -07:00
michaelangel007
df8d6c06a6
Fix #473 read debugger script file not being properly zero-terminated
2017-08-24 18:43:10 -07:00
michaelangel007
efdce696fc
Fix off-by-one bug wrapping in debugger console #476
2017-08-24 16:59:19 -07:00
michaelangel007
2ec3255863
Add comment backlink to F.R. #469
2017-08-24 16:40:21 -07:00
michaelangel007
cb138c97d4
Bug #469 added command line switch to disable PrintScreen key capture
2017-08-24 16:33:03 -07:00
michaelangel007
1728b7b668
Bug #466 Update HELP SYM to double-quote symbols
2017-08-24 12:36:46 -07:00
michaelangel007
dc7b99c006
#479 Fix off-by-one display bug for warning long symbols name
2017-08-24 09:47:05 -07:00
michaelangel007
975230b46d
#479 (b) Add Warning for long symbols when symbol table is loaded
2017-08-24 09:40:28 -07:00
michaelangel007
a276bef7df
2.9.0.10 Change Warning to Info for symbols that alias
2017-08-24 09:37:07 -07:00
michaelangel007
eed603f116
Debugger: Bugfix #479
2017-08-24 09:21:15 -07:00
tomcw
0fef6516f4
Debugger: fix _6502_GetTargets() when abs addr16 wraps over 64K boundary (crash bug) & extend debugger unit-tests
2017-08-15 22:12:51 +01:00
tomcw
fb963148c2
At the point of opening AppleWin.chm, try to delete any Zone.Identifer alt data stream ( fixes #437 )
2017-08-14 21:23:49 +01:00
tomcw
9e7318e7ed
Debugger: revert behaviour from 8fce7a8
so that Ctrl+F2 doesn't immediately stop the drive spinning, but F2 still does ( #460 )
2017-08-12 11:50:31 +01:00
tomcw
88bb57d55a
Debugger: When MODE_STEPPING, fix issue with disk LEDs staying on ( fixes #250 )
2017-08-11 22:01:47 +01:00
tomcw
8fce7a8753
Debugger: F2 or Ctrl+F2 whilst debugger will immediately stop the drive spinning (allowing disk swap) ( fixed #460 )
2017-08-11 21:45:07 +01:00
tomcw
dd510801fc
Fix strange speaker clicks when changing configuration - DirectSound wasn't being uninitialised on a restart ( fixes #456 )
2017-08-10 22:10:59 +01:00
tomcw
c35b863bd9
Debugger: BPM cmd: trigger on stack access for BRK,JSR,PLn,PHn,RTI,RTS ( #445 )
2017-08-04 21:07:02 +01:00
Nick Westgate
f1b4dea990
Return ProDOS errors from Harddisk emulation. Fixes #452
...
Replace Basic System error codes with ProDOS ones.
2017-08-04 21:54:18 +12:00
tomcw
2a916103b6
Use CB_ERR instead of -1
2017-07-07 18:13:21 +01:00
tomcw
0a60a0a8aa
Video.cpp: remove redundant code
2017-07-06 21:36:56 +01:00
tomcw
1c145ff154
1.26.3.0: Apply bounds and error checking for the joystick configuration ( fixes #434 )
2017-07-03 21:48:21 +01:00
tomcw
b7c9c3e663
Config:Advanced tab wasn't appending suffix to save-state file. Fixes #433
2017-06-30 22:39:33 +01:00
Kelvin Lee
b02c7ffb10
Added VS2017 support.
2017-06-10 20:39:25 +01:00
Nick Westgate
3a30a3ee4b
Input option to use PC Joystick 1 Thumbstick 2 for emulated Joystick 2 ( #428 )
...
* Input option to use PC Joystick 1 Thumbstick 2 for emulated Joystick 2
2017-06-07 10:14:25 +12:00
Nick Westgate
2dabab907b
Joystick combo boxes logic correction fixes #426 ( #427 )
...
* Joystick combo boxes logic correction fixes #426
2017-06-05 10:09:36 +12:00
tomcw
d81cb0d533
Disk Config dialog: small refactor
2017-06-03 18:21:27 +01:00
tomcw
13aee80bd5
Disk Config dialog: minor bugs fixes ( fixes #334 )
2017-06-03 18:12:40 +01:00
tomcw
0257492209
Debugger: Don't 'eat' the next keypress when leaving the debugger via F7 (or clicking the Debugger button)
2017-05-29 21:28:45 +01:00
tomcw
b5e78b59a0
Debugger: Fix for 'tf' (trace-file) cmd, so that exiting debugger with F7 doesn't close the trace file and continues in MODE_STEPPING
2017-05-24 22:40:22 +01:00
tomcw
16942d695e
Update History.txt
2017-05-22 22:04:34 +01:00
tomcw
1d73611fcc
Fix comment about / INTCXROM OFF to account for INTC8ROM
2017-05-22 21:52:15 +01:00
tomcw
64dd4c22c2
Refactor: Rename IORead_Cxxx() to IO_Cxxx(), and use for writes too. Re-enable support for writes to NSC (which was accidently removed at 5470feb
).
2017-05-21 22:06:37 +01:00
tomcw
12eed08bea
Support INTC8ROM: extend logic for IO_SELECT_InternalROM and rename to INTC8ROM. ( Fixes #422 , #423 )
2017-05-21 17:35:35 +01:00
tomcw
04e9f6bdb9
Fix operator precedence bug
2017-05-14 12:06:41 +01:00
tomcw
344078a559
Replaced UTA2E with UTAIIe for consistency across code-base
2017-05-14 11:33:07 +01:00
tomcw
52450aa7f7
These 2 combined fix #418 :
...
1) Uthernet card now returns floating bus for slot ROM at $Cs00-CsFF (where s=3).
2) Fixed IoHandlerCardsIn() to not map in the card in slot3's slot ROM when SLOTC3ROM=0.
Also:
. moved the typedef 'iofunction' from common.h to memory.h
2017-05-13 22:07:53 +01:00
michaelangel007
f8d3789635
1.26.2.4 Prompt when trying to swap disks while drive is on instead of silently failing
2017-05-11 08:34:57 -07:00
michaelangel007
158b5212e6
Debugger 2.9.0.8
2017-05-11 05:44:42 -07:00
michaelangel007
bcbcaffcf5
GH #406 Cleanup LC status in debugger - B#, and dim inactive bank
2017-05-10 09:51:45 -07:00
michaelangel007
77075a8f32
DOC: Cleanup typo
2017-05-10 09:49:48 -07:00
michaelangel007
b155872f57
Debugger: Extend ColorizeFlags() to support custom fg if not set
2017-05-10 09:47:45 -07:00
tomcw
eb21f34ace
Fixed not being able to select Pravets82, improved code robustness & improved UX when loading an unsupported Apple2Type config ( fixes #415 )
2017-05-08 22:32:01 +01:00
tomcw
e3a99ecf9f
RamWorks: Fixed flickery 80-col for ProDrive ( fixes #297 ) and AppleWorks ( fixes #409 )
2017-05-06 18:34:11 +01:00
tomcw
220050bec3
Save-state: Bug when saving more than 9x RAMWorksIII 64K banks - fixes #413
2017-05-04 13:32:07 -07:00
Andrea Odetti
64e924bcae
Delete unused code from Video.cpp
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2017-05-01 20:20:02 +01:00
michaelangel007
23f1f46fc8
GH #406 Cleanup - remove extraBank from _DrawSoftSwitchLanguageCardBank()
2017-05-01 08:47:31 -07:00
michaelangel007
ab945bbbe0
Cleanup warning about unused label if not SATURN
2017-05-01 06:15:47 -07:00
tomcw
739afea01a
Remove redundant code relating to SetCharseType() and g_nCharsetType
2017-04-30 18:50:27 +01:00
michaelangel007
d243425c20
2.9.0.7 Memory softswitches are now in chronological order, and their background is a dark grey
2017-04-27 17:13:34 -07:00
michaelangel007
8c209cfc2d
Some Read/Write for Main/Aux memory
2017-04-27 16:58:43 -07:00
michaelangel007
fd2d44a349
Change debugger background for LC to be darker cyan
2017-04-27 16:41:03 -07:00
michaelangel007
335a8e5c5c
Change debugger IO title to light blue for easier reading
2017-04-27 16:37:13 -07:00
michaelangel007
248c141655
Piggyback Saturn IO onto standard 16K LC io switches
2017-04-27 15:14:51 -07:00
michaelangel007
c75ed14c32
Cleanup warning unsigned int
2017-04-27 15:14:18 -07:00
michaelangel007
b3b39e19f4
Separate out Saturn 128K IO access from 16K LC access
2017-04-27 15:01:44 -07:00
michaelangel007
a9cb5e227a
Init Saturn LC mem
2017-04-27 15:00:34 -07:00
michaelangel007
7f88196d3e
Cleanup formatting
2017-04-27 14:59:41 -07:00
michaelangel007
f8f881d41a
Fix missing brace for SATURN
2017-04-27 14:51:34 -07:00
michaelangel007
d3e620fcd4
Add command line to init Saturn memory size
2017-04-27 14:50:15 -07:00
michaelangel007
9fd479b976
Debugger: Show if RAMWORKS Language Card is installed, and which page is active
2017-04-27 14:06:01 -07:00
michaelangel007
93e6d668e7
Add backend to display Extended Language Card Bank for RAMWORKS or Saturn
2017-04-27 14:04:53 -07:00
michaelangel007
cd88c40719
Save extended Language Card memory type if RAMWORKS
2017-04-27 14:03:17 -07:00
michaelangel007
3cd86800b9
Disable Saturn language card code
2017-04-27 14:02:32 -07:00
michaelangel007
52cf059c4b
Add Saturn memory pages
2017-04-27 14:02:02 -07:00
michaelangel007
ebad3d237f
Add note about g_uActiveBank used by RAMWORKS
2017-04-27 14:00:49 -07:00
michaelangel007
4b334e9466
Add Memory Types for Extended Memory, export RAMWORKS active bank
2017-04-27 13:59:29 -07:00
michaelangel007
59702d9c74
Only draw LC staus on Bank 2 line
2017-04-27 13:39:59 -07:00
michaelangel007
baa0b08198
Bugfix: Don't over-draw LC status outside designiated info. area
2017-04-27 13:37:56 -07:00
michaelangel007
e5087a6627
Prep for LC bank
2017-04-27 13:37:19 -07:00
michaelangel007
10092a88f6
Fix grammar
2017-04-27 13:36:33 -07:00
michaelangel007
28218634e8
Add some comments for Language Card use
2017-04-27 12:33:51 -07:00
michaelangel007
18fd4205c9
And turn it on
2017-04-27 12:02:09 -07:00
michaelangel007
5cc4cbd26c
Debugger 2.9.0.4 Language Card Status
2017-04-27 12:00:54 -07:00
michaelangel007
4cb19645c1
Document IO soft switch for MF_HIGHRAM
2017-04-27 11:56:04 -07:00
michaelangel007
895a6839bc
Make memmode global as debugger needs access
2017-04-27 10:01:58 -07:00
michaelangel007
785fe505b6
Debugger 2.9.0.3 internal cleanup of drawing soft switches
2017-04-27 09:31:34 -07:00
michaelangel007
f4b5aa5fa5
Cleanup via factor out _DrawSoftSwitchHighlight()
2017-04-27 09:30:08 -07:00
michaelangel007
eb0890add4
Add (default) background to ColorizeFlags()
2017-04-27 09:29:22 -07:00
michaelangel007
afa681ea9e
Move Memory Flags to .h since debugger needs them
2017-04-27 09:18:37 -07:00
tomcw
d11f0a222d
Fix the discontinuous whole screen redraw bug in full-speed mode ( #405 )
2017-04-23 21:37:01 +01:00
tomcw
d9669fa45b
Printscreen: Fix for missing half-top line for B&W TV and Color TV ( #403 )
2017-04-22 22:22:29 +01:00
tomcw
41286cd29f
Debugger: Remove DebugDisplay()'s unused first parameter: bDrawBackground because it was unused and in some cases it was being passed a bitfield, not a BOOL
2017-04-22 20:52:21 +01:00
tomcw
124eca4546
Debugger: Allow MODE_DEBUG and MODE_STEPPING states to persist across an F2 ResetMachineState() call ( #217 )
2017-04-22 20:42:42 +01:00
tomcw
5e6a445bab
Debugger: When MODE_STEPPING (eg. g or gg mode), prevent ESC from exiting back to the debugger. F7 or Pause keys can still be used. ( #217 )
2017-04-22 17:13:41 +01:00
Michaelangel007
a5274ca7d0
Fix comment typo
2017-04-17 21:44:30 -07:00
tomcw
a5cffc7441
NTSC: Removed the redundant per-line caching of video mode & video function. Tested with ANSI STORY (end credits) and Rainbow.
2017-04-14 20:59:43 +01:00
michaelangel007
27cd3fa0ea
Merge branch 'master' of https://github.com/AppleWin/AppleWin
...
Conflicts:
AppleWinExpress2010.vcxproj
2017-04-13 10:18:35 -07:00
Nick Westgate
a2f015882e
Fix language card switch behaviour - fixes #400
2017-04-08 09:38:13 +12:00
Michaelangel007
4325900b2d
DOC: Fix 6502 cheat sheet x2 x6 ZP
2017-04-05 07:51:16 -07:00
tomcw
1bd85e123e
SSC: Added -modem switch (for dcd,dsr,dtr) and removed invert switches ( #386 )
2017-03-23 21:36:26 +00:00
tomcw
82302c19ce
Fixed #387 : Added support for up to 40-track .nib images
2017-03-21 22:06:56 +00:00
tomcw
3db755c2b4
Fixed #316 - For g cmd: don't set regular BP when also doing g_nDebugStepUntil
2017-03-21 21:25:24 +00:00
tomcw
abd99d109e
SSC: Experimental support for 6551's status bits: DCD and DSR via -dcd[-invert] and -dsr[-invert] args ( #386 )
2017-03-19 21:44:20 +00:00
tomcw
b377dc8afb
Savestate: SSC - DTR : added a todo comment
2017-03-19 17:27:07 +00:00
tomcw
49752ff7c3
LC 0xC08n.b0=1: After write-enable RAM, STA doesn't write-protect ( #395 )
2017-03-18 21:33:45 +00:00
tomcw
6d55634281
Debugger: fix for MODE_STEPPING at was falsely breaking on floating bus
2017-03-18 15:18:14 +00:00
tomcw
6063d8e96f
SSC: Experimental support for 6551's DTR via -dtr or -dtr-invert args ( #386 )
2017-03-18 13:56:18 +00:00
tomcw
5470febbf8
Fix for write to 0xCFFF (wasn't implemented), and clear IO_SELECT_InternalROM on 0xC006 (SLOTCXROM) access ( #392 )
2017-03-16 22:28:18 +00:00
tomcw
87862bcf28
Fix for 2x read access to (odd addr) to enable write access ( #392 )
2017-03-15 21:42:06 +00:00
tomcw
1c3838ab8f
Debugger: removed unused var
2017-03-12 21:56:42 +00:00
tomcw
30d8b7716a
Debugger: Mute sound when entering debugger from MODE_STEPPING:
...
. ie: ESC, F7 and Pause key
Debugger: Fix for MODE_STEPPING when jump from $C3xx to $C8xx:
. Don't break on floating-bus, as Expansion ROM will be switched in on
this access.
IORead_Cxxx(): Fix the logic for IO_SELECT when not slot-3
2017-03-12 21:54:08 +00:00
tomcw
3a2313c52e
Debugger:
...
. Improved break on FB or IO: account for slot empty (or not) & if expansion ROM enable
Memory:
. IORead_Cxxx(): Fix for Apple II support for when slot-3 is empty
. Apple II type was erroneously testing //e soft-switches
2017-03-10 22:00:01 +00:00
Nick Westgate
16b81133e0
Allow disk write protect read with drive off - Fixes #389
...
- Added comments
- Removed mistaken check for writing nibbles < 0x80
- Reset forces all switches off
2017-03-08 23:13:56 +13:00
tomcw
3d6c10bad9
Debugger:
...
. Move the BRK and invalid opcodes checks out of main emulation's Fetch() and into DebugContinueStepping()
. Added a new break condition: when PC reads floating bus or I/O memory
. On a break condition, output a 'Stop Reason' message to the console
2017-03-07 21:35:38 +00:00
tomcw
743add80f0
Improve ContinueExecution() whilst MODE_STEPPING:
...
. GetKeyState(VK_SCROLL) is slow, so only call periodically
. Account for g_nCpuCyclesFeedback before calling SpkrUpdate()
2017-02-26 13:45:06 +00:00
tomcw
29b7fa15b8
Merge branch 'master' of https://github.com/AppleWin/AppleWin
2017-02-25 22:48:07 +00:00
tomcw
0b6c5bbb91
Support for #384 :
...
. Debug 'G(o)' cmd now defaults to normal speed (and precise video updates)
. New debug 'GG' cmd enables full speed (and periodic video updates)
. Single-stepping (normal or full speed) now routed through ContinueExecution()
. Removed Cpu6502()/Cpu65C02() check for debug breakpoints
. Removed the (undocumented) SHIFT+F7 feature to exit debugger for 'normal speed breakpoints'
. Removed the g_bDebugNormalSpeedBreakpoints variable
2017-02-25 22:32:46 +00:00
tomcw
8c4f451557
Remove old, unused _Video_SetupBanks()
2017-02-17 16:00:22 +00:00
tomcw
fc781cdd47
Remove old, unused Video.cpp var/code:
...
. g_VideoForceFullRedraw
. VideoApparentlyDirty()
2017-02-17 15:37:37 +00:00
tomcw
a6bfe4cfe9
1.26.1.1: Fix #382 - CTRL+RESET not re-init'ing correct 40/80 text rendering routine when in mixed mode
2017-02-17 14:55:04 +00:00
Kelvin Lee
56570960ef
Renamed g_restart to g_bRestart.
2016-12-29 12:10:25 -05:00
Kelvin Lee
e0cac15ede
Renamed global variable restart to g_restart. Made it proper bool.
2016-12-29 12:10:03 -05:00
Kelvin Lee
0992cf16c4
Added variadic variants of ConsolePrint(), ConsoleBufferPush() to make code cleaner. Also added ConsoleColorizePrint() and variants.
2016-12-29 12:07:54 -05:00
Kelvin Lee
5e59f11625
Fixed a compiler warning.
2016-12-29 11:37:54 -05:00
Kelvin Lee
bb25fb702e
Fixed compiler warning about too many arguments for sprintf.
2016-12-29 11:36:43 -05:00
Kelvin Lee
65e253f312
Fixed indentation with tabs.
2016-12-29 11:36:21 -05:00
Kelvin Lee
20a1a9a884
Fixed compiler warnings about adding integer to char.
2016-12-29 11:35:09 -05:00
Kelvin Lee
03996c45a8
Fixed to safely sscanf.
2016-12-29 11:34:39 -05:00
Kelvin Lee
9ec4012209
Fixed format typo.
2016-12-29 11:01:46 -05:00
Kelvin Lee
c0736aaabf
Print pointers in correct way.
2016-12-29 11:01:12 -05:00