Fix compilation with TC2 (no // comments; a global variable needs ASM)

This commit is contained in:
Bart Oldeman 2017-12-22 10:10:17 -05:00 committed by Kenneth J Davis
parent 33d707ba7f
commit fdac78cc67
2 changed files with 4 additions and 3 deletions

View File

@ -414,8 +414,9 @@ void PreConfig2(void)
if (ebda_size) /* move the Extended BIOS Data Area from top of RAM here */
movebda(ebda_size, FP_SEG(KernelAlloc(ebda_size, 'I', 0)));
// if (UmbState == 2)
// umb_init();
/* if (UmbState == 2)
umb_init();
*/
}
/* Do third pass initialization. */

View File

@ -263,7 +263,7 @@ extern BYTE DOSFAR ASM _HMATextAvailable, /* first byte of available CODE are
FAR ASM _HMATextEnd[], DOSFAR ASM break_ena; /* break enabled flag */
extern BYTE DOSFAR ASM _InitTextStart[], /* first available byte of ram */
DOSFAR ASM _InitTextEnd[],
DOSFAR ReturnAnyDosVersionExpected,
DOSFAR ASM ReturnAnyDosVersionExpected,
DOSFAR ASM HaltCpuWhileIdle;
extern BYTE FAR ASM internal_data[];