中国DOS联盟论坛

China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --
Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
Guest | Log in | Register | Members | Search | China DOS Union
中国DOS联盟论坛
The time now is 2026-09-14 23:26
47,812 topics / 349,917 posts / today 0 new / 48,268 members
DOS开发编程 & 发展交流 (开发室) » About programming in big real mode under DOS
Printable Version  1,737 / 6
Floor1 herons Posted 2003-01-07 00:00
初级用户 Posts 6 Credits 126
Experts, I'm writing a program under DOS, and I need to use a fairly large amount of space, maybe over ten megabytes. I only know that in big real mode it can address up to 4 G, but I don't know whether the buffer I allocate can reach several megabytes or even more than ten megabytes. Also, if you could tell me how to implement it specifically, I would be extremely grateful!
Floor2 雨飞 Posted 2003-01-10 00:00
初级用户 Posts 25 Credits 151
Using big real mode is unsafe; it's better to use protected mode under DOS. Besides, there are already many DOS protected-mode program development tools. The one I use most often is Free Pascal.
Floor3 Wengier Posted 2003-01-10 00:00
系统支持 Posts 10,521 Credits 27,736
Right, Free Pascal and DJGPP C/C++ are both quite good.
Floor4 雨飞 Posted 2003-01-11 00:00
初级用户 Posts 25 Credits 151
I found something even better than Free Pascal. With it, you can use Delphi (it even supports Delphi 7!) to develop DOS programs, and it supports Forms too. Incredible, right? But I really have tried it. It's really easy to use.
This is its homepage:
http://www.dwp42.org/index.php?newlang=chinese
You can download it here:
http://www.dwp42.org/modules.php?name=Downloads&d_op=getit&lid=21
Floor5 Wengier Posted 2003-01-11 00:00
系统支持 Posts 10,521 Credits 27,736
Delphi for DOS is really something I've never heard of before; I just downloaded it.
Floor6 雨飞 Posted 2003-01-13 00:00
初级用户 Posts 25 Credits 151
The latest version now is 2.2.0, which can be found and downloaded from its website.
Right now I'm working on long filename support for the system functions and classes in this version.
Floor7 雨飞 Posted 2003-01-13 00:00
初级用户 Posts 25 Credits 151
Today I've basically finished correcting system.pas (only one function left). Hopefully tomorrow I can finish correcting windows.pas or sysutils.pas.
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023