From c0ae467c0485d2b22069a67aef17cad58bd2aa96 Mon Sep 17 00:00:00 2001 From: sparky4 Date: Tue, 21 Jul 2015 10:28:06 -0500 Subject: [PATCH] ok! modified: awoo.sh modified: exmmtest.exe modified: src/lib/16_mm.c modified: src/lib/16_mm.h --- awoo.sh | 1 + exmmtest.exe | Bin 54797 -> 54827 bytes src/lib/16_mm.c | 29 ++++++++++++++++------------- src/lib/16_mm.h | 6 +++--- 4 files changed, 20 insertions(+), 16 deletions(-) diff --git a/awoo.sh b/awoo.sh index 9e26c560..5ef0ca15 100644 --- a/awoo.sh +++ b/awoo.sh @@ -1,3 +1,4 @@ #!/bin/bash git add . bash ./boop.sh +cp exmmtest.exe /var/www/html/ diff --git a/exmmtest.exe b/exmmtest.exe index d13e21ed3fc608108fbc1e8d66997ae2849ba83e..22a4fa56d6dad04c5d383a827a6832d25e3ca6b5 100644 GIT binary patch delta 16206 zcmaKT3tUvy_WwRJ12cn$qr=MwFF~F@KoK<%UpT1w7(vmYc-RH~z_5c0;htJw`&RT1)z4qE` zuf6s@haK-r54|rfUXW79%^}0Nxg?0Q*`8Dq1tG?0Li~t$#hD060T=*p0L}oK0e1jh z0Jj1{rfvita1rqAbA&A4M92>Sr{@U?0jvg;0ImVNiwIc@_#SY+m=qJY5<->%b^z!^ zLWZL8Sbzqw6d;{M$cuo2$%M230%HhS0C+5xkS_oMQwf;~SOAEL!!IBiuo{pD*bm5^ zMo9Z~LdXns4!{G#;|W<8Urfk58bYc8Hvzu_tO*c2hY2fPkA0Qdy(fT@6`fTsZ)0Ph#0XkJRlb-?$4 zZa`r&dbymCIRG6X74STO0=@*?1VlYah#s&Va0YM*@GZaw2uLAh7GOExRlrXx2nl|g zkSTzrfFi&ffNOx_@j6200!{)3>IrE~MehOoR-u=GM*vkCdJRYe6a$W?6C%kYWHX>1 z@Xu!n`8QywfsiqPX@JiFKLh;o37HMJt5hjg<99P)krB!R4jIWH(u5n%gz*Ffn5ac^ zxA^6u7@A?Q>~KQn11d)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89{+a>&X0v z`h_c+a^cq%as`xrA=8X!i~}EWtZ9C%r+5}E@GfQA~+IDZ-XCEe7Zkt?m~B6)u2+YyQ*2lxJnfgIPu^| zA@s35*yDC^X41UDmc<9gQtez$W|6xk}1UK?)^Uh}VFA-*Qf}q}iGX(o*Pnl#= z3FCBSmw^v{s=z>J33TB{Dl!Y0rvyp3kRZTO`dXW}e2dVU*0j1io)*}5(e^eC3f-Qz zF^DdoYu=KpC3MO)zfmJms}qurQL+U{OkxX#=_|VC?V2Yf2PQX%^+NYv({Lx~Y2n&& z&6}&H4{$G|>gyU*fpNGVqUpGvqNUe0lGD%9nU}rj@#}KQkI&Lm*ZolYeR*9oO8EJW zEgd9Pupu-gD+T#3H<EMSmem = (i)*0x4000lu; return 0; } -byte MM_MapXEMS(mminfo_t *mm) +byte MM_MapXEMS(mminfo_t *mm, mminfotype *mmi) { //SUB EMS.MapXPages (PhysicalStart, LogicalStart, NumPages, Handle) @@ -330,9 +331,9 @@ byte MM_MapXEMS(mminfo_t *mm) // EMS.Error = (Regs.ax AND &HFF00&) \ &H100 //Store the status code //END SUB - char str[80];//,str2[10]; - unsigned EMShandle; + char str[80]; byte err; + word EMShandle; boolean errorflag=false; int i; EMShandle=mm->EMShandle; @@ -344,7 +345,7 @@ byte MM_MapXEMS(mminfo_t *mm) { __asm { - mov ah,EMS_MAPXPAGE + mov ax,EMS_MAPXPAGE mov cx,[i] // logical page mov al,bl // physical page mov dx,[EMShandle] // handle @@ -369,6 +370,7 @@ byte MM_MapXEMS(mminfo_t *mm) return err; } } + mmi->EMSmem = (i)*0x4000lu; return 0; } @@ -698,7 +700,7 @@ void MM_Startup(mminfo_t *mm, mminfotype *mmi) // // detect EMS and allocate up to 64K at page frame // - printf("EMS!\n\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"); //bug! + printf("EMS1\n\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"); //bug! mmi->EMSmem = 0; for(i = 1;i < __argc;i++) { @@ -708,16 +710,17 @@ void MM_Startup(mminfo_t *mm, mminfotype *mmi) printf("\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"); //bug! if(MML_CheckForEMS()) { -printf("EMS1\n"); - MML_SetupEMS(mm); // allocate space printf("EMS2\n"); + MML_SetupEMS(mm); // allocate space +printf("EMS3\n"); printf("\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"); //bug! //TODO: EMS4! AND EMS 3.2 MASSIVE DATA HANDLMENT! MML_UseSpace(mm->EMSpageframe,(MAPPAGES)*0x4000lu, mm); -printf("EMS3\n"); - MM_MapEMS(mm); // map in used pages printf("EMS4\n"); - mmi->EMSmem = (MAPPAGES)*0x4000lu; + if(mm->EMSVer<0x40) + MM_MapEMS(mm, mmi); // map in used pages + else + MM_MapXEMS(mm, mmi); // map in used pages } // diff --git a/src/lib/16_mm.h b/src/lib/16_mm.h index 974af530..8b729644 100644 --- a/src/lib/16_mm.h +++ b/src/lib/16_mm.h @@ -54,7 +54,7 @@ #define EMS_GETPAGES 0x42 #define EMS_ALLOCPAGES 0x43 #define EMS_MAPPAGE 0x44 -#define EMS_MAPXPAGE 0x50 +#define EMS_MAPXPAGE 0x5000 #define EMS_FREEPAGES 0x45 #define EMS_VERSION 0x46 @@ -166,8 +166,8 @@ typedef struct boolean MML_CheckForEMS(void); byte MML_SetupEMS(mminfo_t *mm); void MML_ShutdownEMS(mminfo_t *mm); -byte MM_MapEMS(mminfo_t *mm); -byte MM_MapXEMS(mminfo_t *mm); +byte MM_MapEMS(mminfo_t *mm, mminfotype *mmi); +byte MM_MapXEMS(mminfo_t *mm, mminfotype *mmi); boolean MML_CheckForXMS(mminfo_t *mm); void MML_SetupXMS(mminfo_t *mm, mminfotype *mmi); void MML_ShutdownXMS(mminfo_t *mm); -- 2.39.5