Fix typos.. The vector for "int 0x12" (get base mem) is not written in
hex as "0x1a". :-) Fix a comment about the extended memory checks, that's int 0x15.
This commit is contained in:
parent
efca1dc5ee
commit
f9489e6a0e
@ -24,7 +24,7 @@ int
|
||||
getbasemem(void)
|
||||
{
|
||||
v86.ctl = 0;
|
||||
v86.addr = 0x1a; /* int 0x12 */
|
||||
v86.addr = 0x12; /* int 0x12 */
|
||||
v86int();
|
||||
|
||||
return(v86.eax & 0xffff);
|
||||
@ -39,7 +39,7 @@ getextmem(void)
|
||||
int extkb;
|
||||
|
||||
v86.ctl = 0;
|
||||
v86.addr = 0x15; /* int 0x12 function 0x88*/
|
||||
v86.addr = 0x15; /* int 0x15 function 0x88*/
|
||||
v86.eax = 0x8800;
|
||||
v86int();
|
||||
extkb = v86.eax & 0xffff;
|
||||
|
Loading…
x
Reference in New Issue
Block a user