35 Commits

Author SHA1 Message Date
tomcw
11789c9023 Save-state: Renamed YamlLoadHelper load-type functions to be more consistent with YamlSaveHelper functions 2016-02-24 22:38:59 +00:00
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
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
michaelangel007
5a112ee9ed Fixed some issuses mentioned in #301 2015-07-30 07:08:18 -07:00
sicklittlemonkey
bed486b4d2 Added doubled-up cassette in and paddle softswitches 2015-07-04 01:38:24 +12: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
f114a9b8fe Save-state: alloc extra 64K banks for RamWorks card if needed 2015-04-12 17:30:16 +01:00
tomcw
498f01edde New save-state (.aws) v2:
Added card save/load for:
. Phasor (#260)
. CP/M (#260)
. 80 column card:
  . aux memory now saved separately from main memory
  . extended memory (RAMworks) (#260)

Mockingboard & Phasor:
. Full AY8910 internal state now preserved.
  . needed for eg. envelope, ay_change[], etc
  . also Phasor player only updates AY regs that have changed

Other:
. On restore error, then PostMessage(WM_USER_RESTART), so that emulator not left in intermediate state
. Fix: Start Dir wasn't set when drag & dropping an image onto a drive icon or double-clicking an image file
2015-04-11 22:24:54 +01:00
unknown
feccde41bf rename SAM to DAC functions 2015-03-30 17:27:51 +09:00
unknown
fa43e909ed renamed DAC to SAM 2015-03-30 17:25:30 +09:00
unknown
c2b62d26d3 Sound page has SAM card option 2015-03-11 12:43:24 +09:00
unknown
33d33b71ec Updates to support DAC card, no UI yet - missed files 2015-03-10 21:33:14 +09:00
tomcw
717c5cba84 New save-state (.aws) v2:
. Format now extensible for supporting new hardware types in the future
. Include missing items like Apple2Type, CyclesThisVideoFrame (#255)
Continue to support loading of old v1 format.

Added card save/load for:
. Mouse (#260)
. HDD (#260)
. Printer

Extended card support for:
. SSC

Other:
. Added save-state v1 struct size checks
. Create SaveState_Structs_v2.h and split out common into SaveState_Structs_common.h
. Refactor HardDisk.cpp to use imagehandle; and consolidate with Disk.cpp
. Fix Disk/HD_GetFullPathName() which wasn't always returning full pathname
. Consolidate common GetImageTitle() and move into DiskImage.cpp
2015-02-13 22:40:53 +00:00
tomcw
8fac75322a Refactor: Removed unused vars from Memory.cpp. Also change Disk][ I/O regs to return floating bus. 2014-09-28 22:04:12 +01:00
tomcw
1f892a27d4 Simplified main-loop a bit more, and removed more globals from AppleWin.cpp 2014-09-14 16:12:55 +01:00
tomcw
d1dddbe813 1.25.0.3: Restore MIP_FF_FF_00_00 as memory init default (see GH Bug#225) 2014-09-08 22:25:29 +01:00
michaelangel007
a49904a5f7 1.25RC2 Added note about MIP_FF_00_FULL_PAGE breaking Castle Wolfenstein -- no work-around yet except to use MIP_FF_FF_00_00 instead. 2014-09-07 18:29:47 -07:00
michaelangel007
92e0f14907 #222 Kludge for Copy ][ v5 on MIP_PAGE_ADDRESS_LOW 2014-08-23 23:07:02 -07:00
michaelangel007
0a80bb22b2 Kludge for #222 MIP_PAGE_ADDRESS_LOW due to bug in 'Beautiful Boot' 2014-08-22 23:20:58 -07:00
tomcw
c1bfb8075c Created new DebugDefs.h for memory defs 2014-08-14 18:14:39 +01:00
tomcw
ea23def601 More header refactoring 2014-08-14 18:03:12 +01:00
tomcw
6a26a95487 PCH refactor: remove non-system headers from stdafx.h 2014-08-13 21:30:35 +01:00
michaelangel007
a4bae75d2a Documented #206 existing and new -memclear options with "In Development" in History.txt
-memclear 0 Initialize memory to zero
     -memclear 1 Initialize memory to random values
     -memclear 2 Initialize memory to 4 byte pattern: FF FF 00 00
     -memclear 3 Initialize memory to even pages FF, odd pages 00
     -memclear 4 Initialize memory to first half page 00, last half page FF
     -memclear 5 Initialize memory to first half page FF, last half page 00
     -memclear 6   Initialize memory to byte offset of page
                   (current memory address low byte)
     -memclear 7   Initialize memory to page address
                   (current memory address high byte)
2014-07-17 20:42:19 -07:00
michaelangel007
f4b09e1f8f Feature Request #206 Command line switch: -memclear # 2014-07-17 20:18:59 -07:00
michaelangel007
21033f4f2e Removed //c memory blaster initialization pattern from MIP_00_FF_HALF_PAGE since it is firmware $FCCA 2014-07-16 21:56:01 -07:00
michaelangel007
2719de8a09 Fix //c memory blast fill constant with actual 0xA0.
Remove MemReturnRandomData(), replace with getRandomTime()
2014-07-16 08:41:45 -07:00
michaelangel007
82e77c9215 Cleanup: Added exception docs for MIP_FF_FF_00_00 2014-07-15 21:28:26 -07:00
michaelangel007
9c186199c2 Use random values for memory holes at $xx28, $xx29, $xx68, $xx69 in MIP_FF_FF_00_00 2014-07-15 21:14:05 -07:00
michaelangel007
5109fd39da Fix //c cold start memory 'blaster' initialization pattern 2014-07-15 20:55:28 -07:00
michaelangel007
b68f89ebff #206 - Memory Initialization doesn't mirror other Apple //e //c models 2014-07-15 12:37:04 -07:00
michaelangel007
0e0e97e831 Cleanup: Tabify and multi-column alignment for better readability. 2014-07-13 21:31:28 -07:00
michaelangel007
81ce9c54d1 Certain games (such as Pooyan) expect RNDL and RNDH to be non-zero. Initialize to non-zero value. 2014-07-13 21:00:45 -07:00
tomcw
d591dd006b Remove the top-level AppleWin folder 2014-05-23 22:59:02 +01:00