• R/O
  • SSH
  • HTTPS

chnosproject: Commit


Commit MetaInfo

Revisión87 (tree)
Tiempo2010-04-01 17:20:25
Autorhikarupsp

Log Message

(empty log message)

Cambiar Resumen

Diferencia incremental

--- beta/tolset_chn_000/chnos_006/bootpack.c (revision 86)
+++ beta/tolset_chn_000/chnos_006/bootpack.c (revision 87)
@@ -25,23 +25,23 @@
2525 io_sti();
2626
2727 system.io.memory.init(memman);
28-// memman_free(0x00001000,0x0009e000);/*ここのメモリは誰かが使用中のようだ。*/
29- memman_free(0x00400000,all_mem_size - 0x00400000);
3028
31- init_pit();
32- fifo32_init(&sysfifo, 256, fifobuf);
33- init_keyboard(&sysfifo, SYSFIFO_KEYB);
34- init_mouse(&sysfifo, SYSFIFO_MOUSE, &mdec);
35- init_sheets(vinfo->PhysBasePtr,binfo->scrnx,binfo->scrny);
36-// init_windows();
29+ system.io.memory.free(0x00400000,all_mem_size - 0x00400000);
30+
31+ system.io.timer.init();
32+ system.data.fifo.init(&sysfifo, 256, fifobuf);
33+ system.io.keyboard.init(&sysfifo, SYSFIFO_KEYB);
34+ system.io.mouse.init(&sysfifo, SYSFIFO_MOUSE, &mdec);
35+ system.draw.sheet.init(vinfo->PhysBasePtr,binfo->scrnx,binfo->scrny);
36+
3737 system.draw.window.init();
38- pit_beep_off();
39- init_serial();
38+ system.io.beep.off();
39+ system.io.serial.init();
4040
4141
42- sht_back = sheet_alloc();
43- sht_mouse = sheet_alloc();
44- buf_back = (unsigned int *) memman_alloc_4k(binfo->scrnx * binfo->scrny * 4);
42+ sht_back = system.draw.sheet.alloc();
43+ sht_mouse = system.draw.sheet.alloc();
44+ buf_back = (unsigned int *) system.io.memory.alloc(binfo->scrnx * binfo->scrny * 4);
4545 buf_win = (unsigned int *) memman_alloc_4k(INT_MONITOR_LONG * 150 * 4);
4646 sheet_setbuf(sht_back, buf_back, binfo->scrnx, binfo->scrny, VOID_INV_COL32);
4747 sheet_setbuf(sht_mouse, buf_mouse, 24, 24, INV_COL32);
--- beta/tolset_chn_000/chnos_006/!functions.txt (nonexistent)
+++ beta/tolset_chn_000/chnos_006/!functions.txt (revision 87)
@@ -0,0 +1,102 @@
1+擬似クラスの関数
2+
3+system.
4+ io.
5+ clts
6+ fnsave
7+ frstore
8+ hlt
9+ cli
10+ sti
11+ stihlt
12+ in8
13+ in16
14+ in32
15+ out8
16+ out16
17+ out32
18+ farcall
19+ farjmp
20+ readrtc
21+ pic.
22+ init
23+ eflags.
24+ load
25+ store
26+ gdtr.
27+ load
28+ idtr.
29+ load
30+ cr0.
31+ load
32+ store
33+ tr.
34+ load
35+ keyboard.
36+ wait
37+ init
38+ inthandler
39+ timer.
40+ init
41+ inthandler
42+ mouse.
43+ inthandler
44+ init
45+ decode
46+ interrupt.
47+ init
48+ set_segment
49+ set_gate
50+ handler.
51+ int27
52+ memory.
53+ init
54+ test
55+ freesize
56+ allocb
57+ freeb
58+ alloc
59+ free
60+ beep.
61+ on
62+ off
63+ serial.
64+ init
65+ send
66+ draw.
67+ circle
68+ int2short
69+ int2char
70+ init_scrn
71+ boxfill
72+ col_pat_256safe
73+ putfonts
74+ point
75+ bits8.
76+ init
77+ set
78+ boxfill
79+ init_scrn
80+ putfont
81+ putfonts
82+ mouse_cursor
83+ putblock
84+ bits16.
85+ boxfill
86+ init_scrn
87+ putfont
88+ putfonts
89+ mouse_cursor
90+ putblock
91+ bits32.
92+ boxfill
93+ init_scrn
94+ putfont
95+ putfonts
96+ mouse_cursor
97+ putblock
98+ window.
99+
100+ data.
101+ info.
102+
\ No newline at end of file
Show on old repository browser