Commit graph

2383 commits

Author SHA1 Message Date
tomcw
9bf0cf98d4 Fixed crash in debugger's PrintGlyph() when restarting AppleII virtual machine
Fixed mem leaks for debugger's Font & Mem frame buffers
2020-06-28 10:18:59 +01:00
tomcw
60d54d6f3b Fix for 'IRQ occurring on last cycle of opcode' not always true. (Fixes #796)
. FT demo MAD2.DSK - original version now correctly crashes at start of full-screen scroller
. FT demo MADEF.DSK - graphics glitch on vertical edge where it transitions from GR to HGR mode
2020-06-27 19:29:29 +01:00
Andrea Odetti
a2e7191604 Merge remote-tracking branch 'upstream/master' 2020-06-27 18:34:58 +01:00
tomcw
e48ea095a3 Debugger: PrintGlyph() - removed magic numbers 2020-06-27 15:46:28 +01:00
Andrea
fe62271ef9
Some minor c++ correctness changes. (#803)
Added const, static forward declaration.
Removed some unneeded header files.
2020-06-27 14:32:09 +01:00
Andrea Odetti
85b1f872f0 Rationalise location of some duplicate code.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-06-24 12:26:47 +01:00
Andrea Odetti
46f056f38e Move duplicate code to their standard location.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-06-24 07:54:04 +01:00
Andrea Odetti
de24c4e90a Necessary to avoid crash.
Must initialise card type at least.
2020-06-23 20:35:21 +01:00
Andrea Odetti
ee2e80aae4 Fix order of initialisation of global variables.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-06-22 16:43:36 +01:00
Andrea Odetti
507e316dfc Merge remote-tracking branch 'origin/cppfixes' 2020-06-22 16:09:17 +01:00
Andrea Odetti
aa60179992 Merge remote-tracking branch 'upstream/master' 2020-06-22 15:59:40 +01:00
Andrea Odetti
1d5710151d Some minor c++ correctness changes.
Add const, static forward declaration.
Remove windows.h (already in StdAfx.h) and crtdbg.h (not needed).
2020-06-22 15:24:32 +01:00
tomcw
42d265a25c Fixed timing for 6502 opcodes: rol abs,x; lsr abs,x; ror abs,x. (Fixes #801) 2020-06-19 19:40:23 +01:00
Andrea Odetti
b01bfe8b49 Rework a bit the way keys are processed.
Add Ctrl-'-' = 0x1f.

Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-06-19 18:23:29 +01:00
Andrea Odetti
8502d4b0d9 Use AltGr and Menu to avoid overloading Ctrl keys.
Unfortunately Alt does not work: not all key events are triggered.

Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-06-18 20:13:29 +01:00
Andrea Odetti
9282c5ddb9 Remove some duplication.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-06-18 14:06:14 +01:00
Andrea Odetti
7acac5cd22 Add support for Tab.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-06-18 13:56:24 +01:00
Andrea Odetti
a7e75078bb Add support for Open/Closed Apple with Left/Right Ctrl.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-06-18 13:56:14 +01:00
Cyril Lambin
af9568cbbf
Improved debugger video performance (#800)
Removed very slow BitBlt() GDI calls in PrintGlyph() - now 18x faster in Release config!
. Replaced GDI call FillRect() with new FillBackground()
. Added missing bitmap declarations in GetDebuggerMemDC()
Fixed AdditionalIncludeDirectories for Debugger source files
2020-06-17 21:56:35 +01:00
Andrea Odetti
457fc184d9 Save and restore emulator window geometry as well.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-06-16 20:15:58 +01:00
Andrea Odetti
42a3294791 Treat Backspace as Left (same as AW).
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-06-15 10:53:42 +01:00
Andrea Odetti
059820847a Support Ctrl characters.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-06-15 10:13:16 +01:00
Andrea Odetti
12a4180fc7 Small fixes from latest upstream changes.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-06-14 09:18:18 +01:00
Andrea Odetti
66bb1b9905 Merge remote-tracking branch 'upstream/master' 2020-06-14 09:03:55 +01:00
tomcw
e5ccf26d4f Help: updated about NSC in save-state, and -no-nsc switch 2020-06-10 21:45:19 +01:00
tomcw
c9ef6ecee1 NoSlotClock:
. added to save-state (v6) via a new unit type 'Miscellaneous'
. added cmd line switch '-no-nsc' to configure AppleII without an NSC
2020-06-10 20:56:00 +01:00
tomcw
f491bb19cd Improved fix for 80eb330
. During init: only need to call IoHandlerCardsOut() when loading save-state
. MemInitialize() -> MemReset() -> ResetPaging() which always inits memmode
2020-06-08 22:06:17 +01:00
tomcw
6d85c1b6bd NSC: Reset NSC on power-cycle. (Fixes #751) 2020-06-08 21:11:12 +01:00
tomcw
80eb33012f Fixed an edge case when switching from IIe to II+, and the Mockingboard wasn't visible in memory.
. Due to INTCXROM still being set and it not being excluded when in II+ mode.
. Fix is to reinit memmode on restart and only check INTCXROM if IIe or above.
2020-06-07 18:25:34 +01:00
tomcw
41203f5d2d Fixes for image loading switches (-d1,-d2,-h1,-h2,-s5d1,-s5d2):
. support relative paths (#663)
. updated the current directory with the path for each loaded image (#663) & saving state (#691)
. added a new switch -current-dir <path>
2020-06-06 16:32:58 +01:00
tomcw
f238be27e8 Use SetCursor() to busy when loading state file. (Fixes #781)
Fixed typos in dbg-bookmarks.html.
2020-06-03 20:26:06 +01:00
tomcw
105d0d77d8 1.29.13.0: Updated version and History.txt 2020-05-31 16:39:50 +01:00
tomcw
a332e58f1a Help: Debugger: added new section on Bookmarks 2020-05-31 16:11:43 +01:00
tomcw
f801655b23 Debugger: DrawFlags() - refactored to remove unused 3rd param 2020-05-30 14:41:14 +01:00
TomCh
037c338303
Debugger: Extend 'tf' command to add cycles for trace (#783) (PR #793)
Also don't call DrawFlags(), speeding up tracing by 10 times.
Authored-by: Nick Westgate
2020-05-30 14:12:36 +01:00
tomcw
4f340fa264 Revert previous fa04797:
. again '-s7 empty' doesn't persist this state to Registry/conf.ini
. consistent with other '-sn empty' cmds
2020-05-29 21:58:53 +01:00
tomcw
fa047974ec Fixed cmd line '-s7 empty' so that 'Harddisk Enable' is updated in Registry/conf.ini file
. this matches -s7-empty-on-exit and the -d1,-d2,-h1,-h2 switches
2020-05-28 21:41:15 +01:00
tomcw
b132b0d0a8 Added cmd line switch: -power-on 2020-05-26 21:37:56 +01:00
tomcw
eed3182bef Fixed cmd line regressions: (#790)
. -s7-empty-on-exit wasn't being recognised
. -d1, -d2 weren't saving the 'Last Disk Image 1/2' & 'Starting Directory'
2020-05-25 21:59:26 +01:00
Andrea Odetti
0706697b13 Merge remote-tracking branch 'upstream/master' 2020-05-24 19:18:49 +01:00
tomcw
cca3ecd436 Full-speed: fix for occasional speaker clicks 2020-05-23 22:34:15 +01:00
TomCh
a8671f7a6a
Debugger: Extend 'cycles' command to do (partial) timings relative to a user-specified instruction (#787) (PR #789) 2020-05-23 18:40:12 +01:00
tomcw
13a4043118 Added a new PerfMarker class: used to instrument emulation sub-systems and log timings (#788)
To enable this uncomment the #define LOG_PERF_TIMINGS in AppleWin.h.
2020-05-23 16:41:19 +01:00
Michael "Code Poet" Pohoreski
b1ab3f9794
Merge pull request #785 from AppleWin/bookmark_cleanup
Bookmark cleanup
2020-05-20 14:53:19 -07:00
Michael "Code Poet" Pohoreski
8197121312
Merge pull request #720 from AppleWin/Improve-APPLE2E.SYM
Improve APPLE2E.SYM
2020-05-19 16:19:01 -07:00
michaelangel007
2b9adac338 Debugger: 2.9.1.0 Bookmarks now have their own indicator 2020-05-19 08:37:15 -07:00
michaelangel007
dfbb63934c Debugger 2.9.0.18 2020-05-19 08:29:23 -07:00
michaelangel007
0c0e2f6bdd Debugger fixes for 2.9.0.16 and 2.9.0.17 2020-05-19 08:28:44 -07:00
tomcw
2c268b18d1 Corrected the acknowledgement (credit to @ghedger) for the SSI263 samples. (Fixes #784) 2020-05-16 22:29:10 +01:00
tomcw
58df8ea1e6 MB/SSI263 - alt logging via LOG_SSI263B 2020-05-10 18:21:34 +01:00