OSDN Git Service

modified: 16/DOS_GFX.OBJ
authorsparky4 <sparky4@4ch.maidlab.jp>
Thu, 22 May 2014 22:19:05 +0000 (17:19 -0500)
committersparky4 <sparky4@4ch.maidlab.jp>
Thu, 22 May 2014 22:19:05 +0000 (17:19 -0500)
modified:   16/Project 16.bfproject
modified:   16/dos_gfx.cpp
new file:   16/error.png
modified:   16/lib/x/MAKEFILE
modified:   16/lib/x/MODEX.BAK
modified:   16/lib/x/MODEX.DEF
modified:   16/lib/x/MODEX.H
modified:   16/lib/x/MODEX.LIB
modified:   16/lib/x/MODEX.OBJ
modified:   16/lib/x/MXBB.OBJ
modified:   16/lib/x/MXCC.OBJ
modified:   16/lib/x/MXCG.OBJ
modified:   16/lib/x/MXCL.OBJ
modified:   16/lib/x/MXCR.OBJ
modified:   16/lib/x/MXEL.OBJ
modified:   16/lib/x/MXFB.OBJ
modified:   16/lib/x/MXFP.OBJ
modified:   16/lib/x/MXGC.OBJ
modified:   16/lib/x/MXGI.OBJ
modified:   16/lib/x/MXGM.OBJ
modified:   16/lib/x/MXGP.OBJ
modified:   16/lib/x/MXGV.OBJ
modified:   16/lib/x/MXHL.OBJ
modified:   16/lib/x/MXIT.OBJ
modified:   16/lib/x/MXLL.OBJ
modified:   16/lib/x/MXLN.OBJ
modified:   16/lib/x/MXOT.OBJ
modified:   16/lib/x/MXPB.OBJ
modified:   16/lib/x/MXPF.OBJ
modified:   16/lib/x/MXPG.OBJ
modified:   16/lib/x/MXPI.OBJ
modified:   16/lib/x/MXPN.OBJ
modified:   16/lib/x/MXPP.OBJ
modified:   16/lib/x/MXPT.OBJ
modified:   16/lib/x/MXRA.OBJ
modified:   16/lib/x/MXRP.OBJ
modified:   16/lib/x/MXSA.OBJ
modified:   16/lib/x/MXSC.OBJ
modified:   16/lib/x/MXSI.OBJ
modified:   16/lib/x/MXSL.OBJ
modified:   16/lib/x/MXSM.OBJ
modified:   16/lib/x/MXSP.OBJ
modified:   16/lib/x/MXSS.OBJ
modified:   16/lib/x/MXTL.OBJ
modified:   16/lib/x/MXVS.OBJ
modified:   16/lib/x/MXWD.OBJ
modified:   16/lib/x/MXWM.OBJ
modified:   16/lib/x/MXWP.OBJ
modified:   16/lib/x/MXWR.OBJ
deleted:    16/lib/x/modex.BAK
new file:   16/lib/x/modex.bak
new file:   16/lib/x/modex.lb1
modified:   16/lib/x/modex.lib
new file:   16/lib/x/modex.mk
new file:   16/lib/x/modex.mk1
new file:   16/lib/x/modex.tgt
new file:   16/lib/x/modex.wpj
modified:   16/x.bat
modified:   16/xx.bat

61 files changed:
16/DOS_GFX.OBJ
16/Project 16.bfproject
16/dos_gfx.cpp
16/error.png [new file with mode: 0644]
16/lib/x/MAKEFILE
16/lib/x/MODEX.BAK
16/lib/x/MODEX.DEF
16/lib/x/MODEX.H
16/lib/x/MODEX.LIB
16/lib/x/MODEX.OBJ
16/lib/x/MXBB.OBJ
16/lib/x/MXCC.OBJ
16/lib/x/MXCG.OBJ
16/lib/x/MXCL.OBJ
16/lib/x/MXCR.OBJ
16/lib/x/MXEL.OBJ
16/lib/x/MXFB.OBJ
16/lib/x/MXFP.OBJ
16/lib/x/MXGC.OBJ
16/lib/x/MXGI.OBJ
16/lib/x/MXGM.OBJ
16/lib/x/MXGP.OBJ
16/lib/x/MXGV.OBJ
16/lib/x/MXHL.OBJ
16/lib/x/MXIT.OBJ
16/lib/x/MXLL.OBJ
16/lib/x/MXLN.OBJ
16/lib/x/MXOT.OBJ
16/lib/x/MXPB.OBJ
16/lib/x/MXPF.OBJ
16/lib/x/MXPG.OBJ
16/lib/x/MXPI.OBJ
16/lib/x/MXPN.OBJ
16/lib/x/MXPP.OBJ
16/lib/x/MXPT.OBJ
16/lib/x/MXRA.OBJ
16/lib/x/MXRP.OBJ
16/lib/x/MXSA.OBJ
16/lib/x/MXSC.OBJ
16/lib/x/MXSI.OBJ
16/lib/x/MXSL.OBJ
16/lib/x/MXSM.OBJ
16/lib/x/MXSP.OBJ
16/lib/x/MXSS.OBJ
16/lib/x/MXTL.OBJ
16/lib/x/MXVS.OBJ
16/lib/x/MXVS~1.OBJ [new file with mode: 0644]
16/lib/x/MXWD.OBJ
16/lib/x/MXWM.OBJ
16/lib/x/MXWP.OBJ
16/lib/x/MXWR.OBJ
16/lib/x/modex.BAK [deleted file]
16/lib/x/modex.bak [new file with mode: 0644]
16/lib/x/modex.lb1 [new file with mode: 0644]
16/lib/x/modex.lib
16/lib/x/modex.mk [new file with mode: 0644]
16/lib/x/modex.mk1 [new file with mode: 0644]
16/lib/x/modex.tgt [new file with mode: 0644]
16/lib/x/modex.wpj [new file with mode: 0644]
16/x.bat
16/xx.bat

index d5b3592..23a5a03 100644 (file)
Binary files a/16/DOS_GFX.OBJ and b/16/DOS_GFX.OBJ differ
index af88c95..90a63e8 100644 (file)
@@ -1,14 +1,20 @@
 c2e.convert_special: 0
 e2c.convert_num: 0
-openfiles: /dos/z/16/16/dos_gfx.cpp:38508:37505:1:
+openfiles: /dos/z/16/16/dos_gfx.cpp:8871:8213:0:
 openfiles: /dos/z/16/16/dos_gfx.h:607:0:0:
 openfiles: /dos/z/16/16/dos_kb.c:892:395:0:
 openfiles: /dos/z/16/16/dos_kb.h:60:0:0:
 openfiles: /dos/z/16/16/lib/lib_com.cpp:0:0:0:
 openfiles: /dos/z/16/16/lib/lib_com.h:2553:1575:0:
-openfiles: /dos/z/16/16/scroll.txt:5307:5103:0:
+openfiles: /dos/z/16/16/scroll.txt:5307:5080:0:
 openfiles: /dos/z/16/16/project16.txt:1675:950:0:
 openfiles: /dos/z/16/16/16.txt:0:0:0:
+openfiles: /dos/z/16/16/lib/x/MODEX.DEF:4500:3857:0:
+openfiles: /dos/z/16/16/lib/x/MODEX.H:2733:2279:0:
+openfiles: /dos/z/16/16/lib/x/MXVS.ASM:272:0:0:
+openfiles: /dos/z/16/16/lib/x/MXPN.ASM:257:0:0:
+openfiles: /dos/z/16/16/x.bat:0:0:0:
+openfiles: /dos/z/16/16/xx.bat:16:0:1:
 snr_recursion_level: 0
 convertcolumn_horizontally: 0
 adv_open_matchname: 0
@@ -20,10 +26,10 @@ view_left_panel: 0
 default_mime_type: text/plain
 e2c.convert_xml: 1
 c2e.convert_iso: 0
-opendir: file:///dos/z/16/16/lib/x
+opendir: file:///dos/z/16/16
 wrap_text_default: 0
 bookmarks_filename_mode: 1
-ssearch_text: mxpan
+ssearch_text: virtual
 snr_casesens: 0
 view_blocks: 1
 name: project 16
@@ -58,27 +64,28 @@ recent_files: file:///dos/z/4x4_16/tile.h
 recent_files: file:///dos/z/16/16/lib_com.cpp
 recent_files: file:///dos/z/16/16/lib_com.h
 recent_files: file:///dos/z/16/16/PCGPE10/SCROLL.TXT
-recent_files: file:///dos/z/16/16/lib/x/MXPN.ASM
-recent_files: file:///dos/z/16/16/lib/x/MODEX.H
 recent_files: file:///dos/z/16/16/lib/x/MXSM.ASM
-recent_files: file:///dos/z/16/16/lib/x/MXVS.ASM
 recent_files: file:///dos/z/16/16/w_modex/MODEX.HPP
 recent_files: file:///dos/z/16/16/w_modex/XPRIM.HPP
 recent_files: file:///dos/z/16/16/w_modex/XPRIM.CPP
 recent_files: file:///dos/z/16/16/w_modex/MODEX.CPP
 recent_files: file:///dos/z/16/16/w_modex/TEST.CPP
-recent_files: file:///dos/z/16/16/x.bat
-recent_files: file:///dos/z/16/16/lib/x/MODEX.DEF
 recent_files: file:///dos/z/16/16/Project%2016.bfproject
 recent_files: file:///dos/z/16/16/dos_gfx.cpp
 recent_files: file:///dos/z/16/16/dos_gfx.h
-recent_files: file:///dos/z/16/16/lib/lib_com.h
-recent_files: file:///dos/z/16/16/lib/lib_com.cpp
 recent_files: file:///dos/z/16/16/dos_kb.c
-recent_files: file:///dos/z/16/16/project16.txt
 recent_files: file:///dos/z/16/16/dos_kb.h
-recent_files: file:///dos/z/16/16/16.txt
+recent_files: file:///dos/z/16/16/lib/lib_com.cpp
+recent_files: file:///dos/z/16/16/lib/lib_com.h
 recent_files: file:///dos/z/16/16/scroll.txt
+recent_files: file:///dos/z/16/16/project16.txt
+recent_files: file:///dos/z/16/16/16.txt
+recent_files: file:///dos/z/16/16/lib/x/MODEX.DEF
+recent_files: file:///dos/z/16/16/lib/x/MODEX.H
+recent_files: file:///dos/z/16/16/lib/x/MXVS.ASM
+recent_files: file:///dos/z/16/16/lib/x/MXPN.ASM
+recent_files: file:///dos/z/16/16/x.bat
+recent_files: file:///dos/z/16/16/xx.bat
 snr_replacetype: 0
 savedir: file:///dos/z/16/16
 spell_check_default: 1
@@ -90,13 +97,6 @@ snr_escape_chars: 0
 htmlbar_view: 0
 spell_lang: en
 ssearch_dotmatchall: 0
-searchlist: // Waits for vertical retrace
-searchlist: wait
-searchlist: ding
-searchlist: font
-searchlist: wi
-searchlist: waiyt
-searchlist: ENDP
 searchlist: mss
 searchlist: mxset
 searchlist: mspai
@@ -105,6 +105,13 @@ searchlist: mspab
 searchlist: mpab
 searchlist: mxpab
 searchlist: mxpan
+searchlist: gets
+searchlist: mxset
+searchlist: getr
+searchlist: getvers
+searchlist: GetVers
+searchlist: setvir
+searchlist: virtual
 autocomplete: 1
 outputb_show_all_output: 0
 bookmarks_show_mode: 0
index b3bd315..3fb7b68 100644 (file)
@@ -6,20 +6,20 @@
  *\r
  * Simple graphics library to accompany the article\r
  * \r
- *                                     INTRODUCTION TO MODE X.\r
+ *                                      INTRODUCTION TO MODE X.\r
  * \r
  * This library provides the basic functions for initializing and using\r
  * unchained (planar) 256-color VGA modes.  Currently supported are:\r
  *\r
- *     - 320x200\r
- *     - 320x240\r
+ *      - 320x200\r
+ *      - 320x240\r
  *\r
  * Functions are provided for:\r
  *\r
- *     - initializing one of the available modes\r
- *     - setting the start address of the VGA refresh data\r
- *     - setting active and visible display pages\r
- *     - writing and reading a single pixel to/from video memory\r
+ *      - initializing one of the available modes\r
+ *      - setting the start address of the VGA refresh data\r
+ *      - setting active and visible display pages\r
+ *      - writing and reading a single pixel to/from video memory\r
  *\r
  * The library is provided as a demonstration only, and is not claimed\r
  * to be particularly efficient or suited for any purpose.  It has only\r
@@ -76,18 +76,18 @@ byte coor;
 /*\r
  * Define the port addresses of some VGA registers.\r
  */\r
-#define CRTC_ADDR        0x3d4   /* Base port of the CRT Controller (color) */\r
+#define CRTC_ADDR         0x3d4   /* Base port of the CRT Controller (color) */\r
 \r
-#define SEQU_ADDR        0x3c4   /* Base port of the Sequencer */\r
-#define GRAC_ADDR        0x3ce   /* Base port of the Graphics Controller */\r
+#define SEQU_ADDR         0x3c4   /* Base port of the Sequencer */\r
+#define GRAC_ADDR         0x3ce   /* Base port of the Graphics Controller */\r
 #define STATUS_ADDR     0x3DA\r
 \r
 unsigned char *RowsX[600];\r
 unsigned char write_plane, read_plane;\r
 unsigned short text_mask[16] = { 0x0002, 0x0102, 0x0202, 0x0302,\r
-                                0x0402, 0x0502, 0x0602, 0x0702,\r
-                                0x0802, 0x0902, 0x0A02, 0x0B02,\r
-                                0x0C02, 0x0D02, 0x0E02, 0x0F02 };\r
+                                 0x0402, 0x0502, 0x0602, 0x0702,\r
+                                 0x0802, 0x0902, 0x0A02, 0x0B02,\r
+                                 0x0C02, 0x0D02, 0x0E02, 0x0F02 };\r
 \r
 \r
 /*\r
@@ -112,48 +112,48 @@ unsigned actStart, visStart;
 \r
 /*\r
  * set320x200x256_X()\r
- *     sets mode 13h, then turns it into an unchained (planar), 4-page\r
- *     320x200x256 mode.\r
+ *      sets mode 13h, then turns it into an unchained (planar), 4-page\r
+ *      320x200x256 mode.\r
  */\r
 void set320x200x256_X(void)\r
