Commit Graph
1585 Commits
Author SHA1 Message Date
tomcw faafd21dc8 Save-state: undo the backslash-doubling so that UI only shows single slashes. (#1510) 2026-09-27 18:57:13 +01:00
tomcw 540635176e Fix for using mouse as joystick, so it doesn't detect as not connected. (#1522) 2026-09-27 18:21:35 +01:00
Tom Charlesworth 8af1a6db8e Output audio device name when Spkr_DSInit() fails (#1527) 2026-09-27 17:43:15 +01:00
Tom Charlesworth 0e1e4caa71 Config->Slots: Just use MessageBox() for a modal dialog (#1507, PR #1508) 2026-09-19 21:47:59 +01:00
tomcw d9b2bf6787 Fix LC logic when there's additionally a Saturn in a non-zero slot. (#1520) 2026-09-19 16:51:35 +01:00
tomcw 56c95d3126 Add cmd line: -ssc-tcp-port <port> to change the default TCP port number. (#1516) 2026-09-19 11:41:19 +01:00
Kelvin Lee 3e8054b462 Replace BOOL (almost all) with bool (PR #1509)
. Remove uses of !!
2026-07-26 21:49:53 +01:00
tomcw d5db8e84a6 AY: support empty socket
AY regs: ENABLE(bits 7-6), PORTA, PORTB: support depends on AY chip type
Add cmd line: -sN ay-socketX <empty|ay8910|ay8912|ay8913|ym2149>
Save-state: Mockingboard v15: add type for AY/YM
2026-07-18 15:42:12 +01:00
tomcw a0c03a5194 Save-state: Prevent strings with backslashes being doubled a 2nd time. (#1510) 2026-07-18 13:09:45 +01:00
Kelvin Lee 8193cc1fd1 Remove void argument lists (PR #1505) 2026-07-05 16:43:36 +01:00
tomcw 97fbe4e144 MockingboardCardManager: Fix logging when DBG_MB_UPDATE is defined. 2026-07-04 12:08:08 +01:00
Andrea 508f667ea1 Speaker & SoundCore: factor some common code. (PR #1506)
* SoundCore: factor write cursor validation to separate function.
* Speaker: introduce Frames <-> Bytes conversion functions.
---------
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2026-07-04 11:56:18 +01:00
tomcw 3e327ecdd9 MemUpdatePaging(), UpdatePaging() & ResetPaging()
. pass in an enum instead of a bool to improve code readability
2026-06-06 17:16:02 +01:00
Kelvin Lee 926c592f75 Replace some BOOL usages with proper bool (PR #1500)
1. Registry functions
   The set of functions are changed to consistently use bool arguments.
   The macros are changed to inline functions to improve type checking.
   RegSaveValue() are overloaded with help of templates to reduce
   typecasting at call sites. For instance, bool value would be converted
   consistently instead of relying on call sites to convert bool to int values.
2. Memory functions
   BOOL usages were unnecessary. Mostly internal usages which can simply be bool.
3. FrameBase
   Some member variables are changed to bool.
   BOOL was used because of those Registry functions.

Additional changes:
- Some expressions are forced to be bool when assigning to bool variables.
2026-06-06 14:12:42 +01:00
Andrea 6b8da5fca7 Speaker.cpp: fix a few sample / frame errors. (PR #1503)
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2026-06-06 13:06:33 +01:00
tomcw 125898724a Config Slots: fix for cancelling SSC sub-dialog (fixes #1502) 2026-05-30 14:52:54 +01:00
tomcw adb64459e7 Debugger: Fix crash with mini-dump window: (with MB in slot 4)
. m1 s4/mb
. m1 a4/mb
2026-05-25 15:30:48 +01:00
tomcw 8bd4cb27fa Debugger: allow right-arrow to follow RTI too (#1456) 2026-05-23 17:00:16 +01:00
tomcw 75bd90d16a Yaml save-state: for strings with backslashes, replace with double-backslashes (so that yaml parser doesn't treat backslash as escape-char). #1499 2026-05-19 21:55:37 +01:00
tomcw 30ef6bbb5d Debugger: support slot 0 LC, eg. for 'm1 s0/lc1/d000' etc 2026-05-17 21:09:05 +01:00
tomcw aafe1fd46b Minor: function missing static 2026-05-17 20:33:56 +01:00
Andrea 56168d4132 Fix crash when a HD card is on a slot != 7 (PR #1498)
* Snapshot_GetDefaultFilenameAndPath(): fix segfault. SLOT7 -> i
* Disk & HardDisk: tidy up casts and iterations.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2026-05-17 19:13:11 +01:00
tomcw 5f486aa341 Saturn card: don't force non-Slot 0 cards to have 128K size 2026-05-17 14:25:16 +01:00
tomcw e3419bed9a Config: improve msg when Saturn memory changes 2026-05-17 14:05:18 +01:00
tomcw 810c4fec07 Debugger: BP prefix support for LC: Rd ROM, Wr RAM 2026-05-17 13:44:41 +01:00
tomcw 78b0692888 Minor refactor for code consistency 2026-05-05 20:58:31 +01:00
tomcw 0bdda0ba44 Fix a few regressions from recent commits 2026-05-04 22:09:35 +01:00
tomcw 46bb8e0ff9 Cmd-line: prevent multiple instances of Parallel, SSC & VidHD cards
. just accept the first one
2026-05-04 16:32:23 +01:00
Tom Charlesworth aa1c4a92dd Fixes for multiple LC/Saturn support (#1495, PR #1497)
. power-cycle now resets the LastRamWrite flag
. if slot0 LC is enabled for RAM write, and a slotN Saturn is set to write protect, then writes still go to s0 LC's RAM
2026-05-04 16:19:04 +01:00
tomcw bb3deab473 Cmd-line: allow floppy images in any slot (not jut s5 & s6) 2026-05-02 18:42:45 +01:00
Tom Charlesworth 22dca96cbb Fixes for cmd-line support (#1491, PR #1496)
Fix bad_cast for inconsistent cmd-line options.
Allow Parallel, SSC & VidHD card insertion into any slot.
Allow floppy/HDD image insertion into any slot.
. if inserting a floppy image, and the slot had no Disk II card, then insert one (consistent with HDD images).
2026-05-02 18:24:25 +01:00
tomcw fabc5104f3 Slots config: fix for Disk II/HDC firmware change. (fixes #1493) 2026-04-19 20:34:01 +01:00
tomcw 64a957a2ae Config: minor tidy 2026-04-18 17:45:35 +01:00
tomcw e586865730 Slots config for rw3: if user hasn't touched slider, then pressing 'OK' on Options dialog won't query it. (#1470)
. Preserve finer grain memory size (don't round up to 1MiB)
2026-04-18 17:32:07 +01:00
tomcw 0f6bf4e171 Slots config for HDC: (#1470)
. Support HDC firmware selection from combo: auto, SP, BLK2, BLK4 modes
2026-04-18 12:31:04 +01:00
tomcw 17b65ffd8a Slots config:
. On selecting a new card in a slot, then reset to the card's default options
. On opening Config dialog, reset config for empty slots
. On HDD insert: check for dup image-name against all other 7 units
2026-04-18 10:46:54 +01:00
tomcw 11c1dae084 Slots config: ignore when same image is selected for floppy or HDD image 2026-04-17 22:15:31 +01:00
tomcw 07651adf71 Rename references of Apple II+ to Apple II Plus (#1449)
And also:
. Apple ][ -> Apple II
. Apple //e -> Apple //e (original)
. Enhanced Apple //e -> Apple //e (enhanced)
. Disk][ -> Disk II
2026-04-11 19:00:46 +01:00
tomcw 1ce0a84b1b Refactor CPageSlots::InitOptions() (fixes #1487) 2026-04-11 14:44:17 +01:00
Andrea f513fd2f6a CardManager: make GetCardChoicesForSlot()/AuxSlot() more x-platform. (PR #1484)
Move the Windows UI string to a common separate function.
2026-04-05 10:50:08 +01:00
tomcw 0c10802d45 Fix ASSERT for loading .apl and .prg images. (#1482) 2026-04-04 18:47:16 +01:00
tomcw 6c2d863f4b Fix regression for loading .apl and .prg images. (#1482) 2026-04-04 18:12:02 +01:00
tomcw 175a72bc50 Fix for starting with model=IIe, and specifying '-s0 saturn'. (#1486) 2026-04-04 17:36:35 +01:00
tomcw 06f29c0fab Saturn card fixes: (#1486)
. cmd-line banks overrides Registry banks
. persist cmd-line (A2 model, Saturn banks) to Registry
2026-04-04 10:06:49 +01:00
tomcw 8219799b83 Minor UI tweaks:
. Don't assume slot 6 has a Disk II card
. Disk II config dialog: check the 'show status' box regardless of slot
2026-04-03 15:18:44 +01:00
Andrea 88928d157b Fix linux build. (PR #1483) 2026-04-03 13:45:13 +01:00
tomcw 599e81d07f Config Slots: Reset to Default: set MB's speech chips to defaults
On loading save-state: Save any MBs's speech chips to Registry
2026-03-23 20:52:23 +00:00
tomcw 10369ed93c MB/Phasor: default to SSI263AP in socket-1 and socket-0 empty 2026-03-22 11:14:44 +00:00
tomcw 91ca49f4f5 Slots config: Disk II: add option for 13-sector firmware, and save to Registry 2026-03-20 15:20:42 +00:00
tomcw a20631b366 Advanced config: change so that a No-Slot clock change causes restart 2026-03-20 12:31:49 +00:00