Commit Graph

1429 Commits

Author SHA1 Message Date
Andrea
35f176e4d8
Replace DWORD -> uint32_t. (PR #1350)
Some have been left where tightly coupled with the Win32 API.
2024-12-21 12:32:00 +00:00
tomcw
44babe9814 Add comment for RamWorks III on a reset 2024-12-16 15:25:18 +00:00
Andrea
9b15559949
Minizip: include minizip as "minizip/unzip.h" and "minizip/zip.h". (#1345)
This aligns AW to the new way minizip is meant to be included:

7e6f0784cc

Which avoids ambiguous includes if zip is installed in a non standard path.

Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2024-12-06 17:31:34 +00:00
tomcw
3fb6839458 Debugger: Increase symbol length from 31 to 51 chars 2024-11-24 18:12:48 +00:00
tomcw
000b546613 MB: Refactor: rename m_phasorEnable to m_isPhasorCard 2024-11-23 15:05:02 +00:00
tomcw
d1d026f7ab MB: Refactor: add SetPhasorMode() 2024-11-23 14:57:16 +00:00
tomcw
a6416acb87 MB: SSI263: Don't try to create DS soundbuffer if DS is unavailable 2024-11-23 14:25:09 +00:00
tomcw
b5544142e0 MB: Refactor IsActive() to IsActiveToPreventFullSpeed() (#1340) 2024-11-20 21:00:38 +00:00
tomcw
d896e1cec2 MB: Fix for SSI263 phoneme blocking enhanced disk II full-speed mode. (Fixes #1340) 2024-11-18 21:27:56 +00:00
tomcw
7c6ec3dbf0 Add cmd line option (for testing): -load-state-ignore-hdc-fw 2024-11-03 19:02:01 +00:00
TomCh
964a5d5198
Oz-DOS and Format command support (#88, PR #1337)
Support FORMAT cmd:
. HDC firmware: byte $FE, b3=1 (format supported)
. HDC firmware: allow both SmartPort and BLK FORMAT cmd (and check that SP FORMAT only has 1 parameter)

SmartPort Controller:
. Format will just zero all blocks (if not write-protected)
. Write cmd: if write-protected return NOWRITE
. SP Status cmd: 'General Status': set format-allowed & write-protected flags

If HDD image is read-only then support as write-protected.
. On Insert() setup m_bWriteProtected flag correctly
2024-11-02 11:39:49 +00:00
tomcw
f6d0c0088c HDC: Improve logging 2024-10-16 21:41:37 +01:00
TomCh
910313f176
Fix edge-case for 6522 Timer write (#1333, PR #1334)
Refactor GetOpcodeCyclesForRead()/Write() to make then consistent & consolidate common code.
2024-10-15 21:26:38 +01:00
tomcw
9f508d1b7e MB: Fix ASSERT for 6522 write (#1333) 2024-10-13 18:09:21 +01:00
Andrea
3033f3445b
SaveState: add absolute path for disk & hdd images. (#1290, PR #1294) 2024-10-06 20:44:24 +01:00
tomcw
e8641555e8 Debugger: visually show that a 6522 is configured as bad in mini-mem window's title 2024-09-28 16:46:28 +01:00
tomcw
5f40ac8e70 Fix 6522 ctor 2024-09-25 21:48:41 +01:00
tomcw
b764c00d50 Cmd line: -sN 6522a|b-bad (for mb-audit) 2024-09-25 20:58:59 +01:00
tomcw
8739b6ba08 DiskII: C0E8 (DRIVES OFF): Improve logging & comments (#926) 2024-09-20 21:57:51 +01:00
tomcw
8a3de5592a Help doc: add Hayden dongle 2024-08-25 14:31:44 +01:00
TomCh
29c02d6bf2
Gh1267 update paging (#1326)
MemGetBankPtr(): simplify with a default arg. (#1262, PR #1326)
. UpdatePaging(): improve comment for page0 & page1 and memdirty
2024-08-24 20:18:28 +01:00
tomcw
f035a53374 For II/II+/Unenhanced //e use the new SmartPort firmware, but with $Cs07 = 0x3C. (#1319) 2024-08-21 23:01:29 +01:00
TomCh
57ba330072
Support Hayden dongle (#1312, PR #1325) 2024-08-21 22:15:34 +01:00
TomCh
fd93396162
Uthernet I/II: Activate DEV SELECT I/O even if NIC interface is not valid (PR #1324) 2024-08-17 21:20:00 +01:00
tomcw
4786de0cc7 Floppy/Harddisk images: on failure, close handle for all return paths. (Fixes #1227) 2024-08-17 16:14:09 +01:00
tomcw
1127447a10 U1, U2: small refactor 2024-08-15 20:08:38 +01:00
tomcw
2e65426a11 Get U2 to emit similar warning to U1 when interface isn't valid. (#1321) 2024-08-15 18:11:56 +01:00
tomcw
6e8d79ddde Fix for both Uthernet cards not reading I/O $Csxx space as floating-bus. (#1321) 2024-08-15 17:36:32 +01:00
tomcw
f19822dc08 Bump version: 1.30.19
Fix for loading old save-states with HDC+HD tests
2024-07-28 21:53:33 +01:00
tomcw
91eec68fff DiskII: Fix for "DRIVES OFF forces the control flipflops to clear". (@sicklittlemonkey)
. fixes Zork0 (#926) and Shogun (#1315)
2024-07-28 16:38:37 +01:00
tomcw
95a4f44977 MB: SC-01: disable phoneme playback repeat. (#1318) 2024-07-28 16:29:19 +01:00
TomCh
b371e3436f
Support HDC SmartPort firmware for Enhanced //e (#1207, PR #1314)
Added new SmartPort Harddisk Controller (HDC) firmware for Enhanced //e. (@burniouf)
. remove the old DOSMaster entrypoints.
. firmware ID byte (at $FE) defaults to 4 ProDOS block devices (was 2 with older v2 f/w).
Enhanced //e defaults to using SP f/w, and older Apple II's still use the older v2 f/w.
Support up to 8 units per HDC (currently limited to 4GiB capacity for each unit).
Save-state: save HDC firmware in state file.
New slot-specific switches to configure each HDC's firmware: -s<N> -hdc-[sp|bm2|bm4].
New switch to select old non-SP firmware for all HDCs: -hdc-firmware-v2.
2024-07-28 16:12:36 +01:00
tomcw
72f0c03981 Save-state: for MB, the SC01 sub-unit is only supported from v12 2024-06-29 12:49:10 +01:00
TomCh
a88040c3ef
SSI263 - support for core functionality (#175, PR #1301)
. A phoneme will continue playing back infinitely; unless the phoneme is changed or CTL=1.
  . Reset doesn't affect SSI263/SC01 (so phonemes continue to play).
. CTL=1 sets "PD" (Power Down / "standby") mode, also set at power-on.
. CTL=0 brings device out of "PD" mode, the mode will be set to DR1,DR0 and the phoneme P5-P0 will play.
. Setting mode to DR1:0 = %00 just disables A/!R (ie. disables interrupts), but otherwise retains the previous DR1:0 mode.
. RESET is not connected to !PD/!RST pin 18.
 . Support edge-case where RESET can enable ints & assert IRQ.
. Power-on: PD=1 (so D7=0), reg4 (Filter Freq)=0xFF.
. Support SSI263 IRQ and D7 on a Phasor mode change (including Echo+).
. $Csxx I/O mapping (same for Mockingboard and Phasor mode).

Other:
. SSI263 save-state: support SC01 as a sub-unit of the card.
. 6522: Fix reg $F (ORA w/HS) to be identical to reg $1 (ORA).
2024-06-07 21:10:33 +01:00
Andrea
ae7e5a63a9
More portable headers. (PR #1310) 2024-06-02 12:54:40 +01:00
TomCh
06a646f751
Use actual video ROMs (#1308, PR #1311)
* Apple II+ - 7341-0036 - Character Generator Rev7+
* Apple IIe Enhanced - 342-0265-A
* Remove CHARSET4.BMP
2024-06-02 12:47:22 +01:00
Andrea
c0bfb0b0fe
linux munmap: fix comment and simplify memory free. (PR #1293) 2024-04-26 21:53:09 +01:00
tomcw
664d7c2d86 Phasor card: in native mode, writes to SSI263 regs 0,1 & 2 all clear the SSI263 IRQ. (#1197) 2024-04-13 13:23:10 +01:00
TomCh
b00c9b0d3f
Fix for alloc of 'memimage': so that two adjacent 64K regions map to same physical 64K region. Fixes #1285. (PR #1286)
Includes platform-specific code for both Windows & Linux.
Co-authored-by: @audetto
2024-04-01 10:20:43 +01:00
tomcw
d3ff855f2d Minor: replace IS_APPLE2 macro with function 2024-03-28 22:36:34 +00:00
tomcw
ba13412e27 Save-state: fix for loading LC from older versions 2024-03-23 10:45:07 +00:00
tomcw
105537e4e0 Fix 'bad dynamic cast' for when slot-0 is empty 2024-03-22 23:16:37 +00:00
TomCh
10bf60e149
Support an extra Saturn card in slot 3 and for all Apple II models. (#1279, PR #1284)
. Command line config only, and only permitted in slot 3 for now.
. Save-state Unit v9: Extended: memory (added 'Last Slot to Set Main Mem LC', 'MMU LC Mode').
. Add LanguageCardManager class.
2024-03-22 21:36:50 +00:00
tomcw
40bf9cd2d3 6502/65C02: Fix JSR for edge-case where JSR ABS16 is on stack and SP points to ABS16! (#1257)
. Add CPU unit-tests
2024-03-03 11:30:13 +00:00
tomcw
9c1304686c Add (debug) cmd line switch: -hdc-firmware-v1 (#1277)
. use this to force all attached HDCs to use the old v1 firmware
2024-03-02 21:16:28 +00:00
Andrea
a85c9bfc07
Uthernet2: use fcntl for better compatibility with MacOS. (#1269) 2024-03-02 12:34:38 +00:00
tomcw
a16a134ae5 Robocom Interface Module dongle: use actual values for 1000 & 1500 series dongles. (#1247) 2024-02-24 20:12:06 +00:00
tomcw
0f7bec509a Zip file support: avoid double-free if there's a problem with the zip file (eg. no valid image type) 2024-02-18 21:03:32 +00:00
Peter Ibbotson
2cbecdda68
ProDOS HDD Controller firmware returns volume size in Y:X for STATUS command (PR #1272)
* New command line option to force a size for autoexpanding use.
* New HDD Controller firmware uses a separate v2 name and folder.
* Harddisk.cpp now loads HDD Controller firmware v2 by default.
* Save-state for 'Generic HDD' bumped to v4
2024-02-06 21:32:30 +00:00
TomCh
001f04c706
Phasor in Echo+ mode: fix the chip-select polarity (PR #1276) 2024-02-03 21:07:29 +00:00