Rev 5363 | Rev 5836 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 5363 | Rev 5665 | ||
---|---|---|---|
Line 4... | Line 4... | ||
4 | ;; Copyright (C) MenuetOS 2000-2004 Ville Mikael Turjanmaa ;; |
4 | ;; Copyright (C) MenuetOS 2000-2004 Ville Mikael Turjanmaa ;; |
5 | ;; Distributed under terms of the GNU General Public License ;; |
5 | ;; Distributed under terms of the GNU General Public License ;; |
6 | ;; ;; |
6 | ;; ;; |
7 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
7 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
Line 8... | Line 8... | ||
8 | 8 | ||
Line 9... | Line 9... | ||
9 | $Revision: 5363 $ |
9 | $Revision: 5665 $ |
10 | 10 | ||
11 | ;============================================================================== |
11 | ;============================================================================== |
Line 132... | Line 132... | ||
132 | ; - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
132 | ; - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
133 | ;; Set skin: |
133 | ;; Set skin: |
134 | ;< ebx = 8 |
134 | ;< ebx = 8 |
135 | ;< ecx = pointer to FileInfoBlock struct |
135 | ;< ecx = pointer to FileInfoBlock struct |
136 | ;> eax = FS error code |
136 | ;> eax = FS error code |
- | 137 | ; - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
|
- | 138 | ;; Set font smoothing: |
|
- | 139 | ;< ebx = 9 |
|
- | 140 | ;< ecx = 0 (off) or !0 (on) |
|
137 | ;------------------------------------------------------------------------------ |
141 | ;------------------------------------------------------------------------------ |
138 | cmp ebx, .sizeof.ftable / 4 |
142 | cmp ebx, .sizeof.ftable / 4 |
139 | ja @f |
143 | ja @f |
140 | jmp [.ftable + ebx * 4] |
144 | jmp [.ftable + ebx * 4] |
141 | ;-------------------------------------- |
145 | ;-------------------------------------- |
Line 297... | Line 301... | ||
297 | align 4 |
301 | align 4 |
298 | .exit: |
302 | .exit: |
299 | ret |
303 | ret |
300 | ;------------------------------------------------------------------------------ |
304 | ;------------------------------------------------------------------------------ |
301 | align 4 |
305 | align 4 |
- | 306 | syscall_display_settings.09: |
|
- | 307 | mov [fontSmoothing], cl |
|
- | 308 | ret |
|
- | 309 | ;------------------------------------------------------------------------------ |
|
- | 310 | align 4 |
|
302 | syscall_display_settings._.calculate_whole_screen: |
311 | syscall_display_settings._.calculate_whole_screen: |
303 | xor eax, eax |
312 | xor eax, eax |
304 | xor ebx, ebx |
313 | xor ebx, ebx |
305 | mov ecx, [_display.width] |
314 | mov ecx, [_display.width] |
306 | mov edx, [_display.height] |
315 | mov edx, [_display.height] |
Line 1398... | Line 1407... | ||
1398 | ;///// private functions ////////////////////////////////////////////////////// |
1407 | ;///// private functions ////////////////////////////////////////////////////// |
1399 | ;============================================================================== |
1408 | ;============================================================================== |
Line 1400... | Line 1409... | ||
1400 | 1409 | ||
1401 | iglobal |
1410 | iglobal |
1402 | FuncTable syscall_display_settings, ftable, \ |
1411 | FuncTable syscall_display_settings, ftable, \ |
Line 1403... | Line 1412... | ||
1403 | 00, 01, 02, 03, 04, 05, 06, 07, 08 |
1412 | 00, 01, 02, 03, 04, 05, 06, 07, 08, 09 |
1404 | 1413 | ||
1405 | align 4 |
1414 | align 4 |
1406 | window_topleft dd \ |
1415 | window_topleft dd \ |