]> 4ch.mooo.com Git - 16.git/commitdiff
==major fixings!==made major changes to the 16_mm and compilation stuff so that way...
authorsparky4 <sparky4@cock.li>
Tue, 21 Jul 2015 18:18:57 +0000 (13:18 -0500)
committersparky4 <sparky4@cock.li>
Tue, 21 Jul 2015 18:18:57 +0000 (13:18 -0500)
modified:   16.exe
modified:   DEBUG.TXT
modified:   MMDUMP.TXT
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:   sountest.exe
modified:   src/exmmtest.c
modified:   src/lib/16_mm.h
modified:   test.exe
modified:   test2.exe
modified:   tsthimem.exe

18 files changed:
16.exe
DEBUG.TXT
MMDUMP.TXT
exmmtest.exe
fmemtest.exe
fontgfx.exe
fonttest.exe
inputest.exe
makefile
maptest.exe
palettec.exe
pcxtest.exe
sountest.exe
src/exmmtest.c
src/lib/16_mm.h
test.exe
test2.exe
tsthimem.exe

diff --git a/16.exe b/16.exe
index bcf171f84974523681a2effa09a236b731e485e6..7f8f0d89126ce08bf86efaefae4566b0e44d3428 100644 (file)
Binary files a/16.exe and b/16.exe differ
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..3330ac44520d761fbb1531f638422633dfc1cecc 100644 (file)
--- a/DEBUG.TXT
+++ b/DEBUG.TXT
@@ -0,0 +1,7 @@
+Seg:0  Size:113936     Owner:0x37e\r
+Seg:1e1b       Size:40768      Owner:0xab4\r
+Seg:280f       Size:16384      Owner:0x32e2\r
+Seg:3259       Size:711280     Owner:0x468b\r
+Seg:e000       Size:31344      Owner:0x5aa8\r
+\r
+MM_ShowMemory: Memory block order currupted!\r
index 06b0ee8525dff2ffcc063d8c9cbb6838e56c66c7..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,5 +0,0 @@
-0x004c:0a75 (P\80) = 3009\r
-0x004c:120a (P\11) = 3009\r
-0x002d:21e6 (-ä) = 3009\r
-0x004c:c36b (PÍ) = 3009\r
-0x004c:fd76 (PÐ) = 3009\r
index 08892014ccb2c50a4560bd43ff401bc0f03db1fa..0f9724e999aa7464a6385173916390a582ffafe3 100644 (file)
Binary files a/exmmtest.exe and b/exmmtest.exe differ
index 2a7db548763f8a8bb38e73e440e6aae7b889fa76..dd4e540bbaa97b51da673f0b433a56afb60b5c9a 100644 (file)
Binary files a/fmemtest.exe and b/fmemtest.exe differ
index 612eaae813258527f96f4b44a688ab69cfa34fcc..6dae4b0b04cf735d5f56faf01c3f85105765de38 100644 (file)
Binary files a/fontgfx.exe and b/fontgfx.exe differ
index e5d7fa8d9ac33e6fd65d58700f13c72553b941ee..f8d209f15230e362df2fb76c3c37681977dfb561 100644 (file)
Binary files a/fonttest.exe and b/fonttest.exe differ
index b20e87ca9d155c63b454ded787f90e401163d739..8573f4ea29dcc5b6af9b8746c57f1914a31f4e7b 100644 (file)
Binary files a/inputest.exe and b/inputest.exe differ
index 5d5f4abc9aaf38ff6dfc2749dcd435837e6014b0..2d922640034bbae2a9acbf510ee179f6db8ea212 100644 (file)
--- a/makefile
+++ b/makefile
@@ -13,7 +13,7 @@ TARGET_OS = dos
 #-zkl = current codepage
 
 DFLAGS=-DTARGET_MSDOS=16 -DMSDOS=1# -zm
-CFLAGS=-zk0 -wo -x -mc -zu #-k32768#-k16384# -zdp# -zp16 -zq
+CFLAGS=-zk0 -wo -x -mc -zu -k16384# -zdp# -zp16 -zq
 OFLAGS=-ot -ox -ob -oh -or# -om -ol -ol+
 FLAGS=-0 -lr $(OFLAGS) $(CFLAGS) $(DFLAGS) #-d2
 SRC=src$(DIRSEP)
