]> 4ch.mooo.com Git - 16.git/commitdiff
hmmm
authorsparky4 <sparky4@cock.li>
Thu, 30 Jul 2015 20:37:43 +0000 (15:37 -0500)
committersparky4 <sparky4@cock.li>
Thu, 30 Jul 2015 20:37:43 +0000 (15:37 -0500)
modified:   16.exe
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/sega.c
modified:   test.exe
modified:   test2.exe
modified:   tsthimem.exe

18 files changed:
16.exe
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/sega.c
test.exe
test2.exe
tsthimem.exe

diff --git a/16.exe b/16.exe
index 93f6c82fa13472f2927814535717cd4f1303ce80..bb1cde6cd060c3fcb96a5fdaa7f108df3f34ae2e 100644 (file)
Binary files a/16.exe and b/16.exe differ
index 2936de4f0d461a6c1705ea7fe504a97aa1318669..250b110f4eef603fb1a1881d73bc1f11044a754c 100644 (file)
Binary files a/bakapi.exe and b/bakapi.exe differ
index 94efc0f8a153feff620c779d2675d6b2f1504178..964ca886438eb6bf72fb8df8ddb46c4b73454be9 100644 (file)
Binary files a/exmmtest.exe and b/exmmtest.exe differ
index cfaeb569b940ad6ace47f710c66382dadd1c8439..a5a7ab9a4cf70b579bdafc58e1daacb4d2d63500 100644 (file)
Binary files a/fmemtest.exe and b/fmemtest.exe differ
index 559ba8847884e8356d3b8b1b9fd1b586f9413f5e..b4df19bc11e3b0a8c65fa699c29bceda7a94e74e 100644 (file)
Binary files a/fontgfx.exe and b/fontgfx.exe differ
index f3807cefe0924be0d35334cac8d478303ffaccd2..4de46206fe35baf05e1a4f725b59a171a2b19183 100644 (file)
Binary files a/fonttest.exe and b/fonttest.exe differ
index 5bc4678fae71b7d0631786eaedb3106e986706d8..c69afba7097fd0b801ac49ff5dcf351392b2ce02 100644 (file)
Binary files a/inputest.exe and b/inputest.exe differ
index 44984d648fe15f419fa727f92282f895201db1a0..4c32f61e95184eae74225f50997bb3b078f4bdee 100644 (file)
--- a/makefile
+++ b/makefile
@@ -22,12 +22,11 @@ WCPULIB=$(SRCLIB)wcpu$(DIRSEP)
 
 16FLAGS=-fh=16.hed
 BAKAPIFLAGS=-fh=bakapi.hed
-SEGAFLAGS=-0 -d2 -lr $(OFLAGS)
 
 SFLAGS=-k32768#51200#49152
 DFLAGS=-DTARGET_MSDOS=16 -DMSDOS=1 $(SFLAGS)
 ZFLAGS=-zk0 -zq# -zu -zm# -zc# -zdp# -zp16 -zq
-CFLAGS=-ei -wo -x -r -mc
+CFLAGS=-mc -ei -wo -x# -r
 OFLAGS=-ot -ox -ob -oh -or -om -ol# -ol+
 FLAGS=-0 -d2 -lr $(OFLAGS) $(CFLAGS) $(DFLAGS) $(ZFLAGS)
 
@@ -59,9 +58,9 @@ scroll.$(OBJ): $(SRC)scroll.c
        wcl $(FLAGS) -c $(SRC)scroll.c
 
 sega.exe: sega.$(OBJ)
-       wcl $(SEGAFLAGS) sega.$(OBJ)
+       wcl $(FLAGS) sega.$(OBJ)
 sega.$(OBJ): $(SRC)sega.c
-       wcl $(SEGAFLAGS) -c $(SRC)sega.c
+       wcl $(FLAGS) -c $(SRC)sega.c
 
 test.exe: test.$(OBJ) gfx.lib
        wcl $(FLAGS) test.$(OBJ) gfx.lib
