User Name Password Register
DaniWeb IT Discussion Community
All
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
Reply
Join Date: Jan 2008
Posts: 2
Reputation: angrita is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
angrita angrita is offline Offline
Newbie Poster

GWBASIC and XP Pro

  #1  
Jan 10th, 2008
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.
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Jan 2007
Location: Atlanta, Georgia USA
Posts: 350
Reputation: mechbas is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 16
mechbas mechbas is offline Offline
Posting Whiz

Re: GWBASIC and XP Pro

  #2  
Jan 11th, 2008
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.
Reply With Quote  
Join Date: Jan 2008
Posts: 2
Reputation: angrita is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
angrita angrita is offline Offline
Newbie Poster

Re: GWBASIC and XP Pro

  #3  
Jan 12th, 2008
Thanks for the advice. What I feared, but better to know and stop chasing a rainbow.
Reply With Quote  
Join Date: Jan 2007
Location: Atlanta, Georgia USA
Posts: 350
Reputation: mechbas is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 16
mechbas mechbas is offline Offline
Posting Whiz

Re: GWBASIC and XP Pro

  #4  
Jan 12th, 2008
If you're still interested searce the net f/upbas11.zip. Use the right syntax and it'll usually take the /protected mode byte out of the file for editing.
Reply With Quote  
Join Date: Oct 2007
Location: Cherry Hill, NJ
Posts: 1,876
Reputation: Duoas is a splendid one to behold Duoas is a splendid one to behold Duoas is a splendid one to behold Duoas is a splendid one to behold Duoas is a splendid one to behold Duoas is a splendid one to behold Duoas is a splendid one to behold 
Rep Power: 11
Solved Threads: 193
Featured Poster
Duoas's Avatar
Duoas Duoas is offline Offline
Posting Virtuoso

Re: GWBASIC and XP Pro

  #5  
Jan 13th, 2008
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.
  1. Create a shortcut that starts your gwbasic application.
  2. Use the shortcut to start the program.
  3. Right click on the console window's menubar to get a pop-up menu. Choose "Properties".
  4. Make all the changes you like until you are satisfied with the result.
  5. 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.
Reply With Quote  
Join Date: Feb 2008
Posts: 10
Reputation: glindhot is an unknown quantity at this point 
Rep Power: 1
Solved Threads: 1
glindhot glindhot is offline Offline
Newbie Poster

Re: GWBASIC and XP Pro

  #6  
Feb 17th, 2008
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
Last edited by glindhot : Feb 17th, 2008 at 8:50 am.
Reply With Quote  
Join Date: Oct 2007
Location: Cherry Hill, NJ
Posts: 1,876
Reputation: Duoas is a splendid one to behold Duoas is a splendid one to behold Duoas is a splendid one to behold Duoas is a splendid one to behold Duoas is a splendid one to behold Duoas is a splendid one to behold Duoas is a splendid one to behold 
Rep Power: 11
Solved Threads: 193
Featured Poster
Duoas's Avatar
Duoas Duoas is offline Offline
Posting Virtuoso

Re: GWBASIC and XP Pro

  #7  
Feb 17th, 2008
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.
Reply With Quote  
Join Date: Nov 2004
Location: Netherlands
Posts: 5,752
Reputation: jwenting is a jewel in the rough jwenting is a jewel in the rough jwenting is a jewel in the rough jwenting is a jewel in the rough 
Rep Power: 18
Solved Threads: 197
Colleague
jwenting's Avatar
jwenting jwenting is offline Offline
duckman

Re: GWBASIC and XP Pro

  #8  
Feb 24th, 2008
there can be only one possible answer to such a "request", and that's "REQUEST DENIED".
As people are clearly allowed to attack me but I'm not allowed to defend myself, I no longer post to this site.
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb Legacy and Other Languages Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Other Threads in the Legacy and Other Languages Forum

All times are GMT -4. The time now is 11:58 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC