摘要
采用在TurboC中使用EMS的一般方法时,对EMS的操作较麻烦,且易出错.本文提出用一结构体来记录EMS页的属性,在此基础上编制EMS的分配、释放、映射等函数,分别与TurboC中的farmaloc()、farfree()和MKFP()函数类似,操作安全、方便,且能保证完全释放EMS.
When EMS is used in Turbo C,operation is both complicate and making errors easily.A structure recording EMS page property is presented in this paper.Based on the structure,EMS allocate,release,map and so on functions are programmed .The functions are similar to Turbo C “farmalloc()”、“farfree()”and“MKFP()”ones,operation is convernient and safe,and can ensure free EMS entirely.
出处
《西安工业学院学报》
1998年第2期168-172,共5页
Journal of Xi'an Institute of Technology