Rev 7356 | Rev 7373 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 7356 | Rev 7358 | ||
---|---|---|---|
Line 125... | Line 125... | ||
125 | inline fastcall dword GetFreeRAM() |
125 | inline fastcall dword GetFreeRAM() |
126 | { |
126 | { |
127 | $mov eax, 18 |
127 | $mov eax, 18 |
128 | $mov ebx, 16 |
128 | $mov ebx, 16 |
129 | $int 0x40 |
129 | $int 0x40 |
130 | //return eax = free RAM in Kb |
130 | //return eax = free RAM size in Kb |
- | 131 | } |
|
- | 132 | ||
- | 133 | inline fastcall dword GetTotalRAM() |
|
- | 134 | { |
|
- | 135 | $mov eax, 18 |
|
- | 136 | $mov ebx, 17 |
|
- | 137 | $int 0x40 |
|
- | 138 | //return eax = total RAM size in Kb |
|
131 | } |
139 | } |
Line 132... | Line 140... | ||
132 | 140 | ||
133 | inline fastcall int GetCpuIdleCount() |
141 | inline fastcall int GetCpuIdleCount() |
134 | { |
142 | { |