•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the Legacy and Other Languages section within the Software Development category of DaniWeb, a massive community of 423,692 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,230 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Legacy and Other Languages advertiser: Programming Forums
Views: 1883 | Replies: 7
![]() |
•
•
Join Date: Jan 2008
Posts: 2
Reputation:
Rep Power: 0
Solved Threads: 0
I have just been requested by my wife's office to get a suite of GWBASIC vers 3.23 progs currently on W98SE to run on XP Pro . I have it running, however with 2 questions:
1. It runs in a very small fixed window. I can run full screen but on my large screen the clarity is poor. Can I enlarge the fixed window it appears in?
2. It says at GWBASIC start up only 60K free space. Is there any way I can increase this?
I have used some of the property options and have set W98 compatibility and increased memory to 200K but these do not appear to have any impact.
I am reasonably competent but not a complete techy, so any advice welcome.
I have also tried using QBASIC, but the same problem with Window size occurs and I am getting a gobbledegook character set appearing opening the source dode GWBASIC progs.
Only doing this as alternative approach if I cannot get GWBASIC fixed.
1. It runs in a very small fixed window. I can run full screen but on my large screen the clarity is poor. Can I enlarge the fixed window it appears in?
2. It says at GWBASIC start up only 60K free space. Is there any way I can increase this?
I have used some of the property options and have set W98 compatibility and increased memory to 200K but these do not appear to have any impact.
I am reasonably competent but not a complete techy, so any advice welcome.
I have also tried using QBASIC, but the same problem with Window size occurs and I am getting a gobbledegook character set appearing opening the source dode GWBASIC progs.
Only doing this as alternative approach if I cannot get GWBASIC fixed.
•
•
Join Date: Jan 2007
Location: Atlanta, Georgia USA
Posts: 350
Reputation:
Rep Power: 2
Solved Threads: 16
The basic answer on both counts is no.
The basic progs. that you're running were written at at time when ram (head space) was limited and it's ram limits are built into the program itself which is why your ram expansions are having no impact.
You might try a search on more current GWBASIC programs, they do exist or at least they did as of last summer.
The gobbledegook (hex) character set that you're getting is probably because the read only attribute was set when the prog. was last edited. There are ways to remove the byte for editing but for the moment don't recall how it was done.
The basic progs. that you're running were written at at time when ram (head space) was limited and it's ram limits are built into the program itself which is why your ram expansions are having no impact.
You might try a search on more current GWBASIC programs, they do exist or at least they did as of last summer.
The gobbledegook (hex) character set that you're getting is probably because the read only attribute was set when the prog. was last edited. There are ways to remove the byte for editing but for the moment don't recall how it was done.
•
•
Join Date: Jan 2007
Location: Atlanta, Georgia USA
Posts: 350
Reputation:
Rep Power: 2
Solved Threads: 16
•
•
Join Date: Oct 2007
Location: Cherry Hill, NJ
Posts: 1,876
Reputation:
Rep Power: 11
Solved Threads: 193
Actually, for the answer to (1), you can make the window text bigger by adjusting the font, but you'll need to do it in a shortcut.
If you mean that you want more columns/lines than 80x25, then you will have to poke around in memory to do it (as XP still supports the old DOS subsystem). You will probably have to use some assembly language routines to change the display mode (it has been a while, so I don't remember how, exactly...). You are most likely to have success if you use 80x50.
You might also want to look through "Running GW-BASIC under Windows".
Hope this helps.
- Create a shortcut that starts your gwbasic application.
- Use the shortcut to start the program.
- Right click on the console window's menubar to get a pop-up menu. Choose "Properties".
- Make all the changes you like until you are satisfied with the result.
- Click "OK" and then select the option to modify the shortcut that started the program.
If you mean that you want more columns/lines than 80x25, then you will have to poke around in memory to do it (as XP still supports the old DOS subsystem). You will probably have to use some assembly language routines to change the display mode (it has been a while, so I don't remember how, exactly...). You are most likely to have success if you use 80x50.
You might also want to look through "Running GW-BASIC under Windows".
Hope this helps.
•
•
Join Date: Feb 2008
Posts: 10
Reputation:
Rep Power: 1
Solved Threads: 1
Question 1 - Press Alt Enter will turn it into a full screen display.
[line#] SCREEN 0 'text screen (default screen when you enter BASIC)
[line#] SCREEN 1 'medium-resolution screen
[line#] SCREEN 2 'high-resolution screen
either
[line#] WIDTH 80 '80 columns of characters on the screen
or
[line#] WIDTH 40 '40 columns of characters on the screen
[line#] SCREEN 0 'text screen (default screen when you enter BASIC)
[line#] SCREEN 1 'medium-resolution screen
[line#] SCREEN 2 'high-resolution screen
either
[line#] WIDTH 80 '80 columns of characters on the screen
or
[line#] WIDTH 40 '40 columns of characters on the screen
Last edited by glindhot : Feb 17th, 2008 at 8:50 am.
•
•
Join Date: Oct 2007
Location: Cherry Hill, NJ
Posts: 1,876
Reputation:
Rep Power: 11
Solved Threads: 193
The OP already knows Alt-ENTER, and has complained that the resolution is poor, and asked how to fix the fixed-size Windows window.
I missed the 60k space question (sorry) but this is an old, 16-bit DOS program. You cannot increase the operating space.
Using WIDTH 40 is hardly helpful for increasing the character resolution.
The SCREEN modes listed don't help either. Mode 0 is MDI text. mode 1 is CGA 4 color graphics, 320x200 pixel, and mode 2 is 2 color, 640x200 pixel graphics --both of which are likely lower resolution than mode 0. The highest resolution graphics mode you can get with GWBASIC is SCREEN 9, which probably won't work... Read more here. In any case, switching to a graphics mode is not a good option unless you are doing graphics.
I missed the 60k space question (sorry) but this is an old, 16-bit DOS program. You cannot increase the operating space.
Using WIDTH 40 is hardly helpful for increasing the character resolution.
The SCREEN modes listed don't help either. Mode 0 is MDI text. mode 1 is CGA 4 color graphics, 320x200 pixel, and mode 2 is 2 color, 640x200 pixel graphics --both of which are likely lower resolution than mode 0. The highest resolution graphics mode you can get with GWBASIC is SCREEN 9, which probably won't work... Read more here. In any case, switching to a graphics mode is not a good option unless you are doing graphics.
![]() |
•
•
•
•
•
•
•
•
DaniWeb Legacy and Other Languages Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
- Previous Thread: Scheme empty list help
- Next Thread: T-SQL UPDATE Statement



Linear Mode