From ddd14db5df50d0dea9bd98a2631aae417dfa6058 Mon Sep 17 00:00:00 2001 From: sparky4 Date: Mon, 20 Jul 2015 20:43:43 -0500 Subject: [PATCH] it displays the actual error now~ modified: exmmtest.exe modified: src/lib/16_mm.c modified: src/lib/16_mm.h --- exmmtest.exe | Bin 54696 -> 54562 bytes src/lib/16_mm.c | 33 +++++++++++++++++++-------------- src/lib/16_mm.h | 4 ++-- 3 files changed, 21 insertions(+), 16 deletions(-) diff --git a/exmmtest.exe b/exmmtest.exe index f83adf52a1581f25a0f842711c7bb16be8366cce..858770f84b011519f39e6d69c1795b58a5a61948 100644 GIT binary patch delta 15222 zcmZ8o30zah)}P!&2%w09ECONQML|(i+)xalh!HFbDv?#OYz+x0Pk|PfUW0kI<7;cJ zR;z98rfsnmwN((srJG9^)YkS@>$`~cvudqXOTPb15~K~kGdJ@;XU?3NIdf*YVfQ=o z*WQ-b&&oMRQi!)Km4wR7<{1t|Nyw(rg!mK7Cs$8ME$DgBLC|H;Z=n7LLOelnphYWy zgRX;~t0iRlzX%al5)uMR0j&dV2i*ZpTt&!wkgSdnsgBf>xOzfrK<|N?;|Ljt$`^u) zK?YFJ7((`fUWg~;J}7BCA!VTG1VVlVO`AYSKBx?|U?QHNYS22+MoxkA40sAd z2bu-ag1SNWI`j&t2z1#&P_D!CHBdzrDh7R4MV!h1@Ff5a6%Cq3pA-I9Z}24OQ9@RN z(uNX}3u^WzfiH(*0Kx!<6Y^isixFsR6kKT-lz@H*6-1*CKq12k z`5ELi0?h%v6+_4;pszqbgY04n@dd?!W`goTD?l4TyFeZGg7P%zOM4$dX&8wP0<8nR z2-gr#0VeQe&(hI&Vf>P5mfoPli1TW^-IUJt`{22(_wFq=l!EfzMYuQ#2QZphj5oU}1Qa*bowHJ#g# z`>piDFzHL7=`48e^-bq8dFiPmpqhQtw7gH6&T3HV@DSD}^?j*4*iu&d$e-7bwi&Y? zN!u9TsD2=w8@0x)596%;Fl{Zv#T$#XxjF48)DHs53H2jE*|oJ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=F{fYW&C%c1VGfkbnCAU=;%DhoMZg2c~_0RU}K$Usa?PAKh^=EoO&sChV3EnFy@=PwgKzQP zLYnnf9prVewSND&Ms<}Ju)#ilT;u8=&g9*q*N*%3Pvh^!tUa4!s%l>LFwuk)n$SJG zz_!_h_r;D3b&)f>DpwT`-<)Tl1;0(P|{Q5XdGDcRmO3x(0VaC;e>tgiEUp@%k~^i!?k@7TcFl~chLE#0&tyf zJ~dR_^B7;M-#z8x+W8o(-oZkEeuZ-L3RceK<*O*O{VSVeNZ-``YnMTM&r1B@!iSyC rQO${A9b@A;`Rib|@m%zEFn)=?^6Q~&d-(>i#75fob)hm(OUVBRF|4v` diff --git a/src/lib/16_mm.c b/src/lib/16_mm.c index 9b398120..c7577924 100644 --- a/src/lib/16_mm.c +++ b/src/lib/16_mm.c @@ -135,10 +135,10 @@ boolean MML_CheckForEMS(void) ======================= */ -unsigned MML_SetupEMS(mminfo_t *mm) +byte MML_SetupEMS(mminfo_t *mm) { - char str[80],str2[10]; - unsigned err; + char str[80];//,str2[10]; + byte err; boolean errorflag=false; union REGS CPURegs; @@ -199,6 +199,7 @@ getpages: mov [EMShandle],dx jmp End error: + mov err,ah mov errorflag,1 jmp End noEMS: @@ -206,11 +207,12 @@ End: } if(errorflag==true) { - err = CPURegs.h.ah; + //err = CPURegs.h.ah; strcpy(str,"MML_SetupEMS: EMS error 0x"); - itoa(err,str2,16); - strcpy(str,str2); - printf("%s\n",str); + //itoa(err,str2,16); + //strcat(str,&err); + //printf("%s\n",str); + printf("%s%x\n",str,err); return err; } mm->totalEMSpages=totalEMSpages; @@ -263,10 +265,11 @@ void MML_ShutdownEMS(mminfo_t *mm) ==================== */ -unsigned MM_MapEMS(mminfo_t *mm) +byte MM_MapEMS(mminfo_t *mm) { - char str[80],str2[10]; - unsigned err, EMShandle; + char str[80];//,str2[10]; + unsigned /*err, */EMShandle; + byte err; boolean errorflag=false; int i; union REGS CPURegs; @@ -285,16 +288,18 @@ unsigned MM_MapEMS(mminfo_t *mm) jnz error jmp End error: + mov err,ah mov errorflag,1 End: } if(errorflag==true) { - err = CPURegs.h.ah; + //err = CPURegs.h.ah; strcpy(str,"MM_MapEMS: EMS error 0x"); - itoa(err,str2,16); - strcat(str,str2); - printf("%s\n",str); + //itoa(err,str2,16); + //strcat(str,&err); + //printf("%s\n",str); + printf("%s%x\n",str, err); //printf("FACK! %x\n", err); return err; } diff --git a/src/lib/16_mm.h b/src/lib/16_mm.h index 25442bc7..a665b224 100644 --- a/src/lib/16_mm.h +++ b/src/lib/16_mm.h @@ -163,9 +163,9 @@ typedef struct //========================================================================== boolean MML_CheckForEMS(void); -unsigned MML_SetupEMS(mminfo_t *mm); +byte MML_SetupEMS(mminfo_t *mm); void MML_ShutdownEMS(mminfo_t *mm); -unsigned MM_MapEMS(mminfo_t *mm); +byte MM_MapEMS(mminfo_t *mm); boolean MML_CheckForXMS(mminfo_t *mm); void MML_SetupXMS(mminfo_t *mm, mminfotype *mmi); void MML_ShutdownXMS(mminfo_t *mm); -- 2.39.5