1520 Commits

Author SHA1 Message Date
Michael "Code Poet" Pohoreski
f97acf4788 Debugger: Fixed: Ctrl Right-Arrow now updates targets (#1460, PR #1461) 2026-01-01 11:50:51 +00:00
Michael "Code Poet" Pohoreski
971217c8cb Debugger: Fixed: Stack info shows correct return address if stack wraps around (#1457, PR #1459) 2026-01-01 11:42:51 +00:00
Michael "Code Poet" Pohoreski
d661a5e276 Debugger: Added: QoL right arrow on RTS to use the stack return address (#1456, PR #1458) 2026-01-01 11:24:58 +00:00
Michael "Code Poet" Pohoreski
62b91a0cb1 Debugger: Fix right arrow follow bytes marked up as data. (#1382, PR #1455) 2025-12-31 10:42:35 +00:00
Michael "Code Poet" Pohoreski
efc525c7b9 Debugger: Fix right arrow follow branch address when target branch address was negative ($81 .. $FF) (#1451, PR #1454) 2025-12-30 09:20:16 +00:00
TomCh
6d581d81f0 Disk II: motor off & stopped spinning: write back any dirty track (#1444, PR #1447) 2025-11-14 21:10:23 +00:00
tomcw
ad58be2dcf Improve comment 2025-10-25 13:08:32 +01:00
tomcw
bc7c6b2150 Fix for PAL Colour TV:
. switching TEXT=1: doesn't instantaneously set ColorBurst=0 (#1443)
. switching TEXT=0: only touch ColorBurst if MIXED && vpos>=160 (improved logic)
2025-10-20 22:01:11 +01:00
tomcw
0ed8d3407e Fix for AppleWin's window width (for Min Version = 6.00) (#1438)
Change: Win32 builds: Minimum Required Version = 6.00 (Vista)
2025-10-19 12:13:42 +01:00
TomCh
3f6009bfb8 Alternate method to scan COM ports (#1425 PR #1442)
* Use QueryDosDevice() to scan COM ports instead of CreateFile()
* 1.31.0.1
2025-10-19 11:14:53 +01:00
tomcw
14323064de When using -debugger-auto-run <file.txt> (to set breakpoints), then we want to be MODE_STEPPING when leaving MODE_LOGO 2025-10-18 16:27:40 +01:00
tomcw
971793a53c Breakpoint card: add save/load state support 2025-10-18 15:39:11 +01:00
TomCh
dce193b760 Add a Debugger breakpoint card (PR #1441)
. For AppleWin-Test regression tests for debugger breakpoints
2025-10-18 14:54:39 +01:00
tomcw
ae28de062a DiskII: When a write-protected disk is ejected (and motor is on) then write-protect switch state becomes 'write enabled'. (#1433) 2025-10-03 23:21:43 +01:00
tomcw
b14a707c59 Debugger: extend 'help bpm' to include info on addr prefixes, with examples 2025-10-03 22:08:24 +01:00
Andrea
2081116322 A couple of changes from the linux branch. (PR #1437)
* Fix printf format spec.
* A fix from the MacOS build.
---------
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2025-09-28 22:00:00 +01:00
tomcw
ef6bf16ea7 Mini mem dump for MB/AY: support case-insensitive device names 2025-09-23 19:56:47 +01:00
TomCh
1a68914a4a Fix all x64 warnings in the AppleWin proj (PR #1434)
NB. 10 warnings still in libyaml proj (but there's no upstream update - so will leave as-is).
2025-09-22 21:25:35 +01:00
Andrea
11fcaa63d1 Synch linux branch (PR #1432)
. Debug.cpp: fix compilation errors.
. Remove obsolete __attribute__((regparm(1))) & WATCOM.
. Support MINGW32.
. Replace sprintf with StrFormat().
---------
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2025-09-18 10:40:02 +01:00
tomcw
84c7c347cc Benchmark dialog: include CPU id for ARM64 CPUs 2025-09-14 16:02:31 +01:00
tomcw
b2da092718 Benchmark dialog: add CPU id; add 'debug' suffix (for debug build) 2025-09-14 15:40:40 +01:00
TomCh
99fef84e8b Add x64 build configs (#1392, PR #1430)
. Remove v141_xp build configs
. Add CPUID support

---------
Co-authored-by: michaelangel007 <michaelangel007@sharedcraft.com>
2025-09-14 15:26:32 +01:00
tomcw
9108722c9b Improve fix for #1428 2025-09-13 19:00:55 +01:00
tomcw
fe48cfcf41 Fix for losing aux card when switching //e -> II+ -> //e. (#1428) 2025-09-12 20:45:47 +01:00
tomcw
7433d7b84d Debuggger: Mini mem dump: switch to 'sN/' (slot) prefix for MB & AY device types 2025-09-12 19:59:37 +01:00
TomCh
04ba39b1dd Debugger: support prefixed addresses for mini memory dump windows (PR #1427)
* Mem dump cmds without any args will now display the prefix address
* Support data sub-window (that reflects m1 dump)
* Breakpoint display: Right align R and W at end of line
* Help doc: Update Memory page to include prefix address examples
* Help doc: Update Breakpoint & Memory pages: add images showing address prefixes as shown in the UI
---------
Co-authored-by: michaelangel007 <michaelangel007@sharedcraft.com>
2025-09-08 21:58:22 +01:00
TomCh
54f86f0cdc Debugger: support address prefixes for slot, bank, language card & ROM (#1419)
* Minor tidy

* Changes:
. semicolon now Comment EOL
. double fwd-slash now Divide floor
. (single fwd-slash unassigned)

* . fwd-slash now parsed in Range_GetPrefix()
. WIP: 'bp bank/addr'

* Add error msgs

* Extend Breakpoint_t struct

* Update cmd 'bpl' to support displaying prefixes

* Do prefix checks & output error msgs

* Add _CheckBreakpointValueWithPrefix()
. support bank, for BP_OP_EQUAL
Stop reason: include BP id

* WIP: fix BPs (non-BPM)

* Fix cmd 'bpr'

* Stop reason: don't show BP id for BP_HIT_REG (as it already includes it)
Add comment about nArgs from calling funcs
Refactor _CmdBreakpointAddCommonArg(): nArgs

* Stop reason for memory BP: show full prefixed address

* Stop reason: output BP id in consistenct way

* Support ROM prefix filter

* Complete addr prefix logic

* Improve logic

* BP: 'HDD DMA to/from memory' - use common hit id function

* Support rw bank 100

* Support double forward-slash at start of line as a comment

* Refactor: use debugger naming convention for vars

* Changed prefix errors from 'bad' to 'out-of-range'

* DebugInitialize(): Reset g_breakpointHitID

* Refactor: use debugger var naming convention & formatting style

* Switch divide-operator to the underscore char, and allow double-fslash as a comment anywhere on a line

* Update help for debugger calculator

* Update help for debugger breakpoints

* Update help for debugger breakpoints (conditional)

* Fix help:breakpoints.html & fix ArgsGetRegisterVlaue() to do case-insensitive compare

* Fix underscore to be treated as a alphanumeric in a few edge cases

* Revert to using '//' as divide operator

* Help: update debugger Breakpoints & Calculalor pages

* Help: update debugger Calculator (missed one)

* Detabify and align

* Display (1) or (2) prefix for LC1 or LC2 breakpoint

* #1419 Added Aux.1 and Aux.N indicators

* Display (1) or (2) suffix for LC1 or LC2 breakpoint

* Extend cmd 'bpl' to display BP's end addr

* Show both bank and slot together

* Fix spacing for BP with range

* Add: FG_INFO_BP_MEM, FG_INFO_MEM_WRITE, BG_INFO_MEM_BANK_LC, FG_INFO_MEM_BANK_LC colors

* Cleanup

* Add 3x5 mini hex numbers

* Mini hex font to have rounded 0,A,C glyphs

* Display 2 hex Bank now

* Support edge-case for bank 0x100

* Tidy up end red spacer

* Refactor & introduce new struct AddressPrefix_t

* Fix a few bugs:
. bpl: fix end addr
. fix for 'R' and 'W' not coloured for single-byte BPs (eg. bpmr 100)

---------

Co-authored-by: michaelangel007 <michaelangel007@sharedcraft.com>
2025-09-06 02:43:57 -07:00
tomcw
8b31042c13 Add cmd line: -debugger-auto-run <script file>
. Use this to override the default "DebuggerAutoRun.txt"
2025-08-31 17:38:43 +01:00
Michael "Code Poet" Pohoreski
afe3824f99 Debugger output error levels (#1422) 2025-08-29 16:51:30 -07:00
tomcw
7499adafdd rw3: power-cycle sets card back to 64K bank-0 (fixes #1414) 2025-07-09 22:20:53 +01:00
tomcw
72cc98d72a Fix for loading save-state test with continuous SSI263 phoneme 2025-07-06 18:00:10 +01:00
tomcw
d18f0a58a2 SSI263: Fix for power-down (CONTROL=1) not silencing continuous phoneme (#1412) 2025-06-21 13:40:10 +01:00
tomcw
d35bb2bcde For Drive1/2 pop-up menu: fade out all audio whilst menu is active. (fixes #1407) 2025-06-13 20:23:25 +01:00
tomcw
c245494859 Update firmware/BootSector batch files.
Fix out-of-date comment.
2025-06-13 19:48:16 +01:00
Andrea
b7452e00ba Fix compilation for LoadStringA() (PR #1410)
. LoadStringA() does not exist.
2025-06-13 19:21:58 +01:00
Andrea
75cc573d0e Make ProDOS utils cross platform. (#1406)
* Move ProDOS utils to separate file.

Signed-off-by: Andrea Odetti <mariofutire@gmail.com>

* Use std::vector to fix and avoid memory leaks.

Signed-off-by: Andrea Odetti <mariofutire@gmail.com>

* Remove TEXT and TCHAR.

Signed-off-by: Andrea Odetti <mariofutire@gmail.com>

---------

Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2025-06-13 08:51:59 -07:00
tomcw
cdba020ca7 Fix off-by-one error 2025-06-08 19:28:46 +01:00
tomcw
552d830045 SSI263:
. Default to SSI263AP (ie. with reset fixed)
. Support SSI263 type set from cmd-line: SSI263P, SSI263AP or empty
. Support SC01 type set from cmd-line: SC01 or empty
. Save-state: MB v14: support SSI263 & SC01 type (including Empty)
2025-06-08 12:42:55 +01:00
tomcw
001ffe8dee MB: Add cmd line to set SSI263 type or empty socket 2025-06-07 23:10:59 +01:00
tomcw
04a6c6ec6c Fix for static_assert(): requires message parameter pre-C++17 2025-05-31 10:17:53 +01:00
tomcw
00ab15ddaf Fix focussing issue for AppleWin.chm, when it overlaps the AppleWin window. (#1403) 2025-05-30 22:19:18 +01:00
tomcw
e10eb0b42f WOZ: MessageBox's message: add full-stop 2025-05-30 22:00:59 +01:00
tomcw
8182d99563 Improve robustness of WOZ chunk processing, and reject it if it's malformed. (#1402) 2025-05-25 22:03:55 +09:00
Michael "Code Poet" Pohoreski
3d0ef63537 Extend context menu for disk buttons (Disk image QoL) (#1363, PR #1364)
Persist menu selection for bitsy.boot, bitsy.bye, basis & prodos.sys to Registry.
Add new cmd line '-bootsector <pathname>'.
Add BootSector (code & binary).
Add OS (basic17.system, bitsy.boot, quit.system; DOS33 & ProDOS2.4.3).
Update help doc:
. add workflow info to ddi-create.html.
. add new ddi-sizes.html, and ddi-advanced.html (for advanced workflow).
2025-05-22 22:44:28 -07:00
tomcw
fede2c103a Help doc: Add a note about using Ctrl+C to copy Benchmark results to the clipboard 2025-05-04 20:11:23 +01:00
Andrea
92a35ae481 Portable detection of 32/64 builds. (#1392, PR #1400) 2025-05-04 20:01:44 +01:00
tomcw
217a31d095 Include AppleWin version & '32/64-bit build' info-string in Benchmark dialog summary (#1392) 2025-05-04 20:00:33 +01:00
tomcw
265f1ddbf1 Include '32/64-bit build' info-string in log file and debugger's MOTD (#1392) 2025-05-04 18:36:33 +01:00
Michael "Code Poet" Pohoreski
32749dbcad #1397 Add warning when trying to copy memory and the source end address is less than the source start address. (#1398) 2025-05-02 15:26:57 -07:00
Andrea
5bdbbb2a87 Remove references to DebugDefs.h (PR #1395)
. Removed unused declarations.
2025-04-20 12:38:27 +01:00