Rev 837 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 837 | Rev 864 | ||
---|---|---|---|
Line 30... | Line 30... | ||
30 | ATTCH_IRQ equ 0000111010111000b |
30 | ATTCH_IRQ equ 0000111010111000b |
31 | end if |
31 | end if |
Line 32... | Line 32... | ||
32 | 32 | ||
Line -... | Line 33... | ||
- | 33 | CPU_FREQ equ 2600d |
|
- | 34 | ||
33 | CPU_FREQ equ 2600d |
35 | PG_SW equ 0x003 |
34 | 36 | ||
35 | BIT0 EQU 0x00000001 |
37 | BIT0 EQU 0x00000001 |
36 | BIT1 EQU 0x00000002 |
38 | BIT1 EQU 0x00000002 |
37 | BIT2 EQU 0x00000004 |
39 | BIT2 EQU 0x00000004 |
Line 527... | Line 529... | ||
527 | endp |
529 | endp |
Line 528... | Line 530... | ||
528 | 530 | ||
529 | align 4 |
531 | align 4 |
Line 530... | Line 532... | ||
530 | proc create_primary_buff |
532 | proc create_primary_buff |
- | 533 | ||
- | 534 | mov ecx, 0x10000 |
|
531 | 535 | mov edx, PG_SW |
|
Line 532... | Line 536... | ||
532 | stdcall KernelAlloc, 0x10000 |
536 | call HeapAlloc |
533 | mov [ctrl.buffer], eax |
537 | mov [ctrl.buffer], eax |
534 | 538 |