-
-
Notifications
You must be signed in to change notification settings - Fork 17
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
int20 should take PSP from CS #185
Comments
Same for int27. |
Is this something we should test across all the DOS variants? Did you find out with a testcase or by studying the code? |
By studying the code. |
Mmm, isn't int27 a strange one. Thinking about how to test this, I figure I have to do the following 1/ resize (int21/4a) myself to leave space for a new allocation But I wonder how to test from DOS afterwards which program is resident, and what was released? |
I think the easiest is to have a
This is all. |
Even simpler is to just use the
|
No sure I get it fully yet, but I'll experiment with it later when I return home. Thanks for the ideas! |
Interrupt 21h function 00h has the same behaviour as int 20h in MS-DOS, I believe. (You can look at the MIT-licensed MS-DOS version 2 sources.) |
Yes, good point.
Unfortunately, checking CS breaks |
Yes I just found that old local branch, amusingly the final commit in the series was called 'crap commit - about to give up`. So there's probably nothing of value there! 😄 |
Hello @stsp, @ecm-pushbx, @andrewbird, Arrrgh. My understanding is that both Are there actually any real-life programs that try to pull a fast one, and invoke |
Hope there is none. |
Hello @stsp,
Me, I have half a mind to make the kernel complain "lolwut, your program is doing something bogus!" when some program calls Thank you! |
This can't work because int21 can |
Currently int20 terminates current PSP
instead of the one in CS. Hope no one
cares, this is a minor bug.
Same with freedos.
The text was updated successfully, but these errors were encountered: