Commit Graph

988 Commits

Author SHA1 Message Date
tomcw
6b07fd665f Save-state: Added save-type functions to YamlSaveHelper & use wherever saving state. Also added new cmd-line option: -load-state. 2016-02-24 21:51:20 +00:00
tomcw
8524f91495 Save-state: Yaml: Removed GetMapValueBOOL() 2016-02-20 17:57:23 +00:00
tomcw
7f50288bd9 Remove old functions from header 2016-02-16 22:11:19 +00:00
tomcw
ccac0a562d Save-state: standardise on Unit0/Unit1 for Disk2 and HDD 2016-02-15 22:33:38 +00:00
tomcw
13e7a6cc65 Fix for probing CpuType from Apple2Type 2016-02-14 17:25:58 +00:00
tomcw
37ad1ebd63 Removed redundant binary v2 save-state code
Also:
. support new CpuType independently of Apple2Type
. save-state: don't save disk track image if no disk
. save-state: re-init AppleWin internals & UI to reflect changed Apple2Type
2016-02-14 16:01:30 +00:00
tomcw
2f6e86c0fa Added libyaml 0.1.5
Added yaml save-state support for:
. Main AppleII unit
. Aux memory & RawWorksIII
. Printer
. SSC
. Z80
. Mouse
. Mockingboard
. Phasor
. Disk][
. HDD
2016-02-07 15:47:15 +00:00
tomcw
5c16c3642a Merged master to savestate branch 2015-09-13 11:39:58 +01:00
tomcw
431dcde059 Save-state: Add comments for load/save config state 2015-08-21 22:09:44 +01:00
tomcw
2f4ee9466f Save-state:
. add ConfirmReboot
. Restore saved configuration
. Moved some config to Joystick & SerialCard
. save config
2015-08-21 21:45:21 +01:00
michaelangel007
8d4cb8de35 Fix uninit var in CmdMemoryLoad() 2015-07-30 09:25:53 -07:00
michaelangel007
a70bd70665 De-space, convert to tabs 2015-07-30 09:21:31 -07:00
michaelangel007
81c649d621 [PVS-Studio] Fix sprintf() security warnings Bug #301 2015-07-30 09:17:34 -07:00
michaelangel007
550b230ad8 Cleanup warning unreachable code 2015-07-30 09:10:28 -07:00
michaelangel007
6fac2483ef [PVS-Studio] Fix redundant var init in GetConsoleLineHeightPixels() Bug #301 2015-07-30 08:55:07 -07:00
michaelangel007
04702ee7c5 [PVS-Studio] Fix potential security issue sprintf() Bug #301 2015-07-30 08:26:18 -07:00
michaelangel007
6f8b75e443 [PVS-Studio] Code cleanup - fix potential security issues with wsprintf( bufffer, string ) -> wspritnf( buffer, "%s", string ) Bug #301 2015-07-30 08:20:27 -07:00
michaelangel007
8aa8f347ae Cleanup assignment in while in ConsoleBufferPush() 2015-07-30 08:14:05 -07:00
michaelangel007
b62758636b Cleanup unused variables 2015-07-30 08:12:55 -07:00
michaelangel007
1cd6e72e75 Merge branch 'master' of https://github.com/AppleWin/AppleWin 2015-07-30 07:58:42 -07:00
michaelangel007
2381734256 [PVS-Studio] Fix extra argument in fprintf() OutputTraceLine() and bad logic in DebuggerMouseClick() bug #301 2015-07-30 07:58:34 -07:00
michaelangel007
9032173226 [PVS-Studio] Fix extra argument in fprintf() OutputTraceLine() and bad logic in DebuggerMouseClick() bug #310 2015-07-30 07:47:01 -07:00
michaelangel007
56c52beac9 [PVS-Studio] Fix false positive extra parameters to wsprintf() in CmdBreakOpcode() 2015-07-30 07:29:20 -07:00
michaelangel007
2f645d68f4 [PVS-Studio] Fix assignment in DenibblizeTrack() and potential buffer overflow in SetCurrentImageDir() 2015-07-30 07:28:20 -07:00
michaelangel007
5f1decaaea Fix MSVC Project so it compiles on MSVC 2010 -- was missing Sam.cpp 2015-07-30 07:17:05 -07:00
michaelangel007
5a112ee9ed Fixed some issuses mentioned in #301 2015-07-30 07:08:18 -07:00
TomCh
fc221a68c8 Merge pull request #299 from AppleWin/AppleWin-Nick
Removed old disk stepping code - this closes #133 (Berlios bug #18109)
2015-07-06 22:00:04 +01:00
sicklittlemonkey
37b3006f5c Added defines to enable disk logging types. Tidied up TAPEIN code with reference. 2015-07-06 21:27:23 +12:00
sicklittlemonkey
bed486b4d2 Added doubled-up cassette in and paddle softswitches 2015-07-04 01:38:24 +12:00
sicklittlemonkey
e37223feb0 - Changed Disk_IORead and Disk_IOWrite and related functions to better reflect actual Disk II controller operation, mainly around reading & writing the latch
- Removed old disk stepping code as DataWiz confirmed he modified his Chessmaster 2000 crack to work on old AppleWin - this closes bug #18109 - https://groups.google.com/d/topic/comp.sys.apple2/xHrW45igYY8/discussion
- Added a floppyloadmode variable for emulating $C08D (see UTA2E page 9-13) but commented out use of it as it's mostly implicit in this implementation
- Tidied up logic in DiskReadWrite
- Improved disk debug logging
- Added TODO: ImageWriteTrack shouldn't take pFloppy->phase as a parameter
2015-07-04 01:19:26 +12:00
tomcw
ed0e8925a4 Fix ASSERT when disabling/enabling soundtype (#295) 2015-06-20 12:33:45 -07:00
tomcw
18cd2afdd0 Save-state: fix for EnableHDD flag not being reset for a new config 2015-06-01 22:35:57 +01:00
tomcw
559a236b14 Save-state:
. On save: append .aws if missing
. Added Pravets.cpp/h (for this clone's specific stuff)
2015-05-31 22:53:53 +01:00
tomcw
1f566088af Only use stdint.h for VS2010 or greater. 2015-05-28 21:26:00 +01:00
tomcw
b1395b8adb Merge branch 'master' of https://github.com/AppleWin/AppleWin 2015-05-26 21:59:02 +01:00
tomcw
9f32050c60 Fix opcode timing issues reported in #292 2015-05-26 21:58:48 +01:00
Michaelangel007
9e32778292 Add note to verify heatmap r,g,b mask order 2015-05-21 15:59:03 -07:00
Michaelangel007
2ab7de53c5 Cleanup whitespace and macros 2015-05-21 15:56:16 -07:00
Michaelangel007
2ba6506cfd Fixup heatmap 2015-05-21 15:54:35 -07:00
Michaelangel007
6ea4c751d5 Fix spelling 2015-05-21 15:11:23 -07:00
Michaelangel007
ced54a4789 Add: stdint.h 2015-05-21 14:45:38 -07:00
Michaelangel007
b8cfab45fa Add TODO cleanup notes 2015-05-21 13:52:45 -07:00
TomCh
614dfc1257 Merge pull request #287 from AppleWin/cpu_emu_timing_fixes
CPU emulation timing fixes:
. Fixes for these issues: #264, #271, #278, #282, #288.
. Some refactoring (splitting & renaming of macros).
. Added unit tests for all these fixes (new project: TestCPU6502).
. TestCPU6502 unit tests are built & run before the main AppleWin project is built.
2015-05-10 16:48:42 +01:00
Michaelangel007
ac8aecfb1b Sync up debug 6502 to 65C02 2015-05-09 15:45:55 -07:00
Michaelangel007
f7b3203756 Remove extraneous // on 0x7C 2015-05-09 15:45:12 -07:00
tomcw
a52942f1cd Make AppleWin project dependent on TestCPU6502 & and run the test as a pre-build event before AppleWin gets built. 2015-05-09 21:22:01 +01:00
tomcw
df5635dc11 Align opcodes in 6502 and 65C02 switch statements 2015-05-09 20:57:25 +01:00
tomcw
cbb837bf6b Add timing tests for all opcodes: 6502, 65C02, page-cross and non-page-cross (#278). Also fix opcode timing for 0xCE: DEC abs (#288). 2015-05-09 19:20:31 +01:00
tomcw
38c98f0c31 Fix cpu65d02 for DEC/INC ABS,X timings 2015-05-04 12:04:37 +01:00
tomcw
9c7b8f50c6 Extend unit tests for #264 and #271. Refactor: renamed some macros. 2015-05-04 11:57:24 +01:00