Jump to content

Search the Community

Showing results for tags 'basicode'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

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

Categories

  • 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

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


About Me

Found 3 results

  1. Version 1.0.2

    24 downloads

    DECPS is an escape sequence to Play Sound (PS) on VT520 and VT525 terminals by Digital Equipment Corporation (DEC). A coming version of Windows Terminal will support this since a pull request was accepted. The corresponding issue had some examples and I converted them automatically to BASIC DATA statements for Commander X16 with my Basicode-3 and -3C sound subroutine. The subroutine has extra features since it can also play polyphonic music by using other entry line numbers. This program can also play a chord for each note. I put all the examples in a file and converted to BASIC v2 DATA statements using this command line in Linux, and then I shortened the lines to less than 80 characters manually: sed 's/printf "\\e\[/REM DATA /;s/;/,/g;s/~\\e\[/1E4,/g;s/~"/2E4/' decps.sh There is a simple 1 to 1 relationship between a string for e.g. VT520 and the DATA statements in this program DECPS.BAS. The open source bas-file is also included in the zip-file and it's FOSS with license GPLv3.
  2. DECPS Player - simulates Play Sound of VT520 & VT525 View File DECPS is an escape sequence to Play Sound (PS) on VT520 and VT525 terminals by Digital Equipment Corporation (DEC). A coming version of Windows Terminal will support this since a pull request was accepted. The corresponding issue had some examples and I converted them automatically to BASIC DATA statements for Commander X16 with my Basicode-3 and -3C sound subroutine. The subroutine has extra features since it can also play polyphonic music by using other entry line numbers. This program can also play a chord for each note. I put all the examples in a file and converted to BASIC v2 DATA statements using this command line in Linux, and then I shortened the lines to less than 80 characters manually: sed 's/printf "\\e\[/REM DATA /;s/;/,/g;s/~\\e\[/1E4,/g;s/~"/2E4/' decps.sh There is a simple 1 to 1 relationship between a string for e.g. VT520 and the DATA statements in this program DECPS.BAS. The open source bas-file is also included in the zip-file and it's FOSS with license GPLv3. Submitter mobluse Submitted 06/04/22 Category Audio Apps  
  3. 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.
×
×
  • Create New...

Important Information

Please review our Terms of Use