Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Two remaining enter mode bugs #5

Closed
ecm-pushbx opened this issue Mar 11, 2022 · 2 comments
Closed

Two remaining enter mode bugs #5

ecm-pushbx opened this issue Mar 11, 2022 · 2 comments

Comments

@ecm-pushbx
Copy link

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
Copy link
Owner

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
Copy link
Owner

byte value before '-' no longer skipped now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants