Turbo vision on BC++31
veso266 opened this issue · 5 comments
Hi there I was trying to compile some example Turbo vision programs but for some reason fail to compile it with Bordland C++ 3.1
I downloaded it from here: https://winworldpc.com/product/borland-c/30
and installed
I used MS DOS 6.22 with Virtual PC 2007
but when trying to compile TVDEMO1.CPP I get Error: TV needs large memory mode!
not sure why is that, I have 64MB of RAM which should be on the safe site, is it because my CPU is too fast?
Thanks for Anwsering and Best Regards
Is Code Generation set to large model?
BC 3.1 can be a bit finicky to set up :)
That your PC is too fast is not an issue, provided that your virtualization software is correctly set up. DosBox worked for me.
yea, it was this code generation thingy, after opening example project in DEMo folder it compiled fine, not sure where to set this Code generation in project properties, but .... it works 😄
did you ever try to compile Turbo Vision on RHIDE with gpp?
its a bit more modern than BC++
for some reason I can't get g++ working I always get this error: https://www.youtube.com/redirect?event=comments&redir_token=IG2Olic2UrxEyN5viXf-Dy_AIDd8MTU1NDkxNTQwNkAxNTU0ODI5MDA2&stzid=UgxeHdSptghBeuosSbZ4AaABAg.8tM_5fWkeJ58tNeJCuhfT0&q=http%3A%2F%2Fshrani.si%2Ff%2F3k%2FtS%2F3UWGgGkc%2Fgppbroken.png
maybe its 8.3 filename issue, not sure if Pure DOS 6.22 can have Long file name support?
but I am using regular DOS 6.22 with Virtual PC 2007, not DosBox so that whats strange
I tried again, this time deleted everything and started fresh, I followed instruction carfully even wrote myself an install script: https://github.com/veso266/DJGPP-DOS-INSTALL/tree/master
but now I have some linker errors, when trying to compile sample C++ HelloWorld (one that configure.pl in TurboVision uses to check for C++ compiler )
#if __GNUC__>=3
#include <iostream>
#define STD(a) std::a
#else
#include <iostream.h>
#define STD(a) a
#endif
int main(void)
{
STD(cout) << "OK" << STD(endl);
return 0;
};at least all the files are there and I think I resolvved 8.3 filename issue
BTW: Do you know of any driver that would remove 8.3 limit in MS DOS 6.22?
Closing because now it's a bit late, isn't it? ;)