• R/O
  • SSH
  • HTTPS

chnosproject: Commit


Commit MetaInfo

Revisión95 (tree)
Tiempo2010-04-21 20:38:01
Autorhikarupsp

Log Message

いくつかの細かな変更など。

Cambiar Resumen

Diferencia incremental

--- beta/tolset_chn_000/chnos_006/bootpack.c (revision 94)
+++ beta/tolset_chn_000/chnos_006/bootpack.c (revision 95)
@@ -1,4 +1,5 @@
11 #include "core.h"
2+#include <string.h>
23
34 struct SYSTEM system;
45
@@ -22,6 +23,7 @@
2223 unsigned int free_mem_size = 0;
2324 unsigned int *buf_back, buf_mouse[576], *buf_win;
2425 int scrnx,scrny;
26+ unsigned char *diskimg;
2527
2628
2729 init_system(&system);
@@ -33,6 +35,7 @@
3335 scrny = system.info.boot.scrny ;
3436 mx = scrnx/2;
3537 my = scrny/2;
38+ diskimg = ADR_DISKIMG;
3639
3740 system.io.memory.init(memman);
3841 system.io.memory.free(0x00400000,all_mem_size - 0x00400000);
@@ -84,6 +87,10 @@
8487 system.draw.putfonts(buf_win, INT_MONITOR_LONG, 0,16,0xffffff,s);
8588 system.draw.sheet.refresh(winfo1->center, 0, 16, INT_MONITOR_LONG, 32);
8689
90+ system.draw.boxfill(buf_win, INT_MONITOR_LONG, mix_color(0x0000ff00, 0x7fff0000), 0,32,INT_MONITOR_LONG,48);
91+ system.draw.putfonts(buf_win, INT_MONITOR_LONG, 0,32,0xffffff,strncpy(s, (char *)(diskimg + 0x002600 + 0x20 * 0),23));
92+ system.draw.sheet.refresh(winfo1->center, 0, 32, INT_MONITOR_LONG, 48);
93+
8794 for (;;){
8895 system.io.cli();
8996 if(system.data.fifo.status(&sysfifo) == 0) {
Show on old repository browser