• 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

Revision56bcf103bed55fa9f8a4b21d523ced253263efe3 (tree)
Time2016-06-10 01:35:38
Authorsparky4 <sparky4@cock...>
Commitersparky4

Log Message

whent back to copy page wwww

Change Summary

Incremental Difference

Binary files a/pcx2vrl and b/pcx2vrl differ
Binary files a/pcxsscut and b/pcxsscut differ
--- a/scroll.l16
+++ b/scroll.l16
@@ -0,0 +1,28 @@
1+WARNING: Failed to initialize DEBUG output
2+starting timer ok
3+index=4096
4+chkmap ok Project 16 scroll.exe. This is just a test file!
5+version Jun 9 2016 11:32:02
6+tx: 0
7+ty: 0
8+player.x: 160 player.y: 128
9+player.tx: 10 player.ty: 8
10+player.triggx: 10 player.triggy: 9
11+player.hp: 4 player.q: 1 player.info.dir: 2 player.d: 2 pdir=0
12+tile data value at player trigger position: 0
13+Virtual Screen: 352x272
14+Screen: 320x240
15+virtual tile resolution: 22x17
16+tile resolution: 20x15
17+middle tile position: 10x8
18+video memory remaining: 65535
19+page [0]=(a000:0000) size=23936 sw=320 sh=240 width=352 height=272
20+ [1]=(a000:5d80) size=23936 sw=320 sh=240 width=352 height=272
21+ [2]=(a000:bb00) size=1024 sw=64 sh=64 width=64 height=64
22+ [3]=(a000:bf00) size=16640 sw=320 sh=208 width=320 height=208
23+gvar.video.p=1 gvar.video.r=0 pageflipflop=1
24+
25+gvar.video.tickclk=1926.703247
26+gvar.video.clk=0.000000
27+
28+detected CPU type: 386 or newer
--- a/src/lib/scroll16.c
+++ b/src/lib/scroll16.c
@@ -603,10 +603,10 @@ void mapGoTo(map_view_t *mv, int tx, int ty)
603603 mapDrawWRow(&mv[0], tx-1, ty, py);
604604 i+=mv->map->width - tx;
605605 }
606- //modexCopyPageRegion(mv[1].page, mv[0].page, 0, 0, 0, 0, mv[0].page->width, mv[0].page->height);
607606 /* block copy pattern to where we will draw the sprite */
608607 vga_setup_wm1_block_copy();
609- _fmemcpy(mv[1].page->data, mv[0].page->data, mv[0].page->pagesize);
608+ //_fmemcpy(mv[1].page->data, mv[0].page->data, mv[0].page->pagesize);
609+ modexCopyPageRegion(mv[1].page, mv[0].page, 0, 0, 0, 0, mv[0].page->width, mv[0].page->height);
610610 /* must restore Write Mode 0/Read Mode 0 for this code to continue drawing normally */
611611 vga_restore_rm0wm0();
612612 modexCopyPageRegion(mv[3].page, mv[!(mv->video->p)].page, 0/**/, 0/**/, 0, 128, 28, 36);
@@ -792,10 +792,10 @@ void shinku(global_game_variables_t *gv)
792792 }
793793 if(pageflipflop){
794794 if(gv->video.r){
795- //modexCopyPageRegion(&(gv->video.page[(gv->video.p)]), &(gv->video.page[(!gv->video.p)]), 0, 0, 0, 0, gv->video.page[gv->video.p].width, gv->video.page[!gv->video.p].height);
796795 /* block copy pattern to where we will draw the sprite */
797796 vga_setup_wm1_block_copy();
798- _fmemmove((gv->video.page[(gv->video.p)]).data, (gv->video.page[(!gv->video.p)]).data, gv->video.page[(!gv->video.p)].pagesize);
797+ //_fmemmove((gv->video.page[(gv->video.p)]).data, (gv->video.page[(!gv->video.p)]).data, gv->video.page[(!gv->video.p)].pagesize);
798+ modexCopyPageRegion(&(gv->video.page[(gv->video.p)]), &(gv->video.page[(!gv->video.p)]), 0, 0, 0, 0, gv->video.page[gv->video.p].width, gv->video.page[!gv->video.p].height);
799799 /* must restore Write Mode 0/Read Mode 0 for this code to continue drawing normally */
800800 vga_restore_rm0wm0();
801801 modexShowPage(&(gv->video.page[gv->video.p]));
--- a/src/scroll.c
+++ b/src/scroll.c
@@ -190,7 +190,8 @@ void main(int argc, char *argv[])
190190 //IN_initplayer(&player, 1);
191191
192192 #ifndef SPRITE
193- modexClearRegion(mv[1].page, player[0].x, player[0].y-TILEWH, 24, 32, 15);
193+ modexClearRegion(mv[0].page, player[0].x-4, player[0].y-TILEWH, 24, 32, 15);
194+ modexClearRegion(mv[1].page, player[0].x-4, player[0].y-TILEWH, 24, 32, 15);
194195 #else
195196 //PBUFSFUN(mv[1].page, player[0].x-4, player[0].y-TILEWH, 24, 64, 24, 32, PLAYERBMPDATA);
196197 PBUFSFUN(mv[1].page, player[0].x-4, player[0].y-TILEWH, 24, 64, 24, 32, &pp);
--- a/src/test.c
+++ b/src/test.c
@@ -184,6 +184,8 @@ void main(int argc, char *argv[])
184184 if(IN_KeyDown(2+1)){ pan.pn=1; }
185185 if(IN_KeyDown(3+1)){ pan.pn=2; }
186186 if(IN_KeyDown(4+1)){ pan.pn=3; }
187+ if(IN_KeyDown(12)) modexClearRegion(&gvar.video.page[0], (gvar.video.page[0].width/2)-4, (gvar.video.page[0].height/2)-16, 24, 32, 15);
188+ if(IN_KeyDown(13)) modexClearRegion(&gvar.video.page[1], (gvar.video.page[1].width/2)-4, (gvar.video.page[1].height/2)-16, 24, 32, 15);
187189 if(IN_KeyDown(7)){
188190 for(i=0;i<3;i++)
189191 {
Binary files a/vrl2vrs and b/vrl2vrs differ
Binary files a/vrsdump and b/vrsdump differ