OSDN Git Service

fmemtest.exe hmmm
authorsparky4 <sparky4@cock.li>
Thu, 23 Jul 2015 13:16:45 +0000 (08:16 -0500)
committersparky4 <sparky4@cock.li>
Thu, 23 Jul 2015 13:16:45 +0000 (08:16 -0500)
modified:   16.exe
modified:   16.hed
modified:   DEBUG.16
modified:   MMDUMP.16
modified:   exmmtest.exe
modified:   fmemtest.exe
modified:   fontgfx.exe
modified:   fonttest.exe
modified:   inputest.exe
modified:   maptest.exe
modified:   palettec.exe
modified:   sountest.exe
modified:   src/fmemtest.c
modified:   src/lib/16_head.h
modified:   src/lib/16_mm.h
modified:   tsthimem.exe

16 files changed:
16.exe
16.hed
DEBUG.16
MMDUMP.16
exmmtest.exe
fmemtest.exe
fontgfx.exe
fonttest.exe
inputest.exe
maptest.exe
palettec.exe
sountest.exe
src/fmemtest.c
src/lib/16_head.h
src/lib/16_mm.h
tsthimem.exe

diff --git a/16.exe b/16.exe
index 9ebcb31..1798b36 100644 (file)
Binary files a/16.exe and b/16.exe differ
diff --git a/16.hed b/16.hed
index 4c83af5..ab3e029 100644 (file)
Binary files a/16.hed and b/16.hed differ
index 2690aa2..ee53cff 100644 (file)
--- a/DEBUG.16
+++ b/DEBUG.16
@@ -1,16 +1,16 @@
-Seg:0  Size:6828       Owner:0x1674\r
-Seg:1ba5       Size:1  Owner:0x46c7\r
-Seg:1ba6       Size:256        Owner:0xc25c\r
-Seg:1f4b       Size:45238      Owner:0x90c3\r
-Seg:d022       Size:4294967263 Owner:0x91e8\r
-Seg:d022       Size:4294967263 Owner:0x8b04\r
-Seg:d022       Size:4294967263 Owner:0x26b8\r
-Seg:d022       Size:4294967263 Owner:0xf04e\r
-Seg:d022       Size:4294967263 Owner:0x7f94\r
-Seg:d022       Size:4294967263 Owner:0xc01b\r
-Seg:d022       Size:4294967263 Owner:0x1a2\r
-Seg:d022       Size:4294967263 Owner:0x9005\r
-Seg:d022       Size:4294967263 Owner:0x3350\r
-Seg:d022       Size:4294967263 Owner:0x2b8\r
-Seg:d022       Size:419        Owner:0x2eb8\r
-Seg:e000       Size:4294909951 Owner:0xc02b\r
+Seg:0  Size:6749       Owner:0x1\r
+Seg:1b56       Size:1  Owner:0x86f6\r
+Seg:1b57       Size:256        Owner:0xc25c\r
+Seg:1efc       Size:45317      Owner:0xbc93\r
+Seg:d01f       Size:4294967266 Owner:0x869a\r
+Seg:d01f       Size:4294967266 Owner:0x70bc\r
+Seg:d01f       Size:4294967266 Owner:0xb868\r
+Seg:d01f       Size:4294967266 Owner:0xa650\r
+Seg:d01f       Size:4294967266 Owner:0x8d00\r
+Seg:d01f       Size:4294967266 Owner:0x8689\r
+Seg:d01f       Size:4294967266 Owner:0x8689\r
+Seg:d01f       Size:4294967266 Owner:0xf13e\r
+Seg:d01f       Size:4294967266 Owner:0x8336\r
+Seg:d01f       Size:4294967266 Owner:0x8d50\r
+Seg:d01f       Size:467        Owner:0x70bc\r
+Seg:e000       Size:4294909951 Owner:0xff11\r
index b1fad0a..fb14356 100644 (file)
Binary files a/MMDUMP.16 and b/MMDUMP.16 differ
index 0f8110c..824d312 100644 (file)
Binary files a/exmmtest.exe and b/exmmtest.exe differ
index 39ee9b8..05eaa8a 100644 (file)
Binary files a/fmemtest.exe and b/fmemtest.exe differ
index 5813254..9502380 100644 (file)
Binary files a/fontgfx.exe and b/fontgfx.exe differ
index f812b28..474ba8a 100644 (file)
Binary files a/fonttest.exe and b/fonttest.exe differ
index 842c7b7..6168822 100644 (file)
Binary files a/inputest.exe and b/inputest.exe differ
index 11ee1cb..3373924 100644 (file)
Binary files a/maptest.exe and b/maptest.exe differ
index 1cb67ec..0066ab5 100644 (file)
Binary files a/palettec.exe and b/palettec.exe differ
index 04c88cd..69b1620 100644 (file)
Binary files a/sountest.exe and b/sountest.exe differ
index da10234..af61ffe 100644 (file)
@@ -33,6 +33,8 @@ main(int argc, char *argv[])
        int *ptr0=&x;
        void __based(__self) *pee;
        void __near *npee;
+       memptr bigbuffer;
+       __segment segu;
        //word csw=0,dsw=0,esw=0,ssw=0,ipw=0;
 
        //ptr=&x;
@@ -60,6 +62,8 @@ main(int argc, char *argv[])
        //printf("cs=%u\n", csw);
        //printf("ds=%u\n", dsw);
        //printf("es=%u\n", esw);
+       printf("size of big buffer~=%u\n", _bmsize(segu, bigbuffer));
+       printf("size of pee~=%u\n", _bmsize(segu, pee));
        printf("pee=%Fp\n", pee);
        printf("npee=%Fp\n", npee);
        printf("&main()=%Fp\n", *argv[0]);
index da071b7..ee6ebf5 100644 (file)
@@ -150,6 +150,9 @@ extern      int                     profilehandle,debughandle;
 
 typedef union REGPACK  regs_t;
 typedef        enum    {false,true}    boolean;
+//I hope this is correct!
+//__self
+typedef void __based(__self) * memptr;
 
 /* local function */\r
 void wait(clock_t wait);
index 9daee33..0b562da 100644 (file)
 #define        XMS_FREEUMB             0x11
 
 //==========================================================================
-//I hope this is correct!
-// void __segment(void)* memptr;
-//__segment            sega;
-//__self
-typedef void __based(__self) * memptr;
 
 typedef struct
 {
index 465bcca..8fe053e 100644 (file)
Binary files a/tsthimem.exe and b/tsthimem.exe differ