Rev 7915 | Rev 8088 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 7915 | Rev 7967 | ||
---|---|---|---|
Line 3610... | Line 3610... | ||
3610 | Returned value: |
3610 | Returned value: |
3611 | * eax = pointer to the loaded file, or zero |
3611 | * eax = pointer to the loaded file, or zero |
3612 | * edx = size of the loaded file, or zero |
3612 | * edx = size of the loaded file, or zero |
3613 | Remarks: |
3613 | Remarks: |
3614 | * function loads file and unpacks, if necessary |
3614 | * function loads file and unpacks, if necessary |
- | 3615 | ====================================================================== |
|
- | 3616 | ======== Function 68, subfunction 29 - allocate ring memory. ========= |
|
- | 3617 | ====================================================================== |
|
- | 3618 | Parameters: |
|
- | 3619 | * eax = 68 - function number |
|
- | 3620 | * ebx = 29 - subfunction number |
|
- | 3621 | * ecx = required size in bytes |
|
- | 3622 | Returned value: |
|
- | 3623 | * eax = 0 - failed |
|
- | 3624 | * eax = pointer to the allocated ring |
|
- | 3625 | Remarks: |
|
- | 3626 | * The requested size must be an exact multiple of pagesize (4 Kb) |
|
- | 3627 | * The function allocates memory in such a way that you can read and |
|
- | 3628 | write beyond the size of the allocated memory and will reach the |
|
- | 3629 | beginning of the buffer again. |
|
- | 3630 | ||
- | 3631 | ---------------------- Constants for registers: ---------------------- |
|
- | 3632 | eax - SF_SYS_MISC (68) |
|
- | 3633 | ebx - SSF_MEM_ALLOC_RING (29) |
|
Line 3615... | Line 3634... | ||
3615 | 3634 | ||
3616 | ====================================================================== |
3635 | ====================================================================== |
3617 | ====================== Function 69 - debugging. ====================== |
3636 | ====================== Function 69 - debugging. ====================== |
3618 | ====================================================================== |
3637 | ====================================================================== |