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:
Peter Wemm 1998-09-30 19:41:07 +00:00
parent efca1dc5ee
commit f9489e6a0e
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=39831

View File

@ -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;