no message
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1312
This commit is contained in:
parent
7b27e666f2
commit
55591a56da
18 changed files with 246 additions and 41 deletions
|
@ -107,6 +107,7 @@ static INLINE bool InvalidHandle(Bitu handle) {
|
|||
|
||||
Bitu XMS_QueryFreeMemory(Bit16u& largestFree, Bit16u& totalFree) {
|
||||
/* Scan the tree for free memory and find largest free block */
|
||||
|
||||
totalFree=(Bit16u)(MEM_FreeTotal()*4);
|
||||
largestFree=(Bit16u)(MEM_FreeLargest()*4);
|
||||
if (!totalFree) return XMS_OUT_OF_SPACE;
|
||||
|
@ -245,7 +246,7 @@ static bool multiplex_xms(void) {
|
|||
};
|
||||
|
||||
Bitu XMS_Handler(void) {
|
||||
// LOG(LOG_MISC,LOG_ERROR)("XMS: CALL %02X",reg_ah);
|
||||
LOG(LOG_MISC,LOG_ERROR)("XMS: CALL %02X",reg_ah);
|
||||
switch (reg_ah) {
|
||||
|
||||
case XMS_GET_VERSION: /* 00 */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue