• R/O
  • SSH
  • HTTPS

chnosproject: Commit


Commit MetaInfo

Revisión70 (tree)
Tiempo2010-03-13 16:23:39
Autorhikarupsp

Log Message

表示横幅修正。

Cambiar Resumen

Diferencia incremental

--- beta/tolset_chn_000/chnos_006/bootpack.c (revision 69)
+++ beta/tolset_chn_000/chnos_006/bootpack.c (revision 70)
@@ -22,7 +22,7 @@
2222 pit_beep_off();
2323
2424 sprintf(s,"memory %d Byte(%d KB,%d MB)",all_mem_size,all_mem_size/1024, all_mem_size/(1024*1024));
25- boxfill_i(vinfo->PhysBasePtr, binfo->scrnx, 0x000000, 0,304,300,320);
25+ boxfill_i(vinfo->PhysBasePtr, binfo->scrnx, 0x000000, 0,304,INT_MONITOR_LONG,320);
2626 putfonts_asc_i(vinfo->PhysBasePtr, binfo->scrnx, 0,304,0xffffff,s);
2727
2828
@@ -37,7 +37,7 @@
3737 if( 256 <= i && i <=511) {
3838 i -= SYSFIFO_KEYB;
3939 io_sti();
40- boxfill_i(vinfo->PhysBasePtr, binfo->scrnx, 0x000000, 0,240,300 , 256);
40+ boxfill_i(vinfo->PhysBasePtr, binfo->scrnx, 0x000000, 0,240,INT_MONITOR_LONG , 256);
4141 sprintf(s,"INT 21(IRQ-1) : PS/2 キーボード%02X",i);
4242 putfonts_asc_i(vinfo->PhysBasePtr, binfo->scrnx, 0,240,0xffffff,s);
4343
@@ -45,13 +45,13 @@
4545 i -= SYSFIFO_MOUSE;
4646 io_sti();
4747 if (decode_mouse(i) == 1) {
48- boxfill_i(vinfo->PhysBasePtr, binfo->scrnx, 0x000000, 0,256,300 , 272);
48+ boxfill_i(vinfo->PhysBasePtr, binfo->scrnx, 0x000000, 0,256,INT_MONITOR_LONG , 272);
4949 sprintf(s,"INT 2C(IRQ-12) : PS/2 マウス(%02X,%02X,%02X)",mdec.buf[0], mdec.buf[1], mdec.buf[2]);
5050 putfonts_asc_i(vinfo->PhysBasePtr, binfo->scrnx, 0,256,0xffffff,s);
5151
5252 boxfill_i(vinfo->PhysBasePtr, binfo->scrnx,DESKTOP_COL32,mx,my,mx + 32, my + 32);
5353
54- boxfill_i(vinfo->PhysBasePtr, binfo->scrnx, 0x000000, 0,272,300 , 288);
54+ boxfill_i(vinfo->PhysBasePtr, binfo->scrnx, 0x000000, 0,272,INT_MONITOR_LONG , 288);
5555 sprintf(s,"[lcr %4d %4d]",mdec.x, mdec.y);
5656 if((mdec.btn & 0x01) != 0) s[1] = 'L';
5757 if((mdec.btn & 0x02) != 0) s[3] = 'R';
@@ -65,7 +65,7 @@
6565 if(my > binfo->scrny - 24) my = binfo->scrny - 24;
6666
6767 draw_mouse_i(vinfo->PhysBasePtr, mx, my, binfo->scrnx);
68- boxfill_i(vinfo->PhysBasePtr, binfo->scrnx, 0x000000, 0,288,300,304);
68+ boxfill_i(vinfo->PhysBasePtr, binfo->scrnx, 0x000000, 0,288,INT_MONITOR_LONG,304);
6969 sprintf(s,"(%4d,%4d)",mx,my);
7070 putfonts_asc_i(vinfo->PhysBasePtr, binfo->scrnx, 0,288,0xffffff,s);
7171 }
--- beta/tolset_chn_000/chnos_006/core.h (revision 69)
+++ beta/tolset_chn_000/chnos_006/core.h (revision 70)
@@ -136,8 +136,10 @@
136136 #define DESKTOP_COL32 0xC6C6C6
137137 #define TASKBAR_COL32 0x0000FF
138138
139-#define TASKBAR_HEIGHT 40
139+#define TASKBAR_HEIGHT 40
140140
141+#define INT_MONITOR_LONG 320
142+
141143 #define FIFO32_PUT_OVER 0x0001
142144
143145 #define COL8_000000 0
Show on old repository browser