buricco / doslite

Lightweight attempt at rewriting DOS 6.21.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Two Debug bugfixes and ORG directive for line assembler

ecm-pushbx opened this issue · comments

During modding your Debug sources I found that segment registers were not accepted for specifying segments in address parameters, because you accidentally made a capital S into a small s (within quotemarks). Fix in https://hg.pushbx.org/ecm/msdebug/rev/e9780e9e9feb

Investigating the source of this error I found a second error of the same type (capital F to small f in quotemarks), which prevented the R F command from working. Fix in https://hg.pushbx.org/ecm/msdebug/rev/1fa1c5321233

Finally, I added an org directive to the assembler. For bonus points I extended the debugger's error handling so org errors will return to the line assembler prompt instead of the debugger main prompt. (The debug.exe program I found, which checks for DOS v5.00, doesn't behave sensibly on org errors, taking them as bogus origin settings instead. However, it does return to the line assembler prompt regardless.)

Looks like I was a little heavyhanded when crushing case.

Applied all suggestions in most recent push.

Applied in a39f285