Skip to content

Conversation

ecm-pushbx
Copy link
Contributor

We discovered 1 that some ROM-BIOS implementations apparently corrupt the ah register contents upon running int 10h function 0Eh so that writing only al afterwards isn't certain to set up the registers for another function 0Eh call.

In the talk about this I referenced an earlier problem 2 in which it was the al register, not ah, which got corrupted. So all in all the int 10h function 0Eh call should be expected to clobber the entirety of ax, alongside bp. (The bp corruption is stated in the Interrupt List 3.)

We discovered [1] that some ROM-BIOS implementations apparently
corrupt the ah register contents upon running int 10h function
0Eh so that writing only al afterwards isn't certain to set up
the registers for another function 0Eh call.

In the talk about this I referenced an earlier problem [2] in
which it was the al register, not ah, which got corrupted. So
all in all the int 10h function 0Eh call should be expected to
clobber the entirety of ax, alongside bp. (The bp corruption is
stated in the Interrupt List [3].)

[1]: SvarDOS/bugz#174 (comment)
[2]: FDOS@977023f
[3]: https://fd.lod.bz/rbil/interrup/video/100e.html
@PerditionC PerditionC merged commit e3bfd6a into FDOS:master Oct 9, 2025
1 check passed
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

Successfully merging this pull request may close these issues.

2 participants