mirror of
https://github.com/yourtion/30dayMakeOS.git
synced 2026-07-17 03:51:24 +08:00
汉化
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
/* bootpackのメイン */
|
||||
/* bootpack */
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
@@ -68,7 +68,8 @@ void HariMain(void)
|
||||
init_gdtidt();
|
||||
init_palette();
|
||||
init_screen8(binfo->vram, binfo->scrnx, binfo->scrny);
|
||||
mx = (binfo->scrnx - 16) / 2; /* 画面中央になるように座標計算 */
|
||||
|
||||
mx = (binfo->scrnx - 16) / 2; /* 计算画面的中心坐标*/
|
||||
my = (binfo->scrny - 28 - 16) / 2;
|
||||
init_mouse_cursor8(mcursor, COL8_008484);
|
||||
putblock8_8(binfo->vram, binfo->scrnx, 16, 16, mx, my, mcursor, 16);
|
||||
@@ -78,4 +79,4 @@ void HariMain(void)
|
||||
for (;;) {
|
||||
io_hlt();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user