Use SetCursor() to busy when loading state file. (Fixes #781)

Fixed typos in dbg-bookmarks.html.
This commit is contained in:
tomcw 2020-06-03 20:26:06 +01:00
parent 105d0d77d8
commit f238be27e8
3 changed files with 6 additions and 3 deletions

View File

@ -19,6 +19,7 @@ Tom Charlesworth
instead of 'LDA DATASTROBE,X'. So now perhaps less helpful when stepping Disk II code. instead of 'LDA DATASTROBE,X'. So now perhaps less helpful when stepping Disk II code.
. [PR #785] Debugger: Improvements to Bookmarks. . [PR #785] Debugger: Improvements to Bookmarks.
- AppleWin.chm: Added debugger help about Bookmarks. - AppleWin.chm: Added debugger help about Bookmarks.
. Fixed occasional speaker clicks in full-speed mode.
1.29.12.0 - 26 Apr 2020 1.29.12.0 - 26 Apr 2020

View File

@ -7,7 +7,7 @@
<body style="DIRECTION: ltr" lang="en-US"> <body style="DIRECTION: ltr" lang="en-US">
<h1>Bookmarks</h1> <h1>Bookmarks</h1>
<p>Bookmarks allow you to "tag" an address and consequently jump back to them.<br> <p>Bookmarks allow you to "tag" an address and consequently jump back to them.<br>
They appear as a number with a circle around them between address and opcodes are listed (where the : separator is). They appear as a number with a circle around them between where address and opcodes are listed (where the : separator is).
</p> </p>
<img src="img/debugger-bookmarks-annotated.png" hspace="5" vspace="5"> <img src="img/debugger-bookmarks-annotated.png" hspace="5" vspace="5">
@ -15,7 +15,7 @@
<br> <br>
<p><font size="4"><b>Notes</b>:</font></p> <p><font size="4"><b>Notes</b>:</font></p>
<ul> <ul>
<li>Set a bookmark a the current disassembly cursor, use Ctrl-Shift-#, ie: <li>Set a bookmark at the current disassembly cursor, use Ctrl-Shift-#, ie:
<ul> <ul>
<li>NB. Ctrl-Shift-0 can't be used, as it's not recognised by Windows <li>NB. Ctrl-Shift-0 can't be used, as it's not recognised by Windows
<li>Ctrl-Shift-1 set bookmark 1 <li>Ctrl-Shift-1 set bookmark 1
@ -27,7 +27,7 @@
<br> <br>
<li>To jump to a existing bookmark, if it exists, press Ctrl-#, ie: <li>To jump to an existing bookmark, if it exists, press Ctrl-#, ie:
<ul> <ul>
<li>Ctrl-0 to jump to bookmark 0 <li>Ctrl-0 to jump to bookmark 0
<li>Ctrl-1 to jump to bookmark 1 <li>Ctrl-1 to jump to bookmark 1

View File

@ -371,6 +371,7 @@ static void ParseUnit(void)
static void Snapshot_LoadState_v2(void) static void Snapshot_LoadState_v2(void)
{ {
bool restart = false; // Only need to restart if any VM state has change bool restart = false; // Only need to restart if any VM state has change
HCURSOR oldcursor = SetCursor(LoadCursor(0,IDC_WAIT));
try try
{ {
@ -474,6 +475,7 @@ static void Snapshot_LoadState_v2(void)
PostMessage(g_hFrameWindow, WM_USER_RESTART, 0, 0); // Power-cycle VM (undoing all the new state just loaded) PostMessage(g_hFrameWindow, WM_USER_RESTART, 0, 0); // Power-cycle VM (undoing all the new state just loaded)
} }
SetCursor(oldcursor);
yamlHelper.FinaliseParser(); yamlHelper.FinaliseParser();
} }