Jump to content

mobluse

Members
  • Posts

    107
  • Joined

  • Last visited

  • Days Won

    3

mobluse last won the day on November 23 2020

mobluse had the most liked content!

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

mobluse's Achievements

Contributor

Contributor (5/14)

Conversation Starter Rare Dedicated First Post Collaborator Rare Reacting Well

Recent Badges

36

Reputation

  1. But my keyword quiz game above finds variable like MX, MY, and MB (which start to work after MOUSE 1) on the token table, but it doesn't find ST, TI, and TI$. You cannot assign to MX, MY, MB, and ST, but you can assign to TI and TI$, but not out of range number to TI (e.g. 1E8) or non-time strings to TI$.
  2. I think this site should upgrade the web emulator to R41 now (since R39 had some bugs), but perhaps have R38 too for old programs that haven't been converted yet or doesn't work in both releases. One should be able to choose if a program should use R38 or R41, but all existing programs should have R38 in order not to break code.
  3. Maybe ComAL is not available for licensing or the source code is not documented. Also ComAL-80 for C64 is a rather large language that came on a bank switching 64 KiB cartridge: https://www.c64-wiki.com/wiki/Commodore-64_Comal_80_rev_2.01
  4. I installed R41 in Raspberry Pi OS (Legacy) with desktop on Raspberry Pi 4 B 8GB from https://snapcraft.io/x16emu and command lines: sudo snap install x16emu --edge sudo snap connect x16emu:alsa After some fix one should not have to use --edge and connect, but for now it is necessary, see https://github.com/popey/x16emu-snap/issues/6
  5. I figured out how to derive the abbreviations from the order of the keywords, see this program and game: Now I'm interested to know how I find built in variables in ROM or RAM: e.g. TI, TI$, and ST; these also exist in C64. There are things in X16 BASIC v2 that now are keywords, e.g. MX and MY, but AFAIK could have been built in variables like ST. Why are variable like things sometimes keywords and sometimes built in variables?
  6. X16&C64 Keywords & Abbreviations Quiz View File This game quizzes the player about the abbreviations for the Commander X16 BASIC v2 keywords. If you know these abbreviations you can code BASIC for X16 and C64 faster and write more code per line. First the program figures out the keywords and abbreviations for the exact release of the ROM. Then you are offered the quiz. The quiz is timed and the errors are counted. If you give the wrong answer you get that question again directly. C64 mode: You can stop the program by pressing the Esc key before the quiz, then type SCREEN 255:RUN 64 and press Enter to only be quizzed for C64 keywords. The game X16&C64 Keywords&Abbreviations is tested with R38 (Try it now) and R41, but may work with later releases. The program is FOSS (license GPLv3) and the source is included in the zip-file, but is also on GitHub: https://github.com/mobluse/chargen-maker Command line: x16emu -bas KEYWORDSABBR.BAS -run -echo By using -echo you can copy the generated program and load it in x16emu and check that the abbreviations really expand correctly. Submitter mobluse Submitted 06/07/22 Category Games  
  7. Version 1.1.0

    5 downloads

    This game quizzes the player about the abbreviations for the Commander X16 BASIC v2 keywords including VIC20 and C64. If you know these abbreviations you can code BASIC for X16 and VIC20/C64 faster and write more code per line. First the program figures out the keywords and abbreviations for the exact release of the ROM. Then you are offered the quiz. The quiz is timed and the errors are counted. If you give the wrong answer you get that question again directly. C64 mode: You can stop the program by pressing the Esc key before the quiz, then type SCREEN 255:RUN 64 and press Enter to only be quizzed for C64 keywords. (VIC20 keywords are identical to C64.) The game X16&C64 Keywords&Abbreviations is tested with R38 (Try it now) and R41, but may work with later releases. The program is FOSS (license GPLv3) and the source is included in the zip-file, but is also on GitHub: https://github.com/mobluse/chargen-maker Command line: x16emu -bas KEYWORDSABBR.BAS -run -echo By using -echo you can copy the generated program and load it in x16emu and check that the abbreviations really expand correctly.
  8. Intel 8088 is also an 8-bit CPU since it has an 8-bit data bus. NEC V20 is an enhanced 8088. NEC V30 is an enhanced Intel 8086, but 8086 is a 16-bit CPU. V20 is programmed the same way as V30. V30 is Intel 80186 compatible and has extra instructions and an 8080 mode. I would be rather easy to find V20 developers since they are the same as other x86 developers. V20 and V30 are drop in replacements for 8088 and 8086, respectively.
  9. There are new versions of MMBasic for Pico and Linux out now, see links above.
  10. If you use this editor for editing in X16 you might be using nano normally to edit BASIC. In that case there is nano syntax coloring etc. in this project: https://github.com/thwill1000/mmb4l/releases (I would use the latest.) There are install instructions if you unpack the tgz file, but beware not to overwrite your own settings.
  11. Version 1.0.2

    11 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.
  12. 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  
  13. Version 1.0.1

    16 downloads

    Huge Character Demo prints all the characters in the ROM hugely: PETSCII and ISO8859-15 including ASCII. The faster version uses some new X16 BASIC v2 keywords: BIN$ and LOCATE, but the slower R38 version uses BASIC code or SYS PLOT to do the same. Both programs use the SYS FETCH Kernal function to read character data from ROM bank 6. It's the slower R38 version that runs using the Try it now button. The zip-file contains a version for R38+ and faster versions for R39+ and the open source code as text. This is FOSS with GPLv3 license. One could e.g. develop this into a program to print banners. This is also on GitHub: https://github.com/mobluse/chargen-maker I'm open to suggestions on how to improve the code and make it faster.
  14. Huge Character Demo View File Huge Character Demo prints all the characters in the ROM hugely: PETSCII and ISO8859-15 including ASCII. The faster version uses some new X16 BASIC v2 keywords: BIN$ and LOCATE, but the slower R38 version uses BASIC code or SYS PLOT to do the same. Both programs use the SYS FETCH Kernal function to read character data from ROM bank 6. It's the slower R38 version that runs using the Try it now button. The zip-file contains a version for R38+ and faster versions for R39+ and the open source code as text. This is FOSS with GPLv3 license. One could e.g. develop this into a program to print banners. This is also on GitHub: https://github.com/mobluse/chargen-maker I'm open to suggestions on how to improve the code and make it faster. Submitter mobluse Submitted 06/01/22 Category Demos  
  15. Yes, I saw the video when it came out, but now I've watched it again: BTW The gosuB bug is also in X16 R41. I have some old pocket computers that also have the possibility to abbreviate commands, but those abbreviations are more normal, ending with a dot.
×
×
  • Create New...

Important Information

Please review our Terms of Use