Rev 2 | Go to most recent revision | Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
1 | ha | 1 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
2 | ;; ;; |
||
3 | ;; KERNEL32.INC ;; |
||
4 | ;; ;; |
||
5 | ;; Included 32 bit kernel files for MenuetOS ;; |
||
6 | ;; ;; |
||
7 | ;; This file is kept separate as it will be easier to ;; |
||
8 | ;; maintain and compile with an automated SETUP program ;; |
||
9 | ;; in the future. ;; |
||
10 | ;; ;; |
||
11 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
||
12 | |||
13 | ; structure definition helper |
||
14 | macro struct name, [arg] |
||
15 | { |
||
16 | common |
||
17 | name@struct fix name |
||
18 | struc name arg { |
||
19 | } |
||
20 | |||
21 | macro struct_helper name |
||
22 | { |
||
23 | virtual at 0 |
||
24 | name name |
||
25 | sizeof.#name = $ - name |
||
26 | name equ sizeof.#name |
||
27 | end virtual |
||
28 | } |
||
29 | |||
30 | ends fix } struct_helper name@struct |
||
31 | |||
32 | |||
33 | ; Core functions |
||
34 | include "core/sync.inc" |
||
35 | include "core/sys32.inc" ; process management |
||
36 | include "core/sched.inc" ; process scheduling |
||
37 | include "core/fpu.inc" ; FPU handler |
||
38 | include "core/syscall.inc" ; system call |
||
39 | include "core/mem.inc" ; high-level memory management |
||
40 | include "core/newproce.inc" ;new process management |
||
41 | include "core/physmem.inc" ; access to physical memory for applications |
||
42 | include "core/sync.inc" ; macros for synhronization objects |
||
43 | |||
44 | ; GUI stuff |
||
45 | include "gui/window.inc" |
||
46 | include "gui/event.inc" |
||
47 | include "gui/font.inc" |
||
48 | include "gui/button.inc" |
||
49 | |||
50 | ; shutdown |
||
51 | |||
52 | include "boot/shutdown.inc" ; shutdown or restart |
||
53 | |||
54 | ; file system |
||
55 | |||
56 | include "fs/fs.inc" ; syscall |
||
57 | include "fs/fat32.inc" ; read / write for fat32 filesystem |
||
58 | include "fs/fat12.inc" ; read / write for fat12 filesystem |
||
59 | include "blkdev/rd.inc" ; ramdisk read /write |
||
60 | |||
61 | ; sound |
||
62 | |||
63 | include "sound/sb16.inc" ; playback for Sound Blaster 16 |
||
64 | include "sound/playnote.inc" ; player Note for Speaker PC |
||
65 | |||
66 | ; display |
||
67 | |||
68 | include "video/vesa12.inc" ; Vesa 1.2 functions |
||
69 | include "video/vesa20.inc" ; Vesa 2.0 functions |
||
70 | include "video/vga.inc" ; VGA 16 color functions |
||
71 | |||
72 | ; Network Interface & TCPIP Stack |
||
73 | |||
74 | include "network/stack.inc" |
||
75 | |||
76 | ; Mouse pointer |
||
77 | |||
78 | include "gui/mouse.inc" |
||
79 | |||
80 | ; Window skinning |
||
81 | |||
82 | include "gui/skincode.inc" |
||
83 | |||
84 | ; Pci functions |
||
85 | |||
86 | include "bus/pci/pci32.inc" |
||
87 | |||
88 | ; Floppy drive controller |
||
89 | |||
90 | include "blkdev/fdc.inc" |
||
91 | include "blkdev/flp_drv.inc" |
||
92 | |||
93 | ; CD drive controller |
||
94 | |||
95 | include "blkdev/cdrom.inc" |
||
96 | |||
97 | ; Character devices |
||
98 | |||
99 | include "hid/keyboard.inc" |
||
100 | |||
101 | ; setting date,time,clock and alarm-clock |
||
102 | |||
103 | include "hid/set_dtc.inc" |
||
104 | |||
105 | ;% -include |