1455 Commits

Author SHA1 Message Date
tomcw
5606ebba46 Fix IRQ; fix MB special writes 2025-03-13 22:13:51 +00:00
tomcw
7ed83f5045 Fix video generation; Fix MB/LC reads from mem 2025-03-13 21:47:21 +00:00
tomcw
6477871263 Fix POP, fix memwrite[] ptrs 2025-03-13 20:57:22 +00:00
tomcw
f8e111fe51 Fix for regs.pc++ - move this outside of CPP macros 2025-03-12 22:14:28 +00:00
tomcw
d6b0fd01a5 Convert all addressing mode macros to use _READ_ALT2, which reads from memshadow[] 2025-03-12 21:50:37 +00:00
tomcw
17b58d1bce Fix POP_ALT 2025-03-10 08:05:26 +00:00
tomcw
24f832a59f Move 1KiB mem from $0000 to $0400 (WIP - 1.07 OK, but crashes in a2audit 1.06)
Add JSR_ALT (from completeness)
2025-03-10 07:40:08 +00:00
tomcw
f087f7152c Remove the extern memwriteDirtyPage 2025-03-09 18:28:13 +00:00
tomcw
2b25e4b024 Remove the memwriteDirtyPage[] table 2025-03-09 18:27:21 +00:00
tomcw
f528b8ab2b Reorder some loop code for better efficiency 2025-03-09 17:04:20 +00:00
tomcw
cf467109d9 Fix for 80-col card & SHR 2025-03-09 16:37:34 +00:00
tomcw
d82f0bf076 Tidy 2025-03-09 14:09:13 +00:00
tomcw
97c53c3143 Fix IZPG_ALT macro 2025-03-09 14:05:25 +00:00
tomcw
ee7e4d991f Add REL_ALT macro 2025-03-09 13:59:03 +00:00
tomcw
1beee7f8fe Fix more addr modes - INDY fixes a2audit 1.06 2025-03-09 13:54:39 +00:00
tomcw
06dfbba309 Tidy 2025-03-08 22:27:11 +00:00
tomcw
2aef1d45fe Fix zpg addressing modes 2025-03-08 22:19:48 +00:00
tomcw
f2d1a7f99b Fix more addressing modes 2025-03-08 22:13:51 +00:00
tomcw
e44281ff4a Fix a few addressing modes for ProDOS 80col card detect & a2audit 2025-03-08 22:02:21 +00:00
tomcw
373d552e68 WIP: Create _ALT CPP macros for CPU emulation to do direct memaux access 2025-03-08 21:23:02 +00:00
tomcw
2e1bc77ce3 CPU emu: hook up _IABS_NMOS_ALT for 6502 2025-01-04 22:39:42 +00:00
tomcw
321da7e437 CPU emu: add _IABS_CMOS and IABS_NMOS macros 2025-01-04 22:31:24 +00:00
tomcw
8a9e9595fe CPU emu: added _POP_ALT and _PUSH_ALT macros
For SW_ALTZP=1, fixed memwrite[] to write to mem (ie. CPU read cache)
2025-01-04 18:55:01 +00:00
TomCh
16b2cf329e
Support IIe aux slot: empty or with 80-col(1KiB) card (#1341, PR #1351)
Add new command line switch: -aux <empty|std80|ext80|rw3>
Add 6502/65C02 x normal/debugger alt read support for CPU emulation (#1353).
Fix bug in MemReadFloatingBus() reading from mem[] - no good, if MF_AUXREAD is set.
Support odd 80-col text video mode when aux slot is empty:
. add a new videoMode flag for VF_80COL_AUX_EMPTY.
Correctly support 80COL & DHIRES soft-switches when aux slot is empty or with std80 card.
Support VidHD's SHR with -aux <empty|std80>.
Save-state: support aux slot empty or with std80 card.
2024-12-30 21:39:16 +00:00
Jamiras
a2b03483ee
Add SoundBuffer interface (PR #1352)
This replaces the LPDIRECTSOUNDBUFFER pointer with a pure virtual class and an implementation that wraps the LPDIRECTSOUNDBUFFER, allowing other sound implementations without having to simulate the exact alignment of a DIRECTSOUNDBUFFER object.

Additionally, moves the DSInit and DSUninit calls out of the SoundCore.cpp file (into a new DXSoundBuffer.cpp (for Windows)), allowing them to be appropriately reimplemented in a non-DirectSound environment.
2024-12-30 12:42:26 +00:00
Jamiras
cb1366f485
Check _WIN32 instead of _MSC_VER (PR #1346) 2024-12-24 12:06:37 +00:00
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