|
@@ -86,8 +86,9 @@ static unsigned int extmemsize_e801 ( void ) {
|
86
|
86
|
}
|
87
|
87
|
|
88
|
88
|
extmem = ( extmem_1m_to_16m_k + ( extmem_16m_plus_64k * 64 ) );
|
89
|
|
- DBG ( "INT 15,e801 extended memory size %d+64*%d=%d kB\n",
|
90
|
|
- extmem_1m_to_16m_k, extmem_16m_plus_64k, extmem );
|
|
89
|
+ DBG ( "INT 15,e801 extended memory size %d+64*%d=%d kB [100000,%x)\n",
|
|
90
|
+ extmem_1m_to_16m_k, extmem_16m_plus_64k, extmem,
|
|
91
|
+ ( 0x100000 + ( extmem * 1024 ) ) );
|
91
|
92
|
return extmem;
|
92
|
93
|
}
|
93
|
94
|
|
|
@@ -103,7 +104,8 @@ static unsigned int extmemsize_88 ( void ) {
|
103
|
104
|
__asm__ __volatile__ ( REAL_CODE ( "int $0x15" )
|
104
|
105
|
: "=a" ( extmem ) : "a" ( 0x8800 ) );
|
105
|
106
|
|
106
|
|
- DBG ( "INT 15,88 extended memory size %d kB\n", extmem );
|
|
107
|
+ DBG ( "INT 15,88 extended memory size %d kB [100000, %x)\n",
|
|
108
|
+ extmem, ( 0x100000 + ( extmem * 1024 ) ) );
|
107
|
109
|
return extmem;
|
108
|
110
|
}
|
109
|
111
|
|
|
@@ -203,7 +205,8 @@ void get_memmap ( struct memory_map *memmap ) {
|
203
|
205
|
|
204
|
206
|
/* Get base and extended memory sizes */
|
205
|
207
|
basemem = basememsize();
|
206
|
|
- DBG ( "FBMS base memory size %d kB\n", basemem );
|
|
208
|
+ DBG ( "FBMS base memory size %d kB [0,%x)\n",
|
|
209
|
+ basemem, ( basemem * 1024 ) );
|
207
|
210
|
extmem = extmemsize();
|
208
|
211
|
|
209
|
212
|
/* Try INT 15,e820 first */
|