From 4990d8b1fc734a4fd37ab75d403100c076bae5cc Mon Sep 17 00:00:00 2001 From: Volker Ruppert Date: Fri, 11 Aug 2006 17:34:12 +0000 Subject: [PATCH] - INT 15 AH=88h now returns max. 63M extended memory (Ralf Brown's interrupt list says the limit should be 15M, but real machines are reporting more) --- rombios.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/rombios.c b/rombios.c index 86111eb..eda9f26 100644 --- a/rombios.c +++ b/rombios.c @@ -3650,9 +3650,10 @@ ASM_END regs.u.r8.al = inb_cmos(0x30); regs.u.r8.ah = inb_cmos(0x31); - // limit to 15M - if(regs.u.r16.ax > 0x3c00) - regs.u.r16.ax = 0x3c00; + // According to Ralf Brown's interrupt the limit should be 15M, + // but real machines mostly return max. 63M. + if(regs.u.r16.ax > 0xffc0) + regs.u.r16.ax = 0xffc0; CLEAR_CF(); #endif -- 2.11.4.GIT