Does the Wengier DJGPP integrated development environment use the command you mentioned? Why does it say that this command does not exist?
Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!
The following is the speech of TomLi on 2003-8-12 13:27:02:
Borland DOS POWER PACK
Borland C++ 4.5 in conjunction with Borland DOS POWER PACK can be used to develop DPMI 16 and DPMI 32 applications under DOS, with 4G memory available under DOS. DOS programs originally written under BC++ 3.1 basically need no changes and can be recompiled. In particular, Borland DOS POWER PACK can use DLL libraries in WINDOWS 3.X format under DOS and also supports the BGI graphics interface, which is very convenient for developing DOS GUI interfaces and will not encounter the problem of insufficient memory.
| Rater | Score | Time |
|---|---|---|
| rsice | +2 | 2008-03-06 21:48 |
void keyboard(int choice,char key)
{
int offset,i;
offset=peek(0x40,0x1c);
for(i=0;key!='\x0';i++)
{
if(choice==0)
{
pokeb(0x40,offset,0x00);
pokeb(0x40,offset,key);
}
if(choice!=0)
{
pokeb(0x40,offset,key);
pokeb(0x40,offset+1,0x00);
}
offset=offset+2;
if(offset==0x3e)offset=0x1e;
}
pokeb(0x40,0x1c,offset);
}