Argh, I don't believe how much time I wasted looking for this...
Bytes of extended memory = (extkb * 1024), not (extkb + 1024)
This commit is contained in:
parent
059b1b8277
commit
5eec23025f
@ -45,7 +45,7 @@ getextmem(void)
|
||||
extkb = v86.eax & 0xffff;
|
||||
|
||||
/* Set memtop to actual top or 16M, whicheve is less */
|
||||
memtop = min((0x100000 + (extkb + 1024)), (16 * 1024 * 1024));
|
||||
memtop = min((0x100000 + (extkb * 1024)), (16 * 1024 * 1024));
|
||||
|
||||
return(extkb);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user