]> 4ch.mooo.com Git - 16.git/commitdiff
I think the stack should be in it's own segment for stability reasons wwww
authorsparky4 <sparky4@cock.li>
Fri, 31 Jul 2015 22:30:36 +0000 (17:30 -0500)
committersparky4 <sparky4@cock.li>
Fri, 31 Jul 2015 22:30:36 +0000 (17:30 -0500)
modified:   16.exe
deleted:    DEBUG.16
deleted:    MMDUMP.16
deleted:    PROFILE.16
modified:   bakapi.exe
modified:   exmmtest.exe
modified:   fmemtest.exe
modified:   fontgfx.exe
modified:   fonttest.exe
modified:   inputest.exe
modified:   makefile
modified:   maptest.exe
modified:   palettec.exe
modified:   pcxtest.exe
modified:   scroll.exe
modified:   sega.exe
modified:   sountest.exe
modified:   src/exmmtest.c
modified:   src/lib/16_mm.c
modified:   src/lib/16_mm.h
modified:   test.exe
modified:   test2.exe
modified:   tsthimem.exe

23 files changed:
16.exe
DEBUG.16 [deleted file]
MMDUMP.16 [deleted file]
PROFILE.16 [deleted file]
bakapi.exe
exmmtest.exe
fmemtest.exe
fontgfx.exe
fonttest.exe
inputest.exe
makefile
maptest.exe
palettec.exe
pcxtest.exe
scroll.exe
sega.exe
sountest.exe
src/exmmtest.c
src/lib/16_mm.c
src/lib/16_mm.h
test.exe
test2.exe
tsthimem.exe

diff --git a/16.exe b/16.exe
index 85e6fc4ae5fc0fa882794d4e1b0875641794c6e9..f5913d9648687f5b329def2153329c3db12eb98d 100644 (file)
Binary files a/16.exe and b/16.exe differ
diff --git a/DEBUG.16 b/DEBUG.16
deleted file mode 100644 (file)
index 8ad8653..0000000
--- a/DEBUG.16
+++ /dev/null
@@ -1,6 +0,0 @@
-Seg:0  Size:5212       Owner:0x76ff\r
-Seg:145c       Size:256        Owner:0x6552\r
-Seg:155c       Size:273        Owner:0x92aa\r
-Seg:1af9       Size:17 Owner:0x6532\r
-Seg:1cfa       Size:49926      Owner:0x0\r
-Seg:e000       Size:4294909951 Owner:0x5bba\r
diff --git a/MMDUMP.16 b/MMDUMP.16
deleted file mode 100644 (file)
index 5715b37..0000000
Binary files a/MMDUMP.16 and /dev/null differ
diff --git a/PROFILE.16 b/PROFILE.16
deleted file mode 100644 (file)
index e69de29..0000000
index a30c1bb0fb9af5d62a7c945593c444ceedf189cb..4d5bb55649d0bf88ef1a9019fe3dab9c577c8e7a 100644 (file)
Binary files a/bakapi.exe and b/bakapi.exe differ
index 9147e6451cfd0ef725bd0944e310567212c6c2fa..b1754460141b684c0f153062a2ef5d080b3271a1 100644 (file)
Binary files a/exmmtest.exe and b/exmmtest.exe differ
index a5a7ab9a4cf70b579bdafc58e1daacb4d2d63500..41a8b19104fff4c055b0f63e5bde37688509acdd 100644 (file)
Binary files a/fmemtest.exe and b/fmemtest.exe differ
index bf8a3afa9ad57c45357918957cc01ba562e56929..882b21c0bb837de5ef116f479818348cb233d42d 100644 (file)
Binary files a/fontgfx.exe and b/fontgfx.exe differ
index 4de46206fe35baf05e1a4f725b59a171a2b19183..cd586412f9cdf1c3c256b3566014332eeef3f49d 100644 (file)
Binary files a/fonttest.exe and b/fonttest.exe differ
index c80839602041cbebf3ed6bc62a68962dabf1a78f..d05fecfbd243f35b56c8c286db892c90ae31e949 100644 (file)
Binary files a/inputest.exe and b/inputest.exe differ
index 554aa3f8bfc9e99911adceb8cf57d0365b8fa44f..c0713ebcbf651301caec5b484eb05cad94b7364f 100644 (file)
--- a/makefile
+++ b/makefile
@@ -22,11 +22,11 @@ WCPULIB=$(SRCLIB)wcpu$(DIRSEP)
 
 16FLAGS=-fh=16.hed
 BAKAPIFLAGS=-fh=bakapi.hed
