Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

What does DOS undocumented function 55h? (Developers)

posted by ecm Homepage E-mail, Düsseldorf, Germany, 02.02.2026, 23:01

> This guy tries to run Win 3.x native under Linux environment (not
> wine/qemu/etc...). He has some partial success:
> https://www.youtube.com/watch?v=xT-ZvToZDLw
> He'd like to know what DOS func. 55h/int 21h do, he just made some bypass,
> is it documented somewhere?

Yes, of course, it's in the old Interrupt List: https://fd.lod.bz/rbil/interrup/dos_kernel/2155.html

Here's how to use it: https://hg.pushbx.org/ecm/ldebug/file/952433a1600d/source/debug.asm#l7643

Note how the debugger resets the current PSP to its own, because (as the list states) the function 55h call changes the current PSP to be the new one.

Also, the source is the current PSP regardless the caller's CS. Function 26h may use the CS as its source instead (on MS-DOS).

---
l

 

Complete thread:

Back to the forum
Board view  Mix view
23154 Postings in 2179 Threads, 404 registered users (0 online)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum