From: sparky4 Date: Thu, 22 May 2014 22:19:05 +0000 (-0500) Subject: modified: 16/DOS_GFX.OBJ X-Git-Url: http://4ch.mooo.com/gitweb/?a=commitdiff_plain;h=e65b5401f0f5a953ca2e69d99fa927635e42fd41;p=16.git modified: 16/DOS_GFX.OBJ 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 --- diff --git a/16/DOS_GFX.OBJ b/16/DOS_GFX.OBJ index d5b35927..23a5a035 100644 Binary files a/16/DOS_GFX.OBJ and b/16/DOS_GFX.OBJ differ diff --git a/16/Project 16.bfproject b/16/Project 16.bfproject index af88c95d..90a63e85 100644 --- a/16/Project 16.bfproject +++ b/16/Project 16.bfproject @@ -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 diff --git a/16/dos_gfx.cpp b/16/dos_gfx.cpp index b3bd3155..3fb7b683 100644 --- a/16/dos_gfx.cpp +++ b/16/dos_gfx.cpp @@ -6,20 +6,20 @@ * * Simple graphics library to accompany the article * - * INTRODUCTION TO MODE X. + * INTRODUCTION TO MODE X. * * This library provides the basic functions for initializing and using * unchained (planar) 256-color VGA modes. Currently supported are: * - * - 320x200 - * - 320x240 + * - 320x200 + * - 320x240 * * Functions are provided for: * - * - initializing one of the available modes - * - setting the start address of the VGA refresh data - * - setting active and visible display pages - * - writing and reading a single pixel to/from video memory + * - initializing one of the available modes + * - setting the start address of the VGA refresh data + * - setting active and visible display pages + * - writing and reading a single pixel to/from video memory * * The library is provided as a demonstration only, and is not claimed * to be particularly efficient or suited for any purpose. It has only @@ -76,18 +76,18 @@ byte coor; /* * Define the port addresses of some VGA registers. */ -#define CRTC_ADDR 0x3d4 /* Base port of the CRT Controller (color) */ +#define CRTC_ADDR 0x3d4 /* Base port of the CRT Controller (color) */ -#define SEQU_ADDR 0x3c4 /* Base port of the Sequencer */ -#define GRAC_ADDR 0x3ce /* Base port of the Graphics Controller */ +#define SEQU_ADDR 0x3c4 /* Base port of the Sequencer */ +#define GRAC_ADDR 0x3ce /* Base port of the Graphics Controller */ #define STATUS_ADDR 0x3DA unsigned char *RowsX[600]; unsigned char write_plane, read_plane; unsigned short text_mask[16] = { 0x0002, 0x0102, 0x0202, 0x0302, - 0x0402, 0x0502, 0x0602, 0x0702, - 0x0802, 0x0902, 0x0A02, 0x0B02, - 0x0C02, 0x0D02, 0x0E02, 0x0F02 }; + 0x0402, 0x0502, 0x0602, 0x0702, + 0x0802, 0x0902, 0x0A02, 0x0B02, + 0x0C02, 0x0D02, 0x0E02, 0x0F02 }; /* @@ -112,48 +112,48 @@ unsigned actStart, visStart; /* * set320x200x256_X() - * sets mode 13h, then turns it into an unchained (planar), 4-page - * 320x200x256 mode. + * sets mode 13h, then turns it into an unchained (planar), 4-page + * 320x200x256 mode. */ void set320x200x256_X(void) - { - union REGS r; + { + union REGS r; - /* Set VGA BIOS mode 13h: */ - r.x.ax = 0x0013; - int86(0x10, &r, &r); + /* Set VGA BIOS mode 13h: */ + r.x.ax = 0x0013; + int86(0x10, &r, &r); - /* Turn off the Chain-4 bit (bit 3 at index 4, port 0x3c4): */ - outpw(SEQU_ADDR, 0x0604); + /* Turn off the Chain-4 bit (bit 3 at index 4, port 0x3c4): */ + outpw(SEQU_ADDR, 0x0604); - /* Turn off word mode, by setting the Mode Control register - of the CRT Controller (index 0x17, port 0x3d4): */ - outpw(CRTC_ADDR, 0xE317); + /* Turn off word mode, by setting the Mode Control register + of the CRT Controller (index 0x17, port 0x3d4): */ + outpw(CRTC_ADDR, 0xE317); - /* Turn off doubleword mode, by setting the Underline Location - register (index 0x14, port 0x3d4): */ - outpw(CRTC_ADDR, 0x0014); + /* Turn off doubleword mode, by setting the Underline Location + register (index 0x14, port 0x3d4): */ + outpw(CRTC_ADDR, 0x0014); - /* Clear entire video memory, by selecting all four planes, then - writing 0 to entire segment. */ - outpw(SEQU_ADDR, 0x0F02); - memset(vga+1, 0, 0xffff); /* stupid size_t exactly 1 too small */ - vga[0] = 0; + /* Clear entire video memory, by selecting all four planes, then + writing 0 to entire segment. */ + outpw(SEQU_ADDR, 0x0F02); + memset(vga+1, 0, 0xffff); /* stupid size_t exactly 1 too small */ + vga[0] = 0; - /* Update the global variables to reflect dimensions of this - mode. This is needed by most future drawing operations. */ - width = 320; - height = 200; + /* Update the global variables to reflect dimensions of this + mode. This is needed by most future drawing operations. */ + width = 320; + height = 200; - /* Each byte addresses four pixels, so the width of a scan line - in *bytes* is one fourth of the number of pixels on a line. */ - widthBytes = width / 4; + /* Each byte addresses four pixels, so the width of a scan line + in *bytes* is one fourth of the number of pixels on a line. */ + widthBytes = width / 4; - /* By default we want screen refreshing and drawing operations - to be based at offset 0 in the video segment. */ - actStart = visStart = 0; + /* By default we want screen refreshing and drawing operations + to be based at offset 0 in the video segment. */ + actStart = visStart = 0; - /* + /* -------------------- HORIZONTAL SCROLLING -------------------- @@ -191,16 +191,16 @@ OUT value TO PORT 3C0H (where "value" is the ----------------------------------------------- */ - } + } /* * setActiveStart() tells our graphics operations which address in video * memory should be considered the top left corner. */ void setActiveStart(unsigned offset) - { - actStart = offset; - } + { + actStart = offset; + } /* * setVisibleStart() tells the VGA from which byte to fetch the first @@ -211,13 +211,13 @@ void setActiveStart(unsigned offset) * set, but before the low byte is set, which produces a bad flicker. */ void setVisibleStart(unsigned offset) - { - visStart = offset; - outpw(CRTC_ADDR, 0x0C); /* set high byte */ - outpw(CRTC_ADDR+1, visStart >> 8); - outpw(CRTC_ADDR, 0x0D); /* set low byte */ - outpw(CRTC_ADDR+1, visStart & 0xff); - } + { + visStart = offset; + outpw(CRTC_ADDR, 0x0C); /* set high byte */ + outpw(CRTC_ADDR+1, visStart >> 8); + outpw(CRTC_ADDR, 0x0D); /* set low byte */ + outpw(CRTC_ADDR+1, visStart & 0xff); + } /* * setXXXPage() sets the specified page by multiplying the page number @@ -226,78 +226,79 @@ void setVisibleStart(unsigned offset) * function. The first page is number 0. */ void setActivePage(int page) - { - setActiveStart(page * widthBytes * height); - } + { + setActiveStart(page * widthBytes * height); + } void setVisiblePage(int page) - { - setVisibleStart(page * widthBytes * height); - } + { + setVisibleStart(page * widthBytes * height); + } void putPixel_X(int x, int y, byte color) - { - /* Each address accesses four neighboring pixels, so set - Write Plane Enable according to which pixel we want - to modify. The plane is determined by the two least - significant bits of the x-coordinate: */ - outp(0x3c4, 0x02); - outp(0x3c5, 0x01 << (x & 3)); - - /* The offset of the pixel into the video segment is - offset = (width * y + x) / 4, and write the given - color to the plane we selected above. Heed the active - page start selection. */ - vga[(unsigned)(widthBytes * y) + (x / 4) + actStart] = color; - - } + { + /* Each address accesses four neighboring pixels, so set + Write Plane Enable according to which pixel we want + to modify. The plane is determined by the two least + significant bits of the x-coordinate: */ + outp(0x3c4, 0x02); + outp(0x3c5, 0x01 << (x & 3)); + + /* The offset of the pixel into the video segment is + offset = (width * y + x) / 4, and write the given + color to the plane we selected above. Heed the active + page start selection. */ + vga[(unsigned)(widthBytes * y) + (x / 4) + actStart] = color; + + } byte getPixel_X(int x, int y) - { - /* Select the plane from which we must read the pixel color: */ - outpw(GRAC_ADDR, 0x04); - outpw(GRAC_ADDR+1, x & 3); + { + /* Select the plane from which we must read the pixel color: */ + outpw(GRAC_ADDR, 0x04); + outpw(GRAC_ADDR+1, x & 3); - return vga[(unsigned)(widthBytes * y) + (x / 4) + actStart]; + return vga[(unsigned)(widthBytes * y) + (x / 4) + actStart]; - } + } void set320x240x256_X(void) - { - /* Set the unchained version of mode 13h: */ - set320x200x256_X(); - - /* Modify the vertical sync polarity bits in the Misc. Output - Register to achieve square aspect ratio: */ - outp(0x3C2, 0xE3); - - /* Modify the vertical timing registers to reflect the increased - vertical resolution, and to center the image as good as - possible: */ - outpw(0x3D4, 0x2C11); /* turn off write protect */ - outpw(0x3D4, 0x0D06); /* vertical total */ - outpw(0x3D4, 0x3E07); /* overflow register */ - outpw(0x3D4, 0xEA10); /* vertical retrace start */ - outpw(0x3D4, 0xAC11); /* vertical retrace end AND wr.prot */ - outpw(0x3D4, 0xDF12); /* vertical display enable end */ - outpw(0x3D4, 0xE715); /* start vertical blanking */ - outpw(0x3D4, 0x0616); /* end vertical blanking */ - - /* Update mode info, so future operations are aware of the - resolution */ - height = 240; - -//*$pragma aux mxSetVirtualScreen "MXSETVIRTUALSCREEN" -//mxSetVirtualScreen(480,360); - } + { + /* Set the unchained version of mode 13h: */ + set320x200x256_X(); + + /* Modify the vertical sync polarity bits in the Misc. Output + Register to achieve square aspect ratio: */ + outp(0x3C2, 0xE3); + + /* Modify the vertical timing registers to reflect the increased + vertical resolution, and to center the image as good as + possible: */ + outpw(0x3D4, 0x2C11); /* turn off write protect */ + outpw(0x3D4, 0x0D06); /* vertical total */ + outpw(0x3D4, 0x3E07); /* overflow register */ + outpw(0x3D4, 0xEA10); /* vertical retrace start */ + outpw(0x3D4, 0xAC11); /* vertical retrace end AND wr.prot */ + outpw(0x3D4, 0xDF12); /* vertical display enable end */ + outpw(0x3D4, 0xE715); /* start vertical blanking */ + outpw(0x3D4, 0x0616); /* end vertical blanking */ + + /* Update mode info, so future operations are aware of the + resolution */ + height = 240; + +//#pragma aux mxSetVirtualScreen "_" +//void mxSetVirtualScreen(unsigned short int width, unsigned short int height); +mxSetVirtualScreen(480,360); + } /*-----------XXXX-------------*/ ///////////////////////////////////////////////////////////////////////////// -// // -// WaitRetrace() - This waits until you are in a Verticle Retrace. // -// // +// // +// WaitRetrace() - This waits until you are in a Verticle Retrace. // +// // ///////////////////////////////////////////////////////////////////////////// void wait_for_retrace(void) { @@ -305,17 +306,17 @@ void wait_for_retrace(void) } ///////////////////////////////////////////////////////////////////////////// -// // -// MoveTo() - This moves to position X*4 on a chain 4 screen. // -// Note: As soon as I find documentation, this function // -// will be better documented. - Snowman // -// // +// // +// MoveTo() - This moves to position X*4 on a chain 4 screen. // +// Note: As soon as I find documentation, this function // +// will be better documented. - Snowman // +// // ///////////////////////////////////////////////////////////////////////////// /* void MoveTo (word X, word Y) { -// word O = Y*SIZE*2+X; - word O = Y*widthBytes*2+X; +// word O = Y*SIZE*2+X; + word O = Y*widthBytes*2+X; asm { mov bx, [O] @@ -331,69 +332,6 @@ void MoveTo (word X, word Y) { out dx, ax } -;----------------------------------------------------------- -; -; MXPN.ASM - Panning function -; Copyright (c) 1993,1994 by Alessandro Scotti -; -;----------------------------------------------------------- -;WARN PRO -#pragma aux mxPan = \ -"INCLUDE MODEX.DEF" \ - - - -"EXTRN mxWaitDisplay : FAR" \ -"EXTRN mxStartAddress : FAR" \ - -"MX_TEXT SEGMENT USE16 PARA PUBLIC 'CODE' - ASSUME cs:MX_TEXT, ds:NOTHING, es:NOTHING" \ - -"EXTRN mx_BytesPerLine : WORD" \ - -//;----------------------------------------------------------- -//; -//; Moves the screen. -//; -//; Input: -//; X, Y = new X, Y coordinates of view screen -//; Output: -//; none -//; -mxPan PROC FAR - ARG Y:WORD, \ - X:WORD = ARG_SIZE - ASSUME ds:NOTHING - .enter 0 - - mov ax, [Y] - mul [mx_BytesPerLine] - mov dx, [X] - shr dx, 1 - shr dx, 1 - add ax, dx - push ax ; Push the start address - call mxWaitDisplay - call mxStartAddress - - mov dx, 03DAh ; Set the pixel pan register - in al, dx - mov dx, 03C0h - mov al, 33h - out dx, al - mov al, BYTE PTR [X] - and al, 3 - shl al, 1 - out dx, al - - xor ax, ax - .leave ARG_SIZE -mxPan ENDP - -MX_TEXT ENDS -END - - } //Procedure Play; @@ -409,14 +347,14 @@ void Play() // for(loop1=0;loop1<=3;loop1++) // for(loop2=0;loop2<=5;loop2++) -// Putpic (loop1*160,loop2*66); // { This places the picture all over the - // chain-4 screen } +// Putpic (loop1*160,loop2*66); // { This places the picture all over the + // chain-4 screen } // getch(); // ch=0x0; // xpos=rand (78)+1; // ypos=rand (198)+1; // { Random start positions for the view } - xpos=0; - ypos=0; + xpos=0; + ypos=0; xdir=1; ydir=1; // while(1) @@ -427,61 +365,61 @@ void Play() ypos=ypos+ydir; if( (xpos>79) || (xpos<1))xdir=-xdir; if( (ypos>199) || (ypos<1))ydir=-ydir; // { Hit a boundry, change - // direction! } + // direction! } // if(_bios_keybrd(_KEYBRD_READY))ch=getch(); -// if(ch==0x71)break; // 'q' -// if(ch==0x1b)break; // 'ESC' +// if(ch==0x71)break; // 'q' +// if(ch==0x1b)break; // 'ESC' // } } */ /*tile*/ //king_crimson's code void putColorBox_X(int x, int y, int w, int h, byte color) { - outp(0x3c4, 0x02); - - int curx, cury; - unsigned drawptr; - for (curx=x; curx<(x+w); curx++) { - outp(0x3c5, 0x01 << (curx & 3)); - drawptr = (unsigned)(widthBytes * y) + (curx / 4) + actStart; - for (cury=0; cury0) - boingy=1; - - for(int ti=0;ti0) + boingy=1; + + for(int ti=0;ti> 2); - outp(0x3D4, Cols); - //setVisibleStart(visStart + (Cols * height)); - setVisibleStart(visStart + (Cols * width)); + wait_for_retrace(); + outp(0x3C0, 0x13); + outp(0x3C0, Cols & 3); + outp(0x3D4, 0x13); + outp(0x3D5, Cols >> 2); + outp(0x3D4, Cols); + //setVisibleStart(visStart + (Cols * height)); + setVisibleStart(visStart + (Cols * width)); } /*To implement smooth horizontal scrolling, you would do the following: @@ -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 standard X-mode addressing scheme with the OFFSET register set to 80. - ROW OFFSET - 0 0 ======================== - 1 80 [ ] - 2 160 [ ] - .. .. [ VISIBLE ] - [ SCREEN ] - [ ] - [ ] - .. .. [ ] - 199 15920 ======================== + ROW OFFSET + 0 0 ======================== + 1 80 [ ] + 2 160 [ ] + .. .. [ VISIBLE ] + [ SCREEN ] + [ ] + [ ] + .. .. [ ] + 199 15920 ======================== and the next diagram is of a modified addressing scheme with the OFFSET register set to 82 (to give us 4 extra pixels on each side of the screen) ROW OFFSET -0 0 ------========================------ -1 82 | V [ ] V | -2 164 | I [ ] I | -.. .. | N S [ VISIBLE ] N S | - | O I [ SCREEN ] O I | - | T B [ ] T B | - | L [ ] L | -.. .. | E [ ] E | +0 0 ------========================------ +1 82 | V [ ] V | +2 164 | I [ ] I | +.. .. | N S [ VISIBLE ] N S | + | O I [ SCREEN ] O I | + | T B [ ] T B | + | L [ ] L | +.. .. | E [ ] E | 199 16318 ------========================------ Beautiful!!! @@ -581,297 +519,297 @@ I'm sorry about this being so confusing but it's a bit difficult to explain. */ int loadfontX(char *fname) { - FILE *fp; + FILE *fp; - fp = fopen(fname, "rb"); + fp = fopen(fname, "rb"); - if (fp == NULL) { - return 0; - } else { - fread(Xfont, 8, 256, fp); - fclose(fp); - return 1; - } + if (fp == NULL) { + return 0; + } else { + fread(Xfont, 8, 256, fp); + fclose(fp); + return 1; + } } void putchX(cord x, cord y, char c, byte color) { - int i; - byte *vga_ptr; - byte *font_ptr; - byte temp; - - // 8x8 font - vga_ptr = RowsX[y << 3] + (x << 1) + actStart; - write_plane = -1; - - font_ptr = Xfont + (c << 3); - - i=8; - while (i--) { - temp = *font_ptr++; - outpw(SEQU_ADDR, text_mask[temp & 0x0F]); - *vga_ptr++ = color; - - outpw(SEQU_ADDR, text_mask[temp >> 4]); - *vga_ptr-- = color; - vga_ptr += widthBytes; - } + int i; + byte *vga_ptr; + byte *font_ptr; + byte temp; + + // 8x8 font + vga_ptr = RowsX[y << 3] + (x << 1) + actStart; + write_plane = -1; + + font_ptr = Xfont + (c << 3); + + i=8; + while (i--) { + temp = *font_ptr++; + outpw(SEQU_ADDR, text_mask[temp & 0x0F]); + *vga_ptr++ = color; + + outpw(SEQU_ADDR, text_mask[temp >> 4]); + *vga_ptr-- = color; + vga_ptr += widthBytes; + } } void putstringX(cord x, cord y, char *str, byte color) { - int i, skip; - byte *vga_ptr; - byte *font_ptr; - byte c, temp; + int i, skip; + byte *vga_ptr; + byte *font_ptr; + byte c, temp; - // 8x8 font - vga_ptr = RowsX[y << 3] + (x << 1) + actStart; - write_plane = -1; + // 8x8 font + vga_ptr = RowsX[y << 3] + (x << 1) + actStart; + write_plane = -1; - skip = 2 - (widthBytes << 3); + skip = 2 - (widthBytes << 3); - while (c = *str++) { - font_ptr = Xfont + (c << 3); + while (c = *str++) { + font_ptr = Xfont + (c << 3); - i=8; - while (i--) { - temp = *font_ptr++; - outpw(SEQU_ADDR, text_mask[temp & 0x0F]); - *vga_ptr++ = color; + i=8; + while (i--) { + temp = *font_ptr++; + outpw(SEQU_ADDR, text_mask[temp & 0x0F]); + *vga_ptr++ = color; - outpw(SEQU_ADDR, text_mask[temp >> 4]); - *vga_ptr-- = color; - vga_ptr += widthBytes; - } + outpw(SEQU_ADDR, text_mask[temp >> 4]); + *vga_ptr-- = color; + vga_ptr += widthBytes; + } - vga_ptr += skip; - } + vga_ptr += skip; + } } ///////////////////////////////////////////////////////////////////////////// -// // -// setvideo() - This function Manages the video modes // -// // +// // +// setvideo() - This function Manages the video modes // +// // ///////////////////////////////////////////////////////////////////////////// void setvideo(/*byte mode, */int vq){ - union REGS in, out; - - if(!vq){ // deinit the video - // change to the video mode we were in before we switched to mode 13h - in.h.ah = 0x00; - in.h.al = old_mode; - int86(0x10, &in, &out); - - }else if(vq == 1){ // init the video - // get old video mode - in.h.ah = 0xf; - int86(0x10, &in, &out); - old_mode = out.h.al; - - // enter mode - set320x240x256_X(); - } + union REGS in, out; + + if(!vq){ // deinit the video + // change to the video mode we were in before we switched to mode 13h + in.h.ah = 0x00; + in.h.al = old_mode; + int86(0x10, &in, &out); + + }else if(vq == 1){ // init the video + // get old video mode + in.h.ah = 0xf; + int86(0x10, &in, &out); + old_mode = out.h.al; + + // enter mode + set320x240x256_X(); + } } ///////////////////////////////////////////////////////////////////////////// -// // +// // // cls() - This clears the screen to the specified color, on the VGA or on // -// the Virtual screen. // -// // +// the Virtual screen. // +// // ///////////////////////////////////////////////////////////////////////////// void cls(byte color, byte *Where){ - _fmemset(Where, color, width*(height*17)); + _fmemset(Where, color, width*(height*17)); } //color ‚Ä‚·‚Æ int colortest(){ - if(gq < NUM_COLORS){ - cls(gq, vga); - gq++; - }else gq = 0; - return gq; + if(gq < NUM_COLORS){ + cls(gq, vga); + gq++; + }else gq = 0; + return gq; } //color ‚Ä‚·‚Æ int colorz(){ - if(gq < HGQ){ -//---- cls(gq, vaddr); - cls(gq, vga); - gq++; - }else gq = LGQ; - return gq; + if(gq < HGQ){ +//---- cls(gq, vaddr); + cls(gq, vga); + gq++; + }else gq = LGQ; + return gq; } //slow spectrum down void ssd(int svq){ - if(sy < height+1){ - if(sx < width+1){ - //plotpixel(xx, yy, coor, vga); - //ppf(sx, sy, coor, vga); - putPixel_X(sx, sy, coor); - //printf("%d %d %d %d\n", sx, sy, svq, coor); - sx++; - }else sx = 0; - if(sx == width){ - sy++; - if(svq == 7) coor++; - if(sy == height && svq == 8) coor = rand()%NUM_COLORS; - } - }else sy = 0; + if(sy < height+1){ + if(sx < width+1){ + //plotpixel(xx, yy, coor, vga); + //ppf(sx, sy, coor, vga); + putPixel_X(sx, sy, coor); + //printf("%d %d %d %d\n", sx, sy, svq, coor); + sx++; + }else sx = 0; + if(sx == width){ + sy++; + if(svq == 7) coor++; + if(sy == height && svq == 8) coor = rand()%NUM_COLORS; + } + }else sy = 0; } /*-----------ding-------------*/ int ding(int q){ -// if(yy0){ - yy++; - d3y--; - } - } - if(bakax<0){ - xx--; - }else - if(bakax>0){ - xx++; - } - }else{ - if(q==16) - { - if(!bakax){ - xx--;//=TILEWH; - }else if(bakax>0){ - xx++;//=TILEWH; - } - if(!bakay){ - yy--;//=TILEWH; - }else if(bakay>0){ - yy++;//=TILEWH; - } - }else{ - if(!bakax){ -// xx-=TILEWH; - xx--; - }else if(bakax>1){ -// xx+=TILEWH; - xx++; - } - if(!bakay){ -// yy-=TILEWH; - yy--; - }else if(bakay>1){ -// yy+=TILEWH; - yy++; - } - } - } - // fixer -// if(q!=16){ + if((q == 2 + ||q==4 + ||q==16 + ) && gq == BONK){ + if(coor < HGQ && coor < LGQ) coor = LGQ; + if(coor < HGQ-1){ + coor++; + }else{ coor = LGQ; + bakax = rand()%3; bakay = rand()%3; + } + } + + if(q==8){ colorz(); return gq; }else + if(q==10){ ssd(q); /*printf("%d\n", coor);*/ }else + if(q==5){ colortest(); return gq; }else + if(q==11){ colorz(); delay(100); return gq; } + if(q==6){ + coor = rand()%NUM_COLORS; +//---- cls(coor, vaddr); + cls(coor, vga); + //updatevbuff(); + } + + if(q==7||q==9){ + if(gq < HGQ){ + if(q == 7) ssd(q); + if(q == 9){ ssd(q); coor++; } + gq++; + }else gq = LGQ; + } + if((q<5 && gq0){ + yy++; + d3y--; + } + } + if(bakax<0){ + xx--; + }else + if(bakax>0){ + xx++; + } + }else{ + if(q==16) + { + if(!bakax){ + xx--;//=TILEWH; + }else if(bakax>0){ + xx++;//=TILEWH; + } + if(!bakay){ + yy--;//=TILEWH; + }else if(bakay>0){ + yy++;//=TILEWH; + } + }else{ + if(!bakax){ +// xx-=TILEWH; + xx--; + }else if(bakax>1){ +// xx+=TILEWH; + xx++; + } + if(!bakay){ +// yy-=TILEWH; + yy--; + }else if(bakay>1){ +// yy+=TILEWH; + yy++; + } + } + } + // fixer +// if(q!=16){ //if(q!=16) -// if(xx<(0/*-(TILEWH/2)*/)) xx=(width/*+(TILEWH)*/); - if(yy<0) yy=(height*3); -// if(xx>(width/*+(TILEWH)*/)) xx=(0/*-(TILEWH/2)*/); - if(yy>(height*3)) yy=0; -// } +// if(xx<(0/*-(TILEWH/2)*/)) xx=(width/*+(TILEWH)*/); + if(yy<0) yy=(height*3); +// if(xx>(width/*+(TILEWH)*/)) xx=(0/*-(TILEWH/2)*/); + if(yy>(height*3)) yy=0; +// } //interesting effects - if(q==16) - { - int tx=0,ty=0; - tx+=xx+16; - ty+=yy+16; - putPixel_X(tx, ty, coor); - //drawrect(tx, ty, tx+TILEWH, ty+TILEWH, coor); - //printf("%d %d %d %d %d %d\n", xx, yy, tx, ty, TILEWH); - - // plot the pixel -//---- ppf(xx, yy, coor, vga); - }else /*if(xx>=0 && xx=0 && yy<(height*3))*/{ -// putColorBox_X(xx, yy, TILEWH, TILEWH, coor); + if(q==16) + { + int tx=0,ty=0; + tx+=xx+16; + ty+=yy+16; + putPixel_X(tx, ty, coor); + //drawrect(tx, ty, tx+TILEWH, ty+TILEWH, coor); + //printf("%d %d %d %d %d %d\n", xx, yy, tx, ty, TILEWH); + + // plot the pixel +//---- ppf(xx, yy, coor, vga); + }else /*if(xx>=0 && xx=0 && yy<(height*3))*/{ +// putColorBox_X(xx, yy, TILEWH, TILEWH, coor); //++++0000 - putPixel_X(xx, yy, coor); - } + putPixel_X(xx, yy, coor); + } -//---- if(q==2) ppf(rand()%, rand()%height, 0, vga); -// if(q==2) putColorBox_X(rand()%width, rand()%(height*3), TILEWH, TILEWH, 0); +//---- if(q==2) ppf(rand()%, rand()%height, 0, vga); +// if(q==2) putColorBox_X(rand()%width, rand()%(height*3), TILEWH, TILEWH, 0); //++++0000 - if(q==2) putPixel_X(rand()%width, rand()%(height*3), 0); - if(q==16) putPixel_X(rand()%width, rand()%(height*3), 0); - if(q==2||q==4||q==16){ bakax = rand()%3; bakay = rand()%3; } - gq++; + if(q==2) putPixel_X(rand()%width, rand()%(height*3), 0); + if(q==16) putPixel_X(rand()%width, rand()%(height*3), 0); + if(q==2||q==4||q==16){ bakax = rand()%3; bakay = rand()%3; } + gq++; //if(xx<0||xx>320||yy<0||yy>(height*3)) -// printf("%d %d %d %d %d %d\n", xx, yy, coor, bakax, bakay, getPixel_X(xx,yy)); -// printf("%d\n", getPixel_X(xx,yy)); +// printf("%d %d %d %d %d %d\n", xx, yy, coor, bakax, bakay, getPixel_X(xx,yy)); +// printf("%d\n", getPixel_X(xx,yy)); //0000 -// drawText(0, 0, 15, getPixel_X(xx,yy)); - }else gq = LGQ; - return gq; +// drawText(0, 0, 15, getPixel_X(xx,yy)); + }else gq = LGQ; + return gq; } @@ -886,125 +824,124 @@ int ding(int q){ #include void doTest(void) - { - int p, x, y, pages; - - /* This is the way to calculate the number of pages available. */ - pages = 65536L/(widthBytes*height); // apparently this takes the A000 address -// if(height==240) pages++; - -// printf("%d\n", pages); - - for (p = 0; p <= pages; ++p) - { - setActivePage(p); - - /* On each page draw a single colored border, and dump the palette - onto a small square about the middle of the page. */ - - //{ - for (x = 0; x <= width; ++x) - { - putPixel_X(x, 0, p+1); - if(p!=pages) putPixel_X(x, height-1, p+1); - else if(height==240) putPixel_X(x, 99-1, p+1); - } - - for (y = 0; y <= height; ++y) - { - putPixel_X(0, y, p+1); - if(p!=pages) putPixel_X(width-1, y, p+1); - else if(height==240) putPixel_X(width-1, y, p+1); - } - - for (x = 0; x < TILEWH; ++x) - for (y = 0; y < TILEWH; ++y) - putPixel_X(x+(p+2)*16, y+(p+2)*TILEWH, x + y*TILEWH); - //} - - } - - /* Each pages will now contain a different image. Let the user cycle - through all the pages by pressing a key. */ - for (p = 0; p < pages; ++p) - { - setVisiblePage(p); - getch(); - } - - } + { + int p, x, y, pages; + + /* This is the way to calculate the number of pages available. */ + pages = 65536L/(widthBytes*height); // apparently this takes the A000 address +// if(height==240) pages++; + +// printf("%d\n", pages); + + for (p = 0; p <= pages; ++p) + { + setActivePage(p); + + /* On each page draw a single colored border, and dump the palette + onto a small square about the middle of the page. */ + + //{ + for (x = 0; x <= width; ++x) + { + putPixel_X(x, 0, p+1); + if(p!=pages) putPixel_X(x, height-1, p+1); + else if(height==240) putPixel_X(x, 99-1, p+1); + } + + for (y = 0; y <= height; ++y) + { + putPixel_X(0, y, p+1); + if(p!=pages) putPixel_X(width-1, y, p+1); + else if(height==240) putPixel_X(width-1, y, p+1); + } + + for (x = 0; x < TILEWH; ++x) + for (y = 0; y < TILEWH; ++y) + putPixel_X(x+(p+2)*16, y+(p+2)*TILEWH, x + y*TILEWH); + //} + + } + + /* Each pages will now contain a different image. Let the user cycle + through all the pages by pressing a key. */ + for (p = 0; p < pages; ++p) + { + setVisiblePage(p); + getch(); + } + + } /* * Library test (program) entry point. */ int main(void) - { - int key,d; - //short int temp; - // main variables - d=1; // switch variable - key=4; // default screensaver number -// puts("First, have a look at the 320x200 mode. I will draw some rubbish"); -// puts("on all of the four pages, then let you cycle through them by"); -// puts("hitting a key on each page."); -// puts("Press a key when ready..."); -// getch(); - -// doTest(); - -// puts("Then, check out Mode X, 320x240 with 3 (and a half) pages."); -// puts("Press a key when ready..."); -// getch(); + { + int key,d; + //short int temp; + // main variables + d=1; // switch variable + key=4; // default screensaver number +// puts("First, have a look at the 320x200 mode. I will draw some rubbish"); +// puts("on all of the four pages, then let you cycle through them by"); +// puts("hitting a key on each page."); +// puts("Press a key when ready..."); +// getch(); + +// doTest(); + +// puts("Then, check out Mode X, 320x240 with 3 (and a half) pages."); +// puts("Press a key when ready..."); +// getch(); //++++0000 - setvideo(1); - /*temp = loadfontX("vga8x8.fnt"); + setvideo(1); + /*temp = loadfontX("vga8x8.fnt"); - if (temp) { - putstringX(0, 0, "bakapi!", 2); - } - getch();*/ + if (temp) { + putstringX(0, 0, "bakapi!", 2); + } + getch();*/ // screen savers /*while(d!=0){ // on! - if(!kbhit()){ // conditions of screen saver - ding(key); - }else{ - setvideo(0); - // user imput switch - printf("Enter 1, 2, 3, 4, or 6 to run a screensaver, or enter 5 to quit.\n", getch()); // prompt the user - scanf("%d", &key); - //if(key==3){xx=yy=0;} // crazy screen saver wwww - if(key==5) d=0; - setvideo(1); - } - }*/ // else off - while(!kbhit()){ // conditions of screen saver - ding(4); - } - //end of screen savers - doTest(); -// getch(); - - while(!kbhit()){ // conditions of screen saver - hScroll(1); -// scrolly(1); -// vScroll(1); -// delay(100); -// Play(); - } + if(!kbhit()){ // conditions of screen saver + ding(key); + }else{ + setvideo(0); + // user imput switch + printf("Enter 1, 2, 3, 4, or 6 to run a screensaver, or enter 5 to quit.\n", getch()); // prompt the user + scanf("%d", &key); + //if(key==3){xx=yy=0;} // crazy screen saver wwww + if(key==5) d=0; + setvideo(1); + } + }*/ // else off + while(!kbhit()){ // conditions of screen saver + ding(4); + } + //end of screen savers + doTest(); +// getch(); + + while(!kbhit()){ // conditions of screen saver + hScroll(1); +// scrolly(1); +// vScroll(1); +// delay(100); +// Play(); + } //++++0000 - setvideo(0); - printf("Resolution:\n[%d][%d]\n", width,height); -// setvideo(0); + setvideo(0); + printf("Resolution:\n[%d][%d]\n", width,height); +// setvideo(0); //mxTerm(); -//mxGetVersion(); - - printf("[%d]\n", mxGetVersion()); - puts("where to next? It's your move! wwww"); - printf("bakapi ver. 1.04.09.03\nis made by sparky4i†ƒÖ…j feel free to use it ^^\nLicence: GPL v2\n"); - return 0; - } + +// printf("[%d]\n", mxGetVersion()); + puts("where to next? It's your move! wwww"); + printf("bakapi ver. 1.04.09.03\nis made by sparky4i†ƒÖ…j feel free to use it ^^\nLicence: GPL v2\n"); + return 0; + } #endif diff --git a/16/error.png b/16/error.png new file mode 100644 index 00000000..8e923f6a Binary files /dev/null and b/16/error.png differ diff --git a/16/lib/x/MAKEFILE b/16/lib/x/MAKEFILE index a84d9a4b..19175b7a 100644 --- a/16/lib/x/MAKEFILE +++ b/16/lib/x/MAKEFILE @@ -27,7 +27,7 @@ LIBOBJS = MXBB.OBJ \ MXPI.OBJ \ MXPN.OBJ \ MXPP.OBJ \ - MXPT.OBJ \ + MXPT.OBJ \ MXRA.OBJ \ MXRP.OBJ \ MXSA.OBJ \ diff --git a/16/lib/x/MODEX.BAK b/16/lib/x/MODEX.BAK index 5916999f..0069d2e6 100644 Binary files a/16/lib/x/MODEX.BAK and b/16/lib/x/MODEX.BAK differ diff --git a/16/lib/x/MODEX.DEF b/16/lib/x/MODEX.DEF index 64402aa4..62111e59 100644 --- a/16/lib/x/MODEX.DEF +++ b/16/lib/x/MODEX.DEF @@ -4,8 +4,7 @@ ; Copyright (c) 1993-1994 by Alessandro Scotti ; ;JUMPS -;LOCALS -.model huge,c +;LOCALS TRUE EQU 1 ; Boolean constants FALSE EQU 0 diff --git a/16/lib/x/MODEX.H b/16/lib/x/MODEX.H index 4952856a..71f3dcf7 100644 --- a/16/lib/x/MODEX.H +++ b/16/lib/x/MODEX.H @@ -48,7 +48,7 @@ #define MXBOOL short int #define MXSINT short int #define MXUINT unsigned short int -#define MXAPI //far pascal +#define MXAPI far __syscall #define MXPTR void far * // Functions diff --git a/16/lib/x/MODEX.LIB b/16/lib/x/MODEX.LIB index 5916999f..ea682c00 100644 Binary files a/16/lib/x/MODEX.LIB and b/16/lib/x/MODEX.LIB differ diff --git a/16/lib/x/MODEX.OBJ b/16/lib/x/MODEX.OBJ index 91289955..7b72fdba 100644 Binary files a/16/lib/x/MODEX.OBJ and b/16/lib/x/MODEX.OBJ differ diff --git a/16/lib/x/MXBB.OBJ b/16/lib/x/MXBB.OBJ index df960ee4..35d36a75 100644 Binary files a/16/lib/x/MXBB.OBJ and b/16/lib/x/MXBB.OBJ differ diff --git a/16/lib/x/MXCC.OBJ b/16/lib/x/MXCC.OBJ index 7137aa77..2ac9ef72 100644 Binary files a/16/lib/x/MXCC.OBJ and b/16/lib/x/MXCC.OBJ differ diff --git a/16/lib/x/MXCG.OBJ b/16/lib/x/MXCG.OBJ index ca1b47a0..804cdb2a 100644 Binary files a/16/lib/x/MXCG.OBJ and b/16/lib/x/MXCG.OBJ differ diff --git a/16/lib/x/MXCL.OBJ b/16/lib/x/MXCL.OBJ index 11064248..3b9d8c63 100644 Binary files a/16/lib/x/MXCL.OBJ and b/16/lib/x/MXCL.OBJ differ diff --git a/16/lib/x/MXCR.OBJ b/16/lib/x/MXCR.OBJ index 5f9ba89c..7493b937 100644 Binary files a/16/lib/x/MXCR.OBJ and b/16/lib/x/MXCR.OBJ differ diff --git a/16/lib/x/MXEL.OBJ b/16/lib/x/MXEL.OBJ index ac3559e1..520971cb 100644 Binary files a/16/lib/x/MXEL.OBJ and b/16/lib/x/MXEL.OBJ differ diff --git a/16/lib/x/MXFB.OBJ b/16/lib/x/MXFB.OBJ index ce2b3e00..5474062f 100644 Binary files a/16/lib/x/MXFB.OBJ and b/16/lib/x/MXFB.OBJ differ diff --git a/16/lib/x/MXFP.OBJ b/16/lib/x/MXFP.OBJ index afb33bad..bf2a4769 100644 Binary files a/16/lib/x/MXFP.OBJ and b/16/lib/x/MXFP.OBJ differ diff --git a/16/lib/x/MXGC.OBJ b/16/lib/x/MXGC.OBJ index 22ac9911..3551d910 100644 Binary files a/16/lib/x/MXGC.OBJ and b/16/lib/x/MXGC.OBJ differ diff --git a/16/lib/x/MXGI.OBJ b/16/lib/x/MXGI.OBJ index 4e8b32b7..023e9437 100644 Binary files a/16/lib/x/MXGI.OBJ and b/16/lib/x/MXGI.OBJ differ diff --git a/16/lib/x/MXGM.OBJ b/16/lib/x/MXGM.OBJ index b81a637e..4236c96a 100644 Binary files a/16/lib/x/MXGM.OBJ and b/16/lib/x/MXGM.OBJ differ diff --git a/16/lib/x/MXGP.OBJ b/16/lib/x/MXGP.OBJ index 135f9aea..e675df1b 100644 Binary files a/16/lib/x/MXGP.OBJ and b/16/lib/x/MXGP.OBJ differ diff --git a/16/lib/x/MXGV.OBJ b/16/lib/x/MXGV.OBJ index 8c378917..5e82a43f 100644 Binary files a/16/lib/x/MXGV.OBJ and b/16/lib/x/MXGV.OBJ differ diff --git a/16/lib/x/MXHL.OBJ b/16/lib/x/MXHL.OBJ index 2f2a5508..b7e250c3 100644 Binary files a/16/lib/x/MXHL.OBJ and b/16/lib/x/MXHL.OBJ differ diff --git a/16/lib/x/MXIT.OBJ b/16/lib/x/MXIT.OBJ index 7e618cba..4ab3ea92 100644 Binary files a/16/lib/x/MXIT.OBJ and b/16/lib/x/MXIT.OBJ differ diff --git a/16/lib/x/MXLL.OBJ b/16/lib/x/MXLL.OBJ index ac1e4a48..b0c28167 100644 Binary files a/16/lib/x/MXLL.OBJ and b/16/lib/x/MXLL.OBJ differ diff --git a/16/lib/x/MXLN.OBJ b/16/lib/x/MXLN.OBJ index 04891a67..2d34c427 100644 Binary files a/16/lib/x/MXLN.OBJ and b/16/lib/x/MXLN.OBJ differ diff --git a/16/lib/x/MXOT.OBJ b/16/lib/x/MXOT.OBJ index 99be43a3..482f5022 100644 Binary files a/16/lib/x/MXOT.OBJ and b/16/lib/x/MXOT.OBJ differ diff --git a/16/lib/x/MXPB.OBJ b/16/lib/x/MXPB.OBJ index 5bd223d0..17e08ea6 100644 Binary files a/16/lib/x/MXPB.OBJ and b/16/lib/x/MXPB.OBJ differ diff --git a/16/lib/x/MXPF.OBJ b/16/lib/x/MXPF.OBJ index 6db789bc..4063ea80 100644 Binary files a/16/lib/x/MXPF.OBJ and b/16/lib/x/MXPF.OBJ differ diff --git a/16/lib/x/MXPG.OBJ b/16/lib/x/MXPG.OBJ index 97757dd6..ed04544f 100644 Binary files a/16/lib/x/MXPG.OBJ and b/16/lib/x/MXPG.OBJ differ diff --git a/16/lib/x/MXPI.OBJ b/16/lib/x/MXPI.OBJ index 940725d9..8f39897e 100644 Binary files a/16/lib/x/MXPI.OBJ and b/16/lib/x/MXPI.OBJ differ diff --git a/16/lib/x/MXPN.OBJ b/16/lib/x/MXPN.OBJ index cb37911d..27da206d 100644 Binary files a/16/lib/x/MXPN.OBJ and b/16/lib/x/MXPN.OBJ differ diff --git a/16/lib/x/MXPP.OBJ b/16/lib/x/MXPP.OBJ index 24315b13..b1831797 100644 Binary files a/16/lib/x/MXPP.OBJ and b/16/lib/x/MXPP.OBJ differ diff --git a/16/lib/x/MXPT.OBJ b/16/lib/x/MXPT.OBJ index b9bdafe5..5535ce32 100644 Binary files a/16/lib/x/MXPT.OBJ and b/16/lib/x/MXPT.OBJ differ diff --git a/16/lib/x/MXRA.OBJ b/16/lib/x/MXRA.OBJ index b3bec522..a45dd559 100644 Binary files a/16/lib/x/MXRA.OBJ and b/16/lib/x/MXRA.OBJ differ diff --git a/16/lib/x/MXRP.OBJ b/16/lib/x/MXRP.OBJ index 79854296..543b7781 100644 Binary files a/16/lib/x/MXRP.OBJ and b/16/lib/x/MXRP.OBJ differ diff --git a/16/lib/x/MXSA.OBJ b/16/lib/x/MXSA.OBJ index 7cf30a02..fcf28d08 100644 Binary files a/16/lib/x/MXSA.OBJ and b/16/lib/x/MXSA.OBJ differ diff --git a/16/lib/x/MXSC.OBJ b/16/lib/x/MXSC.OBJ index e013444d..acb32331 100644 Binary files a/16/lib/x/MXSC.OBJ and b/16/lib/x/MXSC.OBJ differ diff --git a/16/lib/x/MXSI.OBJ b/16/lib/x/MXSI.OBJ index 5d33ca83..3d0ab0ac 100644 Binary files a/16/lib/x/MXSI.OBJ and b/16/lib/x/MXSI.OBJ differ diff --git a/16/lib/x/MXSL.OBJ b/16/lib/x/MXSL.OBJ index 0c4dfc31..911808be 100644 Binary files a/16/lib/x/MXSL.OBJ and b/16/lib/x/MXSL.OBJ differ diff --git a/16/lib/x/MXSM.OBJ b/16/lib/x/MXSM.OBJ index 958b93d5..dc069e7e 100644 Binary files a/16/lib/x/MXSM.OBJ and b/16/lib/x/MXSM.OBJ differ diff --git a/16/lib/x/MXSP.OBJ b/16/lib/x/MXSP.OBJ index fc05f14e..afe4985b 100644 Binary files a/16/lib/x/MXSP.OBJ and b/16/lib/x/MXSP.OBJ differ diff --git a/16/lib/x/MXSS.OBJ b/16/lib/x/MXSS.OBJ index e07ae2a7..4963c96f 100644 Binary files a/16/lib/x/MXSS.OBJ and b/16/lib/x/MXSS.OBJ differ diff --git a/16/lib/x/MXTL.OBJ b/16/lib/x/MXTL.OBJ index a2f0a2f2..b914c84c 100644 Binary files a/16/lib/x/MXTL.OBJ and b/16/lib/x/MXTL.OBJ differ diff --git a/16/lib/x/MXVS.OBJ b/16/lib/x/MXVS.OBJ index 75b1334b..4bf0b4d4 100644 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 index 00000000..ac8b6e69 Binary files /dev/null and b/16/lib/x/MXVS~1.OBJ differ diff --git a/16/lib/x/MXWD.OBJ b/16/lib/x/MXWD.OBJ index 7b5e65fd..71c32692 100644 Binary files a/16/lib/x/MXWD.OBJ and b/16/lib/x/MXWD.OBJ differ diff --git a/16/lib/x/MXWM.OBJ b/16/lib/x/MXWM.OBJ index 8ffd0ada..2bd36784 100644 Binary files a/16/lib/x/MXWM.OBJ and b/16/lib/x/MXWM.OBJ differ diff --git a/16/lib/x/MXWP.OBJ b/16/lib/x/MXWP.OBJ index 337e56cb..2d6b03c9 100644 Binary files a/16/lib/x/MXWP.OBJ and b/16/lib/x/MXWP.OBJ differ diff --git a/16/lib/x/MXWR.OBJ b/16/lib/x/MXWR.OBJ index 09d3544a..87221784 100644 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 index 5916999f..00000000 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 index 00000000..0069d2e6 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 index 00000000..0084fdfa --- /dev/null +++ b/16/lib/x/modex.lb1 @@ -0,0 +1,40 @@ ++'MXBB.obj' ++'MXCC.obj' ++'MXCG.obj' ++'MXCL.obj' ++'MXCR.obj' ++'MXEL.obj' ++'MXFB.obj' ++'MXFP.obj' ++'MXGC.obj' ++'MXGI.obj' ++'MXGM.obj' ++'MXGP.obj' ++'MXGV.obj' ++'MXHL.obj' ++'MXIT.obj' ++'MXLL.obj' ++'MXLN.obj' ++'MXOT.obj' ++'MXPB.obj' ++'MXPF.obj' ++'MXPG.obj' ++'MXPI.obj' ++'MXPN.obj' ++'MXPP.obj' ++'MXPT.obj' ++'MXRA.obj' ++'MXRP.obj' ++'MXSA.obj' ++'MXSC.obj' ++'MXSI.obj' ++'MXSL.obj' ++'MXSM.obj' ++'MXSP.obj' ++'MXSS.obj' ++'MXTL.obj' ++'MXVS.obj' ++'MXWD.obj' ++'MXWM.obj' ++'MXWP.obj' ++'MXWR.obj' diff --git a/16/lib/x/modex.lib b/16/lib/x/modex.lib index 5916999f..ea682c00 100644 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 index 00000000..9ba3a13b --- /dev/null +++ b/16/lib/x/modex.mk @@ -0,0 +1,3 @@ +project : C:\z\16\16\lib\x\modex.lib .SYMBOLIC + +!include C:\z\16\16\lib\x\modex.mk1 diff --git a/16/lib/x/modex.mk1 b/16/lib/x/modex.mk1 new file mode 100644 index 00000000..88f8bf49 --- /dev/null +++ b/16/lib/x/modex.mk1 @@ -0,0 +1,236 @@ +!define BLANK "" +C:\z\16\16\lib\x\MXBB.obj : C:\z\16\16\lib\x\MXBB.ASM .AUTODEPEND + @C: + cd C:\z\16\16\lib\x + *wasm MXBB.ASM -i="C:\FDOS\WATCOM/h" -ml -d1 -w4 -e25 -zq + +C:\z\16\16\lib\x\MXCC.obj : C:\z\16\16\lib\x\MXCC.ASM .AUTODEPEND + @C: + cd C:\z\16\16\lib\x + *wasm MXCC.ASM -i="C:\FDOS\WATCOM/h" -ml -d1 -w4 -e25 -zq + +C:\z\16\16\lib\x\MXCG.obj : C:\z\16\16\lib\x\MXCG.ASM .AUTODEPEND + @C: + cd C:\z\16\16\lib\x + *wasm MXCG.ASM -i="C:\FDOS\WATCOM/h" -ml -d1 -w4 -e25 -zq + +C:\z\16\16\lib\x\MXCL.obj : C:\z\16\16\lib\x\MXCL.ASM .AUTODEPEND + @C: + cd C:\z\16\16\lib\x + *wasm MXCL.ASM -i="C:\FDOS\WATCOM/h" -ml -d1 -w4 -e25 -zq + +C:\z\16\16\lib\x\MXCR.obj : C:\z\16\16\lib\x\MXCR.ASM .AUTODEPEND + @C: + cd C:\z\16\16\lib\x + *wasm MXCR.ASM -i="C:\FDOS\WATCOM/h" -ml -d1 -w4 -e25 -zq + +C:\z\16\16\lib\x\MXEL.obj : C:\z\16\16\lib\x\MXEL.ASM .AUTODEPEND + @C: + cd C:\z\16\16\lib\x + *wasm MXEL.ASM -i="C:\FDOS\WATCOM/h" -ml -d1 -w4 -e25 -zq + +C:\z\16\16\lib\x\MXFB.obj : C:\z\16\16\lib\x\MXFB.ASM .AUTODEPEND + @C: + cd C:\z\16\16\lib\x + *wasm MXFB.ASM -i="C:\FDOS\WATCOM/h" -ml -d1 -w4 -e25 -zq + +C:\z\16\16\lib\x\MXFP.obj : C:\z\16\16\lib\x\MXFP.ASM .AUTODEPEND + @C: + cd C:\z\16\16\lib\x + *wasm MXFP.ASM -i="C:\FDOS\WATCOM/h" -ml -d1 -w4 -e25 -zq + +C:\z\16\16\lib\x\MXGC.obj : C:\z\16\16\lib\x\MXGC.ASM .AUTODEPEND + @C: + cd C:\z\16\16\lib\x + *wasm MXGC.ASM -i="C:\FDOS\WATCOM/h" -ml -d1 -w4 -e25 -zq + +C:\z\16\16\lib\x\MXGI.obj : C:\z\16\16\lib\x\MXGI.ASM .AUTODEPEND + @C: + cd C:\z\16\16\lib\x + *wasm MXGI.ASM -i="C:\FDOS\WATCOM/h" -ml -d1 -w4 -e25 -zq + +C:\z\16\16\lib\x\MXGM.obj : C:\z\16\16\lib\x\MXGM.ASM .AUTODEPEND + @C: + cd C:\z\16\16\lib\x + *wasm MXGM.ASM -i="C:\FDOS\WATCOM/h" -ml -d1 -w4 -e25 -zq + +C:\z\16\16\lib\x\MXGP.obj : C:\z\16\16\lib\x\MXGP.ASM .AUTODEPEND + @C: + cd C:\z\16\16\lib\x + *wasm MXGP.ASM -i="C:\FDOS\WATCOM/h" -ml -d1 -w4 -e25 -zq + +C:\z\16\16\lib\x\MXGV.obj : C:\z\16\16\lib\x\MXGV.ASM .AUTODEPEND + @C: + cd C:\z\16\16\lib\x + *wasm MXGV.ASM -i="C:\FDOS\WATCOM/h" -ml -d1 -w4 -e25 -zq + +C:\z\16\16\lib\x\MXHL.obj : C:\z\16\16\lib\x\MXHL.ASM .AUTODEPEND + @C: + cd C:\z\16\16\lib\x + *wasm MXHL.ASM -i="C:\FDOS\WATCOM/h" -ml -d1 -w4 -e25 -zq + +C:\z\16\16\lib\x\MXIT.obj : C:\z\16\16\lib\x\MXIT.ASM .AUTODEPEND + @C: + cd C:\z\16\16\lib\x + *wasm MXIT.ASM -i="C:\FDOS\WATCOM/h" -ml -d1 -w4 -e25 -zq + +C:\z\16\16\lib\x\MXLL.obj : C:\z\16\16\lib\x\MXLL.ASM .AUTODEPEND + @C: + cd C:\z\16\16\lib\x + *wasm MXLL.ASM -i="C:\FDOS\WATCOM/h" -ml -d1 -w4 -e25 -zq + +C:\z\16\16\lib\x\MXLN.obj : C:\z\16\16\lib\x\MXLN.ASM .AUTODEPEND + @C: + cd C:\z\16\16\lib\x + *wasm MXLN.ASM -i="C:\FDOS\WATCOM/h" -ml -d1 -w4 -e25 -zq + +C:\z\16\16\lib\x\MXOT.obj : C:\z\16\16\lib\x\MXOT.ASM .AUTODEPEND + @C: + cd C:\z\16\16\lib\x + *wasm MXOT.ASM -i="C:\FDOS\WATCOM/h" -ml -d1 -w4 -e25 -zq + +C:\z\16\16\lib\x\MXPB.obj : C:\z\16\16\lib\x\MXPB.ASM .AUTODEPEND + @C: + cd C:\z\16\16\lib\x + *wasm MXPB.ASM -i="C:\FDOS\WATCOM/h" -ml -d1 -w4 -e25 -zq + +C:\z\16\16\lib\x\MXPF.obj : C:\z\16\16\lib\x\MXPF.ASM .AUTODEPEND + @C: + cd C:\z\16\16\lib\x + *wasm MXPF.ASM -i="C:\FDOS\WATCOM/h" -ml -d1 -w4 -e25 -zq + +C:\z\16\16\lib\x\MXPG.obj : C:\z\16\16\lib\x\MXPG.ASM .AUTODEPEND + @C: + cd C:\z\16\16\lib\x + *wasm MXPG.ASM -i="C:\FDOS\WATCOM/h" -ml -d1 -w4 -e25 -zq + +C:\z\16\16\lib\x\MXPI.obj : C:\z\16\16\lib\x\MXPI.ASM .AUTODEPEND + @C: + cd C:\z\16\16\lib\x + *wasm MXPI.ASM -i="C:\FDOS\WATCOM/h" -ml -d1 -w4 -e25 -zq + +C:\z\16\16\lib\x\MXPN.obj : C:\z\16\16\lib\x\MXPN.ASM .AUTODEPEND + @C: + cd C:\z\16\16\lib\x + *wasm MXPN.ASM -i="C:\FDOS\WATCOM/h" -ml -d1 -w4 -e25 -zq + +C:\z\16\16\lib\x\MXPP.obj : C:\z\16\16\lib\x\MXPP.ASM .AUTODEPEND + @C: + cd C:\z\16\16\lib\x + *wasm MXPP.ASM -i="C:\FDOS\WATCOM/h" -ml -d1 -w4 -e25 -zq + +C:\z\16\16\lib\x\MXPT.obj : C:\z\16\16\lib\x\MXPT.ASM .AUTODEPEND + @C: + cd C:\z\16\16\lib\x + *wasm MXPT.ASM -i="C:\FDOS\WATCOM/h" -ml -d1 -w4 -e25 -zq + +C:\z\16\16\lib\x\MXRA.obj : C:\z\16\16\lib\x\MXRA.ASM .AUTODEPEND + @C: + cd C:\z\16\16\lib\x + *wasm MXRA.ASM -i="C:\FDOS\WATCOM/h" -ml -d1 -w4 -e25 -zq + +C:\z\16\16\lib\x\MXRP.obj : C:\z\16\16\lib\x\MXRP.ASM .AUTODEPEND + @C: + cd C:\z\16\16\lib\x + *wasm MXRP.ASM -i="C:\FDOS\WATCOM/h" -ml -d1 -w4 -e25 -zq + +C:\z\16\16\lib\x\MXSA.obj : C:\z\16\16\lib\x\MXSA.ASM .AUTODEPEND + @C: + cd C:\z\16\16\lib\x + *wasm MXSA.ASM -i="C:\FDOS\WATCOM/h" -ml -d1 -w4 -e25 -zq + +C:\z\16\16\lib\x\MXSC.obj : C:\z\16\16\lib\x\MXSC.ASM .AUTODEPEND + @C: + cd C:\z\16\16\lib\x + *wasm MXSC.ASM -i="C:\FDOS\WATCOM/h" -ml -d1 -w4 -e25 -zq + +C:\z\16\16\lib\x\MXSI.obj : C:\z\16\16\lib\x\MXSI.ASM .AUTODEPEND + @C: + cd C:\z\16\16\lib\x + *wasm MXSI.ASM -i="C:\FDOS\WATCOM/h" -ml -d1 -w4 -e25 -zq + +C:\z\16\16\lib\x\MXSL.obj : C:\z\16\16\lib\x\MXSL.ASM .AUTODEPEND + @C: + cd C:\z\16\16\lib\x + *wasm MXSL.ASM -i="C:\FDOS\WATCOM/h" -ml -d1 -w4 -e25 -zq + +C:\z\16\16\lib\x\MXSM.obj : C:\z\16\16\lib\x\MXSM.ASM .AUTODEPEND + @C: + cd C:\z\16\16\lib\x + *wasm MXSM.ASM -i="C:\FDOS\WATCOM/h" -ml -d1 -w4 -e25 -zq + +C:\z\16\16\lib\x\MXSP.obj : C:\z\16\16\lib\x\MXSP.ASM .AUTODEPEND + @C: + cd C:\z\16\16\lib\x + *wasm MXSP.ASM -i="C:\FDOS\WATCOM/h" -ml -d1 -w4 -e25 -zq + +C:\z\16\16\lib\x\MXSS.obj : C:\z\16\16\lib\x\MXSS.ASM .AUTODEPEND + @C: + cd C:\z\16\16\lib\x + *wasm MXSS.ASM -i="C:\FDOS\WATCOM/h" -ml -d1 -w4 -e25 -zq + +C:\z\16\16\lib\x\MXTL.obj : C:\z\16\16\lib\x\MXTL.ASM .AUTODEPEND + @C: + cd C:\z\16\16\lib\x + *wasm MXTL.ASM -i="C:\FDOS\WATCOM/h" -ml -d1 -w4 -e25 -zq + +C:\z\16\16\lib\x\MXVS.obj : C:\z\16\16\lib\x\MXVS.ASM .AUTODEPEND + @C: + cd C:\z\16\16\lib\x + *wasm MXVS.ASM -i="C:\FDOS\WATCOM/h" -ml -d1 -w4 -e25 -zq + +C:\z\16\16\lib\x\MXWD.obj : C:\z\16\16\lib\x\MXWD.ASM .AUTODEPEND + @C: + cd C:\z\16\16\lib\x + *wasm MXWD.ASM -i="C:\FDOS\WATCOM/h" -ml -d1 -w4 -e25 -zq + +C:\z\16\16\lib\x\MXWM.obj : C:\z\16\16\lib\x\MXWM.ASM .AUTODEPEND + @C: + cd C:\z\16\16\lib\x + *wasm MXWM.ASM -i="C:\FDOS\WATCOM/h" -ml -d1 -w4 -e25 -zq + +C:\z\16\16\lib\x\MXWP.obj : C:\z\16\16\lib\x\MXWP.ASM .AUTODEPEND + @C: + cd C:\z\16\16\lib\x + *wasm MXWP.ASM -i="C:\FDOS\WATCOM/h" -ml -d1 -w4 -e25 -zq + +C:\z\16\16\lib\x\MXWR.obj : C:\z\16\16\lib\x\MXWR.ASM .AUTODEPEND + @C: + cd C:\z\16\16\lib\x + *wasm MXWR.ASM -i="C:\FDOS\WATCOM/h" -ml -d1 -w4 -e25 -zq + +C:\z\16\16\lib\x\modex.lib : C:\z\16\16\lib\x\MXBB.obj C:\z\16\16\lib\x\MXCC& +.obj C:\z\16\16\lib\x\MXCG.obj C:\z\16\16\lib\x\MXCL.obj C:\z\16\16\lib\x\MX& +CR.obj C:\z\16\16\lib\x\MXEL.obj C:\z\16\16\lib\x\MXFB.obj C:\z\16\16\lib\x\& +MXFP.obj C:\z\16\16\lib\x\MXGC.obj C:\z\16\16\lib\x\MXGI.obj C:\z\16\16\lib\& +x\MXGM.obj C:\z\16\16\lib\x\MXGP.obj C:\z\16\16\lib\x\MXGV.obj C:\z\16\16\li& +b\x\MXHL.obj C:\z\16\16\lib\x\MXIT.obj C:\z\16\16\lib\x\MXLL.obj C:\z\16\16\& +lib\x\MXLN.obj C:\z\16\16\lib\x\MXOT.obj C:\z\16\16\lib\x\MXPB.obj C:\z\16\1& +6\lib\x\MXPF.obj C:\z\16\16\lib\x\MXPG.obj C:\z\16\16\lib\x\MXPI.obj C:\z\16& +\16\lib\x\MXPN.obj C:\z\16\16\lib\x\MXPP.obj C:\z\16\16\lib\x\MXPT.obj C:\z\& +16\16\lib\x\MXRA.obj C:\z\16\16\lib\x\MXRP.obj C:\z\16\16\lib\x\MXSA.obj C:\& +z\16\16\lib\x\MXSC.obj C:\z\16\16\lib\x\MXSI.obj C:\z\16\16\lib\x\MXSL.obj C& +:\z\16\16\lib\x\MXSM.obj C:\z\16\16\lib\x\MXSP.obj C:\z\16\16\lib\x\MXSS.obj& + C:\z\16\16\lib\x\MXTL.obj C:\z\16\16\lib\x\MXVS.obj C:\z\16\16\lib\x\MXWD.o& +bj C:\z\16\16\lib\x\MXWM.obj C:\z\16\16\lib\x\MXWP.obj C:\z\16\16\lib\x\MXWR& +.obj C:\z\16\16\lib\x\MODEX.DEF C:\z\16\16\lib\x\MODEX.H .AUTODEPEND + @C: + cd C:\z\16\16\lib\x + %create modex.lb1 +!ifneq BLANK "MXBB.obj MXCC.obj MXCG.obj MXCL.obj MXCR.obj MXEL.obj MXFB.obj& + MXFP.obj MXGC.obj MXGI.obj MXGM.obj MXGP.obj MXGV.obj MXHL.obj MXIT.obj MXL& +L.obj MXLN.obj MXOT.obj MXPB.obj MXPF.obj MXPG.obj MXPI.obj MXPN.obj MXPP.ob& +j MXPT.obj MXRA.obj MXRP.obj MXSA.obj MXSC.obj MXSI.obj MXSL.obj MXSM.obj MX& +SP.obj MXSS.obj MXTL.obj MXVS.obj MXWD.obj MXWM.obj MXWP.obj MXWR.obj" + @for %i in (MXBB.obj MXCC.obj MXCG.obj MXCL.obj MXCR.obj MXEL.obj MXFB.obj & +MXFP.obj MXGC.obj MXGI.obj MXGM.obj MXGP.obj MXGV.obj MXHL.obj MXIT.obj MXLL& +.obj MXLN.obj MXOT.obj MXPB.obj MXPF.obj MXPG.obj MXPI.obj MXPN.obj MXPP.obj& + MXPT.obj MXRA.obj MXRP.obj MXSA.obj MXSC.obj MXSI.obj MXSL.obj MXSM.obj MXS& +P.obj MXSS.obj MXTL.obj MXVS.obj MXWD.obj MXWM.obj MXWP.obj MXWR.obj) do @%a& +ppend modex.lb1 +'%i' +!endif +!ifneq BLANK "" + @for %i in () do @%append modex.lb1 +'%i' +!endif + *wlib -c -n -q -p=512 -irn -inn modex.lib @modex.lb1 + diff --git a/16/lib/x/modex.tgt b/16/lib/x/modex.tgt new file mode 100644 index 00000000..c59015ea --- /dev/null +++ b/16/lib/x/modex.tgt @@ -0,0 +1,948 @@ +40 +targetIdent +0 +MProject +1 +MComponent +0 +2 +WString +3 +LIB +3 +WString +5 +d_6s9 +1 +0 +1 +4 +MCommand +0 +5 +MCommand +0 +6 +MItem +9 +modex.lib +7 +WString +3 +LIB +8 +WVList +5 +9 +MCState +10 +WString +4 +WLIB +11 +WString +27 +???s?Don't create .bak file +1 +0 +12 +MRState +13 +WString +4 +WLIB +14 +WString +18 +???s?Do not import +1 +0 +15 +MRState +16 +WString +4 +WLIB +17 +WString +19 +???s?Import by name +1 +1 +18 +MRState +19 +WString +4 +WLIB +20 +WString +18 +???s?Do not import +1 +0 +21 +MRState +22 +WString +4 +WLIB +23 +WString +19 +???s?Import by name +1 +1 +24 +WVList +1 +25 +ActionStates +26 +WString +5 +&Make +27 +WVList +2 +28 +MCState +29 +WString +5 +WMAKE +30 +WString +21 +?????Make all targets +1 +1 +31 +MCState +32 +WString +5 +WMAKE +33 +WString +23 +?????Do not erase files +1 +1 +-1 +1 +1 +0 +34 +WPickList +45 +35 +MItem +5 +*.ASM +36 +WString +6 +ASMOBJ +37 +WVList +0 +38 +WVList +0 +-1 +1 +1 +0 +39 +MItem +8 +MXBB.ASM +40 +WString +6 +ASMOBJ +41 +WVList +0 +42 +WVList +0 +35 +1 +1 +0 +43 +MItem +8 +MXCC.ASM +44 +WString +6 +ASMOBJ +45 +WVList +0 +46 +WVList +0 +35 +1 +1 +0 +47 +MItem +8 +MXCG.ASM +48 +WString +6 +ASMOBJ +49 +WVList +0 +50 +WVList +0 +35 +1 +1 +0 +51 +MItem +8 +MXCL.ASM +52 +WString +6 +ASMOBJ +53 +WVList +0 +54 +WVList +0 +35 +1 +1 +0 +55 +MItem +8 +MXCR.ASM +56 +WString +6 +ASMOBJ +57 +WVList +0 +58 +WVList +0 +35 +1 +1 +0 +59 +MItem +8 +MXEL.ASM +60 +WString +6 +ASMOBJ +61 +WVList +0 +62 +WVList +0 +35 +1 +1 +0 +63 +MItem +8 +MXFB.ASM +64 +WString +6 +ASMOBJ +65 +WVList +0 +66 +WVList +0 +35 +1 +1 +0 +67 +MItem +8 +MXFP.ASM +68 +WString +6 +ASMOBJ +69 +WVList +0 +70 +WVList +0 +35 +1 +1 +0 +71 +MItem +8 +MXGC.ASM +72 +WString +6 +ASMOBJ +73 +WVList +0 +74 +WVList +0 +35 +1 +1 +0 +75 +MItem +8 +MXGI.ASM +76 +WString +6 +ASMOBJ +77 +WVList +0 +78 +WVList +0 +35 +1 +1 +0 +79 +MItem +8 +MXGM.ASM +80 +WString +6 +ASMOBJ +81 +WVList +0 +82 +WVList +0 +35 +1 +1 +0 +83 +MItem +8 +MXGP.ASM +84 +WString +6 +ASMOBJ +85 +WVList +0 +86 +WVList +0 +35 +1 +1 +0 +87 +MItem +8 +MXGV.ASM +88 +WString +6 +ASMOBJ +89 +WVList +0 +90 +WVList +0 +35 +1 +1 +0 +91 +MItem +8 +MXHL.ASM +92 +WString +6 +ASMOBJ +93 +WVList +0 +94 +WVList +0 +35 +1 +1 +0 +95 +MItem +8 +MXIT.ASM +96 +WString +6 +ASMOBJ +97 +WVList +0 +98 +WVList +0 +35 +1 +1 +0 +99 +MItem +8 +MXLL.ASM +100 +WString +6 +ASMOBJ +101 +WVList +0 +102 +WVList +0 +35 +1 +1 +0 +103 +MItem +8 +MXLN.ASM +104 +WString +6 +ASMOBJ +105 +WVList +0 +106 +WVList +0 +35 +1 +1 +0 +107 +MItem +8 +MXOT.ASM +108 +WString +6 +ASMOBJ +109 +WVList +0 +110 +WVList +0 +35 +1 +1 +0 +111 +MItem +8 +MXPB.ASM +112 +WString +6 +ASMOBJ +113 +WVList +0 +114 +WVList +0 +35 +1 +1 +0 +115 +MItem +8 +MXPF.ASM +116 +WString +6 +ASMOBJ +117 +WVList +0 +118 +WVList +0 +35 +1 +1 +0 +119 +MItem +8 +MXPG.ASM +120 +WString +6 +ASMOBJ +121 +WVList +0 +122 +WVList +0 +35 +1 +1 +0 +123 +MItem +8 +MXPI.ASM +124 +WString +6 +ASMOBJ +125 +WVList +0 +126 +WVList +0 +35 +1 +1 +0 +127 +MItem +8 +MXPN.ASM +128 +WString +6 +ASMOBJ +129 +WVList +0 +130 +WVList +0 +35 +1 +1 +0 +131 +MItem +8 +MXPP.ASM +132 +WString +6 +ASMOBJ +133 +WVList +0 +134 +WVList +0 +35 +1 +1 +0 +135 +MItem +8 +MXPT.ASM +136 +WString +6 +ASMOBJ +137 +WVList +0 +138 +WVList +0 +35 +1 +1 +0 +139 +MItem +8 +MXRA.ASM +140 +WString +6 +ASMOBJ +141 +WVList +0 +142 +WVList +0 +35 +1 +1 +0 +143 +MItem +8 +MXRP.ASM +144 +WString +6 +ASMOBJ +145 +WVList +0 +146 +WVList +0 +35 +1 +1 +0 +147 +MItem +8 +MXSA.ASM +148 +WString +6 +ASMOBJ +149 +WVList +0 +150 +WVList +0 +35 +1 +1 +0 +151 +MItem +8 +MXSC.ASM +152 +WString +6 +ASMOBJ +153 +WVList +0 +154 +WVList +0 +35 +1 +1 +0 +155 +MItem +8 +MXSI.ASM +156 +WString +6 +ASMOBJ +157 +WVList +0 +158 +WVList +0 +35 +1 +1 +0 +159 +MItem +8 +MXSL.ASM +160 +WString +6 +ASMOBJ +161 +WVList +0 +162 +WVList +0 +35 +1 +1 +0 +163 +MItem +8 +MXSM.ASM +164 +WString +6 +ASMOBJ +165 +WVList +0 +166 +WVList +0 +35 +1 +1 +0 +167 +MItem +8 +MXSP.ASM +168 +WString +6 +ASMOBJ +169 +WVList +0 +170 +WVList +0 +35 +1 +1 +0 +171 +MItem +8 +MXSS.ASM +172 +WString +6 +ASMOBJ +173 +WVList +0 +174 +WVList +0 +35 +1 +1 +0 +175 +MItem +8 +MXTL.ASM +176 +WString +6 +ASMOBJ +177 +WVList +0 +178 +WVList +0 +35 +1 +1 +0 +179 +MItem +8 +MXVS.ASM +180 +WString +6 +ASMOBJ +181 +WVList +0 +182 +WVList +0 +35 +1 +1 +0 +183 +MItem +8 +MXWD.ASM +184 +WString +6 +ASMOBJ +185 +WVList +0 +186 +WVList +0 +35 +1 +1 +0 +187 +MItem +8 +MXWM.ASM +188 +WString +6 +ASMOBJ +189 +WVList +0 +190 +WVList +0 +35 +1 +1 +0 +191 +MItem +8 +MXWP.ASM +192 +WString +6 +ASMOBJ +193 +WVList +0 +194 +WVList +0 +35 +1 +1 +0 +195 +MItem +8 +MXWR.ASM +196 +WString +6 +ASMOBJ +197 +WVList +0 +198 +WVList +0 +35 +1 +1 +0 +199 +MItem +5 +*.DEF +200 +WString +3 +NIL +201 +WVList +0 +202 +WVList +0 +-1 +1 +1 +0 +203 +MItem +9 +MODEX.DEF +204 +WString +3 +NIL +205 +WVList +0 +206 +WVList +0 +199 +1 +1 +0 +207 +MItem +3 +*.H +208 +WString +3 +NIL +209 +WVList +0 +210 +WVList +0 +-1 +1 +1 +0 +211 +MItem +7 +MODEX.H +212 +WString +3 +NIL +213 +WVList +0 +214 +WVList +0 +207 +1 +1 +0 diff --git a/16/lib/x/modex.wpj b/16/lib/x/modex.wpj new file mode 100644 index 00000000..0acca465 --- /dev/null +++ b/16/lib/x/modex.wpj @@ -0,0 +1,43 @@ +40 +projectIdent +0 +VpeMain +1 +WRect +-40 +-53 +10320 +9973 +2 +MProject +3 +MCommand +0 +4 +MCommand +0 +1 +5 +WFileName +9 +modex.tgt +6 +WVList +1 +7 +VComponent +8 +WRect +0 +0 +5700 +4293 +0 +0 +9 +WFileName +9 +modex.tgt +26 +0 +7 diff --git a/16/x.bat b/16/x.bat index ccfde166..45108a71 100644 --- a/16/x.bat +++ b/16/x.bat @@ -1,3 +1,3 @@ wpp /d1 /0 /ml dos_gfx -wlink file dos_gfx,lib\x\*.obj LIBP lib\x LIBFILE modex name dos_gfx +wlink file dos_gfx,lib\x\*.obj library lib\x\modex.lib name dos_gfx copy /y dos_gfx.exe c:\z\bakapi.exe diff --git a/16/xx.bat b/16/xx.bat index b828bf1b..a65f04d7 100644 --- a/16/xx.bat +++ b/16/xx.bat @@ -1,4 +1,5 @@ -cd lib\x +cd lib\x +rem del *~1.* call compile call make cd ..