forked from FDOS/kernel
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sys: fix, work on DOS versions that clobber di in int 25h/26h
Running on DR-DOS v7.03, the int 25h call zeroes di leading to a crash here when di is expected to preserve the stack pointer. So push di twice and pop it twice. The second pop always gets the saved sp, regardless of whether int 21h or int 25h/26h are used. Refer to SvarDOS/edrdos#57 (comment)
- Loading branch information
1 parent
1ce349e
commit ceaaaea
Showing
3 changed files
with
8 additions
and
3 deletions.
There are no files selected for viewing
Submodule share
updated
22 files
+0 −38 | .gitattributes | |
+2 −2 | .github/workflows/ci-build.yml | |
+0 −6 | .gitmodules | |
+16 −0 | Makefile | |
+1 −5 | README.md | |
+0 −0 | amis.mac | |
+3 −26 | build.bat | |
+6 −25 | build.sh | |
+53 −353 | gcc_help.asm | |
+0 −10 | help/share.de | |
+0 −10 | help/share.en | |
+0 −11 | help/share.fr | |
+0 −11 | help/share.tr | |
+0 −1 | kitten | |
+0 −46 | nls/share.de | |
+0 −47 | nls/share.en | |
+0 −47 | nls/share.fr | |
+0 −47 | nls/share.tr | |
+133 −231 | share.c | |
+6 −0 | share.hlp | |
+0 −37 | src/Makefile | |
+0 −1 | tnyprntf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters