From: sparky4 Date: Sun, 11 May 2014 23:21:10 +0000 (-0500) Subject: modified: 16/DOS_GFX.EXE X-Git-Url: http://4ch.mooo.com/gitweb/?a=commitdiff_plain;ds=sidebyside;h=d9b4c65a44fa017633ddbd622fd7d980bb7da609;p=16.git modified: 16/DOS_GFX.EXE modified: 16/Project 16.bfproject modified: 16/dos_gfx.cpp deleted: 16/patch10a.txt --- diff --git a/16/DOS_GFX.EXE b/16/DOS_GFX.EXE index 6d51a853..d0c19503 100644 Binary files a/16/DOS_GFX.EXE and b/16/DOS_GFX.EXE differ diff --git a/16/Project 16.bfproject b/16/Project 16.bfproject index b84f90b0..474089bf 100644 --- a/16/Project 16.bfproject +++ b/16/Project 16.bfproject @@ -1,24 +1,18 @@ c2e.convert_special: 0 e2c.convert_num: 0 -openfiles: /dos/z/16/16/dos_gfx.cpp:0:0:1: +openfiles: /dos/z/16/16/dos_gfx.cpp:8130:7345:1: openfiles: /dos/z/16/16/dos_gfx.h:0:0:0: openfiles: /dos/z/16/16/dos_kb.c:0:0:0: openfiles: /dos/z/16/16/dos_kb.h:0:0:0: openfiles: /dos/z/16/16/lib_com.cpp:0:0:0: openfiles: /dos/z/16/16/lib_com.h:0:0:0: openfiles: /dos/z/16/16/16.txt:0:0:0: -openfiles: /dos/z/16/16/project16.txt:0:0:0: -openfiles: /dos/z/4x4_16/sauce/jstick.h:0:0:0: -openfiles: /dos/z/4x4_16/sauce/keydrv.h:0:0:0: -openfiles: /dos/z/4x4_16/sauce/sprite.h:0:0:0: -openfiles: /dos/z/4x4_16/sauce/tile.h:0:0:0: -openfiles: /dos/z/4x4_16/sauce/vgabuff.h:0:0:0: -openfiles: /dos/z/4x4_16/sauce/vgautils.h:0:0:0: -openfiles: /dos/z/4x4_16/sauce/keydrv.c:0:0:0: -openfiles: /dos/z/4x4_16/sauce/sprite.c:0:0:0: -openfiles: /dos/z/4x4_16/sauce/tile.c:0:0:0: +openfiles: /dos/z/16/16/project16.txt:1675:0:0: openfiles: /dos/z/4x4_16/sauce/vgabuff.c:0:0:0: openfiles: /dos/z/4x4_16/sauce/vgautils.c:0:0:0: +openfiles: /dos/z/16/16/PCGPE10/SCROLL.TXT:0:0:0: +openfiles: /dos/z/4x4_16/sauce/tile.c:0:0:0: +openfiles: /dos/z/16/16/scroll.txt:0:0:0: snr_recursion_level: 0 convertcolumn_horizontally: 0 adv_open_matchname: 0 @@ -30,7 +24,7 @@ view_left_panel: 0 default_mime_type: text/plain e2c.convert_xml: 1 c2e.convert_iso: 0 -opendir: file:///dos/z/4x4_16/sauce +opendir: file:///dos/z/16/16 wrap_text_default: 0 bookmarks_filename_mode: 1 ssearch_text: 386 @@ -55,14 +49,6 @@ charmap_block: 1 recent_files: file:///dos/z/grdemo.c recent_files: file:///dos/z/4x4_16/tauron/C_SRC/DUAL.CPP recent_files: file:///dos/z/4x4_16/tauron/C_SRC/MAINC.CPP -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/dos_kb.h -recent_files: file:///dos/z/16/16/dos_kb.c -recent_files: file:///dos/z/16/16/lib_com.h -recent_files: file:///dos/z/16/16/lib_com.cpp -recent_files: file:///dos/z/16/16/project16.txt -recent_files: file:///dos/z/16/16/16.txt recent_files: file:///dos/z/4x4_16/tauron/C_SRC/PALETTE.INC recent_files: file:///dos/z/4x4_16/tauron/C_SRC/TAURON.H recent_files: file:///dos/z/4x4_16/tauron/C_SRC/CLEAR.CPP @@ -73,19 +59,19 @@ recent_files: file:///dos/z/4x4_16/tauron/C_SRC/FONT1.H recent_files: file:///dos/z/4x4_16/tauron/C_SRC/FONT2.H recent_files: file:///dos/z/4x4_16/tile.c recent_files: file:///dos/z/4x4_16/tile.h -recent_files: file:///dos/z/4x4_16/sauce/jstick.h -recent_files: file:///dos/z/4x4_16/sauce/keydrv.h -recent_files: file:///dos/z/4x4_16/sauce/sprite.h -recent_files: file:///dos/z/4x4_16/sauce/tile.h -recent_files: file:///dos/z/4x4_16/sauce/vgautils.h -recent_files: file:///dos/z/4x4_16/sauce/keydrv.c -recent_files: file:///dos/z/4x4_16/sauce/vgabuff.h -recent_files: file:///dos/z/4x4_16/sauce/sprite.c recent_files: file:///dos/z/4x4_16/sauce/tile.c recent_files: file:///dos/z/4x4_16/sauce/vgautils.c recent_files: file:///dos/z/4x4_16/sauce/vgabuff.c +recent_files: file:///dos/z/16/16/dos_gfx.cpp +recent_files: file:///dos/z/16/16/lib_com.cpp +recent_files: file:///dos/z/16/16/dos_kb.h +recent_files: file:///dos/z/16/16/dos_kb.c +recent_files: file:///dos/z/16/16/16.txt +recent_files: file:///dos/z/16/16/dos_gfx.h +recent_files: file:///dos/z/16/16/lib_com.h +recent_files: file:///dos/z/16/16/project16.txt snr_replacetype: 0 -savedir: file:///dos/z/4x4_16/sauce +savedir: file:///dos/z/16/16 spell_check_default: 1 spell_insert_entities: 0 last_filefilter: diff --git a/16/dos_gfx.cpp b/16/dos_gfx.cpp index e3ab1efa..e11055f0 100644 --- a/16/dos_gfx.cpp +++ b/16/dos_gfx.cpp @@ -244,6 +244,7 @@ void set320x240x256_X(void) } +/*-----------XXXX-------------*/ /*tile*/ void putColorBox_X(int x, int y, int w, int h, byte color) { outp(0x3c4, 0x02); @@ -259,9 +260,25 @@ void putColorBox_X(int x, int y, int w, int h, byte color) { } } } - - -/*-----------XXXX-------------*/ +/*OFFSET = 0 +WHILE NOT FINISHED DO + OFFSET = OFFSET + 80 + IF OFFSET >= (200 * 80) THEN OFFSET = 0 + DRAW TO ROW 200 + SET VGA OFFSET = OFFSET + DRAW TO ROW -1 (was row 0 before scroll) +END WHILE*//* +void scrolly(){ + int OFFSET = 0 + WHILE NOT FINISHED DO + OFFSET = OFFSET + 80 + IF OFFSET >= (240 * 80) THEN OFFSET = 0 + RAW TO ROW 240 + SET VGA OFFSET = OFFSET + DRAW TO ROW -1 (was row 0 before scroll) + } +} +*/ //--------------------------------------------------- // // Use the bios to get the address of the 8x8 font @@ -486,12 +503,12 @@ int ding(int q){ } } // fixer - if(q!=16){ + //if(q!=16){ if(xx<0) xx=width; if(yy<0) yy=height; if(xx>width) xx=0; if(yy>height) yy=0; - } + //} //interesting effects if(q==16) @@ -505,11 +522,14 @@ int ding(int q){ // plot the pixel //---- ppf(xx, yy, coor, vga); -//++++0000 putPixel_X(xx, yy, coor); - }else putColorBox_X(xx, yy, TILEWH, TILEWH, coor); - //drawrect(xx, yy, xx+TILEWH-1, yy+TILEWH-1, coor); + }else if(xx>=0 && xx=0 && PixelY320||yy<0||yy>240) diff --git a/16/patch10a.txt b/16/patch10a.txt deleted file mode 100644 index 293ba3a7..00000000 --- a/16/patch10a.txt +++ /dev/null @@ -1,44 +0,0 @@ - - - ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿ - ³ PC Games Programmers Encyclopedia version 1.0 - Patch File A ³ - ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ - - -ÚÄÄÄÄÄÄÄÄÄÄÄÄÂÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ -³ readme.txt ³ -ÀÄÄÄÄÄÄÄÄÄÄÄÄÙ - -Line 197 should be changed to read: - -GIF TXT GIF graphics file format - -ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÂÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ -³ surround.txt ³ -ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ - -This file should be renamed suround.txt, otherwise the file viewer can't -load it. - -ÚÄÄÄÄÄÄÄÄÄÄÄÂÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ -³ mouse.txt ³ -ÀÄÄÄÄÄÄÄÄÄÄÄÙ - -The diagram starting at line 139 should be changed to: - - 1st byte 2nd byte 3rd byte - ÚÄÂÄÂÄÂÄÂÄÂÄÂÄÂÄ¿ÚÄÂÄÂÄÂÄÂÄÂÄÂÄÂÄ¿ÚÄÂÄÂÄÂÄÂÄÂÄÂÄÂÄ¿ - ³-³1³?³?³Y³Y³X³X³³-³0³X³X³X³X³X³X³³-³0³Y³Y³Y³Y³Y³Y³ - ÀÄÁÄÁÄÁÄÁÄÁÄÁÄÁÄÙÀÄÁÄÁÄÁÄÁÄÁÄÁÄÁÄÙÀÄÁÄÁÄÁÄÁÄÁÄÁÄÁÄÙ - ³ ³ ÀÂÙ ÀÂÙ ÀÄÄÄÄÂÄÄÄÄÙ ÀÄÄÄÄÂÄÄÄÄÙ - ³ ³ ³ ³ ³ ³ - ³ ³ ³ ÀÄÄÄÄ¿ ³ ³ - ³ ³ ÀÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄ¿ ³ - ³ ³ ÚÁ¿ ÚÄÄÄÄÁÄÄÄÄ¿ ÚÁ¿ ÚÄÄÄÄÁÄÄÄÄ¿ - ³ ³ ÚÄÂÄÂÄÂÄÂÄÂÄÂÄÂÄ¿ÚÄÂÄÂÄÂÄÂÄÂÄÂÄÂÄ¿ - ³ ³ ³ ³ ³ ³ ³ ³ ³ ³ ³³ ³ ³ ³ ³ ³ ³ ³ ³ - Left Button ÄÄÙ ³ ÀÄÁÄÁÄÁÄÁÄÁÄÁÄÁÄÙÀÄÁÄÁÄÁÄÁÄÁÄÁÄÁÄÙ -Right Button ÄÄÄÄÙ X increment Y increment - - -