index bca3fdb90ed17fc1aea611adb74f902daecd6047..d36848a2c1f4309b2d86d300e2295aa38000f77d 100644 (file)
Binary files a/maptest.exe and b/maptest.exe differ
index 70ad36f8456e4b2f6edc7cfaff9e22642888b42f..7f2d270803614f8f8386b42b11c3bba57be72749 100644 (file)
Binary files a/palettec.exe and b/palettec.exe differ
index 9bbdaeec4e6ee45004cc9a991bc983aeaf17a173..9b7e5e9854e76f70ca40ca4683ebd3f2bfb5a25b 100644 (file)
Binary files a/pcxtest.exe and b/pcxtest.exe differ
index 31111a65ee6430b66e05e8602a96dc6d40b9ece6..e10bed35e8234112f73aefdb5797d33e15a559e5 100644 (file)
Binary files a/scroll.exe and b/scroll.exe differ
index 4ec072e29b317761f22a5c6e838c5488824cdd77..b0ad2b8b8434207d9a75b69776017d2d5515e08f 100644 (file)
Binary files a/sega.exe and b/sega.exe differ
index b5a81f32b569edf7331d61e11fab97ce76827f26..254b8fa2d5dfc29609d8d00d5bf2c295a393a1ae 100644 (file)
Binary files a/sountest.exe and b/sountest.exe differ
index d4d04d277de3f8a6768a4f9ffdca5af79a0920ac..27c74b2d6a135d3ab7a6bb9fe4b8bf501c59b542 100644 (file)
@@ -10,12 +10,13 @@ struct list {
 void main(int argc, char *argv[])\r
   {\r
     int         i;\r
-    __segment   segu;\r
+    __segment   segu;
+       void __based(__self) *pee;\r
     struct list __based(segu) *head;\r
     struct list __based(segu) *p;\r
 \r
     /* allocate based heap */\r
-    segu = _bheapseg( 1024 );\r
+    segu = _bheapseg( 65536 );\r
     if( segu == _NULLSEG ) {\r
       printf( "Unable to allocate based heap\n" );\r
       exit( 1 );\r
@@ -23,7 +24,7 @@ void main(int argc, char *argv[])
 \r
     /* create a linked list in the based heap */\r
     head = 0;\r
-    for( i = 1; i < 10; i++ ) {\r
+    for( i = 1; i < 4096; i++ ) {\r
       p = _bmalloc( segu, sizeof( struct list ) );\r
       if( p == _NULLOFF ) {\r
         printf( "_bmalloc failed\n" );\r
@@ -36,9 +37,13 @@ void main(int argc, char *argv[])
 \r
     /* traverse the linked list, printing out values */\r
     for( p = head; p != 0; p = p->next ) {\r
-       printf("Segu = %04X %FP", p, p);\r
-      printf( "        Value = %d\n", p->value );\r
+               if(p==head || p->next==0 || p==pee){
+                       printf("Segu = %04X", p); printf( "     Value = %d\n", p->value );
+               }\r
     }\r
+
+       printf("program=%FP\n", *argv[0]);
+       printf("seg=%04X\n", segu);
 \r
     /* free all the elements of the linked list */\r
     for( ; p = head; ) {\r
@@ -47,6 +52,4 @@ void main(int argc, char *argv[])
     }\r
     /* free the based heap */\r
     _bfreeseg( segu );
-       printf("program=%P\n", *argv[0]);
-       printf("seg=%P\n", segu);\r
 }\r
index 4a0080c5ffd48944ede426e80279dee2429b07df..1c80006245bbddfcf9590f6dd969b592882c50fa 100644 (file)
Binary files a/test.exe and b/test.exe differ
index 8e07f0b2908a96c71b26c9573ad1df5c9984bfd0..17b2e157be90d5ccc77e085e027170b971b993d6 100644 (file)
Binary files a/test2.exe and b/test2.exe differ
index 4489e40439e6f5bcb981f6067e35436462c9b5bb..0011eeee8dec1df4874abace21ad3da921fd6895 100644 (file)
Binary files a/tsthimem.exe and b/tsthimem.exe differ