If you're a mathematically-oriented person, you might like UBASIC ( Wikpedia entry: en.wikipedia.org/wiki/UBASIC ) -- one of the more advanced BASICS for math use as it had built-in support for rationals and complex numbers, as well as working with polynomials. The extended precision was hard to beat -- one of the demo programs computes Pi to 2500 digits! Speaking of use for math... one useful feature in the GW-BASIC is the WINDOW statement for graphics (I don't recall if the ROM BASIC had this or if it needed BASICA extensions) -- which allows you to configure the coordinate system used in plotting graphics. Not only does it perform the coordinate scaling, but it also automatically handled the "flip" you'd need to make in the Y coordinate (the origin for the physical coordinate are "upside-down" with the origin on the upper left corner and Y values increasing as you go down -- in normal Cartesian coordinates the Y coordinate values increase as you go up) -- it made writing programs to graph math functions *really* easy.
I have some memory of GW-BASIC programming, but not a lot. I remember doing some graphics stuff, mainly reproducing some simple games I wrote on AppleSoft BASIC on the Apple II.
@@freedosproject My thought was, maybe you're planting too closely together? Try planting the same amount of seeds over a greater acreage and see if it makes a difference.
@@ropersonline Been a while since I wrote that game or looked at the code, but it's a math-based resource-balance game. A person can only plant X many acres, so trying to plant more acres requires more people.
I recently got started with FreeDOS and tried installing bwbasic after running fdimples. When trying to run the program bwbasic it gave the error "This program must be run under Win32". How do I solve this?
I think you're running FreeDOS 1.2. We included the wrong EXE for Bywater BASIC in FreeDOS 1.2, and that's where you get the error. Download the updated package from our FreeDOS Files Archive at Ibiblio, or update to FreeDOS 1.3 RC4.
It needs to be ASCII format, so no tokensized GWBASIC programs. And it doesn't support a lot of the PC specific stuff of GWBASIC. Nor any of the more advanced constructs of QBASIC. And it isn't able to read or write those GWBASIC MBF floats from/to files...
Adding to @Ralf If you wish to save a GW-BASIC program as ASCII, simply open it in GWBASIC and the do a SAVE"FILE.BAS",A --where FILE.BAS is the name of your BASIC program.
@@grappydingus This doesn't work if the program in question was saved as "protected" -- which prevents you from LISTing the program as well as saving it in ASCII format. Fortunately there was a surprisingly simple "hack" that didn't require external programs, nor any weird PEEKs and POKEs. You just needed to create a (binary) file, and write out some bytes, then close it. This file can be LOADed, which will un-protect any protected BASIC program in memory (apparently this binary file was simply the truncated header for a tokenized BAS file. There was another sequence of bytes that would protect the program in memory). Just did a quick Google search -- found the info: groups.google.com/g/comp.os.msdos.misc/c/PA9sve0eKAk?pli=1
Bywater Basic is very similar to AppleSoft Basic from the Apple II. So unless you're doing something specific to the Apple, your Basic code should work.
If you're a mathematically-oriented person, you might like UBASIC ( Wikpedia entry: en.wikipedia.org/wiki/UBASIC ) -- one of the more advanced BASICS for math use as it had built-in support for rationals and complex numbers, as well as working with polynomials. The extended precision was hard to beat -- one of the demo programs computes Pi to 2500 digits!
Speaking of use for math... one useful feature in the GW-BASIC is the WINDOW statement for graphics (I don't recall if the ROM BASIC had this or if it needed BASICA extensions) -- which allows you to configure the coordinate system used in plotting graphics. Not only does it perform the coordinate scaling, but it also automatically handled the "flip" you'd need to make in the Y coordinate (the origin for the physical coordinate are "upside-down" with the origin on the upper left corner and Y values increasing as you go down -- in normal Cartesian coordinates the Y coordinate values increase as you go up) -- it made writing programs to graph math functions *really* easy.
I have some memory of GW-BASIC programming, but not a lot. I remember doing some graphics stuff, mainly reproducing some simple games I wrote on AppleSoft BASIC on the Apple II.
학원에서 gwbasic을 열심히 배웠던게 생각나네요
10 for i=1 to 9
20 print "hello"
30 next i
run
추억돋아요
Those are fun looking Basic games.
Speaking of BASIC games... David H Ahl's "BASIC Computer Games" and "More BASIC Computer Games" books were (and still are) great fun.
@@nuk1964 And the code is all available online.
8:39: So what's on the other 990 acres you're not planting? Golf courses?
I never thought of it that way! ☺ I guess it's just unused space.
@@freedosproject My thought was, maybe you're planting too closely together? Try planting the same amount of seeds over a greater acreage and see if it makes a difference.
@@ropersonline Been a while since I wrote that game or looked at the code, but it's a math-based resource-balance game. A person can only plant X many acres, so trying to plant more acres requires more people.
Great stuff. It's certainly a newer version than under Linux. That one hasn't been updated since 1997!
There is a new one in the works.
I use this in Linux, and it comes with a load of example programs.
Do you have a good website. I can download for free to make my database. Can you help me please..
I recently got started with FreeDOS and tried installing bwbasic after running fdimples. When trying to run the program bwbasic it gave the error "This program must be run under Win32". How do I solve this?
I think you're running FreeDOS 1.2. We included the wrong EXE for Bywater BASIC in FreeDOS 1.2, and that's where you get the error. Download the updated package from our FreeDOS Files Archive at Ibiblio, or update to FreeDOS 1.3 RC4.
@@freedosproject Yes I was using 1.2. Thanks for pointing that out, will try the RC4 next. Btw, its amazing to code C programs in a DOS environment!
Can it run GW basic or Qbasic programs unmodified or with just slight modification?
It needs to be ASCII format, so no tokensized GWBASIC programs. And it doesn't support a lot of the PC specific stuff of GWBASIC. Nor any of the more advanced constructs of QBASIC.
And it isn't able to read or write those GWBASIC MBF floats from/to files...
Adding to @Ralf If you wish to save a GW-BASIC program as ASCII, simply open it in GWBASIC and the do a SAVE"FILE.BAS",A --where FILE.BAS is the name of your BASIC program.
@@grappydingus This doesn't work if the program in question was saved as "protected" -- which prevents you from LISTing the program as well as saving it in ASCII format. Fortunately there was a surprisingly simple "hack" that didn't require external programs, nor any weird PEEKs and POKEs. You just needed to create a (binary) file, and write out some bytes, then close it. This file can be LOADed, which will un-protect any protected BASIC program in memory (apparently this binary file was simply the truncated header for a tokenized BAS file. There was another sequence of bytes that would protect the program in memory).
Just did a quick Google search -- found the info:
groups.google.com/g/comp.os.msdos.misc/c/PA9sve0eKAk?pli=1
@@nuk1964 I've been wondering how to unprotect for years. I'm checking that out. Thanks!
Can i run Applesoft Basic in bwbasic?
Bywater Basic is very similar to AppleSoft Basic from the Apple II. So unless you're doing something specific to the Apple, your Basic code should work.