-               {\r
-               union REGS r;\r
+                {\r
+                union REGS r;\r
 \r
-               /* Set VGA BIOS mode 13h: */\r
-               r.x.ax = 0x0013;\r
-               int86(0x10, &r, &r);\r
+                /* Set VGA BIOS mode 13h: */\r
+                r.x.ax = 0x0013;\r
+                int86(0x10, &r, &r);\r
 \r
-               /* Turn off the Chain-4 bit (bit 3 at index 4, port 0x3c4): */\r
-               outpw(SEQU_ADDR, 0x0604);\r
+                /* Turn off the Chain-4 bit (bit 3 at index 4, port 0x3c4): */\r
+                outpw(SEQU_ADDR, 0x0604);\r
 \r
-               /* Turn off word mode, by setting the Mode Control register\r
-               of the CRT Controller (index 0x17, port 0x3d4): */\r
-               outpw(CRTC_ADDR, 0xE317);\r
+                /* Turn off word mode, by setting the Mode Control register\r
+                of the CRT Controller (index 0x17, port 0x3d4): */\r
+                outpw(CRTC_ADDR, 0xE317);\r
 \r
-               /* Turn off doubleword mode, by setting the Underline Location\r
-                  register (index 0x14, port 0x3d4): */\r
-               outpw(CRTC_ADDR, 0x0014);\r
+                /* Turn off doubleword mode, by setting the Underline Location\r
+                   register (index 0x14, port 0x3d4): */\r
+                outpw(CRTC_ADDR, 0x0014);\r
 \r
-               /* Clear entire video memory, by selecting all four planes, then\r
-                  writing 0 to entire segment. */\r
-               outpw(SEQU_ADDR, 0x0F02);\r
-               memset(vga+1, 0, 0xffff); /* stupid size_t exactly 1 too small */\r
-               vga[0] = 0;\r
+                /* Clear entire video memory, by selecting all four planes, then\r
+                   writing 0 to entire segment. */\r
+                outpw(SEQU_ADDR, 0x0F02);\r
+                memset(vga+1, 0, 0xffff); /* stupid size_t exactly 1 too small */\r
+                vga[0] = 0;\r
 \r
-               /* Update the global variables to reflect dimensions of this\r
-                  mode.  This is needed by most future drawing operations. */\r
-               width           = 320;\r
-               height  = 200;\r
+                /* Update the global variables to reflect dimensions of this\r
+                   mode.  This is needed by most future drawing operations. */\r
+                width           = 320;\r
+                height  = 200;\r
 \r
-               /* Each byte addresses four pixels, so the width of a scan line\r
-                  in *bytes* is one fourth of the number of pixels on a line. */\r
-               widthBytes = width / 4;\r
+                /* Each byte addresses four pixels, so the width of a scan line\r
+                   in *bytes* is one fourth of the number of pixels on a line. */\r
+                widthBytes = width / 4;\r
 \r
-               /* By default we want screen refreshing and drawing operations\r
-                  to be based at offset 0 in the video segment. */\r
-               actStart = visStart = 0;\r
+                /* By default we want screen refreshing and drawing operations\r
+                   to be based at offset 0 in the video segment. */\r
+                actStart = visStart = 0;\r
 \r
-               /*\r
+                /*\r
 --------------------\r
 HORIZONTAL SCROLLING\r
 --------------------\r
@@ -191,16 +191,16 @@ OUT value TO PORT 3C0H (where "value" is the
 -----------------------------------------------\r
 */\r
 \r
-               }\r
+                }\r
 \r
 /*\r
  * setActiveStart() tells our graphics operations which address in video\r
  * memory should be considered the top left corner.\r
  */\r
 void setActiveStart(unsigned offset)\r
-               {\r
-               actStart = offset;\r
-               }\r
+                {\r
+                actStart = offset;\r
+                }\r
 \r
 /*\r
  * setVisibleStart() tells the VGA from which byte to fetch the first\r
@@ -211,13 +211,13 @@ void setActiveStart(unsigned offset)
  * set, but before the low byte is set, which produces a bad flicker.\r
  */\r
 void setVisibleStart(unsigned offset)\r
-               {\r
-               visStart = offset;\r
-               outpw(CRTC_ADDR, 0x0C);   /* set high byte */\r
-               outpw(CRTC_ADDR+1, visStart >> 8);\r
-               outpw(CRTC_ADDR, 0x0D);   /* set low byte */\r
-               outpw(CRTC_ADDR+1, visStart & 0xff);\r
-               }\r
+                {\r
+                visStart = offset;\r
+                outpw(CRTC_ADDR, 0x0C);   /* set high byte */\r
+                outpw(CRTC_ADDR+1, visStart >> 8);\r
+                outpw(CRTC_ADDR, 0x0D);   /* set low byte */\r
+                outpw(CRTC_ADDR+1, visStart & 0xff);\r
+                }\r
 \r
 /*\r
  * setXXXPage() sets the specified page by multiplying the page number\r
@@ -226,78 +226,79 @@ void setVisibleStart(unsigned offset)
  * function.  The first page is number 0.\r
  */\r
 void setActivePage(int page)\r
-               {\r
-               setActiveStart(page * widthBytes * height);\r
-               }\r
+                {\r
+                setActiveStart(page * widthBytes * height);\r
+                }\r
 \r
 void setVisiblePage(int page)\r
-               {\r
-               setVisibleStart(page * widthBytes * height);\r
-               }\r
+                {\r
+                setVisibleStart(page * widthBytes * height);\r
+                }\r
 \r
 void putPixel_X(int x, int y, byte color)\r
-               {\r
-               /* Each address accesses four neighboring pixels, so set\r
-                  Write Plane Enable according to which pixel we want\r
-                  to modify.  The plane is determined by the two least\r
-                  significant bits of the x-coordinate: */\r
-               outp(0x3c4, 0x02);\r
-               outp(0x3c5, 0x01 << (x & 3));\r
-\r
-               /* The offset of the pixel into the video segment is\r
-                  offset = (width * y + x) / 4, and write the given\r
-                  color to the plane we selected above.  Heed the active\r
-                  page start selection. */\r
-               vga[(unsigned)(widthBytes * y) + (x / 4) + actStart] = color;\r
-\r
-               }\r
+                {\r
+                /* Each address accesses four neighboring pixels, so set\r
+                   Write Plane Enable according to which pixel we want\r
+                   to modify.  The plane is determined by the two least\r
+                   significant bits of the x-coordinate: */\r
+                outp(0x3c4, 0x02);\r
+                outp(0x3c5, 0x01 << (x & 3));\r
+\r
+                /* The offset of the pixel into the video segment is\r
+                   offset = (width * y + x) / 4, and write the given\r
+                   color to the plane we selected above.  Heed the active\r
+                   page start selection. */\r
+                vga[(unsigned)(widthBytes * y) + (x / 4) + actStart] = color;\r
+\r
+                }\r
 \r
 byte getPixel_X(int x, int y)\r
-               {\r
-               /* Select the plane from which we must read the pixel color: */\r
-               outpw(GRAC_ADDR, 0x04);\r
-               outpw(GRAC_ADDR+1, x & 3);\r
+                {\r
+                /* Select the plane from which we must read the pixel color: */\r
+                outpw(GRAC_ADDR, 0x04);\r
+                outpw(GRAC_ADDR+1, x & 3);\r
 \r
-               return vga[(unsigned)(widthBytes * y) + (x / 4) + actStart];\r
+                return vga[(unsigned)(widthBytes * y) + (x / 4) + actStart];\r
 \r
-               }\r
+                }\r
 \r
 void set320x240x256_X(void)\r
-               {\r
-               /* Set the unchained version of mode 13h: */\r
-               set320x200x256_X();\r
-\r
-               /* Modify the vertical sync polarity bits in the Misc. Output\r
-                  Register to achieve square aspect ratio: */\r
-               outp(0x3C2, 0xE3);\r
-\r
-               /* Modify the vertical timing registers to reflect the increased\r
-                  vertical resolution, and to center the image as good as\r
-                  possible: */\r
-               outpw(0x3D4, 0x2C11);           /* turn off write protect */\r
-               outpw(0x3D4, 0x0D06);           /* vertical total */\r
-               outpw(0x3D4, 0x3E07);           /* overflow register */\r
-               outpw(0x3D4, 0xEA10);           /* vertical retrace start */\r
-               outpw(0x3D4, 0xAC11);           /* vertical retrace end AND wr.prot */\r
-               outpw(0x3D4, 0xDF12);           /* vertical display enable end */\r
-               outpw(0x3D4, 0xE715);           /* start vertical blanking */\r
-               outpw(0x3D4, 0x0616);           /* end vertical blanking */\r
-\r
-               /* Update mode info, so future operations are aware of the\r
-                  resolution */\r
-               height = 240;\r
-\r
-//*$pragma aux mxSetVirtualScreen "MXSETVIRTUALSCREEN"\r
-//mxSetVirtualScreen(480,360);\r
-               }\r
+                {\r
+                /* Set the unchained version of mode 13h: */\r
+                set320x200x256_X();\r
+\r
+                /* Modify the vertical sync polarity bits in the Misc. Output\r
+                   Register to achieve square aspect ratio: */\r
+                outp(0x3C2, 0xE3);\r
+\r
+                /* Modify the vertical timing registers to reflect the increased\r
+                   vertical resolution, and to center the image as good as\r
+                   possible: */\r
+                outpw(0x3D4, 0x2C11);           /* turn off write protect */\r
+                outpw(0x3D4, 0x0D06);           /* vertical total */\r
+                outpw(0x3D4, 0x3E07);           /* overflow register */\r
+                outpw(0x3D4, 0xEA10);           /* vertical retrace start */\r
+                outpw(0x3D4, 0xAC11);           /* vertical retrace end AND wr.prot */\r
+                outpw(0x3D4, 0xDF12);           /* vertical display enable end */\r
+                outpw(0x3D4, 0xE715);           /* start vertical blanking */\r
+                outpw(0x3D4, 0x0616);           /* end vertical blanking */\r
+\r
+                /* Update mode info, so future operations are aware of the\r
+                   resolution */\r
+                height = 240;\r
+\r
+//#pragma aux mxSetVirtualScreen "_"\r
+//void mxSetVirtualScreen(unsigned short int width, unsigned short int height);\r
+mxSetVirtualScreen(480,360);\r
+                }\r
 \r
 \r
 /*-----------XXXX-------------*/\r
 \r
 /////////////////////////////////////////////////////////////////////////////\r
-//                                                                      //\r
-// WaitRetrace() - This waits until you are in a Verticle Retrace.      //\r
-//                                                                      //\r
+//                                                                       //\r
+// WaitRetrace() - This waits until you are in a Verticle Retrace.       //\r
+//                                                                       //\r
 /////////////////////////////////////////////////////////////////////////////\r
 void wait_for_retrace(void)\r
 {\r
@@ -305,17 +306,17 @@ void wait_for_retrace(void)
 }\r
 \r
 /////////////////////////////////////////////////////////////////////////////\r
