Baron-von-Riedesel / DOS-debug

Debug and DebugX (short: Debug/X) are extended versions of MS DEBUG
58 stars 12 forks source link

Two remaining enter mode bugs #5

Closed ecm-pushbx closed 7 months ago

ecm-pushbx commented 2 years ago

As I commented there are two more bugs in the current (1.28 release) build of Debug/X.

The first bug listed there is fixed by your commit.

The second bug and the third bug still exist. The second one is that after entering a new value then minus, the new value is ignored instead of writing it to memory. The third one is that in a 32-bit segment, only the lower 16 bits of the offset are incremented or decremented, causing a wrap-around instead of stepping into another 64 KiB block.

Baron-von-Riedesel commented 2 years ago

the inc/dec bug has been fixed. Actually, I changed the handling on a basic level, since the "default" flag of the descriptor attributes has no meaning for the size of a segment. Whenever a segment's limit exceeds 64 kB ( in protected-mode ), there will/should be no wrap-around.

Baron-von-Riedesel commented 7 months ago

byte value before '-' no longer skipped now.