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