Commit Graph

1386 Commits

Author SHA1 Message Date
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
TomCh
53fddfe41a
Fix SD Music card for mb-audit v1.50 (PR #1275)
. Fix for mb-audit's TestAYReadHiZ (bus-state wasn't being set correctly for SD Music's 6522 accessed via $Cs8x)
2024-01-30 19:48:34 +00:00
tomcw
fbc22fa566 Fix for reading $C01x for Apple II and II+ models. (#1261) 2024-01-28 21:31:42 +00:00
tomcw
56cc779351 MegaAudio card: Reads of 6522 IRB & IRA always return 0x00
. generalise the implementation: move AY READ logic down to 6522 read
2024-01-21 20:43:02 +00:00
tomcw
43daabec54 MegaAudio card: AY READ always drives bus with 0x00 2024-01-21 15:03:33 +00:00
tomcw
fcd216bb45 Speaker: should be dual-mono (not silent on left channel). (#1159) 2024-01-14 15:51:12 +00:00
tomcw
78ee8101d5 Speaker: change from mono to stereo sound buffer (but left channel silent).
Possible fix for #1159.
2024-01-13 17:55:57 +00:00
tomcw
c022bbde72 Load save-state: Remove superfluous call to UpdatePaging() in MemLoadSnapshot(). (#1267) 2024-01-13 12:48:21 +00:00
tomcw
0888a25710 Small refactor for AY(s) driving bus for 6522 PortA 2024-01-06 18:20:33 +00:00
Andrea
4ab60cebf8
Serial comms: compilation in Linux (PR #1249)
* SerialComms: compilation in linux.
1) static variables must be defined (otherwise it becomes optimisation-dependent)
2) ensure the socket is closed if an error is detected

* SerialComms: avoid issues with order of global variables.
GetFrame() and the GetCardMgr() use global variables and the order of their destructor is not well defined.
CSuperSerialCard::CommTcpSerialCleanup() is called as part of the CardManager's destructor.
2024-01-06 14:50:10 +00:00
Andrea
7497aa9923
Minor bugs in SSI263 (PR #1270)
SSI263: avoid assertion in DSVoiceStop when running with -no-mb.
2024-01-05 22:41:38 +00:00
tomcw
69151a2aff MB/Phasor: support AY(s) driving bus for 6522 PortA (ie. for the PSG READ function)
. Bump MB/Phasor save-state unit to v11
. Tested against mb-audit v1.50
2024-01-03 21:22:25 +00:00
tomcw
fea4173b43 Debugger: CmdOutputRun:
. for scripts that can be loaded: output script pathname to console.
. for scripts that can't be loaded: don't truncate pathname that's output to console.
2024-01-01 11:11:51 +00:00
tomcw
ab9a856bc1 Debugger: allow pathnames > CONSOLE_WIDTH(=80) for scripts run via CmdOutputrun()
. specifically for the DebuggerAutoRun.txt script (which runs at AppleWin start-up)
. internally changed MAX_ARG_LEN from 127 to MAX_PATH(260), which is used to size Arg_t::sArg[]
2023-12-31 11:45:06 +00:00
tomcw
52447ad7d9 Load save-state: fix page 0 & 1 corruption when loading save-state with a RAMWorks card with 2 or more aux 64K banks (#1262) 2023-12-31 10:14:47 +00:00
tomcw
a8de7f2030 6522: fix reading IRB - used as MB detection by Werewolf! (#1260) 2023-12-29 10:16:51 +00:00
Kelvin Lee
abab213e15
WIN64: Use correct IReferenceClock definition from <strmif.h> (PR #1250) 2023-12-27 22:14:10 +00:00
tomcw
6bfa28e478 z80: remove the de-optimisation pragmas from z80mem.cpp. (#755) 2023-12-27 13:45:13 +00:00
tomcw
7fcdc9a2a9 z80.cpp: rename CPP macro from DEBUG to DEBUG_Z80; and change logic to '#if 0 && defined(DEBUG_Z80)' to ensure it's never enabled. (#1265) 2023-12-27 13:37:14 +00:00
tomcw
e7f2e3d541 Add new cmd line -mac-lc-card-dlgr to support the DLGR bug in the 'Apple IIe card Mac LC' (#1258) 2023-11-26 17:59:04 +00:00
tomcw
be427a6a30 Phasor: AY RESET resets both AYs attached to 6522 regardless of Phasor mode & CS bits. (#1197) 2023-09-07 21:40:13 +01:00
tomcw
a7a2ef63f2 Bump debugger version: 2.9.2.0 (fixes #1206) 2023-07-21 21:18:23 +01:00
TomCh
927b0da09a
Support Robocom's Interface Module protection dongles (#1247, PR#1248) 2023-07-17 21:02:55 +01:00
tomcw
d3521ffe90 TRK/SEC UI: fix to show sector in later ProDOS versions (#1215) 2023-07-01 21:48:50 +01:00
tomcw
faff74a98d WOZ: Support very large 5.25 WOZ images (#1240) 2023-06-29 21:52:59 +01:00
tomcw
f8d238f2b0 Joystick: Stylistic improvements to code (#429) 2023-06-20 20:16:58 +01:00
TomCh
cac30b31ed
Support 'squaring the circle' for analog sticks (#429, #1237, PR #1242)
Using @audetto's transformation.
2023-06-19 20:29:34 +01:00
Andrea
eead359a85
Fix warning about wrong printf modifier for size_t. (PR #1241) 2023-06-18 20:21:29 +01:00
Andrea
2759527f0d
Remove some StringCb* functions and fix assertion. (PR #1239)
. Return an error for an invalid .bin image.
2023-06-17 20:41:48 +01:00
michaelangel007
03ce472e63 Debugger: 2.9.1.26: When adding symbols list the address first then the name for readability 2023-06-06 09:35:45 -07:00
michaelangel007
1d4d1291f3 Debugger: Cleanup add symbol 2023-06-06 09:23:35 -07:00
Michael "Code Poet" Pohoreski
677ba8ffb3
Debugger: 2.9.1.25 Fixed: R P ## wasn't setting P flag status register. (#1238) 2023-06-03 19:03:11 -07:00
Michael "Code Poet" Pohoreski
000ebab3c5
Debugger 2.9.1.24 (#1236) 2023-06-03 11:08:16 -07:00
Michael "Code Poet" Pohoreski
928090c756
Debugger df qol (#1229)
* Remove trailing whitespace
* Debugger 2.9.1.21 Fixed: 'df' showing zero was displaying 0 instead 0.0
* Fix debug float output
* Debugger 2.9.1.22 Fixed: 'df <addr>' was incorrectly getting marked up as 'db'
* Debugger 2.9.1.23: Show floating-point values in scientific notation.
* Cleanup formatting
* Fix debug FAC output
2023-06-03 11:04:28 -07:00
sh95014
e5c4e2c51b
Allow alternate directory for built-in symbols (#1230)
* allow an alternate directory for built-in symbol tables -- needed because macOS apps are a bundle (tree of directories) and resources are packaged somewhere within, not necessarily in the same directory as the executable.
* use tabs
* add parentheses
2023-06-02 09:28:04 -07:00
Andrea
0d635d2817
Fix read of uninitialised values in sound_ay_overlay(). (PR #1226) 2023-05-29 15:18:06 +01:00
tomcw
47841bf58a Debugger: Improve stop reason for 'brkop n' cmd to include address 2023-05-19 22:24:10 +01:00
Andrea
771282a792
Avoid a potential memory leak if RamWorks memory size were configurable. (PR #1225) 2023-05-08 14:45:35 +01:00
Andrea
4b18918e0f
Mockingboard: define sample rate and number of channels only once. (PR #1223) 2023-05-05 21:49:26 +01:00
tomcw
009f77ddc0 Add getter-functions for GetJoystick1() and GetJoystick2() 2023-05-05 21:36:38 +01:00
tomcw
c305e1b9f1 Merge branch 'winmmjoy' of ssh://github.com/fabricecaruso/AppleWin into fabricecaruso-winmmjoy 2023-05-03 21:36:47 +01:00
Andrea
a648c3e607
Mockingboard: do not play sound unless a card is present. (PR #1222) 2023-05-02 21:47:01 +01:00
Andrea
0ecd2e865a
Fix a linux/gcc issue where sizeof(wchar_t)==4. (PR #1218) 2023-05-02 21:41:06 +01:00
tomcw
96a386a77a Config->Sound: improve UX for extra MB cards when cmd-line is empty 2023-04-29 09:47:50 +01:00