You are not logged in. You can browse in the PowerBASIC Community, but you must click Login (top right) before you can post. If this is your first visit, check out the FAQ or Sign Up.
Can you please explain "the top third of the screen" a bit more clearly?
Are the applications running in Windowed mode?
By default, Windows 2000 sets the DOS console to use 80x300 mode rather than the more conventional 80x25 size. By selecting the Properties dialog from the MSDOS window menu, you can change the console size.
Alternatively, if the MSDOS windowed screen itself is only 1/3 of the screen in size, you can use the same Properties menu to change the font size being used. By selecting a larger font and size (ie, Lucida, etc) you can enlarge the window size.
Also, you can switch the MSDOS window into full screen mode by pressing ALT+ENTER, and you can select this as the default mode in the same Properties dialog.
Finally, if you create a short-cut to the DOS app, you can also adjust the default application Properties.
My company's DOSBox program can be used to launch DOS and console apps in a pre-configured console window without creating a shortcut or changing the system default values in any way.
We are experiencing a minor problem with our web site so you can't currently download the free version, so if you would like a copy just send your email address to [email protected]
Bert,
I think you can solve your problem by simply putting the following
command at the beginning of your program, before any screen displayes:
SCREEN 0
My company's DOSBox program can be used to launch DOS and console apps in a pre-configured console window without creating a shortcut or changing the system default values in any way.
Eric, your reply triggered a thought. I have a PBCC program running
on Win98SE in windowed mode. I like the program in the lower right
quadrant of the screen but every time it is ran, it goes to the
upper left corner and has to be dragged to the lower right.
Windows 2000 allowed me to set the startup position, but had enough
other quirks, that I trashed it and went back to Win98SE. If
DOSBox would solve this problem, it would be the worth the price
to me for that alone.
You bet! You could either "link" DOSBox to your PB/CC program, to give it dynamic control over its own screen position, or you could create a batch file like this:
Code:
DOSBox MOVETO x,y
MyProgram.EXE
...where x,y represents the desired screen location.
Right click on the shortcut to the MS-DOS session and change the
number of lines from 300 to 25. This will end the scrollback ability
but will also make the screen a standard 80x25 and PB DOS code works
fine.
We process personal data about users of our site, through the use of cookies and other technologies, to deliver our services, and to analyze site activity. For additional details, refer to our Privacy Policy.
By clicking "I AGREE" below, you agree to our Privacy Policy and our personal data processing and cookie practices as described therein. You also acknowledge that this forum may be hosted outside your country and you consent to the collection, storage, and processing of your data in the country where this forum is hosted.
Comment