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 505... | Line 507... | ||
505 | endp |
507 | endp |
Line 506... | Line 508... | ||
506 | 508 | ||
507 | align 4 |
509 | align 4 |
Line 508... | Line 510... | ||
508 | proc create_primary_buff |
510 | proc create_primary_buff |
- | 511 | ||
- | 512 | mov ecx, 0x10000 |
|
509 | 513 | mov edx, PG_SW |
|
Line 510... | Line 514... | ||
510 | stdcall KernelAlloc, 0x10000 |
514 | call HeapAlloc |
511 | mov [ctrl.buffer], eax |
515 | mov [ctrl.buffer], eax |
512 | 516 |