projects
/
dosemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0e7b33c
)
Fix DOS 1.x PSP creation for child programs
author
Robert Pengelly
<robertapengelly@hotmail.com>
Sun, 18 Oct 2026 15:21:36 +0000
(16:21 +0100)
committer
Robert Pengelly
<robertapengelly@hotmail.com>
Sun, 18 Oct 2026 15:21:36 +0000
(16:21 +0100)
interrupts.c
patch
|
blob
|
history
diff --git
a/interrupts.c
b/interrupts.c
index d07f94b2753a33663167774c173183717d9a2bfe..c83bae9ff56869431dd184d770bf612ba63ff033 100644
(file)
--- a/
interrupts.c
+++ b/
interrupts.c
@@
-4486,7
+4486,7
@@
static void int_21 (CPU8086 *cpu) {
case 0x26: { /* Create Program Segment Prefix */
- uint32_t source = (uint32_t) cpu->
psp_seg
<< 4;
+ uint32_t source = (uint32_t) cpu->
ds
<< 4;
uint32_t destination = (uint32_t) cpu->regs[REG_DX] << 4;
uint8_t contents[256];