• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

wwww


Commit MetaInfo

Revisione02ae4965f0f1925c9f258d14abf9a3a6e938f4d (tree)
Time2016-05-09 07:06:46
Authorsparky4 <sparky4@cock...>
Commitersparky4

Log Message

w

Change Summary

Incremental Difference

Binary files a/pcx2vrl and b/pcx2vrl differ
Binary files a/pcxsscut and b/pcxsscut differ
--- a/src/lib/modex16.c
+++ b/src/lib/modex16.c
@@ -92,6 +92,9 @@ void modexEnter(sword vq, boolean cmem, global_game_variables_t *gv)
9292 {
9393 case 1:
9494 //CRTParmCount = sizeof(ModeX_320x240regs) / sizeof(ModeX_320x240regs[0]);
95+ /*for(i=0; i<CRTParmCount; i++) {
96+ outpw(CRTC_INDEX, ModeX_320x240regs[i]);
97+ }*/
9598 /* width and height */
9699 gv->video.page[0].sw = vga_state.vga_width = 320; // VGA lib currently does not update this
97100 gv->video.page[0].sh = vga_state.vga_height = 240; // VGA lib currently does not update this
--- a/src/lib/modex16.h
+++ b/src/lib/modex16.h
@@ -31,7 +31,7 @@
3131 #include "src/lib/modex16/16planar.h"
3232 #include "src/lib/16text.h"
3333 #include "src/lib/modex16/16render.h"
34-// #include "src/lib/modex16/320x240.h"
34+#include "src/lib/modex16/320x240.h"
3535 // #include "src/lib/modex16/320x200.h"
3636 // #include "src/lib/modex16/256x192.h"
3737 // #include "src/lib/modex16/192x144_.h"
--- a/src/test.c
+++ b/src/test.c
@@ -99,7 +99,7 @@ void main(int argc, char *argv[])
9999
100100 /* fill the page with one color, but with a black border */
101101 modexShowPage(&gvar.video.page[1]);
102- //modexClearRegion(&gvar.video.page[0], 0, 0, gvar.video.page[0].width, gvar.video.page[0].height, 0);
102+ modexClearRegion(&gvar.video.page[0], 0, 0, gvar.video.page[0].width, gvar.video.page[0].height, 15);
103103 modexClearRegion(&gvar.video.page[0], 16, 16, gvar.video.page[0].sw, gvar.video.page[0].sh, 128);
104104 modexClearRegion(&gvar.video.page[0], 32, 32, gvar.video.page[0].sw-32, gvar.video.page[0].sh-32, 42);
105105 modexClearRegion(&gvar.video.page[0], 48, 48, gvar.video.page[0].sw-64, gvar.video.page[0].sh-64, 128);
@@ -109,7 +109,7 @@ void main(int argc, char *argv[])
109109 /* fade in */
110110 modexFadeOn(1, pal2);
111111
112- i=0,k=0,j=0,pan.pn=0;
112+ i=0,k=0,j=0,pan.pn=1;
113113 startclk = *clockw;
114114 while(!IN_KeyDown(sc_Escape))
115115 {
@@ -149,7 +149,10 @@ void main(int argc, char *argv[])
149149 baka:
150150 i++;
151151 modexClearRegion(&gvar.video.page[1], 0, gvar.video.page[0].height/2, gvar.video.page[0].width-32, 16, 45);*/
152- if(IN_KeyDown(6)) modexClearRegion(&gvar.video.page[1], 0, gvar.video.page[0].height/2, gvar.video.page[0].width, 16, 45);
152+ if(IN_KeyDown(6))
153+ {
154+ modexClearRegion(&gvar.video.page[1], gvar.video.page[1].sw, 16, 8, 4, 45);
155+ }
153156 if(IN_KeyDown(4+1)){
154157 modexClearRegion(&gvar.video.page[1], 16, 16, gvar.video.page[1].sw, gvar.video.page[1].sh, 128);
155158 modexClearRegion(&gvar.video.page[1], 32, 32, gvar.video.page[1].sw-32, gvar.video.page[1].sh-32, 42);
@@ -158,7 +161,9 @@ void main(int argc, char *argv[])
158161 //}
159162 if(IN_KeyDown(2)) pan.pn=0;
160163 if(IN_KeyDown(3)) pan.pn=1;
161- //if(IN_KeyDown(6)) modexClearRegion(&gvar.video.page[1], 0, 0, gvar.video.page[0].sw-64, gvar.video.page[0].sh-16, 45);
164+ if(IN_KeyDown(25)){
165+ modexpdump(&gvar.video.page[pan.pn]);
166+ }//p
162167 modexShowPage(&gvar.video.page[pan.pn]);
163168 }
164169
Binary files a/vrl2vrs and b/vrl2vrs differ
Binary files a/vrsdump and b/vrsdump differ