-//                                                                      //\r
-// MoveTo() - This moves to position X*4 on a chain 4 screen.          //\r
-//             Note: As soon as I find documentation, this function     //\r
-//             will be better documented.  - Snowman               //\r
-//                                                                      //\r
+//                                                                       //\r
+// MoveTo() - This moves to position X*4 on a chain 4 screen.           //\r
+//              Note: As soon as I find documentation, this function     //\r
+//              will be better documented.  - Snowman               //\r
+//                                                                       //\r
 /////////////////////////////////////////////////////////////////////////////\r
 /*\r
 void MoveTo (word X, word Y) {\r
 \r
-//     word O = Y*SIZE*2+X;\r
-       word O = Y*widthBytes*2+X;\r
+//      word O = Y*SIZE*2+X;\r
+        word O = Y*widthBytes*2+X;\r
 \r
   asm {\r
     mov    bx, [O]\r
@@ -331,69 +332,6 @@ void MoveTo (word X, word Y) {
     out    dx, ax\r
   }\r
 \r
-;-----------------------------------------------------------\r
-;\r
-; MXPN.ASM - Panning function\r
-; Copyright (c) 1993,1994 by Alessandro Scotti\r
-;\r
-;-----------------------------------------------------------\r
-;WARN    PRO\r
-#pragma aux mxPan = \\r
-"INCLUDE MODEX.DEF" \\r
-\r
-\r
-\r
-"EXTRN   mxWaitDisplay   : FAR" \\r
-"EXTRN   mxStartAddress  : FAR" \\r
-\r
-"MX_TEXT        SEGMENT USE16 PARA PUBLIC 'CODE'\r
-               ASSUME cs:MX_TEXT, ds:NOTHING, es:NOTHING" \\r
-\r
-"EXTRN   mx_BytesPerLine : WORD" \\r
-\r
-//;-----------------------------------------------------------\r
-//;\r
-//; Moves the screen.\r
-//;\r
-//; Input:\r
-//;     X, Y    = new X, Y coordinates of view screen\r
-//; Output:\r
-//;     none\r
-//;\r
-mxPan     PROC    FAR\r
-       ARG     Y:WORD,          \\r
-               X:WORD            = ARG_SIZE\r
-       ASSUME  ds:NOTHING\r
-       .enter  0\r
-\r
-       mov     ax, [Y]\r
-       mul     [mx_BytesPerLine]\r
-       mov     dx, [X]\r
-       shr     dx, 1\r
-       shr     dx, 1\r
-       add     ax, dx\r
-       push    ax                      ; Push the start address\r
-       call    mxWaitDisplay\r
-       call    mxStartAddress\r
-\r
-       mov     dx, 03DAh                ; Set the pixel pan register\r
-       in      al, dx\r
-       mov     dx, 03C0h\r
-       mov     al, 33h\r
-       out     dx, al\r
-       mov     al, BYTE PTR [X]\r
-       and     al, 3\r
-       shl     al, 1\r
-       out     dx, al\r
-\r
-       xor     ax, ax\r
-       .leave  ARG_SIZE\r
-mxPan     ENDP\r
-\r
-MX_TEXT         ENDS\r
-END\r
-\r
-\r
 }\r
 \r
 //Procedure Play;\r
@@ -409,14 +347,14 @@ void Play()
 \r
 //   for(loop1=0;loop1<=3;loop1++)\r
 //     for(loop2=0;loop2<=5;loop2++)\r
-//      Putpic (loop1*160,loop2*66); // { This places the picture all over the\r
-                                   //  chain-4 screen }\r
+//       Putpic (loop1*160,loop2*66); // { This places the picture all over the\r
+                                    //  chain-4 screen }\r
 //   getch();\r
 //   ch=0x0;\r
 //   xpos=rand (78)+1;\r
 //   ypos=rand (198)+1; // { Random start positions for the view }\r
-       xpos=0;\r
-       ypos=0;\r
+        xpos=0;\r
+        ypos=0;\r
    xdir=1;\r
    ydir=1;\r
 //   while(1)\r
@@ -427,61 +365,61 @@ void Play()
      ypos=ypos+ydir;\r
      if( (xpos>79)  || (xpos<1))xdir=-xdir;\r
      if( (ypos>199) || (ypos<1))ydir=-ydir; // { Hit a boundry, change\r
-                                           //    direction! }\r
+                                            //    direction! }\r
 //     if(_bios_keybrd(_KEYBRD_READY))ch=getch();\r
-//      if(ch==0x71)break; // 'q'\r
-//      if(ch==0x1b)break; // 'ESC'\r
+//       if(ch==0x71)break; // 'q'\r
+//       if(ch==0x1b)break; // 'ESC'\r
 //   }\r
 }\r
 */\r
 /*tile*/\r
 //king_crimson's code\r
 void putColorBox_X(int x, int y, int w, int h, byte color) {\r
-       outp(0x3c4, 0x02);\r
-\r
-       int curx, cury;\r
-       unsigned drawptr;\r
-       for (curx=x; curx<(x+w); curx++) {\r
-               outp(0x3c5, 0x01 << (curx & 3));\r
-               drawptr = (unsigned)(widthBytes * y) + (curx / 4) + actStart;\r
-               for (cury=0; cury<h; cury++) {\r
-                       vga[drawptr] = color;\r
-                       drawptr += widthBytes;\r
-               }\r
-       }\r
+        outp(0x3c4, 0x02);\r
+\r
+        int curx, cury;\r
+        unsigned drawptr;\r
+        for (curx=x; curx<(x+w); curx++) {\r
+                outp(0x3c5, 0x01 << (curx & 3));\r
+                drawptr = (unsigned)(widthBytes * y) + (curx / 4) + actStart;\r
+                for (cury=0; cury<h; cury++) {\r
+                        vga[drawptr] = color;\r
+                        drawptr += widthBytes;\r
+                }\r
+        }\r
 }\r
 \r
 void vScroll(int rows)\r
 {\r
-       // Scrolling = current start + (rows * bytes in a row)\r
-       setVisibleStart(visStart + (rows * width));\r
+        // Scrolling = current start + (rows * bytes in a row)\r
+        setVisibleStart(visStart + (rows * width));\r
 }\r
 \r
 void scrolly(int bongy)\r
 {\r
-       int boingy=0;\r
-       if(bongy<0)\r
-               boingy=-1;\r
-       else if(bongy>0)\r
-               boingy=1;\r
-\r
-       for(int ti=0;ti<TILEWH;ti++)\r
-       {\r
-               delay(1);\r
-               vScroll(boingy);\r
-       }\r
+        int boingy=0;\r
+        if(bongy<0)\r
+                boingy=-1;\r
+        else if(bongy>0)\r
+                boingy=1;\r
+\r
+        for(int ti=0;ti<TILEWH;ti++)\r
+        {\r
+                delay(1);\r
+                vScroll(boingy);\r
+        }\r
 }\r
 \r
 //king_crimson's code\r
 void hScroll(int Cols) {\r
-       wait_for_retrace();\r
-       outp(0x3C0, 0x13);\r
-       outp(0x3C0, Cols & 3);\r
-       outp(0x3D4, 0x13);\r
-       outp(0x3D5, Cols >> 2);\r
-       outp(0x3D4, Cols);\r
-       //setVisibleStart(visStart + (Cols * height));\r
-       setVisibleStart(visStart + (Cols * width));\r
+        wait_for_retrace();\r
+        outp(0x3C0, 0x13);\r
+        outp(0x3C0, Cols & 3);\r
+        outp(0x3D4, 0x13);\r
+        outp(0x3D5, Cols >> 2);\r
+        outp(0x3D4, Cols);\r
+        //setVisibleStart(visStart + (Cols * height));\r
+        setVisibleStart(visStart + (Cols * width));\r
 }\r
 \r
 /*To implement smooth horizontal scrolling, you would do the following:\r
@@ -525,29 +463,29 @@ so we can draw off the edge of the screen.
 Perhaps a little diagram will clarify it. The following picture is of a\r
 standard X-mode addressing scheme with the OFFSET register set to 80.\r
 \r
-       ROW    OFFSET\r
-       0        0 ========================\r
-       1       80 [                    ]\r
-       2        160 [                  ]\r
-       ..       .. [    VISIBLE        ]\r
-                 [     SCREEN  ]\r
-                 [                     ]\r
-                 [                     ]\r
-       ..       .. [                   ]\r
-       199   15920 ========================\r
+        ROW    OFFSET\r
+        0        0 ========================\r
+        1       80 [                    ]\r
+        2        160 [                  ]\r
+        ..       .. [    VISIBLE        ]\r
+                  [     SCREEN  ]\r
+                  [                     ]\r
+                  [                     ]\r
+        ..       .. [                   ]\r
+        199   15920 ========================\r
 \r
 and the next diagram is of a modified addressing scheme with the OFFSET\r
 register set to 82 (to give us 4 extra pixels on each side of the screen)\r
 \r
 ROW    OFFSET\r
-0       0 ------========================------\r
-1      82 |   V [                      ]   V |\r
-2       164 |   I [                    ]   I |\r
-..      .. | N S [     VISIBLE  ] N S |\r
-           | O I [      SCREEN  ] O I |\r
-           | T B [                     ] T B |\r
-           |   L [                     ]   L |\r
-..      .. |   E [                     ]   E |\r
+0        0 ------========================------\r
+1       82 |   V [                      ]   V |\r
+2        164 |   I [                    ]   I |\r
+..       .. | N S [     VISIBLE  ] N S |\r
+            | O I [      SCREEN  ] O I |\r
+            | T B [                     ] T B |\r
+            |   L [                     ]   L |\r
+..       .. |   E [                     ]   E |\r
 199   16318 ------========================------\r
 \r
 Beautiful!!!\r
@@ -581,297 +519,297 @@ I'm sorry about this being so confusing but it's a bit difficult to explain.
 */\r
 int loadfontX(char *fname)\r
 {\r
-       FILE *fp;\r
+        FILE *fp;\r
 \r
-       fp = fopen(fname, "rb");\r
+        fp = fopen(fname, "rb");\r
 \r
-       if (fp == NULL) {\r
-               return 0;\r
-       } else {\r
-               fread(Xfont, 8, 256, fp);\r
-               fclose(fp);\r
-               return 1;\r
-       }\r
+        if (fp == NULL) {\r
+                return 0;\r
+        } else {\r
+                fread(Xfont, 8, 256, fp);\r
+                fclose(fp);\r
+                return 1;\r
+        }\r
 }\r
 \r
 void putchX(cord x, cord y, char c, byte color)\r
 {\r
-       int i;\r
-       byte *vga_ptr;\r
-       byte *font_ptr;\r
-       byte temp;\r
-\r
-       // 8x8 font\r
-       vga_ptr = RowsX[y << 3] + (x << 1) + actStart;\r
-       write_plane = -1;\r
-\r
-       font_ptr = Xfont + (c << 3);\r
-\r
-       i=8;\r
-       while (i--) {\r
-               temp = *font_ptr++;\r
-               outpw(SEQU_ADDR, text_mask[temp & 0x0F]);\r
-               *vga_ptr++ = color;\r
-\r
-               outpw(SEQU_ADDR, text_mask[temp >> 4]);\r
-               *vga_ptr-- = color;\r
-               vga_ptr += widthBytes;\r
-       }\r
+        int i;\r
+        byte *vga_ptr;\r
+        byte *font_ptr;\r
+        byte temp;\r
+\r
+        // 8x8 font\r
+        vga_ptr = RowsX[y << 3] + (x << 1) + actStart;\r
+        write_plane = -1;\r
+\r
+        font_ptr = Xfont + (c << 3);\r
+\r
+        i=8;\r
+        while (i--) {\r
+                temp = *font_ptr++;\r
+                outpw(SEQU_ADDR, text_mask[temp & 0x0F]);\r
+                *vga_ptr++ = color;\r
+\r
+                outpw(SEQU_ADDR, text_mask[temp >> 4]);\r
+                *vga_ptr-- = color;\r
+                vga_ptr += widthBytes;\r
+        }\r
 }\r
 \r
 void putstringX(cord x, cord y, char *str, byte color)\r
 {\r
-       int i, skip;\r
-       byte *vga_ptr;\r
-       byte *font_ptr;\r
-       byte c, temp;\r
+        int i, skip;\r
+        byte *vga_ptr;\r
+        byte *font_ptr;\r
+        byte c, temp;\r
 \r
-       // 8x8 font\r
-       vga_ptr = RowsX[y << 3] + (x << 1) + actStart;\r
-       write_plane = -1;\r
+        // 8x8 font\r
+        vga_ptr = RowsX[y << 3] + (x << 1) + actStart;\r
+        write_plane = -1;\r
 \r
-       skip = 2 - (widthBytes << 3);\r
+        skip = 2 - (widthBytes << 3);\r
 \r
-       while (c = *str++) {\r
-               font_ptr = Xfont + (c << 3);\r
+        while (c = *str++) {\r
+                font_ptr = Xfont + (c << 3);\r
 \r
-               i=8;\r
-               while (i--) {\r
-                       temp = *font_ptr++;\r
-                       outpw(SEQU_ADDR, text_mask[temp & 0x0F]);\r
-                       *vga_ptr++ = color;\r
+                i=8;\r
+                while (i--) {\r
+                        temp = *font_ptr++;\r
+                        outpw(SEQU_ADDR, text_mask[temp & 0x0F]);\r
+                        *vga_ptr++ = color;\r
 \r
-                       outpw(SEQU_ADDR, text_mask[temp >> 4]);\r
-                       *vga_ptr-- = color;\r
-                       vga_ptr += widthBytes;\r
-               }\r
+                        outpw(SEQU_ADDR, text_mask[temp >> 4]);\r
+                        *vga_ptr-- = color;\r
+                        vga_ptr += widthBytes;\r
+                }\r
 \r
-               vga_ptr += skip;\r
-       }\r
+                vga_ptr += skip;\r
+        }\r
 }\r
 \r
 /////////////////////////////////////////////////////////////////////////////\r
-//                                                                      //\r
-// setvideo() - This function Manages the video modes                               //\r
-//                                                                      //\r
+//                                                                       //\r
+// setvideo() - This function Manages the video modes                                //\r
+//                                                                       //\r
 /////////////////////////////////////////////////////////////////////////////\r
 void setvideo(/*byte mode, */int vq){\r
-               union REGS in, out;\r
-\r
-               if(!vq){ // deinit the video\r
-                               // change to the video mode we were in before we switched to mode 13h\r
-                               in.h.ah = 0x00;\r
-                               in.h.al = old_mode;\r
-                               int86(0x10, &in, &out);\r
-\r
-               }else if(vq == 1){ // init the video\r
-                               // get old video mode\r
-                               in.h.ah = 0xf;\r
-                               int86(0x10, &in, &out);\r
-                               old_mode = out.h.al;\r
-\r
-                               // enter mode\r
-                               set320x240x256_X();\r
-               }\r
+                union REGS in, out;\r
+\r
+                if(!vq){ // deinit the video\r
+                                // change to the video mode we were in before we switched to mode 13h\r
+                                in.h.ah = 0x00;\r
+                                in.h.al = old_mode;\r
+                                int86(0x10, &in, &out);\r
+\r
+                }else if(vq == 1){ // init the video\r
+                                // get old video mode\r
+                                in.h.ah = 0xf;\r
+                                int86(0x10, &in, &out);\r
+                                old_mode = out.h.al;\r
+\r
+                                // enter mode\r
+                                set320x240x256_X();\r
+                }\r
 }\r
 \r
 /////////////////////////////////////////////////////////////////////////////\r
-//                                                                                                                                              //\r
+//                                                                                                                                               //\r
 // cls() - This clears the screen to the specified color, on the VGA or on //\r
