When I call extended memory in DOS 6.22, I used EMS. There doesn't seem to be any problem using those BIOS interrupts. I'm programming with Visual C, but in actual use, suppose I map 10 logical pages one by one through physical pages. Suppose the contents of those 10 logical pages are each just one letter, namely a,b,c,d,e,f,g,h,i,j, and they correspond one by one to the 10 logical pages.
For the physical pages I only use the first page. Right now I first map logical page 1, then use printf to print the contents of logical page 1: the letter a. Then I map page 2 and use printf to print the contents of logical page 1: the letter b. Then I map page 3 and print the letter c. But when I implement it in a program, I can never get the result above that I want. Is this idea feasible in C? How can it be done with BIOS interrupts? It would be best if you could provide source code!! Thank you!!! If you can provide other EMS program source examples using BIOS interrupts, that would also be fine. I would be extremely grateful!!!
My EMAIL: xiefeilong2003@yahoo.com.cn
I have only one purpose in doing this: when writing programs under DOS, not to be limited by memory
If any expert has other methods, I would be very glad to hear them!!!! Thank you!!
Please save me, God!
For the physical pages I only use the first page. Right now I first map logical page 1, then use printf to print the contents of logical page 1: the letter a. Then I map page 2 and use printf to print the contents of logical page 1: the letter b. Then I map page 3 and print the letter c. But when I implement it in a program, I can never get the result above that I want. Is this idea feasible in C? How can it be done with BIOS interrupts? It would be best if you could provide source code!! Thank you!!! If you can provide other EMS program source examples using BIOS interrupts, that would also be fine. I would be extremely grateful!!!
My EMAIL: xiefeilong2003@yahoo.com.cn
I have only one purpose in doing this: when writing programs under DOS, not to be limited by memory
If any expert has other methods, I would be very glad to hear them!!!! Thank you!!
Please save me, God!

