表示横幅修正。
@@ -22,7 +22,7 @@ | ||
22 | 22 | pit_beep_off(); |
23 | 23 | |
24 | 24 | 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); | |
26 | 26 | putfonts_asc_i(vinfo->PhysBasePtr, binfo->scrnx, 0,304,0xffffff,s); |
27 | 27 | |
28 | 28 |
@@ -37,7 +37,7 @@ | ||
37 | 37 | if( 256 <= i && i <=511) { |
38 | 38 | i -= SYSFIFO_KEYB; |
39 | 39 | 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); | |
41 | 41 | sprintf(s,"INT 21(IRQ-1) : PS/2 キーボード%02X",i); |
42 | 42 | putfonts_asc_i(vinfo->PhysBasePtr, binfo->scrnx, 0,240,0xffffff,s); |
43 | 43 |
@@ -45,13 +45,13 @@ | ||
45 | 45 | i -= SYSFIFO_MOUSE; |
46 | 46 | io_sti(); |
47 | 47 | 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); | |
49 | 49 | sprintf(s,"INT 2C(IRQ-12) : PS/2 マウス(%02X,%02X,%02X)",mdec.buf[0], mdec.buf[1], mdec.buf[2]); |
50 | 50 | putfonts_asc_i(vinfo->PhysBasePtr, binfo->scrnx, 0,256,0xffffff,s); |
51 | 51 | |
52 | 52 | boxfill_i(vinfo->PhysBasePtr, binfo->scrnx,DESKTOP_COL32,mx,my,mx + 32, my + 32); |
53 | 53 | |
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); | |
55 | 55 | sprintf(s,"[lcr %4d %4d]",mdec.x, mdec.y); |
56 | 56 | if((mdec.btn & 0x01) != 0) s[1] = 'L'; |
57 | 57 | if((mdec.btn & 0x02) != 0) s[3] = 'R'; |
@@ -65,7 +65,7 @@ | ||
65 | 65 | if(my > binfo->scrny - 24) my = binfo->scrny - 24; |
66 | 66 | |
67 | 67 | 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); | |
69 | 69 | sprintf(s,"(%4d,%4d)",mx,my); |
70 | 70 | putfonts_asc_i(vinfo->PhysBasePtr, binfo->scrnx, 0,288,0xffffff,s); |
71 | 71 | } |
@@ -136,8 +136,10 @@ | ||
136 | 136 | #define DESKTOP_COL32 0xC6C6C6 |
137 | 137 | #define TASKBAR_COL32 0x0000FF |
138 | 138 | |
139 | -#define TASKBAR_HEIGHT 40 | |
139 | +#define TASKBAR_HEIGHT 40 | |
140 | 140 | |
141 | +#define INT_MONITOR_LONG 320 | |
142 | + | |
141 | 143 | #define FIFO32_PUT_OVER 0x0001 |
142 | 144 | |
143 | 145 | #define COL8_000000 0 |