-//              the Virtual screen.                                                                                 //\r
-//                                                                                                                                              //\r
+//               the Virtual screen.                                                                                 //\r
+//                                                                                                                                               //\r
 /////////////////////////////////////////////////////////////////////////////\r
 void cls(byte color, byte *Where){\r
-               _fmemset(Where, color, width*(height*17));\r
+                _fmemset(Where, color, width*(height*17));\r
 }\r
 \r
 //color \82Ä\82·\82Æ\r
 int colortest(){\r
-               if(gq < NUM_COLORS){\r
-                               cls(gq, vga);\r
-                               gq++;\r
-               }else gq = 0;\r
-               return gq;\r
+                if(gq < NUM_COLORS){\r
+                                cls(gq, vga);\r
+                                gq++;\r
+                }else gq = 0;\r
+                return gq;\r
 }\r
 \r
 //color \82Ä\82·\82Æ\r
 int colorz(){\r
-               if(gq < HGQ){\r
-//----     cls(gq, vaddr);\r
-                               cls(gq, vga);\r
-                               gq++;\r
-               }else gq = LGQ;\r
-               return gq;\r
+                if(gq < HGQ){\r
+//----      cls(gq, vaddr);\r
+                                cls(gq, vga);\r
+                                gq++;\r
+                }else gq = LGQ;\r
+                return gq;\r
 }\r
 \r
 //slow spectrum down\r
 void ssd(int svq){\r
-               if(sy < height+1){\r
-                               if(sx < width+1){\r
-                                               //plotpixel(xx, yy, coor, vga);\r
-                                               //ppf(sx, sy, coor, vga);\r
-                                               putPixel_X(sx, sy, coor);\r
-                                               //printf("%d %d %d %d\n", sx, sy, svq, coor);\r
-                                               sx++;\r
-                               }else sx = 0;\r
-                               if(sx == width){\r
-                                               sy++;\r
-                                               if(svq == 7) coor++;\r
-                                               if(sy == height && svq == 8) coor = rand()%NUM_COLORS;\r
-                               }\r
-               }else sy = 0;\r
+                if(sy < height+1){\r
+                                if(sx < width+1){\r
+                                                //plotpixel(xx, yy, coor, vga);\r
+                                                //ppf(sx, sy, coor, vga);\r
+                                                putPixel_X(sx, sy, coor);\r
+                                                //printf("%d %d %d %d\n", sx, sy, svq, coor);\r
+                                                sx++;\r
+                                }else sx = 0;\r
+                                if(sx == width){\r
+                                                sy++;\r
+                                                if(svq == 7) coor++;\r
+                                                if(sy == height && svq == 8) coor = rand()%NUM_COLORS;\r
+                                }\r
+                }else sy = 0;\r
 }\r
 \r
 /*-----------ding-------------*/\r
 int ding(int q){\r
 \r
-//     if(yy<height){\r
-               setActivePage(0);\r
-               setVisiblePage(0);\r
-/*     }\r
-       if((height)<yy<(height*2)){\r
-               setActivePage(1);\r
-               setVisiblePage(1);\r
-       }\r
-       if((height*2)<yy<(height*3)){\r
-               setActivePage(2);\r
-               setVisiblePage(2);\r
-       }*/\r
-               int d3y;\r
+//      if(yy<height){\r
+                setActivePage(0);\r
+                setVisiblePage(0);\r
+/*      }\r
+        if((height)<yy<(height*2)){\r
+                setActivePage(1);\r
+                setVisiblePage(1);\r
+        }\r
+        if((height*2)<yy<(height*3)){\r
+                setActivePage(2);\r
+                setVisiblePage(2);\r
+        }*/\r
+                int d3y;\r
 \r
 //++++  if(q <= 4 && q!=2 && gq == BONK-1) coor = rand()%HGQ;\r
-               if((q == 2\r
-               ||q==4\r
-               ||q==16\r
-               ) && gq == BONK){\r
-                                               if(coor < HGQ && coor < LGQ) coor = LGQ;\r
-                                               if(coor < HGQ-1){\r
-                                                               coor++;\r
-                               }else{ coor = LGQ;\r
-                                               bakax = rand()%3; bakay = rand()%3;\r
-                               }\r
-               }\r
-\r
-               if(q==8){ colorz(); return gq; }else\r
-               if(q==10){ ssd(q); /*printf("%d\n", coor);*/ }else\r
-               if(q==5){ colortest(); return gq; }else\r
-               if(q==11){ colorz(); delay(100); return gq; }\r
-               if(q==6){\r
-                               coor = rand()%NUM_COLORS;\r
-//----     cls(coor, vaddr);\r
-                               cls(coor, vga);\r
-                               //updatevbuff();\r
-               }\r
-\r
-               if(q==7||q==9){\r
-                               if(gq < HGQ){\r
-                                               if(q == 7) ssd(q);\r
-                                               if(q == 9){ ssd(q); coor++; }\r
-                                               gq++;\r
-                               }else gq = LGQ;\r
-               }\r
-               if((q<5 && gq<BONK) || (q==16 && gq<BONK)){ // the number variable make the colors more noticable\r
-                               if(q==1){\r
-                                               if(xx==width){bakax=0;}\r
-                                               if(xx==0){bakax=1;}\r
-                                               if(yy==height){bakay=0;}\r
-                                               if(yy==0){bakay=1;}\r
-                               }else if(q==3){\r
-                                               if(xx!=width||yy!=height){\r
-                                                               if(xx==0){bakax=1;bakay=-1;d3y=1;}\r
-                                                               if(yy==0){bakax=1;bakay=0;d3y=1;}\r
-                                                               if(xx==width){bakax=-1;bakay=-1;d3y=1;}\r
-                                                               if(yy==height){bakax=1;bakay=0;d3y=1;}\r
-                                               }else if(xx==width&&yy==height) xx=yy=0;\r
-                               }\r
-                               if(q==3){\r
-                                               if(d3y){\r
-                                                               if(bakay<0){\r
-                                                                               yy--;\r
-                                                                               d3y--;\r
-                                                               }else\r
-                                                               if(bakay>0){\r
-                                                                               yy++;\r
-                                                                               d3y--;\r
-                                                               }\r
-                                               }\r
-                                               if(bakax<0){\r
-                                                               xx--;\r
-                                               }else\r
-                                               if(bakax>0){\r
-                                                               xx++;\r
-                                               }\r
-                               }else{\r
-                                               if(q==16)\r
-                                               {\r
-                                                               if(!bakax){\r
-                                                                               xx--;//=TILEWH;\r
-                                                               }else if(bakax>0){\r
-                                                                               xx++;//=TILEWH;\r
-                                                               }\r
-                                                               if(!bakay){\r
-                                                                               yy--;//=TILEWH;\r
-                                                               }else if(bakay>0){\r
-                                                                               yy++;//=TILEWH;\r
-                                                               }\r
-                                               }else{\r
-                                                               if(!bakax){\r
-//                                                                             xx-=TILEWH;\r
-                                                                               xx--;\r
-                                                               }else if(bakax>1){\r
-//                                                                             xx+=TILEWH;\r
-                                                                               xx++;\r
-                                                               }\r
-                                                               if(!bakay){\r
-//                                                                             yy-=TILEWH;\r
-                                                                               yy--;\r
-                                                               }else if(bakay>1){\r
-//                                                                             yy+=TILEWH;\r
-                                                                               yy++;\r
-                                                               }\r
-                                               }\r
-                               }\r
-                               // fixer\r
-//                             if(q!=16){\r
+                if((q == 2\r
+                ||q==4\r
+                ||q==16\r
+                ) && gq == BONK){\r
+                                                if(coor < HGQ && coor < LGQ) coor = LGQ;\r
+                                                if(coor < HGQ-1){\r
+                                                                coor++;\r
+                                }else{ coor = LGQ;\r
+                                                bakax = rand()%3; bakay = rand()%3;\r
+                                }\r
+                }\r
+\r
+                if(q==8){ colorz(); return gq; }else\r
+                if(q==10){ ssd(q); /*printf("%d\n", coor);*/ }else\r
+                if(q==5){ colortest(); return gq; }else\r
+                if(q==11){ colorz(); delay(100); return gq; }\r
+                if(q==6){\r
+                                coor = rand()%NUM_COLORS;\r
+//----      cls(coor, vaddr);\r
+                                cls(coor, vga);\r
+                                //updatevbuff();\r
+                }\r
+\r
+                if(q==7||q==9){\r
+                                if(gq < HGQ){\r
+                                                if(q == 7) ssd(q);\r
+                                                if(q == 9){ ssd(q); coor++; }\r
+                                                gq++;\r
+                                }else gq = LGQ;\r
+                }\r
+                if((q<5 && gq<BONK) || (q==16 && gq<BONK)){ // the number variable make the colors more noticable\r
+                                if(q==1){\r
+                                                if(xx==width){bakax=0;}\r
+                                                if(xx==0){bakax=1;}\r
+                                                if(yy==height){bakay=0;}\r
+                                                if(yy==0){bakay=1;}\r
+                                }else if(q==3){\r
+                                                if(xx!=width||yy!=height){\r
+                                                                if(xx==0){bakax=1;bakay=-1;d3y=1;}\r
+                                                                if(yy==0){bakax=1;bakay=0;d3y=1;}\r
+                                                                if(xx==width){bakax=-1;bakay=-1;d3y=1;}\r
+                                                                if(yy==height){bakax=1;bakay=0;d3y=1;}\r
+                                                }else if(xx==width&&yy==height) xx=yy=0;\r
+                                }\r
+                                if(q==3){\r
+                                                if(d3y){\r
+                                                                if(bakay<0){\r
+                                                                                yy--;\r
+                                                                                d3y--;\r
+                                                                }else\r
+                                                                if(bakay>0){\r
+                                                                                yy++;\r
+                                                                                d3y--;\r
+                                                                }\r
+                                                }\r
+                                                if(bakax<0){\r
+                                                                xx--;\r
+                                                }else\r
+                                                if(bakax>0){\r
+                                                                xx++;\r
+                                                }\r
+                                }else{\r
+                                                if(q==16)\r
+                                                {\r
+                                                                if(!bakax){\r
+                                                                                xx--;//=TILEWH;\r
+                                                                }else if(bakax>0){\r
+                                                                                xx++;//=TILEWH;\r
+                                                                }\r
+                                                                if(!bakay){\r
+                                                                                yy--;//=TILEWH;\r
+                                                                }else if(bakay>0){\r
+                                                                                yy++;//=TILEWH;\r
+                                                                }\r
+                                                }else{\r
+                                                                if(!bakax){\r
+//                                                                              xx-=TILEWH;\r
+                                                                                xx--;\r
+                                                                }else if(bakax>1){\r
+//                                                                              xx+=TILEWH;\r
+                                                                                xx++;\r
+                                                                }\r
+                                                                if(!bakay){\r
+//                                                                              yy-=TILEWH;\r
+                                                                                yy--;\r
+                                                                }else if(bakay>1){\r
+//                                                                              yy+=TILEWH;\r
+                                                                                yy++;\r
+                                                                }\r
+                                                }\r
+                                }\r
+                                // fixer\r
+//                              if(q!=16){\r
 //if(q!=16)\r
-//                                             if(xx<(0/*-(TILEWH/2)*/)) xx=(width/*+(TILEWH)*/);\r
-                                               if(yy<0) yy=(height*3);\r
-//                                             if(xx>(width/*+(TILEWH)*/)) xx=(0/*-(TILEWH/2)*/);\r
-                                               if(yy>(height*3)) yy=0;\r
-//                             }\r
+//                                              if(xx<(0/*-(TILEWH/2)*/)) xx=(width/*+(TILEWH)*/);\r
+                                                if(yy<0) yy=(height*3);\r
+//                                              if(xx>(width/*+(TILEWH)*/)) xx=(0/*-(TILEWH/2)*/);\r
+                                                if(yy>(height*3)) yy=0;\r
+//                              }\r
 \r
 //interesting effects\r
-                               if(q==16)\r
-                               {\r
-                               int tx=0,ty=0;\r
-                               tx+=xx+16;\r
-                               ty+=yy+16;\r
-                               putPixel_X(tx, ty, coor);\r
-                               //drawrect(tx, ty, tx+TILEWH, ty+TILEWH, coor);\r
-                               //printf("%d %d %d %d %d %d\n", xx, yy, tx, ty, TILEWH);\r
-\r
-                               // plot the pixel\r
-//----     ppf(xx, yy, coor, vga);\r
-                               }else /*if(xx>=0 && xx<width && yy>=0 && yy<(height*3))*/{\r
-//                                     putColorBox_X(xx, yy, TILEWH, TILEWH, coor);\r
+                                if(q==16)\r
+                                {\r
+                                int tx=0,ty=0;\r
+                                tx+=xx+16;\r
+                                ty+=yy+16;\r
+                                putPixel_X(tx, ty, coor);\r
+                                //drawrect(tx, ty, tx+TILEWH, ty+TILEWH, coor);\r
+                                //printf("%d %d %d %d %d %d\n", xx, yy, tx, ty, TILEWH);\r
+\r
+                                // plot the pixel\r
+//----      ppf(xx, yy, coor, vga);\r
+                                }else /*if(xx>=0 && xx<width && yy>=0 && yy<(height*3))*/{\r
+//                                      putColorBox_X(xx, yy, TILEWH, TILEWH, coor);\r
 //++++0000\r
-                                       putPixel_X(xx, yy, coor);\r
-                               } \r
+                                        putPixel_X(xx, yy, coor);\r
+                                \r
 \r
-//----     if(q==2) ppf(rand()%, rand()%height, 0, vga);\r
-//                             if(q==2) putColorBox_X(rand()%width, rand()%(height*3), TILEWH, TILEWH, 0);\r
+//----      if(q==2) ppf(rand()%, rand()%height, 0, vga);\r
+//                              if(q==2) putColorBox_X(rand()%width, rand()%(height*3), TILEWH, TILEWH, 0);\r
 //++++0000\r
-                               if(q==2) putPixel_X(rand()%width, rand()%(height*3), 0);\r
-                               if(q==16) putPixel_X(rand()%width, rand()%(height*3), 0);\r
-                               if(q==2||q==4||q==16){ bakax = rand()%3; bakay = rand()%3; }\r
-                               gq++;\r
+                                if(q==2) putPixel_X(rand()%width, rand()%(height*3), 0);\r
+                                if(q==16) putPixel_X(rand()%width, rand()%(height*3), 0);\r
+                                if(q==2||q==4||q==16){ bakax = rand()%3; bakay = rand()%3; }\r
+                                gq++;\r
 //if(xx<0||xx>320||yy<0||yy>(height*3))\r
-//     printf("%d %d %d %d %d %d\n", xx, yy, coor, bakax, bakay, getPixel_X(xx,yy));\r
-//     printf("%d\n", getPixel_X(xx,yy));\r
+//      printf("%d %d %d %d %d %d\n", xx, yy, coor, bakax, bakay, getPixel_X(xx,yy));\r
+//      printf("%d\n", getPixel_X(xx,yy));\r
 //0000\r
-//     drawText(0, 0, 15, getPixel_X(xx,yy));\r
-               }else gq = LGQ;\r
-               return gq;\r
+//      drawText(0, 0, 15, getPixel_X(xx,yy));\r
+                }else gq = LGQ;\r
+                return gq;\r
 }\r
 \r
 \r
@@ -886,125 +824,124 @@ int ding(int q){
 #include <conio.h>\r
 \r
 void doTest(void)\r
-               {\r
-               int p, x, y, pages;\r
-\r
-               /* This is the way to calculate the number of pages available. */\r
-               pages = 65536L/(widthBytes*height); // apparently this takes the A000 address\r
-//             if(height==240) pages++;\r
-\r
-//             printf("%d\n", pages);\r
-\r
-               for (p = 0; p <= pages; ++p)\r
-                               {\r
-                               setActivePage(p);\r
-\r
-                               /* On each page draw a single colored border, and dump the palette\r
-                                  onto a small square about the middle of the page. */\r
-\r
-                                  //{\r
-                                               for (x = 0; x <= width; ++x)\r
-                                                               {\r
-                                                               putPixel_X(x, 0, p+1);\r
-                                                               if(p!=pages) putPixel_X(x, height-1, p+1);\r
-                                                                               else if(height==240) putPixel_X(x, 99-1, p+1);\r
-                                                               }\r
-\r
-                                               for (y = 0; y <= height; ++y)\r
-                                                               {\r
-                                                               putPixel_X(0, y, p+1);\r
-                                                               if(p!=pages) putPixel_X(width-1, y, p+1);\r
-                                                                               else if(height==240) putPixel_X(width-1, y, p+1);\r
-                                                               }\r
-\r
-                                               for (x = 0; x < TILEWH; ++x)\r
-                                                               for (y = 0; y < TILEWH; ++y)\r
-                                                                               putPixel_X(x+(p+2)*16, y+(p+2)*TILEWH, x + y*TILEWH);\r
-                                               //}\r
-\r
-                               }\r
-\r
-               /* Each pages will now contain a different image.  Let the user cycle\r
-                  through all the pages by pressing a key. */\r
-               for (p = 0; p < pages; ++p)\r
-                               {\r
-                               setVisiblePage(p);\r
-                               getch();\r
-                               }\r
-\r
-               }\r
+                {\r
+                int p, x, y, pages;\r
+\r
+                /* This is the way to calculate the number of pages available. */\r
+                pages = 65536L/(widthBytes*height); // apparently this takes the A000 address\r
+//              if(height==240) pages++;\r
+\r
+//              printf("%d\n", pages);\r
+\r
+                for (p = 0; p <= pages; ++p)\r
+                                {\r
+                                setActivePage(p);\r
+\r
+                                /* On each page draw a single colored border, and dump the palette\r
+                                   onto a small square about the middle of the page. */\r
+\r
+                                   //{\r
+                                                for (x = 0; x <= width; ++x)\r
+                                                                {\r
+                                                                putPixel_X(x, 0, p+1);\r
+                                                                if(p!=pages) putPixel_X(x, height-1, p+1);\r
+                                                                                else if(height==240) putPixel_X(x, 99-1, p+1);\r
+                                                                }\r
+\r
+                                                for (y = 0; y <= height; ++y)\r
+                                                                {\r
+                                                                putPixel_X(0, y, p+1);\r
+                                                                if(p!=pages) putPixel_X(width-1, y, p+1);\r
+                                                                                else if(height==240) putPixel_X(width-1, y, p+1);\r
+                                                                }\r
+\r
+                                                for (x = 0; x < TILEWH; ++x)\r
+                                                                for (y = 0; y < TILEWH; ++y)\r
+                                                                                putPixel_X(x+(p+2)*16, y+(p+2)*TILEWH, x + y*TILEWH);\r
+                                                //}\r
+\r
+                                }\r
+\r
+                /* Each pages will now contain a different image.  Let the user cycle\r
+                   through all the pages by pressing a key. */\r
+                for (p = 0; p < pages; ++p)\r
+                                {\r
+                                setVisiblePage(p);\r
+                                getch();\r
+                                }\r
+\r
+                }\r
 \r
 /*\r
  * Library test (program) entry point.\r
  */\r
 \r
 int main(void)\r
-               {\r
-               int key,d;\r
-               //short int temp;\r
-               // main variables\r
-               d=1; // switch variable\r
-               key=4; // default screensaver number\r
-//     puts("First, have a look at the 320x200 mode.  I will draw some rubbish");\r
-//     puts("on all of the four pages, then let you cycle through them by");\r
-//     puts("hitting a key on each page.");\r
-//     puts("Press a key when ready...");\r
-//     getch();\r
-\r
-//     doTest();\r
-\r
-//     puts("Then, check out Mode X, 320x240 with 3 (and a half) pages.");\r
-//     puts("Press a key when ready...");\r
-//     getch();\r
+                {\r
+                int key,d;\r
+                //short int temp;\r
+                // main variables\r
+                d=1; // switch variable\r
+                key=4; // default screensaver number\r
+//      puts("First, have a look at the 320x200 mode.  I will draw some rubbish");\r
+//      puts("on all of the four pages, then let you cycle through them by");\r
+//      puts("hitting a key on each page.");\r
+//      puts("Press a key when ready...");\r
+//      getch();\r
+\r
+//      doTest();\r
+\r
+//      puts("Then, check out Mode X, 320x240 with 3 (and a half) pages.");\r
+//      puts("Press a key when ready...");\r
+//      getch();\r
 \r
 //++++0000\r
-               setvideo(1);\r
-               /*temp = loadfontX("vga8x8.fnt");\r
+                setvideo(1);\r
+                /*temp = loadfontX("vga8x8.fnt");\r
 \r
-               if (temp) {\r
-                       putstringX(0, 0, "bakapi!", 2);\r
-               }\r
-               getch();*/\r
+                if (temp) {\r
+                        putstringX(0, 0, "bakapi!", 2);\r
+                }\r
+                getch();*/\r
 // screen savers\r
 \r
 /*while(d!=0){ // on!\r
-                               if(!kbhit()){ // conditions of screen saver\r
-                                               ding(key);\r
-                               }else{\r
-                                               setvideo(0);\r
-                                               // user imput switch\r
-                                               printf("Enter 1, 2, 3, 4, or 6 to run a screensaver, or enter 5 to quit.\n", getch());  // prompt the user\r
-                                               scanf("%d", &key);\r
-                                               //if(key==3){xx=yy=0;} // crazy screen saver wwww\r
-                                               if(key==5) d=0;\r
-                                               setvideo(1);\r
-                               }\r
-               }*/ // else off\r
-               while(!kbhit()){ // conditions of screen saver\r
-                       ding(4);\r
-               }\r
-               //end of screen savers\r
-               doTest();\r
-//             getch();\r
-\r
-               while(!kbhit()){ // conditions of screen saver\r
-                       hScroll(1);\r
-//                     scrolly(1);\r
-//                     vScroll(1);\r
-//                     delay(100);\r
-//                     Play();\r
-               }\r
+                                if(!kbhit()){ // conditions of screen saver\r
+                                                ding(key);\r
+                                }else{\r
+                                                setvideo(0);\r
+                                                // user imput switch\r
+                                                printf("Enter 1, 2, 3, 4, or 6 to run a screensaver, or enter 5 to quit.\n", getch());  // prompt the user\r
+                                                scanf("%d", &key);\r
+                                                //if(key==3){xx=yy=0;} // crazy screen saver wwww\r
+                                                if(key==5) d=0;\r
+                                                setvideo(1);\r
+                                }\r
+                }*/ // else off\r
+                while(!kbhit()){ // conditions of screen saver\r
+                        ding(4);\r
+                }\r
+                //end of screen savers\r
+                doTest();\r
+//              getch();\r
+\r
+                while(!kbhit()){ // conditions of screen saver\r
+                        hScroll(1);\r
+//                      scrolly(1);\r
+//                      vScroll(1);\r
+//                      delay(100);\r
+//                      Play();\r
+                }\r
 //++++0000\r
-               setvideo(0);\r
-               printf("Resolution:\n[%d][%d]\n", width,height);\r
-//             setvideo(0);\r
+                setvideo(0);\r
+                printf("Resolution:\n[%d][%d]\n", width,height);\r
+//              setvideo(0);\r
 //mxTerm();\r
-//mxGetVersion();
-
-               printf("[%d]\n", mxGetVersion());\r
-               puts("where to next?  It's your move! wwww");\r
-               printf("bakapi ver. 1.04.09.03\nis made by sparky4\81i\81\86\83Ö\81\85\81j feel free to use it ^^\nLicence: GPL v2\n");\r
-               return 0;\r
-               }\r
+\r
+//              printf("[%d]\n", mxGetVersion());\r
+                puts("where to next?  It's your move! wwww");\r
+                printf("bakapi ver. 1.04.09.03\nis made by sparky4\81i\81\86\83Ö\81\85\81j feel free to use it ^^\nLicence: GPL v2\n");\r
+                return 0;\r
+                }\r
 \r
 #endif\r
diff --git a/16/error.png b/16/error.png
new file mode 100644 (file)
index 0000000..8e923f6
Binary files /dev/null and b/16/error.png differ
index a84d9a4..19175b7 100644 (file)
@@ -27,7 +27,7 @@ LIBOBJS = MXBB.OBJ \
           MXPI.OBJ \\r
           MXPN.OBJ \\r
           MXPP.OBJ \\r
-          MXPT.OBJ \\r
+         MXPT.OBJ \\r
           MXRA.OBJ \\r
           MXRP.OBJ \\r
           MXSA.OBJ \\r
index 5916999..0069d2e 100644 (file)
Binary files a/16/lib/x/MODEX.BAK and b/16/lib/x/MODEX.BAK differ
index 64402aa..62111e5 100644 (file)
@@ -4,8 +4,7 @@
 ; Copyright (c) 1993-1994 by Alessandro Scotti\r
 ;\r
 ;JUMPS\r
-;LOCALS
-.model huge,c\r
+;LOCALS\r
 \r
 TRUE            EQU     1       ; Boolean constants\r
 FALSE           EQU     0\r
index 4952856..71f3dcf 100644 (file)
@@ -48,7 +48,7 @@
 #define MXBOOL      short int\r
 #define MXSINT      short int\r
 #define MXUINT      unsigned short int\r
-#define MXAPI       //far pascal\r
+#define MXAPI       far __syscall\r
 #define MXPTR       void far *\r
 \r
 // Functions\r
index 5916999..ea682c0 100644 (file)
Binary files a/16/lib/x/MODEX.LIB and b/16/lib/x/MODEX.LIB differ
index 9128995..7b72fdb 100644 (file)
Binary files a/16/lib/x/MODEX.OBJ and b/16/lib/x/MODEX.OBJ differ
index df960ee..35d36a7 100644 (file)
Binary files a/16/lib/x/MXBB.OBJ and b/16/lib/x/MXBB.OBJ differ
index 7137aa7..2ac9ef7 100644 (file)
Binary files a/16/lib/x/MXCC.OBJ and b/16/lib/x/MXCC.OBJ differ
index ca1b47a..804cdb2 100644 (file)
Binary files a/16/lib/x/MXCG.OBJ and b/16/lib/x/MXCG.OBJ differ
index 1106424..3b9d8c6 100644 (file)
Binary files a/16/lib/x/MXCL.OBJ and b/16/lib/x/MXCL.OBJ differ
index 5f9ba89..7493b93 100644 (file)
Binary files a/16/lib/x/MXCR.OBJ and b/16/lib/x/MXCR.OBJ differ
index ac3559e..520971c 100644 (file)
Binary files a/16/lib/x/MXEL.OBJ and b/16/lib/x/MXEL.OBJ differ
index ce2b3e0..5474062 100644 (file)
Binary files a/16/lib/x/MXFB.OBJ and b/16/lib/x/MXFB.OBJ differ
index afb33ba..bf2a476 100644 (file)
Binary files a/16/lib/x/MXFP.OBJ and b/16/lib/x/MXFP.OBJ differ
index 22ac991..3551d91 100644 (file)
Binary files a/16/lib/x/MXGC.OBJ and b/16/lib/x/MXGC.OBJ differ
index 4e8b32b..023e943 100644 (file)
Binary files a/16/lib/x/MXGI.OBJ and b/16/lib/x/MXGI.OBJ differ
index b81a637..4236c96 100644 (file)
Binary files a/16/lib/x/MXGM.OBJ and b/16/lib/x/MXGM.OBJ differ
index 135f9ae..e675df1 100644 (file)
Binary files a/16/lib/x/MXGP.OBJ and b/16/lib/x/MXGP.OBJ differ
index 8c37891..5e82a43 100644 (file)
Binary files a/16/lib/x/MXGV.OBJ and b/16/lib/x/MXGV.OBJ differ
index 2f2a550..b7e250c 100644 (file)
Binary files a/16/lib/x/MXHL.OBJ and b/16/lib/x/MXHL.OBJ differ
index 7e618cb..4ab3ea9 100644 (file)
Binary files a/16/lib/x/MXIT.OBJ and b/16/lib/x/MXIT.OBJ differ
index ac1e4a4..b0c2816 100644 (file)
Binary files a/16/lib/x/MXLL.OBJ and b/16/lib/x/MXLL.OBJ differ
index 04891a6..2d34c42 100644 (file)
Binary files a/16/lib/x/MXLN.OBJ and b/16/lib/x/MXLN.OBJ differ
index 99be43a..482f502 100644 (file)
Binary files a/16/lib/x/MXOT.OBJ and b/16/lib/x/MXOT.OBJ differ
index 5bd223d..17e08ea 100644 (file)
Binary files a/16/lib/x/MXPB.OBJ and b/16/lib/x/MXPB.OBJ differ
index 6db789b..4063ea8 100644 (file)
Binary files a/16/lib/x/MXPF.OBJ and b/16/lib/x/MXPF.OBJ differ
index 97757dd..ed04544 100644 (file)
Binary files a/16/lib/x/MXPG.OBJ and b/16/lib/x/MXPG.OBJ differ
index 940725d..8f39897 100644 (file)
Binary files a/16/lib/x/MXPI.OBJ and b/16/lib/x/MXPI.OBJ differ
index cb37911..27da206 100644 (file)
Binary files a/16/lib/x/MXPN.OBJ and b/16/lib/x/MXPN.OBJ differ
index 24315b1..b183179 100644 (file)
Binary files a/16/lib/x/MXPP.OBJ and b/16/lib/x/MXPP.OBJ differ
index b9bdafe..5535ce3 100644 (file)
Binary files a/16/lib/x/MXPT.OBJ and b/16/lib/x/MXPT.OBJ differ
index b3bec52..a45dd55 100644 (file)
Binary files a/16/lib/x/MXRA.OBJ and b/16/lib/x/MXRA.OBJ differ
index 7985429..543b778 100644 (file)
Binary files a/16/lib/x/MXRP.OBJ and b/16/lib/x/MXRP.OBJ differ
index 7cf30a0..fcf28d0 100644 (file)
Binary files a/16/lib/x/MXSA.OBJ and b/16/lib/x/MXSA.OBJ differ
index e013444..acb3233 100644 (file)
Binary files a/16/lib/x/MXSC.OBJ and b/16/lib/x/MXSC.OBJ differ
index 5d33ca8..3d0ab0a 100644 (file)
Binary files a/16/lib/x/MXSI.OBJ and b/16/lib/x/MXSI.OBJ differ
index 0c4dfc3..911808b 100644 (file)
Binary files a/16/lib/x/MXSL.OBJ and b/16/lib/x/MXSL.OBJ differ
index 958b93d..dc069e7 100644 (file)
Binary files a/16/lib/x/MXSM.OBJ and b/16/lib/x/MXSM.OBJ differ
index fc05f14..afe4985 100644 (file)
Binary files a/16/lib/x/MXSP.OBJ and b/16/lib/x/MXSP.OBJ differ
index e07ae2a..4963c96 100644 (file)
Binary files a/16/lib/x/MXSS.OBJ and b/16/lib/x/MXSS.OBJ differ
index a2f0a2f..b914c84 100644 (file)
Binary files a/16/lib/x/MXTL.OBJ and b/16/lib/x/MXTL.OBJ differ
index 75b1334..4bf0b4d 100644 (file)
Binary files a/16/lib/x/MXVS.OBJ and b/16/lib/x/MXVS.OBJ differ
diff --git a/16/lib/x/MXVS~1.OBJ b/16/lib/x/MXVS~1.OBJ
new file mode 100644 (file)
index 0000000..ac8b6e6
Binary files /dev/null and b/16/lib/x/MXVS~1.OBJ differ
index 7b5e65f..71c3269 100644 (file)
Binary files a/16/lib/x/MXWD.OBJ and b/16/lib/x/MXWD.OBJ differ
index 8ffd0ad..2bd3678 100644 (file)
Binary files a/16/lib/x/MXWM.OBJ and b/16/lib/x/MXWM.OBJ differ
index 337e56c..2d6b03c 100644 (file)
Binary files a/16/lib/x/MXWP.OBJ and b/16/lib/x/MXWP.OBJ differ
index 09d3544..8722178 100644 (file)
Binary files a/16/lib/x/MXWR.OBJ and b/16/lib/x/MXWR.OBJ differ
diff --git a/16/lib/x/modex.BAK b/16/lib/x/modex.BAK
deleted file mode 100644 (file)
index 5916999..0000000
Binary files a/16/lib/x/modex.BAK and /dev/null differ
diff --git a/16/lib/x/modex.bak b/16/lib/x/modex.bak
new file mode 100644 (file)
index 0000000..0069d2e
Binary files /dev/null and b/16/lib/x/modex.bak differ
diff --git a/16/lib/x/modex.lb1 b/16/lib/x/modex.lb1
new file mode 100644 (file)
index 0000000..0084fdf
--- /dev/null
@@ -0,0 +1,40 @@
++'MXBB.obj'\r
++'MXCC.obj'\r
++'MXCG.obj'\r
++'MXCL.obj'\r
++'MXCR.obj'\r
++'MXEL.obj'\r
++'MXFB.obj'\r
++'MXFP.obj'\r
++'MXGC.obj'\r
++'MXGI.obj'\r
++'MXGM.obj'\r
++'MXGP.obj'\r
++'MXGV.obj'\r
++'MXHL.obj'\r
++'MXIT.obj'\r
++'MXLL.obj'\r
++'MXLN.obj'\r
++'MXOT.obj'\r
++'MXPB.obj'\r
++'MXPF.obj'\r
++'MXPG.obj'\r
++'MXPI.obj'\r
++'MXPN.obj'\r
++'MXPP.obj'\r
++'MXPT.obj'\r
++'MXRA.obj'\r
++'MXRP.obj'\r
++'MXSA.obj'\r
++'MXSC.obj'\r
++'MXSI.obj'\r
++'MXSL.obj'\r
++'MXSM.obj'\r
++'MXSP.obj'\r
++'MXSS.obj'\r
++'MXTL.obj'\r
++'MXVS.obj'\r
++'MXWD.obj'\r
++'MXWM.obj'\r
++'MXWP.obj'\r
++'MXWR.obj'\r
index 5916999..ea682c0 100644 (file)
Binary files a/16/lib/x/modex.lib and b/16/lib/x/modex.lib differ
diff --git a/16/lib/x/modex.mk b/16/lib/x/modex.mk
new file mode 100644 (file)
index 0000000..9ba3a13
--- /dev/null
@@ -0,0 +1,3 @@
+project : C:\z\16\16\lib\x\modex.lib .SYMBOLIC\r
+\r
+!include C:\z\16\16\lib\x\modex.mk1\r
diff --git a/16/lib/x/modex.mk1 b/16/lib/x/modex.mk1
new file mode 100644 (file)
index 0000000..88f8bf4
--- /dev/null
@@ -0,0 +1,236 @@
+!define BLANK ""\r
+C:\z\16\16\lib\x\MXBB.obj : C:\z\16\16\lib\x\MXBB.ASM .AUTODEPEND\r
+ @C:\r
+ cd C:\z\16\16\lib\x\r
+ *wasm MXBB.ASM -i="C:\FDOS\WATCOM/h" -ml -d1 -w4 -e25 -zq\r
+\r
+C:\z\16\16\lib\x\MXCC.obj : C:\z\16\16\lib\x\MXCC.ASM .AUTODEPEND\r
+ @C:\r
+ cd C:\z\16\16\lib\x\r
+ *wasm MXCC.ASM -i="C:\FDOS\WATCOM/h" -ml -d1 -w4 -e25 -zq\r
+\r
+C:\z\16\16\lib\x\MXCG.obj : C:\z\16\16\lib\x\MXCG.ASM .AUTODEPEND\r
+ @C:\r
+ cd C:\z\16\16\lib\x\r
+ *wasm MXCG.ASM -i="C:\FDOS\WATCOM/h" -ml -d1 -w4 -e25 -zq\r
+\r
+C:\z\16\16\lib\x\MXCL.obj : C:\z\16\16\lib\x\MXCL.ASM .AUTODEPEND\r
+ @C:\r
+ cd C:\z\16\16\lib\x\r
+ *wasm MXCL.ASM -i="C:\FDOS\WATCOM/h" -ml -d1 -w4 -e25 -zq\r
+\r
+C:\z\16\16\lib\x\MXCR.obj : C:\z\16\16\lib\x\MXCR.ASM .AUTODEPEND\r
+ @C:\r
+ cd C:\z\16\16\lib\x\r
+ *wasm MXCR.ASM -i="C:\FDOS\WATCOM/h" -ml -d1 -w4 -e25 -zq\r
+\r
+C:\z\16\16\lib\x\MXEL.obj : C:\z\16\16\lib\x\MXEL.ASM .AUTODEPEND\r
+ @C:\r
+ cd C:\z\16\16\lib\x\r
+ *wasm MXEL.ASM -i="C:\FDOS\WATCOM/h" -ml -d1 -w4 -e25 -zq\r
+\r
+C:\z\16\16\lib\x\MXFB.obj : C:\z\16\16\lib\x\MXFB.ASM .AUTODEPEND\r
+ @C:\r
+ cd C:\z\16\16\lib\x\r
+ *wasm MXFB.ASM -i="C:\FDOS\WATCOM/h" -ml -d1 -w4 -e25 -zq\r
+\r
+C:\z\16\16\lib\x\MXFP.obj : C:\z\16\16\lib\x\MXFP.ASM .AUTODEPEND\r
+ @C:\r
+ cd C:\z\16\16\lib\x\r
+ *wasm MXFP.ASM -i="C:\FDOS\WATCOM/h" -ml -d1 -w4 -e25 -zq\r
+\r
+C:\z\16\16\lib\x\MXGC.obj : C:\z\16\16\lib\x\MXGC.ASM .AUTODEPEND\r
+ @C:\r
+ cd C:\z\16\16\lib\x\r
+ *wasm MXGC.ASM -i="C:\FDOS\WATCOM/h" -ml -d1 -w4 -e25 -zq\r
+\r
+C:\z\16\16\lib\x\MXGI.obj : C:\z\16\16\lib\x\MXGI.ASM .AUTODEPEND\r
+ @C:\r
+ cd C:\z\16\16\lib\x\r
+ *wasm MXGI.ASM -i="C:\FDOS\WATCOM/h" -ml -d1 -w4 -e25 -zq\r
+\r
+C:\z\16\16\lib\x\MXGM.obj : C:\z\16\16\lib\x\MXGM.ASM .AUTODEPEND\r
+ @C:\r
+ cd C:\z\16\16\lib\x\r
+ *wasm MXGM.ASM -i="C:\FDOS\WATCOM/h" -ml -d1 -w4 -e25 -zq\r
+\r
+C:\z\16\16\lib\x\MXGP.obj : C:\z\16\16\lib\x\MXGP.ASM .AUTODEPEND\r
+ @C:\r
+ cd C:\z\16\16\lib\x\r
+ *wasm MXGP.ASM -i="C:\FDOS\WATCOM/h" -ml -d1 -w4 -e25 -zq\r
+\r
+C:\z\16\16\lib\x\MXGV.obj : C:\z\16\16\lib\x\MXGV.ASM .AUTODEPEND\r
+ @C:\r
+ cd C:\z\16\16\lib\x\r
+ *wasm MXGV.ASM -i="C:\FDOS\WATCOM/h" -ml -d1 -w4 -e25 -zq\r
+\r
+C:\z\16\16\lib\x\MXHL.obj : C:\z\16\16\lib\x\MXHL.ASM .AUTODEPEND\r
+ @C:\r
+ cd C:\z\16\16\lib\x\r
+ *wasm MXHL.ASM -i="C:\FDOS\WATCOM/h" -ml -d1 -w4 -e25 -zq\r
+\r
+C:\z\16\16\lib\x\MXIT.obj : C:\z\16\16\lib\x\MXIT.ASM .AUTODEPEND\r
+ @C:\r
+ cd C:\z\16\16\lib\x\r
+ *wasm MXIT.ASM -i="C:\FDOS\WATCOM/h" -ml -d1 -w4 -e25 -zq\r
+\r
+C:\z\16\16\lib\x\MXLL.obj : C:\z\16\16\lib\x\MXLL.ASM .AUTODEPEND\r
+ @C:\r
+ cd C:\z\16\16\lib\x\r
+ *wasm MXLL.ASM -i="C:\FDOS\WATCOM/h" -ml -d1 -w4 -e25 -zq\r
+\r
+C:\z\16\16\lib\x\MXLN.obj : C:\z\16\16\lib\x\MXLN.ASM .AUTODEPEND\r
+ @C:\r
+ cd C:\z\16\16\lib\x\r
+ *wasm MXLN.ASM -i="C:\FDOS\WATCOM/h" -ml -d1 -w4 -e25 -zq\r
+\r
+C:\z\16\16\lib\x\MXOT.obj : C:\z\16\16\lib\x\MXOT.ASM .AUTODEPEND\r
+ @C:\r
+ cd C:\z\16\16\lib\x\r
+ *wasm MXOT.ASM -i="C:\FDOS\WATCOM/h" -ml -d1 -w4 -e25 -zq\r
+\r
+C:\z\16\16\lib\x\MXPB.obj : C:\z\16\16\lib\x\MXPB.ASM .AUTODEPEND\r
+ @C:\r
+ cd C:\z\16\16\lib\x\r
+ *wasm MXPB.ASM -i="C:\FDOS\WATCOM/h" -ml -d1 -w4 -e25 -zq\r
+\r
+C:\z\16\16\lib\x\MXPF.obj : C:\z\16\16\lib\x\MXPF.ASM .AUTODEPEND\r
+ @C:\r
+ cd C:\z\16\16\lib\x\r
+ *wasm MXPF.ASM -i="C:\FDOS\WATCOM/h" -ml -d1 -w4 -e25 -zq\r
+\r
+C:\z\16\16\lib\x\MXPG.obj : C:\z\16\16\lib\x\MXPG.ASM .AUTODEPEND\r
+ @C:\r
+ cd C:\z\16\16\lib\x\r
+ *wasm MXPG.ASM -i="C:\FDOS\WATCOM/h" -ml -d1 -w4 -e25 -zq\r
+\r
+C:\z\16\16\lib\x\MXPI.obj : C:\z\16\16\lib\x\MXPI.ASM .AUTODEPEND\r
+ @C:\r
+ cd C:\z\16\16\lib\x\r
+ *wasm MXPI.ASM -i="C:\FDOS\WATCOM/h" -ml -d1 -w4 -e25 -zq\r
+\r
+C:\z\16\16\lib\x\MXPN.obj : C:\z\16\16\lib\x\MXPN.ASM .AUTODEPEND\r
+ @C:\r
+ cd C:\z\16\16\lib\x\r
+ *wasm MXPN.ASM -i="C:\FDOS\WATCOM/h" -ml -d1 -w4 -e25 -zq\r
+\r
+C:\z\16\16\lib\x\MXPP.obj : C:\z\16\16\lib\x\MXPP.ASM .AUTODEPEND\r
+ @C:\r
+ cd C:\z\16\16\lib\x\r
+ *wasm MXPP.ASM -i="C:\FDOS\WATCOM/h" -ml -d1 -w4 -e25 -zq\r
+\r
+C:\z\16\16\lib\x\MXPT.obj : C:\z\16\16\lib\x\MXPT.ASM .AUTODEPEND\r
+ @C:\r
+ cd C:\z\16\16\lib\x\r
+ *wasm MXPT.ASM -i="C:\FDOS\WATCOM/h" -ml -d1 -w4 -e25 -zq\r
+\r
+C:\z\16\16\lib\x\MXRA.obj : C:\z\16\16\lib\x\MXRA.ASM .AUTODEPEND\r
+ @C:\r
+ cd C:\z\16\16\lib\x\r
+ *wasm MXRA.ASM -i="C:\FDOS\WATCOM/h" -ml -d1 -w4 -e25 -zq\r
+\r
+C:\z\16\16\lib\x\MXRP.obj : C:\z\16\16\lib\x\MXRP.ASM .AUTODEPEND\r
+ @C:\r
+ cd C:\z\16\16\lib\x\r
+ *wasm MXRP.ASM -i="C:\FDOS\WATCOM/h" -ml -d1 -w4 -e25 -zq\r
+\r
+C:\z\16\16\lib\x\MXSA.obj : C:\z\16\16\lib\x\MXSA.ASM .AUTODEPEND\r
+ @C:\r
+ cd C:\z\16\16\lib\x\r
+ *wasm MXSA.ASM -i="C:\FDOS\WATCOM/h" -ml -d1 -w4 -e25 -zq\r
+\r
+C:\z\16\16\lib\x\MXSC.obj : C:\z\16\16\lib\x\MXSC.ASM .AUTODEPEND\r
+ @C:\r
+ cd C:\z\16\16\lib\x\r
+ *wasm MXSC.ASM -i="C:\FDOS\WATCOM/h" -ml -d1 -w4 -e25 -zq\r
+\r
+C:\z\16\16\lib\x\MXSI.obj : C:\z\16\16\lib\x\MXSI.ASM .AUTODEPEND\r
+ @C:\r
+ cd C:\z\16\16\lib\x\r
+ *wasm MXSI.ASM -i="C:\FDOS\WATCOM/h" -ml -d1 -w4 -e25 -zq\r
+\r
+C:\z\16\16\lib\x\MXSL.obj : C:\z\16\16\lib\x\MXSL.ASM .AUTODEPEND\r
+ @C:\r
+ cd C:\z\16\16\lib\x\r
+ *wasm MXSL.ASM -i="C:\FDOS\WATCOM/h" -ml -d1 -w4 -e25 -zq\r
+\r
+C:\z\16\16\lib\x\MXSM.obj : C:\z\16\16\lib\x\MXSM.ASM .AUTODEPEND\r
+ @C:\r
+ cd C:\z\16\16\lib\x\r
+ *wasm MXSM.ASM -i="C:\FDOS\WATCOM/h" -ml -d1 -w4 -e25 -zq\r
+\r
+C:\z\16\16\lib\x\MXSP.obj : C:\z\16\16\lib\x\MXSP.ASM .AUTODEPEND\r
+ @C:\r
+ cd C:\z\16\16\lib\x\r
+ *wasm MXSP.ASM -i="C:\FDOS\WATCOM/h" -ml -d1 -w4 -e25 -zq\r
+\r
+C:\z\16\16\lib\x\MXSS.obj : C:\z\16\16\lib\x\MXSS.ASM .AUTODEPEND\r
+ @C:\r
+ cd C:\z\16\16\lib\x\r
+ *wasm MXSS.ASM -i="C:\FDOS\WATCOM/h" -ml -d1 -w4 -e25 -zq\r
+\r
+C:\z\16\16\lib\x\MXTL.obj : C:\z\16\16\lib\x\MXTL.ASM .AUTODEPEND\r
+ @C:\r
+ cd C:\z\16\16\lib\x\r
+ *wasm MXTL.ASM -i="C:\FDOS\WATCOM/h" -ml -d1 -w4 -e25 -zq\r
+\r
+C:\z\16\16\lib\x\MXVS.obj : C:\z\16\16\lib\x\MXVS.ASM .AUTODEPEND\r
+ @C:\r
+ cd C:\z\16\16\lib\x\r
+ *wasm MXVS.ASM -i="C:\FDOS\WATCOM/h" -ml -d1 -w4 -e25 -zq\r
+\r
+C:\z\16\16\lib\x\MXWD.obj : C:\z\16\16\lib\x\MXWD.ASM .AUTODEPEND\r
+ @C:\r
+ cd C:\z\16\16\lib\x\r
+ *wasm MXWD.ASM -i="C:\FDOS\WATCOM/h" -ml -d1 -w4 -e25 -zq\r
+\r
+C:\z\16\16\lib\x\MXWM.obj : C:\z\16\16\lib\x\MXWM.ASM .AUTODEPEND\r
+ @C:\r
+ cd C:\z\16\16\lib\x\r
+ *wasm MXWM.ASM -i="C:\FDOS\WATCOM/h" -ml -d1 -w4 -e25 -zq\r
+\r
+C:\z\16\16\lib\x\MXWP.obj : C:\z\16\16\lib\x\MXWP.ASM .AUTODEPEND\r
+ @C:\r
+ cd C:\z\16\16\lib\x\r
+ *wasm MXWP.ASM -i="C:\FDOS\WATCOM/h" -ml -d1 -w4 -e25 -zq\r
+\r
+C:\z\16\16\lib\x\MXWR.obj : C:\z\16\16\lib\x\MXWR.ASM .AUTODEPEND\r
+ @C:\r
+ cd C:\z\16\16\lib\x\r
+ *wasm MXWR.ASM -i="C:\FDOS\WATCOM/h" -ml -d1 -w4 -e25 -zq\r
+\r
+C:\z\16\16\lib\x\modex.lib : C:\z\16\16\lib\x\MXBB.obj C:\z\16\16\lib\x\MXCC&\r
+.obj C:\z\16\16\lib\x\MXCG.obj C:\z\16\16\lib\x\MXCL.obj C:\z\16\16\lib\x\MX&\r
+CR.obj C:\z\16\16\lib\x\MXEL.obj C:\z\16\16\lib\x\MXFB.obj C:\z\16\16\lib\x\&\r
+MXFP.obj C:\z\16\16\lib\x\MXGC.obj C:\z\16\16\lib\x\MXGI.obj C:\z\16\16\lib\&\r
+x\MXGM.obj C:\z\16\16\lib\x\MXGP.obj C:\z\16\16\lib\x\MXGV.obj C:\z\16\16\li&\r
+b\x\MXHL.obj C:\z\16\16\lib\x\MXIT.obj C:\z\16\16\lib\x\MXLL.obj C:\z\16\16\&\r
+lib\x\MXLN.obj C:\z\16\16\lib\x\MXOT.obj C:\z\16\16\lib\x\MXPB.obj C:\z\16\1&\r
+6\lib\x\MXPF.obj C:\z\16\16\lib\x\MXPG.obj C:\z\16\16\lib\x\MXPI.obj C:\z\16&\r
+\16\lib\x\MXPN.obj C:\z\16\16\lib\x\MXPP.obj C:\z\16\16\lib\x\MXPT.obj C:\z\&\r
+16\16\lib\x\MXRA.obj C:\z\16\16\lib\x\MXRP.obj C:\z\16\16\lib\x\MXSA.obj C:\&\r
+z\16\16\lib\x\MXSC.obj C:\z\16\16\lib\x\MXSI.obj C:\z\16\16\lib\x\MXSL.obj C&\r
+:\z\16\16\lib\x\MXSM.obj C:\z\16\16\lib\x\MXSP.obj C:\z\16\16\lib\x\MXSS.obj&\r
+ C:\z\16\16\lib\x\MXTL.obj C:\z\16\16\lib\x\MXVS.obj C:\z\16\16\lib\x\MXWD.o&\r
+bj C:\z\16\16\lib\x\MXWM.obj C:\z\16\16\lib\x\MXWP.obj C:\z\16\16\lib\x\MXWR&\r
+.obj C:\z\16\16\lib\x\MODEX.DEF C:\z\16\16\lib\x\MODEX.H .AUTODEPEND\r
+ @C:\r
+ cd C:\z\16\16\lib\x\r
+ %create modex.lb1\r
+!ifneq BLANK "MXBB.obj MXCC.obj MXCG.obj MXCL.obj MXCR.obj MXEL.obj MXFB.obj&\r
+ MXFP.obj MXGC.obj MXGI.obj MXGM.obj MXGP.obj MXGV.obj MXHL.obj MXIT.obj MXL&\r
+L.obj MXLN.obj MXOT.obj MXPB.obj MXPF.obj MXPG.obj MXPI.obj MXPN.obj MXPP.ob&\r
+j MXPT.obj MXRA.obj MXRP.obj MXSA.obj MXSC.obj MXSI.obj MXSL.obj MXSM.obj MX&\r
+SP.obj MXSS.obj MXTL.obj MXVS.obj MXWD.obj MXWM.obj MXWP.obj MXWR.obj"\r
+ @for %i in (MXBB.obj MXCC.obj MXCG.obj MXCL.obj MXCR.obj MXEL.obj MXFB.obj &\r
+MXFP.obj MXGC.obj MXGI.obj MXGM.obj MXGP.obj MXGV.obj MXHL.obj MXIT.obj MXLL&\r
+.obj MXLN.obj MXOT.obj MXPB.obj MXPF.obj MXPG.obj MXPI.obj MXPN.obj MXPP.obj&\r
+ MXPT.obj MXRA.obj MXRP.obj MXSA.obj MXSC.obj MXSI.obj MXSL.obj MXSM.obj MXS&\r
+P.obj MXSS.obj MXTL.obj MXVS.obj MXWD.obj MXWM.obj MXWP.obj MXWR.obj) do @%a&\r
+ppend modex.lb1 +'%i'\r
+!endif\r
+!ifneq BLANK ""\r
+ @for %i in () do @%append modex.lb1 +'%i'\r
+!endif\r
+ *wlib -c -n -q -p=512 -irn -inn modex.lib @modex.lb1\r
+\r
diff --git a/16/lib/x/modex.tgt b/16/lib/x/modex.tgt
new file mode 100644 (file)
index 0000000..c59015e
--- /dev/null
@@ -0,0 +1,948 @@
+40\r
+targetIdent\r
+0\r
+MProject\r
+1\r
+MComponent\r
+0\r
+2\r
+WString\r
+3\r
+LIB\r
+3\r
+WString\r
+5\r
+d_6s9\r
+1\r
+0\r
+1\r
+4\r
+MCommand\r
+0\r
+5\r
+MCommand\r
+0\r
+6\r
+MItem\r
+9\r
+modex.lib\r
+7\r
+WString\r
+3\r
+LIB\r
+8\r
+WVList\r
+5\r
+9\r
+MCState\r
+10\r
+WString\r
+4\r
+WLIB\r
+11\r
+WString\r
+27\r
+???s?Don't create .bak file\r
+1\r
+0\r
+12\r
+MRState\r
+13\r
+WString\r
+4\r
+WLIB\r
+14\r
+WString\r
+18\r
+???s?Do not import\r
+1\r
+0\r
+15\r
+MRState\r
+16\r
+WString\r
+4\r
+WLIB\r
+17\r
+WString\r
+19\r
+???s?Import by name\r
+1\r
+1\r
+18\r
+MRState\r
+19\r
+WString\r
+4\r
+WLIB\r
+20\r
+WString\r
+18\r
+???s?Do not import\r
+1\r
+0\r
+21\r
+MRState\r
+22\r
+WString\r
+4\r
+WLIB\r
+23\r
+WString\r
+19\r
+???s?Import by name\r
+1\r
+1\r
+24\r
+WVList\r
+1\r
+25\r
+ActionStates\r
+26\r
+WString\r
+5\r
+&Make\r
+27\r
+WVList\r
+2\r
+28\r
+MCState\r
+29\r
+WString\r
+5\r
+WMAKE\r
+30\r
+WString\r
+21\r
+?????Make all targets\r
+1\r
+1\r
+31\r
+MCState\r
+32\r
+WString\r
+5\r
+WMAKE\r
+33\r
+WString\r
+23\r
+?????Do not erase files\r
+1\r
+1\r
+-1\r
+1\r
+1\r
+0\r
+34\r
+WPickList\r
+45\r
+35\r
+MItem\r
+5\r
+*.ASM\r
+36\r
+WString\r
+6\r
+ASMOBJ\r
+37\r
+WVList\r
+0\r
+38\r
+WVList\r
+0\r
+-1\r
+1\r
+1\r
+0\r
+39\r
+MItem\r
+8\r
+MXBB.ASM\r
+40\r
+WString\r
+6\r
+ASMOBJ\r
+41\r
+WVList\r
+0\r
+42\r
+WVList\r
+0\r
+35\r
+1\r
+1\r
+0\r
+43\r
+MItem\r
+8\r
+MXCC.ASM\r
+44\r
+WString\r
+6\r
+ASMOBJ\r
+45\r
+WVList\r
+0\r
+46\r
+WVList\r
+0\r
+35\r
+1\r
+1\r
+0\r
+47\r
+MItem\r
+8\r
+MXCG.ASM\r
+48\r
+WString\r
+6\r
+ASMOBJ\r
+49\r
+WVList\r
+0\r
+50\r
+WVList\r
+0\r
+35\r
+1\r
+1\r
+0\r
+51\r
+MItem\r
+8\r
+MXCL.ASM\r
+52\r
+WString\r
+6\r
+ASMOBJ\r
+53\r
+WVList\r
+0\r
+54\r
+WVList\r
+0\r
+35\r
+1\r
+1\r
+0\r
+55\r
+MItem\r
+8\r
+MXCR.ASM\r
+56\r
+WString\r
+6\r
+ASMOBJ\r
+57\r
+WVList\r
+0\r
+58\r
+WVList\r
+0\r
+35\r
+1\r
+1\r
+0\r
+59\r
+MItem\r
+8\r
+MXEL.ASM\r
+60\r
+WString\r
+6\r
+ASMOBJ\r
+61\r
+WVList\r
+0\r
+62\r
+WVList\r
+0\r
+35\r
+1\r
+1\r
+0\r
+63\r
+MItem\r
+8\r
+MXFB.ASM\r
+64\r
+WString\r
+6\r
+ASMOBJ\r
+65\r
+WVList\r
+0\r
+66\r
+WVList\r
+0\r
+35\r
+1\r
+1\r
+0\r
+67\r
+MItem\r
+8\r
+MXFP.ASM\r
+68\r
+WString\r
+6\r
+ASMOBJ\r
+69\r
+WVList\r
+0\r
+70\r
+WVList\r
+0\r
+35\r
+1\r
+1\r
+0\r
+71\r
+MItem\r
+8\r
+MXGC.ASM\r
+72\r
+WString\r
+6\r
+ASMOBJ\r
+73\r
+WVList\r
+0\r
+74\r
+WVList\r
+0\r
+35\r
+1\r
+1\r
+0\r
+75\r
+MItem\r
+8\r
+MXGI.ASM\r
+76\r
+WString\r
+6\r
+ASMOBJ\r
+77\r
+WVList\r
+0\r
+78\r
+WVList\r
+0\r
+35\r
+1\r
+1\r
+0\r
+79\r
+MItem\r
+8\r
+MXGM.ASM\r
+80\r
+WString\r
+6\r
+ASMOBJ\r
+81\r
+WVList\r
+0\r
+82\r
+WVList\r
+0\r
+35\r
+1\r
+1\r
+0\r
+83\r
+MItem\r
+8\r
+MXGP.ASM\r
+84\r
+WString\r
+6\r
+ASMOBJ\r
+85\r
+WVList\r
+0\r
+86\r
+WVList\r
+0\r
+35\r
+1\r
+1\r
+0\r
+87\r
+MItem\r
+8\r
+MXGV.ASM\r
+88\r
+WString\r
+6\r
+ASMOBJ\r
+89\r
+WVList\r
+0\r
+90\r
+WVList\r
+0\r
+35\r
+1\r
+1\r
+0\r
+91\r
+MItem\r
+8\r
+MXHL.ASM\r
+92\r
+WString\r
+6\r
+ASMOBJ\r
+93\r
+WVList\r
+0\r
+94\r
+WVList\r
+0\r
+35\r
+1\r
+1\r
+0\r
+95\r
+MItem\r
+8\r
+MXIT.ASM\r
+96\r
+WString\r
+6\r
+ASMOBJ\r
+97\r
+WVList\r
+0\r
+98\r
+WVList\r
+0\r
+35\r
+1\r
+1\r
+0\r
+99\r
+MItem\r
+8\r
+MXLL.ASM\r
+100\r
+WString\r
+6\r
+ASMOBJ\r
+101\r
+WVList\r
+0\r
+102\r
+WVList\r
+0\r
+35\r
+1\r
+1\r
+0\r
+103\r
+MItem\r
+8\r
+MXLN.ASM\r
+104\r
+WString\r
+6\r
+ASMOBJ\r
+105\r
+WVList\r
+0\r
+106\r
+WVList\r
+0\r
+35\r
+1\r
+1\r
+0\r
+107\r
+MItem\r
+8\r
+MXOT.ASM\r
+108\r
+WString\r
+6\r
+ASMOBJ\r
+109\r
+WVList\r
+0\r
+110\r
+WVList\r
+0\r
+35\r
+1\r
+1\r
+0\r
+111\r
+MItem\r
+8\r
+MXPB.ASM\r
+112\r
+WString\r
+6\r
+ASMOBJ\r
+113\r
+WVList\r
+0\r
+114\r
+WVList\r
+0\r
+35\r
+1\r
+1\r
+0\r
+115\r
+MItem\r
+8\r
+MXPF.ASM\r
+116\r
+WString\r
+6\r
+ASMOBJ\r
+117\r
+WVList\r
+0\r
+118\r
+WVList\r
+0\r
+35\r
+1\r
+1\r
+0\r
+119\r
+MItem\r
+8\r
+MXPG.ASM\r
+120\r
+WString\r
+6\r
+ASMOBJ\r
+121\r
+WVList\r
+0\r
+122\r
+WVList\r
+0\r
+35\r
+1\r
+1\r
+0\r
+123\r
+MItem\r
+8\r
+MXPI.ASM\r
+124\r
+WString\r
+6\r
+ASMOBJ\r
+125\r
+WVList\r
+0\r
+126\r
+WVList\r
+0\r
+35\r
+1\r
+1\r
+0\r
+127\r
+MItem\r
+8\r
+MXPN.ASM\r
+128\r
+WString\r
+6\r
+ASMOBJ\r
+129\r
+WVList\r
+0\r
+130\r
+WVList\r
+0\r
+35\r
+1\r
+1\r
+0\r
+131\r
+MItem\r
+8\r
+MXPP.ASM\r
+132\r
+WString\r
+6\r
+ASMOBJ\r
+133\r
+WVList\r
+0\r
+134\r
+WVList\r
+0\r
+35\r
+1\r
+1\r
+0\r
+135\r
+MItem\r
+8\r
+MXPT.ASM\r
+136\r
+WString\r
+6\r
+ASMOBJ\r
+137\r
+WVList\r
+0\r
+138\r
+WVList\r
+0\r
+35\r
+1\r
+1\r
+0\r
+139\r
+MItem\r
+8\r
+MXRA.ASM\r
+140\r
+WString\r
+6\r
+ASMOBJ\r
+141\r
+WVList\r
+0\r
+142\r
+WVList\r
+0\r
+35\r
+1\r
+1\r
+0\r
+143\r
+MItem\r
+8\r
+MXRP.ASM\r
+144\r
+WString\r
+6\r
+ASMOBJ\r
+145\r
+WVList\r
+0\r
+146\r
+WVList\r
+0\r
+35\r
+1\r
+1\r
+0\r
+147\r
+MItem\r
+8\r
+MXSA.ASM\r
+148\r
+WString\r
+6\r
+ASMOBJ\r
+149\r
+WVList\r
+0\r
+150\r
+WVList\r
+0\r
+35\r
+1\r
+1\r
+0\r
+151\r
+MItem\r
+8\r
+MXSC.ASM\r
+152\r
+WString\r
+6\r
+ASMOBJ\r
+153\r
+WVList\r
+0\r
+154\r
+WVList\r
+0\r
+35\r
+1\r
+1\r
+0\r
+155\r
+MItem\r
+8\r
+MXSI.ASM\r
+156\r
+WString\r
+6\r
+ASMOBJ\r
+157\r
+WVList\r
+0\r
+158\r
+WVList\r
+0\r
+35\r
+1\r
+1\r
+0\r
+159\r
+MItem\r
+8\r
+MXSL.ASM\r
+160\r
+WString\r
+6\r
+ASMOBJ\r
+161\r
+WVList\r
+0\r
+162\r
+WVList\r
+0\r
+35\r
+1\r
+1\r
+0\r
+163\r
+MItem\r
+8\r
+MXSM.ASM\r
+164\r
+WString\r
+6\r
+ASMOBJ\r
+165\r
+WVList\r
+0\r
+166\r
+WVList\r
+0\r
+35\r
+1\r
+1\r
+0\r
+167\r
+MItem\r
+8\r
+MXSP.ASM\r
+168\r
+WString\r
+6\r
+ASMOBJ\r
+169\r
+WVList\r
+0\r
+170\r
+WVList\r
+0\r
+35\r
+1\r
+1\r
+0\r
+171\r
+MItem\r
+8\r
+MXSS.ASM\r
+172\r
+WString\r
+6\r
+ASMOBJ\r
+173\r
+WVList\r
+0\r
+174\r
+WVList\r
+0\r
+35\r
+1\r
+1\r
+0\r
+175\r
+MItem\r
+8\r
+MXTL.ASM\r
+176\r
+WString\r
+6\r
+ASMOBJ\r
+177\r
+WVList\r
+0\r
+178\r
+WVList\r
+0\r
+35\r
+1\r
+1\r
+0\r
+179\r
+MItem\r
+8\r
+MXVS.ASM\r
+180\r
+WString\r
+6\r
+ASMOBJ\r
+181\r
+WVList\r
+0\r
+182\r
+WVList\r
+0\r
+35\r
+1\r
+1\r
+0\r
+183\r
+MItem\r
+8\r
+MXWD.ASM\r
+184\r
+WString\r
+6\r
+ASMOBJ\r
+185\r
+WVList\r
+0\r
+186\r
+WVList\r
+0\r
+35\r
+1\r
+1\r
+0\r
+187\r
+MItem\r
+8\r
+MXWM.ASM\r
+188\r
+WString\r
+6\r
+ASMOBJ\r
+189\r
+WVList\r
+0\r
+190\r
+WVList\r
+0\r
+35\r
+1\r
+1\r
+0\r
+191\r
+MItem\r
+8\r
+MXWP.ASM\r
+192\r
+WString\r
+6\r
+ASMOBJ\r
+193\r
+WVList\r
+0\r
+194\r
+WVList\r
+0\r
+35\r
+1\r
+1\r
+0\r
+195\r
+MItem\r
+8\r
+MXWR.ASM\r
+196\r
+WString\r
+6\r
+ASMOBJ\r
+197\r
+WVList\r
+0\r
+198\r
+WVList\r
+0\r
+35\r
+1\r
+1\r
+0\r
+199\r
+MItem\r
+5\r
+*.DEF\r
+200\r
+WString\r
+3\r
+NIL\r
+201\r
+WVList\r
+0\r
+202\r
+WVList\r
+0\r
+-1\r
+1\r
+1\r
+0\r
+203\r
+MItem\r
+9\r
+MODEX.DEF\r
+204\r
+WString\r
+3\r
+NIL\r
+205\r
+WVList\r
+0\r
+206\r
+WVList\r
+0\r
+199\r
+1\r
+1\r
+0\r
+207\r
+MItem\r
+3\r
+*.H\r
+208\r
+WString\r
+3\r
+NIL\r
+209\r
+WVList\r
+0\r
+210\r
+WVList\r
+0\r
+-1\r
+1\r
+1\r
+0\r
+211\r
+MItem\r
+7\r
+MODEX.H\r
+212\r
+WString\r
+3\r
+NIL\r
+213\r
+WVList\r
+0\r
+214\r
+WVList\r
+0\r
+207\r
+1\r
+1\r
+0\r
diff --git a/16/lib/x/modex.wpj b/16/lib/x/modex.wpj
new file mode 100644 (file)
index 0000000..0acca46
--- /dev/null
@@ -0,0 +1,43 @@
+40\r
+projectIdent\r
+0\r
+VpeMain\r
+1\r
+WRect\r
+-40\r
+-53\r
+10320\r
+9973\r
+2\r
+MProject\r
+3\r
+MCommand\r
+0\r
+4\r
+MCommand\r
+0\r
+1\r
+5\r
+WFileName\r
+9\r
+modex.tgt\r
+6\r
+WVList\r
+1\r
+7\r
+VComponent\r
+8\r
+WRect\r
+0\r
+0\r
+5700\r
+4293\r
+0\r
+0\r
+9\r
+WFileName\r
+9\r
+modex.tgt\r
+26\r
+0\r
+7\r
index ccfde16..45108a7 100644 (file)
--- a/16/x.bat
+++ b/16/x.bat
@@ -1,3 +1,3 @@
 wpp /d1 /0 /ml dos_gfx\r
-wlink file dos_gfx,lib\x\*.obj LIBP lib\x LIBFILE modex name dos_gfx\r
+wlink file dos_gfx,lib\x\*.obj library lib\x\modex.lib name dos_gfx
 copy /y dos_gfx.exe c:\z\bakapi.exe\r
index b828bf1..a65f04d 100644 (file)
--- a/16/xx.bat
+++ b/16/xx.bat
@@ -1,4 +1,5 @@
-cd lib\x\r
+cd lib\x
+rem del *~1.*\r
 call compile\r
 call make\r
 cd ..\r