• R/O
  • HTTP
  • SSH
  • HTTPS

コミット

よく使われているワード(クリックで追加)

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

wwww


コミットメタ情報

リビジョン34d55bd3f03eabdfc0e13c00b85e2091a211488a (tree)
日時2016-04-19 02:18:04
作者sparky4 <sparky4@cock...>
コミッターsparky4

ログメッセージ

16.c needs to probe DOS and VGA before using modex library. -repo sync-

変更サマリ

差分

--- a/src/fontgfx.c
+++ b/src/fontgfx.c
@@ -34,7 +34,6 @@ global_game_variables_t gvar;
3434
3535 void main(int argc, char near *argv[])
3636 {
37- struct vga_mode_params cm;
3837 //JMOJI
3938 static byte e;
4039 //word ri;
@@ -96,7 +95,6 @@ IIIIIII BBBBBBBBB MMMM M MMMM\n\
9695 gvar.video.page[0].width += (16*2);
9796 gvar.video.page[0].height += (16*2);
9897 modexShowPage(&gvar.video.page[0]);
99- vga_read_crtc_mode(&cm);
10098 // NTS: We're in Mode-X now. printf() is useless. Do not use printf(). Or INT 10h text printing. Or DOS console output.
10199 //modexprint(16, 16, 1, 15, "wwww");
102100 //getch();
@@ -119,11 +117,13 @@ IIIIIII BBBBBBBBB MMMM M MMMM\n\
119117 }
120118 sprintf(pee, "%zc", e);
121119 modexprint(&gvar.video.page[0], chx, chy, 1, 0, colpee, &e);
122- chx+=9;
120+ chx+=8;
123121 colpee++;
124122 if(colpee>=32+24) colpee=32;
125123 }
126124 getch();
125+ modexprint(&gvar.video.page[0], 0, 0, 1, 0, colpee, &rose);
126+ getch();
127127 //modexprint(100, 100, 1, 47, 0, "wwww");
128128 // modexprint(0, 0, 1, 0, colpee, &rose);
129129 //++++ modexprint(&gvar.video.page[0], 0, 0, 0, 0, colpee, &ibmlogo);
@@ -136,6 +136,4 @@ IIIIIII BBBBBBBBB MMMM M MMMM\n\
136136 printf("\n%s\n", rose);
137137 //printf("\nh=%d\n", '8');
138138 // printf("\n%c\n", e);
139- printf("cm.offset=%d\n", cm.offset);
140- printf("vga_state.vga_stride=%d\n", vga_state.vga_stride);
141139 }
--- a/src/lib/scroll16.c
+++ b/src/lib/scroll16.c
@@ -601,7 +601,8 @@ void shinku(map_view_t *pip, global_game_variables_t *gv)
601601 //t=(((*(gv->clock))-gv->clock_start) /18.2);
602602 sprintf(gv->pee, "%f fps", (double)gv->kurokku.tiku/ticktock(gv));
603603 printf("%s", gv->pee);
604- //modexprint(pip[1].page, 16, 16, 1, 15, 0, gv->pee);
604+ //FIXME PLEASE!!
605+ //:modexprint(pip[1].page, 16, 16, 1, 15, 0, gv->pee);
605606 //(gv->clock_start)=*(gv->clock);
606607 gv->kurokku.tiku=0;
607608 }