Jump to content

Search the Community

Showing results for tags 'gwbasic'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • Commander X16 Forums
    • Introductions
    • X16 Discussion Lounge
    • X16 Help & Support Lounge
    • The Lounge
    • Hobbies and Interests


  • Official Software
  • Official Docs
  • Community Downloads
    • Games
    • Productivity Apps
    • Graphics Apps
    • Audio Apps
    • Demos
    • Networking Apps
    • Dev Tools
    • Tutorial Apps
    • Misc Apps

Find results in...

Find results that contain...

Date Created

  • Start


Last Updated

  • Start


Filter by number of...


  • Start



About Me

Found 2 results

  1. Aritm (a mental calculation trainer) can now be run on computers that have BASICODE 3C, and the online version for browsers with JavaScript is here: https://bc3c.orbin.se. The online version also works in browsers for iPhone and Android using at least Chrome because BASICODE online has a screen keyboard that is started by clicking "Keyboard". It also works in GW-BASIC with its BASICODE library. I have not tested BASICODE libraries for other computers. BASICODE leverages the differences between different BASIC dialects. In some cases the differences were so big that a rewrite of the program was necessary and then they used a program called BASICODER that wrote the machine specific program from the source. The BASICODE programs were broadcast over radio or sold on cassettes and had a specific sound format. Most BASICODE programs I found are in Dutch, but some of them are multilingual and you choose language on startup. (BTW I discovered I could read Dutch because I know English, German, Danish, and Swedish.) Here is more information about BASICODE: https://github.com/robhagemans/basicode https://en.wikipedia.org/wiki/BASICODE https://parceladigital.com/2018/06/03/basicode-lenguaje-basic https://marnanel.org/stuff/basicode/manual.pdf I think we should have a BASICODE subroutine library for Commander X16 so we could run all BASICODE programs in existence. I'm certain there is one for C64, but one could also port the GW-BASIC version: https://github.com/robhagemans/basicode/blob/master/tools/BASCODER.BAS. When I developed Aritm for BASICODE I used PCBASIC: https://github.com/robhagemans/pcbasic, because that can run in a mode that uses stdio and that makes it easy to test automatically. I have developed a test-program in Python that tests Aritm for those retro-computer emulators that can use stdio: https://github.com/mobluse/aritmjs/blob/master/expect-aritm.py. I will probably develop this test-program further so that it can send in keypresses to those emulators that cannot use stdin, but I still need stdout to be supported, but luckily that works on x16emu. (Aritm also exists for X16 here among Downloads, but it has not been equally well tested as the versions for GW-BASIC, BASICODE, MMBasic, and ZX81 BASIC.) Also, one can test against the real computers if they have serial ports. The possibility of testing is why I hope X16 will have a serial port in the standard edition, but if it doesn't one could test using a simulated keyboard in and e.g. morse code out. All information about a problem in Aritm is packed into a float since that makes it easy to store the problems in an array and shuffle them. I started the development by improving the GW-BASIC version by changing from double floats to single since BASICODE officially only supports 6 digits of precision, but I found that 7 digits work for GW-BASIC and the online version of BASICODE. I also had to change from functions of two variables to single variable functions, and that I brought in from the Applesoft version. I also had to decrease the number of errors that are counted for each problem from 99 to 9 in order to fit into 7-digits. I will probably make a 6-digit version of Aritm since the Swedish computer Luxor ABC80 only has 6-digit floats. In order to reduce it to 6 digits I have to lose a potential feature of having 2 digit numbers for the second number, but I don't use that currently.
  2. I made a version of my program Aritm (mental calculation training program), that also exists here among Downloads/Games for X16, for Applesoft BASIC online. See "Select a sample..." and among Games, two rows down from Tetris: https://mobluse.github.io/jsbasic/ and also here http://jsbasic.orbin.se. JSBASIC is not a CPU emulator like X16 for the web, but only an Applesoft BASIC for Apple II simulator, but it has support for some pokes, peeks, and calls. It works on iPhone because the built-in keyboard is activated when the screen is tapped and the simulated Apple II expects input. Unfortunately the built-in keyboard doesn't work on Android (at least not in Chrome on mine). I also made a pull request to the original repository, so hopefully Aritm will be included on the official site https://calormen.com/jsbasic/, but cloning the site is legal, according to the license, and works well for now. I also bought the Applesoft manual as a spiral bound book and am reading it, but it also exists as a pdf: http://cini.classiccmp.org/pdf/Apple/AppleSoft II Basic Programming Manual.PDF. Applesoft does not have the same precedence rules as other Microsoft BASICs, such as CBM BASIC v2 and GW-BASIC, and I think e.g. BASIC2 has better precedence rules that are more like Python, which is similar to mathematics. I also own an Apple II Europlus with Applesoft BASIC, a Commodere 64C with BASIC V2 (built-in), Simons' BASIC, and COMAL80 on cartridges, and an Amstrad PC1512 that can run GWBASIC. I have tested Aritm on my actual C64 using a cassette adapter, but not on the other two even though it's possible to transfer the programs from modern computers using the cassette port in the Apple II case and (USB) serial cable in the PC case (laplink).
  • Create New...

Important Information

Please review our Terms of Use