Commit Graph

2479 Commits

Author SHA1 Message Date
tomcw b04ddbd065 Fix for DOS 3.3 WOZ image 2023-05-02 21:27:56 +01:00
tomcw 2b8ad28ff7 Fix for junk in FormatTrack::m_VolTrkSecChk4and4[8]
Need to reset FormatTrack state when track changes.
2023-05-01 14:46:00 +01:00
tomcw 10901fc483 For DSK/NIB images, in authentic disk mode:
. when the disk spins then feed nibbles into nibble-reader (to keep VTSC in sync)
For WOZ images:
. fix so that DumpTrackWOZ() continues to work.
2023-05-01 13:13:58 +01:00
michaelangel007 a0670098c4 Add cleanup link to GH #1215 2023-04-30 15:03:47 -07:00
michaelangel007 f66d870d74 Initialize all drives T/S status to unknown 2023-04-30 14:55:00 -07:00
michaelangel007 a3c02bb5ed Remove unused API 2023-04-30 14:54:38 -07:00
michaelangel007 57f076dde7 Sync to master 2023-04-30 14:48:45 -07:00
michaelangel007 8da89f863f Fix FormatTrack state for authentic speed 2023-04-30 13:45:43 -07:00
michaelangel007 35476d2fb0 Cleanup disk status Track/Sector, fix to work with .WOZ and non .WOZ 2023-04-30 13:37:04 -07:00
michaelangel007 3066617f34 Add ability for FormatTrack to use cached Disk2InterfaceCard 2023-04-30 13:17:58 -07:00
michaelangel007 6a3cd8310d Add includes 2023-04-30 13:13:38 -07:00
tomcw 96a386a77a Config->Sound: improve UX for extra MB cards when cmd-line is empty 2023-04-29 09:47:50 +01:00
TomCh 5ba153c244
Add support for SD Music card (PR #1217)
Differences compared to Mockingboard:
. Only one 6522
. AY8913 is selected by address b7

Add cmd line: -sN sdmusic
Add cmd line: -mb-audit (to enable selection of additional sound cards, eg. for mb-audit)
2023-04-28 16:41:22 +01:00
Michael "Code Poet" Pohoreski e1b0b20aad
Debugger DISK INFO QoL (#1212)
* Bump debugger version 2.9.1.19

* Cleanup

* Debugger: Update DISK INFO to display disk info across 2 lines of text

* Debugger: Fix ConsolePrint() to wrap long lines of text

* Debugger: Update DISK INFO to show last nibble for non WOZ floppy image

* Replace optional pointer with reference in GetCurrentState()

* Add Log.h to Disk.h

* Cleanup GetCurrentState()

* Cleanup whitespace

* Add single line output for DISK INFO foundation. Still need CONFIG DISK #

* 2.9.1.21 Added: DISK INFO [#]
2023-04-28 16:28:49 +01:00
michaelangel007 e3ac70cc32 Only do Physical to Logical sector remapping if have a valid sector number 2023-04-25 23:42:42 -07:00
michaelangel007 1d1d176b35 Only do Physical to Logical sector remapping if we have a valid sector 2023-04-25 23:09:24 -07:00
michaelangel007 c8b7af6828 Initialize last track/sector, update on drive eject 2023-04-25 22:59:25 -07:00
michaelangel007 5a89948172 Set disk status if drive empty 2023-04-25 22:58:40 -07:00
michaelangel007 789ff5336f Fix empty drive not showing T?? 2023-04-25 22:58:15 -07:00
michaelangel007 fdd93d0b43 Restore Logical Sector number 2023-04-25 22:24:49 -07:00
michaelangel007 430b1c95cf Don't need status for GetLastReadTrackSector() 2023-04-25 22:24:01 -07:00
michaelangel007 736ebcdb82 Set last track sector on write for non .WOZ 2023-04-25 21:33:48 -07:00
michaelangel007 d86cd7a671 Disk: Remove memory probing and cache last track/sector directly from the Prologue Address Fields for non .WOZ disks 2023-04-25 21:18:41 -07:00
Michael "Code Poet" Pohoreski f8da683d45
1204 debugger long input crash (#1213)
* Debugger: Clamp long input
* Fix backspace when input line has 78 characters
* Colorize console error line
* Cleanup alignment
* Init
* Refactor common expression
* Add support for a long input line when we decide to enable it
* Unabbreviate SOL and EOL
2023-04-24 20:00:08 -07:00
Andrea a140946a23
RIFF: fix sizes. (PR #1214) 2023-04-23 20:10:51 +01:00
TomCh 273d07d83f
Support MegaAudio card for testing mb-audit (PR #1211)
Differences compared to Mockingboard:
. TIMER1 underflows to $FFFE before it's reloaded with latch.
. TIMER1's LATCH=$0000 gets interpreted as $FFFF.
. Partial TIMER2 support: IFR.T2 gets set on underflow. But T2 reads as 0x00FF.
. AY register reads are unsupported (always read as 0).

Config->Sound: show 'MEGA Audio' in drop-down menus only if it was specified on the cmd line.
2023-04-12 18:19:18 +01:00
Michael "Code Poet" Pohoreski 33185f3f2b
Update BMP import from GIMP 2.10 with X8 R8 G8 B8 (#1209) 2023-04-10 14:33:55 -07:00
tomcw c4e8733b95 Add more SNES MAX controller mapping files from Lukazi.
NB. Logitech F310 has a switch at the back for X(XInput) & D(DirectInput) modes, which have different PIDs.
2023-04-05 20:25:35 +01:00
michaelangel007 a68a29bcd0 Debugger: More QoL when BP hit #1200 2023-04-01 12:37:46 -07:00
tomcw cd9136ef1d Help doc: update acknowledgements 2023-03-31 18:11:21 +01:00
tomcw af98c02f2b Help doc: update for CodeWriter protection key 2023-03-31 14:38:51 +01:00
tomcw 79024f0078 Debugger: match new stop reason message for HDD DMA (PR #1200) 2023-03-31 14:35:05 +01:00
TomCh 7aef95f071
Support Cortechs Corp CodeWriter protection key (#1205) 2023-03-31 12:01:19 +01:00
michaelangel007 48f4a03e6c Debugger: Cleanup formatting 2023-03-31 03:59:12 -07:00
michaelangel007 db5b668eec Debugger: Step-over #1194 2023-03-31 03:46:04 -07:00
Michael "Code Poet" Pohoreski a3c6156508
Debugger step-over can fail (#1194, PR #1203)
. QoL cleanup (show RTS address) for step-over failure cases
. Add source code for repro test 1 and 2
2023-03-31 09:45:54 +01:00
michaelangel007 4e8006456f Debugger: Cleanup LBR formatting 2023-03-29 08:25:34 -07:00
Michael "Code Poet" Pohoreski 9a857183ba
Debugger cleanup misc march 2023 (#1199)
* Cleanup breakpoints

* Cleanup sections

* Tab cleanup
2023-03-26 11:31:15 -07:00
michaelangel007 a5c5603749 Debugger cleanup 2023-03-26 11:24:03 -07:00
michaelangel007 86f71cb3d7 Debugger cleanup 2023-03-26 11:13:11 -07:00
michaelangel007 e5b6a819da Debugger cleanup 2023-03-26 11:08:48 -07:00
michaelangel007 363b8d6990 Merge 2023-03-26 11:00:26 -07:00
michaelangel007 19ed8088c4 Debugger Cleanup indentation 2023-03-26 11:00:06 -07:00
Michael "Code Poet" Pohoreski 72566373ce
Debugger stop reason (#1200)
* Add global breakpoint so we can display last breakpoint triggered information

* Cleanup

* 2.9.1.15 Pretty print what register and breakpoint number when a breakpoint is triggered

* Bump debugger version 2.9.1.15

* Fix missing space between type and var

* Cleanup

* Add CHC_REGS
2023-03-26 10:54:30 -07:00
michaelangel007 4c08b9c20c Debugger: Cleanup: Alphabetize and Prototype breakpoint utility helpers 2023-03-23 12:42:44 -07:00
michaelangel007 8c9ba27acd Debugger: Remove unused func 2023-03-23 12:33:31 -07:00
michaelangel007 2dd3f0dbe0 Debugger: Cleanup: Apply Debugger coding started to functions 2023-03-23 12:32:14 -07:00
michaelangel007 755f023ed8 Debugger: Cleanup: DRY no breakpoints message 2023-03-23 12:16:21 -07:00
michaelangel007 730c2d8fcc Update coding standard with style already in use 2023-03-23 08:47:38 -07:00
michaelangel007 1398e7495d Debugger: Post #1191 cleanup. Add BPCHANGE params 2023-03-23 08:08:18 -07:00