OSDN Git Service

i think this may work now wwww
authorsparky4 <sparky4@cock.li>
Tue, 15 Sep 2015 19:52:58 +0000 (14:52 -0500)
committersparky4 <sparky4@cock.li>
Tue, 15 Sep 2015 19:52:58 +0000 (14:52 -0500)
modified:   16.exe
modified:   DEBUG.16W
modified:   HEAP.16W
modified:   MMDUMP.16W
modified:   bakapi.exe
modified:   bcexmm.prj
modified:   exmmtest.exe
modified:   exmmtest.map
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:   src/lib/scroll16.c
modified:   src/lib/scroll16.h
modified:   src/scroll.c
modified:   test.exe
modified:   test2.exe
modified:   vgmtest.exe

23 files changed:
16.exe
DEBUG.16W
HEAP.16W
MMDUMP.16W
bakapi.exe
bcexmm.prj
exmmtest.exe
exmmtest.map
fmemtest.exe
fontgfx.exe
fonttest.exe
inputest.exe
makefile
maptest.exe
palettec.exe
pcxtest.exe
scroll.exe
src/lib/scroll16.c
src/lib/scroll16.h
src/scroll.c
test.exe
test2.exe
vgmtest.exe

diff --git a/16.exe b/16.exe
index f209afe..f0ad881 100755 (executable)
Binary files a/16.exe and b/16.exe differ
index 3d63e4c..e1f47b4 100755 (executable)
--- a/DEBUG.16W
+++ b/DEBUG.16W
@@ -1,15 +1,15 @@
-\e[0mSeg:0      Size:6855       Owner:0x6c63\r
-\e[41;31m++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\e[0m\e[47;37m_\e[0m\r
-\e[42;32m0000\r
-\e[0m\e[0mSeg:1b88       Size:40 Owner:0x0\r
-\e[41;31m+\e[0m\e[47;37m_\e[0m\r
+\e[0mSeg:0      Size:6305       Owner:0x0\r
+\e[41;31m+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\e[0m\e[47;37m_\e[0m\r
+\e[42;32m0\r
+\e[0m\e[0mSeg:18a1       Size:256        Owner:0x8d1c\r
+\e[44;34m+++++\e[0m\e[47;37m_\e[0m\r
 \e[42;32m\r
-\e[0m\e[0mSeg:1bb0       Size:256        Owner:0xaf7c\r
+\e[0m\e[0mSeg:19a1       Size:273        Owner:0xcd8c\r
 \e[44;34m++++\e[0m\e[47;37m_\e[0m\r
 \e[42;32m\r
-\e[0m\e[0mSeg:1cb0       Size:273        Owner:0xefec\r
-\e[44;34m+++++\e[0m\e[47;37m_\e[0m\r
-\e[42;32m000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000\r
+\e[0m\e[0mSeg:1b88       Size:40 Owner:0x0\r
+\e[41;31m+\e[0m\e[47;37m_\e[0m\r
+\e[42;32m00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000\r
 \e[0m\e[0mSeg:abb0       Size:13392      Owner:0x0\r
 \e[41;31m++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\e[0m\e[47;37m_\e[0m\r
 \e[42;32m\r
index 60b00ef..c554a64 100755 (executable)
--- a/HEAP.16W
+++ b/HEAP.16W
@@ -10,15 +10,15 @@ OK - end of heap
 \r
        == near ==\r
 \r
-  USED block at ba9f016 of size 12\r
-  USED block at ba9f022 of size 294\r
-  USED block at ba9f148 of size 42\r
-  USED block at ba9f172 of size 20\r
-  USED block at ba9f186 of size 20\r
-  USED block at ba9f19a of size 20\r
-  USED block at ba9f1ae of size 20\r
-  USED block at ba9f1c2 of size 20\r
-  USED block at ba9f1d6 of size 3622\r
+  USED block at ba9cdb6 of size 12\r
+  USED block at ba9cdc2 of size 294\r
+  USED block at ba9cee8 of size 42\r
+  USED block at ba9cf12 of size 20\r
+  USED block at ba9cf26 of size 20\r
+  USED block at ba9cf3a of size 20\r
+  USED block at ba9cf4e of size 20\r
+  USED block at ba9cf62 of size 20\r
+  USED block at ba9cf76 of size 12422\r
 OK - end of heap\r
 \r
        == far ==\r
@@ -33,13 +33,13 @@ OK - end of heap
 Memory Type         Total      Used       Free\r
 ----------------  --------   --------   --------\r
 Default                   8166         222       7944\r
-Near              4070         448       3622\r
+Near              12870        448       12422\r
 Far               8166         222       7944\r
 ----------------  --------   --------   --------\r
-coreleft = 3620\r
-farcoreleft = 19560\r
+coreleft = 12420\r
+farcoreleft = 28360\r
 GetFreeSize = 15960\r
-GetNearFreeSize = 3622\r
+GetNearFreeSize = 12422\r
 GetFarFreeSize = 15960\r
-memavl = 3620\r
-stackavail = 42358\r
+memavl = 12420\r
+stackavail = 33558\r
index 30b072b..3ba611a 100755 (executable)
Binary files a/MMDUMP.16W and b/MMDUMP.16W differ
index 87a1e2f..6701796 100755 (executable)
Binary files a/bakapi.exe and b/bakapi.exe differ
index 0954906..7062260 100755 (executable)
Binary files a/bcexmm.prj and b/bcexmm.prj differ
index 1543a68..9013501 100755 (executable)
Binary files a/exmmtest.exe and b/exmmtest.exe differ
index edb26c8..26cf924 100755 (executable)
@@ -1,7 +1,7 @@
 Open Watcom Linker Version 2.0 beta Sep 14 2015 12:40:28 (32-bit)
 Copyright (c) 2002-2015 The Open Watcom Contributors. All Rights Reserved.
 Portions Copyright (c) 1985-2002 Sybase, Inc. All Rights Reserved.
-Created on:       15/09/15 11:25:52
+Created on:       15/09/15 14:51:44
 Executable Image: exmmtest.exe
 creating a DOS executable
 
@@ -13,7 +13,7 @@ creating a DOS executable
 Group                           Address              Size
 =====                           =======              ====
 
-DGROUP                          098e:0000            0000f000
+DGROUP                          098e:0000            0000cda0
 
 
 
@@ -41,7 +41,7 @@ YIE                    DATA           DGROUP         09d1:000c       00000000
 STRINGS                DATA           DGROUP         09d1:000c       00000000
 DATA                   DATA           DGROUP         09d1:000c       00000000
 _BSS                   BSS            DGROUP         09d2:0000       00000153
-STACK                  STACK          DGROUP         09e8:0000       0000ea60
+STACK                  STACK          DGROUP         09e8:0000       0000c800
 
 
                         +----------------+
@@ -487,7 +487,7 @@ Module: /dos/fdos/watcom2/lib286/dos/clibc.lib(bexpand.c)
                         |   Linker Statistics   |
                         +-----------------------+
 
-Stack size:  ea60 (60000.)
-Memory size:  000188e0 (100576.)
+Stack size:  c800 (51200.)
+Memory size:  00016680 (91776.)
 Entry point address: 0000:51da
 Link time: 00:00.00
index cdc38ac..748b7ca 100755 (executable)
Binary files a/fmemtest.exe and b/fmemtest.exe differ
index b80d857..9c3d00f 100755 (executable)
Binary files a/fontgfx.exe and b/fontgfx.exe differ
index c79a970..82bd36e 100755 (executable)
Binary files a/fonttest.exe and b/fonttest.exe differ
index b846dab..7d46941 100755 (executable)
Binary files a/inputest.exe and b/inputest.exe differ
index c1c7abb..3c55e9d 100755 (executable)
--- a/makefile
+++ b/makefile
@@ -31,7 +31,7 @@ WCPULIB=$(SRCLIB)wcpu$(DIRSEP)
 
 16FLAGS=-fh=16.hed
 BAKAPIFLAGS=-fh=bakapi.hed
-SFLAGS=-sg -st -of+ -zu -zdf -zff -zgf -k60000#49152#32768#24576
+SFLAGS=-sg -st -of+ -zu -zdf -zff -zgf -k51200#60000#49152#32768#24576
 DFLAGS=-DTARGET_MSDOS=16 -DMSDOS=1 $(SFLAGS)
 ZFLAGS=-zk0 -zq -zc -zp8# -zm
 CFLAGS=$(IFLAGS) -mc -lr -l=dos -wo -x# -d2##wwww
index bd1df2a..c1f1476 100755 (executable)
Binary files a/maptest.exe and b/maptest.exe differ
index d033d9a..e6f60c0 100755 (executable)
Binary files a/palettec.exe and b/palettec.exe differ
index c7168bb..0f0401e 100755 (executable)
Binary files a/pcxtest.exe and b/pcxtest.exe differ
index 6474ed2..174fc9a 100755 (executable)
Binary files a/scroll.exe and b/scroll.exe differ
index deaeb1f..7305f1d 100755 (executable)
@@ -396,7 +396,7 @@ void mapScrollDown(map_view_t *mv, player_t *player, word id, word plid)
 sword chkmap(map_t *map, word q)
 {
 //     bitmap_t bp;
-       static byte x[(MAPW*MAPH)+1] = {
+       static byte x[(MAPW*MAPH)+1] = /*{
 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20,
 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40,
 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60,
@@ -412,7 +412,7 @@ sword chkmap(map_t *map, word q)
 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20,
 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40,
 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60
-       };
+};*/
 /*{
 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 1, 2, 3, 4,
 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 5, 6, 7, 8,
@@ -434,7 +434,7 @@ sword chkmap(map_t *map, word q)
 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 5, 6, 7, 8,
 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 1, 2, 3, 4
        };*/
-// 1, 2, 3, 4, 0, 3, 3, 3, 3, 3, 3, 3, 3, 4, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1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 1, 1, 1, 1, 1, 1, 3, 3, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 3, 3, 3, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 0, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 3, 3, 3, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 10, 10, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 10, 10 };
 /*1,   2,      3,      4,      0,      3,      3,      3,      3,      3,      3,      3,      3,      4,      1,      1,      1,      1,      1,      1,      \
 5,     6,      7,      8,      0,      1,      0,      1,      0,      0,      1,      1,      1,      1,      1,      1,      1,      1,      1,      1,      \
 9,     10,     11,     12,     4,      1,      0,      1,      0,      0,      1,      1,      1,      1,      1,      1,      1,      1,      1,      1,      \
index 31f13d9..2b7d9a6 100755 (executable)
@@ -52,8 +52,8 @@ typedef struct
 #define TILEWH 16
 #define QUADWH                 TILEWH/2
 //for null map!
-#define MAPW   20
-#define MAPH   15
+#define MAPW   40
+#define MAPH   30
 
 //map_t allocMap(int w, int h);
 //void initMap(map_t *map);
index 8ea0507..83e6ca4 100755 (executable)
 
 //word far *clock= (word far*) 0x046C; /* 18.2hz clock */
 
+global_game_variables_t gvar;
+static map_t map;
+player_t player[MaxPlayers];
+page_t screen, screen2, screen3;
+map_view_t mv[3];
+map_view_t *bg, *spri, *mask;//, *tmp;
+planar_buf_t *p;
+
 void main()
 {
 //     word panswitch=0, panq=1, pand=0;
-       global_game_variables_t gvar;
        word panpagenum=0; //for panning!
        int i;
        static word paloffset=0;
-       planar_buf_t *p;
        const char *cpus;
        //static int persist_aniframe = 0;    /* gonna be increased to 1 before being used, so 0 is ok for default */
-       page_t screen, screen2, screen3;
-       static map_t map;
-       map_view_t mv[3];
-       map_view_t *bg, *spri, *mask;//, *tmp;
+
        //map_view_db_t pgid[4];
 #ifdef FADE
        byte *dpal, *gpal;
@@ -50,7 +53,6 @@ void main()
        byte *ptr;
        byte *mappalptr;
        byte *mesg=malloc(sizeof(dword));
-       player_t player[MaxPlayers];
 
        player[0].persist_aniframe=0;
        player[0].speed=4;
index 50a400c..8caeaa3 100755 (executable)
Binary files a/test.exe and b/test.exe differ
index cec7013..c2d3cba 100755 (executable)
Binary files a/test2.exe and b/test2.exe differ
index 11f0010..3f7c0ec 100755 (executable)
Binary files a/vgmtest.exe and b/vgmtest.exe differ