index 8c098e4224bcea202571b38535f6cf9600836aeb..32f04da93f27ca799e38bd647c3d9055f75e387d 100644 (file)
Binary files a/maptest.exe and b/maptest.exe differ
index edac065eab49d8a6080c6f8f8bda321bb85600dc..9135dbb9422883cadf9530610e9d326d6338bd01 100644 (file)
Binary files a/palettec.exe and b/palettec.exe differ
index 45e2aedeab2247a9ab676100402130ed9e9c8e26..194b23d60c139841fe88a6da9908b0fa41738340 100644 (file)
Binary files a/pcxtest.exe and b/pcxtest.exe differ
index 3e85c76ea34687d9db06f889a25570d771bf6852..40807e63f8fdff9704797a0645ae20a7e108d290 100644 (file)
Binary files a/sountest.exe and b/sountest.exe differ
index f07fcf365928dd7f286fed1df6d14042704c49dd..e77f771408c5c31e7b6699601726d1629693c3df 100644 (file)
@@ -26,6 +26,8 @@
 #include "src/lib/16_mm.h"
 #include "src/lib/modex16.h"
 
+#define FILERL
+
 void
 main(int argc, char *argv[])
 {
@@ -43,7 +45,7 @@ main(int argc, char *argv[])
        if(argv[1]) bakapee = argv[1];
        else bakapee = "data/koishi~~.pcx";
        //if(argv[2])
-       //      #define FILEINIT
+               //#define FILEINIT
 
        textInit();\r
 
@@ -56,6 +58,7 @@ main(int argc, char *argv[])
        MM_Startup(&mm, &mmi);
        printf("                done!\n");
        printf("&main()=%Fp\n", *argv[0]);
+#ifdef FILERL
 #ifdef FILEINIT
        printf("                read\n");
        if(CA_ReadFile(bakapee, &bigbuffer, &mm/*, &mmi*/))
@@ -66,6 +69,7 @@ main(int argc, char *argv[])
                baka=1;
        else
                baka=0;
+#endif
        //MM_GetPtr(&bigbuffer, mmi.nearheap, &mm, &mmi);
        //hmm functions in cache system use the buffered stuff
        printf("size of big buffer~=%u\n", _bmsize(segu, bigbuffer));
@@ -84,8 +88,10 @@ main(int argc, char *argv[])
        MM_FreePtr(&bigbuffer, &mm);
        MM_Shutdown(&mm);
        printf("                done!\n");
+#ifdef FILERL
        free(bakapee);
        //printf("_bios_memsize=%u\n", _bios_memsize());
        if(baka) printf("\nyay!\n");
        else printf("\npoo!\n");
+#endif
 }
index 689995218ad1ebc8d3630b04cf0a3c0c09d26a62..7bf582af1860e9149190178d07eedc152030edf3 100644 (file)
 #endif
 
 
-#define SAVENEARHEAP   0x200           // space to leave in data segment
+#define SAVENEARHEAP   0x8000          // space to leave in data segment
 #define SAVEFARHEAP            0                       // space to leave in far heap
 
-#define        BUFFERSIZE              0x1000          // miscelanious, allways available buffer
+#define        BUFFERSIZE              0x4000          // miscelanious, allways available buffer
 
-#define MAXBLOCKS              640
+#define MAXBLOCKS              720
 
 
 
index 424e96f77d99361b106cd13155086c9ebd6437e3..f6977eb1648d4d26cd8bd1a17cccc62426040180 100644 (file)
Binary files a/test.exe and b/test.exe differ
index bca481f47440f9ddb5fa9d6fd78c5cc00853ee7b..ba76d6b50abbcfde6d9649d6a6381f815274c294 100644 (file)
Binary files a/test2.exe and b/test2.exe differ
index 19118cf62f27103cb5b021778bc3e2ade0e4449b..e9b1e3804586f02c4654bf8af78c3c82479e1f17 100644 (file)
Binary files a/tsthimem.exe and b/tsthimem.exe differ