Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Screen partly corrupted using DEBUGGER. "111111111111" outside disassembly window. #479
This is a bit of a weird one. I was using the down arrow on my keyboard to scroll through some code in the disassembly pane. All of a sudden 2 characters to the right of the disassembly pane (is it called the "info panel"?) were corrupted. Each time I pressed the down arrow key, another " 1" appeared. See attached screen captures.
It doesn't seem to be directly related to WM_PAINT, as I could move another application window over the corrupted window, then move it off again, and I could still see the corruption. However, if I minimized AppleWin and then restored Applewin, the window was displayed without the corruption.
The problem is repeatable. I could close Applewin, then restart it, and scroll through this same sequence of code and it would corrupt in the same manner. There seems to be more than one place in the code that causes this corruption.
I was using the enclosed DEBUG.TXT script and the enclosed A2_USER1.SYM. I booted DOS(1983) (January) Master disk first before F7 and RUN DEBUG.TXT.
g_nDisasmTopAddress = 0xbd59
Before first PrintTextCursorX()
Before Line 2141
Until the debugger gets fixed here is a work-around in your
The bug is that long symbol names are not being clipped. You have a few of those. :-/ Specifically,
I attempted to fix this in the past but looks like I forgot a few cases (indirect mode, etc.) The cause of the bug is that I assumed years ago that no one would ever use symbols > 16 chars. And of course Murphy's Law -- users will always challenge your assumptions. :-)
On my end there are a few things that need to be done: