Added total memory size call
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@966
This commit is contained in:
parent
1663e758b0
commit
52243ceaa4
1 changed files with 2 additions and 1 deletions
|
@ -46,7 +46,6 @@ INLINE Bit16u PAGES(Bit32u bytes) {
|
|||
return (Bit16u)(1+(bytes>>12));
|
||||
}
|
||||
|
||||
|
||||
void MEM_SetupPageHandlers(Bitu startpage,Bitu pages,MEMORY_ReadHandler read,MEMORY_WriteHandler write);
|
||||
void MEM_ClearPageHandlers(Bitu startpage,Bitu pages);
|
||||
|
||||
|
@ -56,6 +55,8 @@ void MEM_ClearMapping(Bitu startpage,Bitu pages);
|
|||
bool MEM_A20_Enabled(void);
|
||||
void MEM_A20_Enable(bool enable);
|
||||
|
||||
Bitu MEM_TotalSize(void); //Memory size in KB
|
||||
|
||||
extern HostPt memory;
|
||||
|
||||
/*
|
||||
|
|
Loading…
Add table
Reference in a new issue