OSDN Git Service

fixed the EMS stuff~
authorsparky4 <sparky4@cock.li>
Thu, 16 Jul 2015 22:12:14 +0000 (17:12 -0500)
committersparky4 <sparky4@cock.li>
Thu, 16 Jul 2015 22:12:14 +0000 (17:12 -0500)
modified:   src/lib/doslib/emm.c
modified:   src/lib/doslib/emm.h
modified:   src/testemm.c
modified:   testemm.exe

src/lib/doslib/emm.c
src/lib/doslib/emm.h
src/testemm.c
testemm.exe

index 857058a..f15b706 100644 (file)
@@ -126,7 +126,7 @@ void emm_update_page_count() {
        }
 }
 
-int probe_emm0() {
+int probe_emm() {
        void far *emmptr;
 
        emm_present = 0;
index 85b3714..0ea6923 100644 (file)
@@ -66,7 +66,7 @@ struct emm_phys_page_map {
 };
 #pragma pack(pop)
 
-int probe_emm0();
+int probe_emm();
 void emm_phys_pages_sort();
 void emm_update_page_count();
 int emm_alloc_pages(unsigned int pages);
index a27a8f2..22af102 100644 (file)
@@ -56,7 +56,7 @@ int main() {
        }*/
 
        sanity();
-       if (probe_emm0()) {
+       if (probe_emm()) {
                int h1,h2,h3;
 
                sanity();
index dd18e10..34a1fb2 100644 (file)
Binary files a/testemm.exe and b/testemm.exe differ