-
-SFLAGS=-k32768#51200#49152
+#-st -zu
+SFLAGS=-k24576#32768#51200#49152
 DFLAGS=-DTARGET_MSDOS=16 -DMSDOS=1 $(SFLAGS)
-ZFLAGS=-zk0 -zq# -zu -zm# -zc# -zdp# -zp16 -zq
-CFLAGS=-mc -ei -wo -x# -r
+ZFLAGS=-zk0 -zq# -zu# -zm# -zc# -zdp# -zp16 -zq
+CFLAGS=-mc -ei -wo -x
 OFLAGS=-otexanbhrml -ol+
 FLAGS=-0 -d2 -lr $(OFLAGS) $(CFLAGS) $(DFLAGS) $(ZFLAGS)
 
index 2b70d8315da09a1f5636209c15c34027884691e9..713e2bd9674f3bf31ce3fd714e87662442c84d09 100644 (file)
Binary files a/maptest.exe and b/maptest.exe differ
index 7f2d270803614f8f8386b42b11c3bba57be72749..87b8b72fc2bf9239359b3d5e9c09e03fbab40779 100644 (file)
Binary files a/palettec.exe and b/palettec.exe differ
index 491a9cff2803ee2c2abe4e7be5cce327aad47e69..34b854b19124ad5a0cbb8cc6727ca710de6bccf1 100644 (file)
Binary files a/pcxtest.exe and b/pcxtest.exe differ
index 9d132349001cea6551dda5f2deb63eda27ce99f1..a8b51d6cc6abe4432a1f32708133110a496bf539 100644 (file)
Binary files a/scroll.exe and b/scroll.exe differ
index f71de577db4e1ed077142e50d01f126460fa06e4..4e83099ebe2a54ef940d9289f5b36d335cbf3f25 100644 (file)
Binary files a/sega.exe and b/sega.exe differ
index db2fbe052dbc600e648524c5faa8bd1e4df79b3a..52d3e132c01811c19f302bf1e22c2a7721d7e710 100644 (file)
Binary files a/sountest.exe and b/sountest.exe differ
index a84d2327e99b51f84239f8cbaf32fc574b418df1..a1457aaefa9cef7d09db77f65bce42a45f67401f 100644 (file)
@@ -80,14 +80,6 @@ main(int argc, char *argv[])
        //PM_UnlockMainMem();\r
        CA_Startup();
        printf("                done!\n");
-       /*if(FP_SEG(*argv[0])==0)
-       {
-               MM_Report(&screen, &mm, &mmi);
-               MM_Shutdown(&mm);
-               printf("&main()=%Fp\n", *argv[0]);
-               printf("&main() == %u\n", FP_SEG(*argv[0]));
-               exit(-5);
-       }*/
        printf("&main()=        %Fp\n", *argv[0]);
        printf("bigbuffer=      %Fp\n", bigbuffer);
        printf("&bigbuffer=     %Fp\n", &bigbuffer);
index 701db3e89c3922bdf1c8f789da182afe4caac8c8..764ecfe9d180fca81d0bc0edd40cf06a1f459eb6 100644 (file)
@@ -887,6 +887,7 @@ void MM_GetPtr(memptr *baseptr,dword size, mminfo_t *mm, mminfotype *mmi)
 
        if (mm->bombonerror)
        {
+               heapdump();
                printf(OUT_OF_MEM_MSG,(size-mmi->nearheap));
                printf("for stability reasons the program will shut down! wwww\n");
                MM_Shutdown(mm);
index 3b98e0aefed65eb03a06a8c877f1a3e2799a09b5..4298adb0b43064bd1ac0e76557b0e38af1847075 100644 (file)
@@ -36,7 +36,7 @@
 #endif
 
 
-#define SAVENEARHEAP   0//x200         // space to leave in data segment
+#define SAVENEARHEAP   0//_memavl()/4          // space to leave in data segment
 #define SAVEFARHEAP    0//x400                 // space to leave in far heap
 
 #define        BUFFERSIZE              0x1000          // miscelanious, allways available buffer
index 4b164a397a1f7b9904a90a73fb430624187f46f2..9ae0ae0753e783778ea8429e05b1aa63c5f35dfe 100644 (file)
Binary files a/test.exe and b/test.exe differ
index 17b2e157be90d5ccc77e085e027170b971b993d6..ce7a9848267db0a57fe59c6ed775052b73f44364 100644 (file)
Binary files a/test2.exe and b/test2.exe differ
index 405febaa7b657108358ea7e8be18b9a62739dad1..d0d6fc9999a16991c3c01f5a3448523e0a073884 100644 (file)
Binary files a/tsthimem.exe and b/tsthimem.exe differ