Mork
New Member
Posts: 13
|
Post by Mork on Sept 10, 2023 14:03:01 GMT 1
Hi, is it possible to use the 800x600 resolution with the MS-DOS version of GFA-Basic?
Many regards, Mork
|
|
|
Post by (X) on Sept 10, 2023 14:57:11 GMT 1
Is it GFA-BASIC for DOS V4.55 ?
|
|
Mork
New Member
Posts: 13
|
Post by Mork on Sept 10, 2023 15:37:16 GMT 1
Yes, it is Ver 4.55 E3.
|
|
|
Post by (X) on Sept 10, 2023 15:59:41 GMT 1
I looked for specifics about GFA for DOS but could not find anything very helpful.
Here is what ChatGPT 3.5 has to say:
|
|
|
Post by (X) on Sept 10, 2023 16:07:46 GMT 1
What is your experience level with computers? A) Beginner, B) Average user, C) I know computers well, D) I can build my own computer and write an operating system with stone knives and bear skins.
|
|
Mork
New Member
Posts: 13
|
Post by Mork on Sept 10, 2023 16:33:39 GMT 1
I would say C) But to set the resolution you are using the screen-command in the GFA-Basic program. SCREEN 18 is 640x480 /16 Colours. SCREEN 19 is 320x200 /256 Colours. Lower numbers produce Hercules, CGA and EGA resolutions and a higher number than 19 produces an error. So I was wondering if one might install some kind of config-file to enable higher resolutions but found nothing about it yet.
|
|
|
Post by (X) on Sept 11, 2023 1:53:27 GMT 1
This deals with VESA modes. I am not sure it will help you, but, it might give you a clue.
|
|
|
Post by (X) on Sept 11, 2023 1:56:55 GMT 1
Just out of curiosity, why do you want to work with the DOS version instead of the Windows version of GFA-BASIC?
|
|
Mork
New Member
Posts: 13
|
Post by Mork on Sept 11, 2023 5:02:02 GMT 1
I am running it on Win98 or native DOS-Machines. I assume, the Windows Version will not accept Win98?
|
|
|
Post by (X) on Sept 11, 2023 12:44:31 GMT 1
You might be able to run GFA-BASIC 16 for Windows on Win98.
GFA-BASIC 16 for Windows is an older version of the GFA-BASIC programming language designed for Windows environments. While I don't have specific information about its compatibility with Windows 98, it is more likely to be compatible with Windows 98 than GFA-BASIC 32, which was designed for newer Windows versions like Windows Vista and higher.
However, compatibility can still be an issue with older software and operating systems due to changes in technology and system requirements over time. To determine if GFA-BASIC 16 for Windows will work on Windows 98, you should consult the software's official documentation or the developer's website. Additionally, you can try installing and running it on a Windows 98 system to see if it functions properly. Keep in mind that if you encounter any compatibility issues, there may not be official support or updates available for resolving them, as these older software versions may no longer be actively maintained.
GFA-BASIC 32 requires Windows Vista or higher to run, but it may also work on Windows 2000 and XP. However, it's important to note that Windows 98 is not mentioned in the compatibility list.
Since Windows 98 is not mentioned as a supported operating system, there is a strong likelihood that GFA-BASIC 32 for Windows may not run on Windows 98. Compatibility with older operating systems like Windows 98 would typically depend on whether the software was specifically designed and tested for compatibility with those older systems.
If you are using Windows 98 and want to run GFA-BASIC 32, you might encounter compatibility issues or limitations. It's recommended to check with the software's official documentation or the developer's website for specific system requirements and compatibility information. If Windows 98 is not supported, you may need to consider using a different version of GFA-BASIC or a different programming environment that is compatible with your operating system.
|
|
|
Post by (X) on Sept 11, 2023 12:48:47 GMT 1
Business or Pleasure? Again, just out of curiosity, are you intending to use GFA-BASIC for personal use, for a business or education?
|
|
Mork
New Member
Posts: 13
|
Post by Mork on Sept 11, 2023 14:12:59 GMT 1
I code for fun! ;-) I am especially interested in GOFAI and game-programming.
|
|
|
Post by (X) on Sept 11, 2023 16:31:17 GMT 1
Sounds great! 😄 If any questions pop up, please don't hesitate to ask. We're always happy to help!
|
|
|
Post by dragonjim on Sept 11, 2023 20:54:33 GMT 1
Have you tried running GFABASIC-32 on Windows 98?
As far as I remember, GFABASIC-32 was written for Windows 98's release with backward compatibility for Windows 95 (which is why it only supports ASCII/ANSI strings and not Unicode). I was running Windows 98 when I first used it...
If the current installer does not work on Windows 98, install GB32 on a new OS and then simply copy the GFABASIC folder from Program Files(x86) to your Windows 98 installation (it used to install either onto C:\ or in My Documents but can be run from anywhere).
I'd be interested to know how if GFABASIC-32 still runs on Windows 98; sadly, I no longer have my old installation on a Virtual drive; however, for anyone who is interested, it still works well on Windows XP, as well as all OS's since then.
|
|
Mork
New Member
Posts: 13
|
Post by Mork on Sept 12, 2023 20:10:12 GMT 1
Haven't tried yet, but might do it next weekend.
|
|
Mork
New Member
Posts: 13
|
Post by Mork on Sept 16, 2023 15:18:38 GMT 1
Hi, I tested it and it runs on Win98 in the way you described it! But alas, it's quite more complicated than the DOS-Version or the good old Atari-ST Version. I was able to modify the title of a window, but in which way can a windows-title be centered?
|
|
|
Post by (X) on Sept 16, 2023 22:51:28 GMT 1
To my knowledge, there is no built-in command to center the text in a form title or caption, but, there are ways to calculate an offset for the text to mimic this. (There are cases for which you can specify centered text; for example, in a Label or TextBox control)
This code should get you by...
OpenW 1 TitleW 1, App.Name P_Center_Form_Title_Text(Win_1)
Do Sleep Loop Until Me Is Nothing
Sub Win_1_ReSize() P_Center_Form_Title_Text(Win_1) EndSub Proc P_Center_Form_Title_Text(frm As Form) Dim t$ = Trim(frm.Caption) // trimmed title text Dim tw! = TextWidth(t$) // text width Dim sw! = TextWidth(" ") // width of a space character Dim fw! = frm.ScaleWidth - 170 // form width - controlbox width Dim bfr! = ((fw / 2) - (tw / 2)) / sw // space buffer Dim ct$ = Space(bfr) + t$ // Centered text frm.Caption = ct$ EndProc
As you resize the window, the Title / Caption text should continue to be centered...
|
|
Mork
New Member
Posts: 13
|
Post by Mork on Sept 17, 2023 2:17:27 GMT 1
I think that's why I asked for a higher resolution for DOS GFA-Basic instead of changing to the Windows Version. It seems to me, that things in Windows are far more complicated to handle with than with a BASIC that does things without a middleware.
|
|
|
Post by (X) on Sept 17, 2023 3:49:48 GMT 1
I agree 100%. If you don't specifically need to develop a Windows application I would stick with DOS.
A bit about myself: I am 99% driven by curiosity to see if I am able to accomplish something in GFA_BASIC 32 for Windows. I don't need to, I just do it for fun and entertainment. ChatGPT has helped me a lot to quickly find ~80% complete solutions to many of my projects. If I needed to make money, I would follow the current trends and learn as much as I could about making life easier for the coder. But as I said, I don't need to bother with any of that. I am retired. I can just follow my nose and explore.
|
|
Mork
New Member
Posts: 13
|
Post by Mork on Sept 17, 2023 10:58:53 GMT 1
That's why you are God! :-)
|
|
|
Post by (X) on Sept 17, 2023 13:37:47 GMT 1
Yes, about the 'God' label. Initially I found it rather amusing, then, I worried others may not. So, less amusing.
If you are interested in a bit of an explanation, here's a little background of what can and can't be done on this site.
This is a member driven, stand-alone forum, not legally bound or affiliated with GFA-BASIC 32 for Windows.
In fact, anyone can create a forum for free on Proboards as well as from many other forum web-sites.
Some of the member rank labels, including 'New Member,' 'Junior Member,' 'Full Member,' 'Senior Member,' 'God,' and 'Administrator,' are merely associated with the number of posts made by each member. Unfortunately, the member rank labels are fixed at design time and we can't change them without Admin rights.
They are beyond the control of moderators, who can only perform basic housekeeping tasks.
So, I tried to correct the situation by asking the Admin to change: 'God' to something less controversal, but, I received no response. Well, I tried. For reasons unknown to me, this forum has been effectively "abandonned" by the original creator and Full Admin: DJ Peters (2010). I assume he is too busy or doesn't care, which is fine. He has no real obligation beyond courteousy.
I attempted to create another forum called 'GFATRIX,' for which I had full administrative rights. However, it was not successful as most people preferred to remain here. That is perfectly fine since this site has been operational without major incidents for 13 years. We have our own little Pantheon going here: You can see the full list of members if you log-in.
|
|