tomcw
52450aa7f7
These 2 combined fix #418 :
...
1) Uthernet card now returns floating bus for slot ROM at $Cs00-CsFF (where s=3).
2) Fixed IoHandlerCardsIn() to not map in the card in slot3's slot ROM when SLOTC3ROM=0.
Also:
. moved the typedef 'iofunction' from common.h to memory.h
2017-05-13 22:07:53 +01:00
michaelangel007
f8d3789635
1.26.2.4 Prompt when trying to swap disks while drive is on instead of silently failing
2017-05-11 08:34:57 -07:00
michaelangel007
158b5212e6
Debugger 2.9.0.8
2017-05-11 05:44:42 -07:00
michaelangel007
bcbcaffcf5
GH #406 Cleanup LC status in debugger - B#, and dim inactive bank
2017-05-10 09:51:45 -07:00
michaelangel007
77075a8f32
DOC: Cleanup typo
2017-05-10 09:49:48 -07:00
michaelangel007
b155872f57
Debugger: Extend ColorizeFlags() to support custom fg if not set
2017-05-10 09:47:45 -07:00
tomcw
eb21f34ace
Fixed not being able to select Pravets82, improved code robustness & improved UX when loading an unsupported Apple2Type config ( fixes #415 )
2017-05-08 22:32:01 +01:00
tomcw
e3a99ecf9f
RamWorks: Fixed flickery 80-col for ProDrive ( fixes #297 ) and AppleWorks ( fixes #409 )
2017-05-06 18:34:11 +01:00
tomcw
220050bec3
Save-state: Bug when saving more than 9x RAMWorksIII 64K banks - fixes #413
2017-05-04 13:32:07 -07:00
Andrea Odetti
64e924bcae
Delete unused code from Video.cpp
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2017-05-01 20:20:02 +01:00
michaelangel007
23f1f46fc8
GH #406 Cleanup - remove extraBank from _DrawSoftSwitchLanguageCardBank()
2017-05-01 08:47:31 -07:00
michaelangel007
ab945bbbe0
Cleanup warning about unused label if not SATURN
2017-05-01 06:15:47 -07:00
tomcw
739afea01a
Remove redundant code relating to SetCharseType() and g_nCharsetType
2017-04-30 18:50:27 +01:00
michaelangel007
d243425c20
2.9.0.7 Memory softswitches are now in chronological order, and their background is a dark grey
2017-04-27 17:13:34 -07:00
michaelangel007
8c209cfc2d
Some Read/Write for Main/Aux memory
2017-04-27 16:58:43 -07:00
michaelangel007
fd2d44a349
Change debugger background for LC to be darker cyan
2017-04-27 16:41:03 -07:00
michaelangel007
335a8e5c5c
Change debugger IO title to light blue for easier reading
2017-04-27 16:37:13 -07:00
michaelangel007
248c141655
Piggyback Saturn IO onto standard 16K LC io switches
2017-04-27 15:14:51 -07:00
michaelangel007
c75ed14c32
Cleanup warning unsigned int
2017-04-27 15:14:18 -07:00
michaelangel007
b3b39e19f4
Separate out Saturn 128K IO access from 16K LC access
2017-04-27 15:01:44 -07:00
michaelangel007
a9cb5e227a
Init Saturn LC mem
2017-04-27 15:00:34 -07:00
michaelangel007
7f88196d3e
Cleanup formatting
2017-04-27 14:59:41 -07:00
michaelangel007
f8f881d41a
Fix missing brace for SATURN
2017-04-27 14:51:34 -07:00
michaelangel007
d3e620fcd4
Add command line to init Saturn memory size
2017-04-27 14:50:15 -07:00
michaelangel007
9fd479b976
Debugger: Show if RAMWORKS Language Card is installed, and which page is active
2017-04-27 14:06:01 -07:00
michaelangel007
93e6d668e7
Add backend to display Extended Language Card Bank for RAMWORKS or Saturn
2017-04-27 14:04:53 -07:00
michaelangel007
cd88c40719
Save extended Language Card memory type if RAMWORKS
2017-04-27 14:03:17 -07:00
michaelangel007
3cd86800b9
Disable Saturn language card code
2017-04-27 14:02:32 -07:00
michaelangel007
52cf059c4b
Add Saturn memory pages
2017-04-27 14:02:02 -07:00
michaelangel007
ebad3d237f
Add note about g_uActiveBank used by RAMWORKS
2017-04-27 14:00:49 -07:00
michaelangel007
4b334e9466
Add Memory Types for Extended Memory, export RAMWORKS active bank
2017-04-27 13:59:29 -07:00
michaelangel007
59702d9c74
Only draw LC staus on Bank 2 line
2017-04-27 13:39:59 -07:00
michaelangel007
baa0b08198
Bugfix: Don't over-draw LC status outside designiated info. area
2017-04-27 13:37:56 -07:00
michaelangel007
e5087a6627
Prep for LC bank
2017-04-27 13:37:19 -07:00
michaelangel007
10092a88f6
Fix grammar
2017-04-27 13:36:33 -07:00
michaelangel007
28218634e8
Add some comments for Language Card use
2017-04-27 12:33:51 -07:00
michaelangel007
18fd4205c9
And turn it on
2017-04-27 12:02:09 -07:00
michaelangel007
5cc4cbd26c
Debugger 2.9.0.4 Language Card Status
2017-04-27 12:00:54 -07:00
michaelangel007
4cb19645c1
Document IO soft switch for MF_HIGHRAM
2017-04-27 11:56:04 -07:00
michaelangel007
895a6839bc
Make memmode global as debugger needs access
2017-04-27 10:01:58 -07:00
michaelangel007
785fe505b6
Debugger 2.9.0.3 internal cleanup of drawing soft switches
2017-04-27 09:31:34 -07:00
michaelangel007
f4b5aa5fa5
Cleanup via factor out _DrawSoftSwitchHighlight()
2017-04-27 09:30:08 -07:00
michaelangel007
eb0890add4
Add (default) background to ColorizeFlags()
2017-04-27 09:29:22 -07:00
michaelangel007
afa681ea9e
Move Memory Flags to .h since debugger needs them
2017-04-27 09:18:37 -07:00
tomcw
d11f0a222d
Fix the discontinuous whole screen redraw bug in full-speed mode ( #405 )
2017-04-23 21:37:01 +01:00
tomcw
d9669fa45b
Printscreen: Fix for missing half-top line for B&W TV and Color TV ( #403 )
2017-04-22 22:22:29 +01:00
tomcw
41286cd29f
Debugger: Remove DebugDisplay()'s unused first parameter: bDrawBackground because it was unused and in some cases it was being passed a bitfield, not a BOOL
2017-04-22 20:52:21 +01:00
tomcw
124eca4546
Debugger: Allow MODE_DEBUG and MODE_STEPPING states to persist across an F2 ResetMachineState() call ( #217 )
2017-04-22 20:42:42 +01:00
tomcw
5e6a445bab
Debugger: When MODE_STEPPING (eg. g or gg mode), prevent ESC from exiting back to the debugger. F7 or Pause keys can still be used. ( #217 )
2017-04-22 17:13:41 +01:00
Michaelangel007
a5274ca7d0
Fix comment typo
2017-04-17 21:44:30 -07:00
tomcw
a5cffc7441
NTSC: Removed the redundant per-line caching of video mode & video function. Tested with ANSI STORY (end credits) and Rainbow.
2017-04-14 20:59:43 +01:00
michaelangel007
27cd3fa0ea
Merge branch 'master' of https://github.com/AppleWin/AppleWin
...
Conflicts:
AppleWinExpress2010.vcxproj
2017-04-13 10:18:35 -07:00
Nick Westgate
a2f015882e
Fix language card switch behaviour - fixes #400
2017-04-08 09:38:13 +12:00
Michaelangel007
4325900b2d
DOC: Fix 6502 cheat sheet x2 x6 ZP
2017-04-05 07:51:16 -07:00
tomcw
1bd85e123e
SSC: Added -modem switch (for dcd,dsr,dtr) and removed invert switches ( #386 )
2017-03-23 21:36:26 +00:00
tomcw
82302c19ce
Fixed #387 : Added support for up to 40-track .nib images
2017-03-21 22:06:56 +00:00
tomcw
3db755c2b4
Fixed #316 - For g cmd: don't set regular BP when also doing g_nDebugStepUntil
2017-03-21 21:25:24 +00:00
tomcw
abd99d109e
SSC: Experimental support for 6551's status bits: DCD and DSR via -dcd[-invert] and -dsr[-invert] args ( #386 )
2017-03-19 21:44:20 +00:00
tomcw
b377dc8afb
Savestate: SSC - DTR : added a todo comment
2017-03-19 17:27:07 +00:00
tomcw
49752ff7c3
LC 0xC08n.b0=1: After write-enable RAM, STA doesn't write-protect ( #395 )
2017-03-18 21:33:45 +00:00
tomcw
6d55634281
Debugger: fix for MODE_STEPPING at was falsely breaking on floating bus
2017-03-18 15:18:14 +00:00
tomcw
6063d8e96f
SSC: Experimental support for 6551's DTR via -dtr or -dtr-invert args ( #386 )
2017-03-18 13:56:18 +00:00
tomcw
5470febbf8
Fix for write to 0xCFFF (wasn't implemented), and clear IO_SELECT_InternalROM on 0xC006 (SLOTCXROM) access ( #392 )
2017-03-16 22:28:18 +00:00
tomcw
87862bcf28
Fix for 2x read access to (odd addr) to enable write access ( #392 )
2017-03-15 21:42:06 +00:00
tomcw
1c3838ab8f
Debugger: removed unused var
2017-03-12 21:56:42 +00:00
tomcw
30d8b7716a
Debugger: Mute sound when entering debugger from MODE_STEPPING:
...
. ie: ESC, F7 and Pause key
Debugger: Fix for MODE_STEPPING when jump from $C3xx to $C8xx:
. Don't break on floating-bus, as Expansion ROM will be switched in on
this access.
IORead_Cxxx(): Fix the logic for IO_SELECT when not slot-3
2017-03-12 21:54:08 +00:00
tomcw
3a2313c52e
Debugger:
...
. Improved break on FB or IO: account for slot empty (or not) & if expansion ROM enable
Memory:
. IORead_Cxxx(): Fix for Apple II support for when slot-3 is empty
. Apple II type was erroneously testing //e soft-switches
2017-03-10 22:00:01 +00:00
Nick Westgate
16b81133e0
Allow disk write protect read with drive off - Fixes #389
...
- Added comments
- Removed mistaken check for writing nibbles < 0x80
- Reset forces all switches off
2017-03-08 23:13:56 +13:00
tomcw
3d6c10bad9
Debugger:
...
. Move the BRK and invalid opcodes checks out of main emulation's Fetch() and into DebugContinueStepping()
. Added a new break condition: when PC reads floating bus or I/O memory
. On a break condition, output a 'Stop Reason' message to the console
2017-03-07 21:35:38 +00:00
tomcw
743add80f0
Improve ContinueExecution() whilst MODE_STEPPING:
...
. GetKeyState(VK_SCROLL) is slow, so only call periodically
. Account for g_nCpuCyclesFeedback before calling SpkrUpdate()
2017-02-26 13:45:06 +00:00
tomcw
29b7fa15b8
Merge branch 'master' of https://github.com/AppleWin/AppleWin
2017-02-25 22:48:07 +00:00
tomcw
0b6c5bbb91
Support for #384 :
...
. Debug 'G(o)' cmd now defaults to normal speed (and precise video updates)
. New debug 'GG' cmd enables full speed (and periodic video updates)
. Single-stepping (normal or full speed) now routed through ContinueExecution()
. Removed Cpu6502()/Cpu65C02() check for debug breakpoints
. Removed the (undocumented) SHIFT+F7 feature to exit debugger for 'normal speed breakpoints'
. Removed the g_bDebugNormalSpeedBreakpoints variable
2017-02-25 22:32:46 +00:00
tomcw
8c4f451557
Remove old, unused _Video_SetupBanks()
2017-02-17 16:00:22 +00:00
tomcw
fc781cdd47
Remove old, unused Video.cpp var/code:
...
. g_VideoForceFullRedraw
. VideoApparentlyDirty()
2017-02-17 15:37:37 +00:00
tomcw
a6bfe4cfe9
1.26.1.1: Fix #382 - CTRL+RESET not re-init'ing correct 40/80 text rendering routine when in mixed mode
2017-02-17 14:55:04 +00:00
Kelvin Lee
56570960ef
Renamed g_restart to g_bRestart.
2016-12-29 12:10:25 -05:00
Kelvin Lee
e0cac15ede
Renamed global variable restart to g_restart. Made it proper bool.
2016-12-29 12:10:03 -05:00
Kelvin Lee
0992cf16c4
Added variadic variants of ConsolePrint(), ConsoleBufferPush() to make code cleaner. Also added ConsoleColorizePrint() and variants.
2016-12-29 12:07:54 -05:00
Kelvin Lee
5e59f11625
Fixed a compiler warning.
2016-12-29 11:37:54 -05:00
Kelvin Lee
bb25fb702e
Fixed compiler warning about too many arguments for sprintf.
2016-12-29 11:36:43 -05:00
Kelvin Lee
65e253f312
Fixed indentation with tabs.
2016-12-29 11:36:21 -05:00
Kelvin Lee
20a1a9a884
Fixed compiler warnings about adding integer to char.
2016-12-29 11:35:09 -05:00
Kelvin Lee
03996c45a8
Fixed to safely sscanf.
2016-12-29 11:34:39 -05:00
Kelvin Lee
9ec4012209
Fixed format typo.
2016-12-29 11:01:46 -05:00
Kelvin Lee
c0736aaabf
Print pointers in correct way.
2016-12-29 11:01:12 -05:00
tomcw
ab04e46f61
Save-state: Draw the frame,buttons,etc as soon as we know the Apple2Type, to remove the issue where the drive buttons appear before the rest of the buttons. (Repro: Loading a 32MB gzip'ed HDD image from the command line.)
2016-12-11 16:31:25 +00:00
tomcw
345200972b
NTSC: Removed g_aHorzClockMemAddress[] for caching the horz video scanner addr
2016-12-11 15:27:07 +00:00
tomcw
3e0d399665
Some video-related comment clean up & simplified VideoGetVblBar()
2016-12-11 15:02:12 +00:00
tomcw
b8b90a6bd9
NTSC_VideoGetScannerAddress(): remove redundant 'long cycle6502' parameter
...
MemReadFloatingBus(): Make consistent by making one call the other
2016-11-17 19:52:49 +00:00
tomcw
8447a22942
VBlank tweaks:
...
. Removed NTSC_VideoVbl(), since it's not accurate during full-speed. (Nothing was using it)
. Renamed VideoGetVbl() to VideoGetVblBar()
. Correctly pass Vbl (not VblBar) to Mouse's SetVBlank()
2016-11-16 11:18:41 +00:00
tomcw
002af587d4
Fix #372 : do IRQ() before NTSC_VideoUpdateCycles()
2016-11-14 22:23:30 +00:00
tomcw
074acce2ae
Debugger: Extend tf cmd to optionally output video scanner info: tf <file.txt> [v] ( #359 )
2016-11-07 21:48:17 +00:00
tomcw
ab8ae7f3a0
Debugger: tf cmd - add video scanner addr & floating bus data ( #359 )
2016-11-07 21:12:18 +00:00
tomcw
981b711fef
Refactor: int bVideoMode -> uint32_t uVideoMode
2016-11-06 21:59:45 +00:00
tomcw
421d9a77f6
VideoRefreshScreen(): Use default args instead of passing 0 for arg0
2016-11-06 14:33:14 +00:00
tomcw
1bb60026a5
Debugger - Fix #345 : wrap and protect debugger's video mode
2016-11-06 14:23:23 +00:00
tomcw
c146587b8e
Save-state: Fix for loading state when TEXT40 changes to TEXT80 or v.v.
2016-10-31 21:05:10 +00:00
tomcw
d2efba4959
Fix for NTSC_VideoUpdateCycles() where Z80 updates in units of ~1000 cycles ( #371 )
2016-10-30 12:31:29 +00:00
tomcw
3edb78203e
Refactor: polymorphically call CImageHelperBase Open() & Close()
2016-10-25 22:26:28 +01:00
tomcw
31483b33b9
Refactor: Get rid of HIMAGE handle for disk images
2016-10-25 21:09:48 +01:00