Jump to content

Search the Community

Showing results for tags 'r38'.

  • 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 9 results

  1. Version 0.1.0

    74 downloads

    For the last two years, as I relearn BASIC, I've been writing a book. It has been difficult to keep going, as I'm also studying for a Master's in Cybersecurity. This is a teaser of how it looks. The contents section shows the topics being covered. At the moment, it is around 260 pages. I'm curious about any feedback on how it looks and reads.
  2. Version 1.0.0

    87 downloads

    This is a character editor written in BASIC. Both layers are being used so all 256 characters in a font can be modified without affecting the program. The start-up of the program is slow due to character rom being written into layer 0 so it can be edited. Also had to clear layer 0 ram. Unable to use Try-In as program requires the the CHAR-EDIT-IF file. Once the program is loaded you can press L to load the EXAMPLE1 file so see an alternative character tile set. Download the SD image to use. I've made an assumption about where the required interface data file is located and where the user data files will be. Unzip the sdcard-pal-edit.zip file and start the X16 emulator x16emu -sdcard sdcard-pal-edit , once it starts load"*",8 and run it. CHAR-EDIT-IF EXAMPLE1.CHAR CHAR-EDIT.PRG char-edit.bas sdcard-pal-edit.zip
  3. I have been experimenting with assembly for a little bit. I've created a simple function to replace some BASIC I have which works, but is slow (the BASIC is slow, not the assembly - whoosh its super fast!) . I'm using the cc65 toolchain. Its definitely a challenge I am enjoying. When I compile with .ORG $080D I can load the PRG and run it ok. If I change the memory address to .ORG $0400 that just breaks the program since the SYS2016 no longer works. If I adjust the PRG header so it is loaded to address $0400 instead of $0801 and then try to SYS to the actual first assembly instruction it is broken as well. If I adjust the .ORG $040C which is the first assembly instruction after the 3 BASIC NULLs, adjust the PRG header and call with SYS then my program works. My question is, how do I compile some assembly which I can call using the SYS command easily. eg Create some machine code that my BASIC program can just poke in to memory and then call with SYS. Or create a PRG which has the correct load address and no single line basic included. Or once compiled will I need to manually edit the PRG? I'm sure I've missed some simple switch or I've not understand something. Any pointers would be great.
  4. Character Editor View File This is a character editor written in BASIC. Both layers are being used so all 256 characters in a font can be modified without affecting the program. The start-up of the program is slow due to character rom being written into layer 0 so it can be edited. Also had to clear layer 0 ram. Unable to use Try-In as program requires the the CHAR-EDIT-IF file. Once the program is loaded you can press L to load the EXAMPLE1 file so see an alternative character tile set. Download the SD image to use. I've made an assumption about where the required interface data file is located and where the user data files will be. CHAR-EDIT-IF EXAMPLE1.CHAR CHAR-EDIT.PRG char-edit.bas sdcard-pal-edit.zip Submitter Justin Baldock Submitted 01/14/22 Category Dev Tools  
  5. I have created a PETSCII UI for a program using PETDRAWX16. I then poke it into VERA RAM. A simple rounded box. I then am using the kernal PLOT command to place the cursor in the rounded box and then use INPUT statement. The problem I am having is the string which INPUT gets is not the keyboard input but the entire line from the ? prompt. e.g. User enters "TEST" and I receive TEST and all the spaces then petscii, so the string is "TEST |" Any advise on working around this?
  6. Hi, I think I may have discovered a bug. Just hoping to see if other people can replicate? I'm using a Virtual Windows 10 machine. Create any BASIC program. 10 PRINT"TEST" 20 GOTO 10 Then use the RESET command, use the OLD command then try PRINT FRE(0) The emulator locked up with what appears to be an endless loop. Errors are going to the CMD console are WARN: Invalid register 9fbc WARN: Invalid register 9fb6 WARN: Invalid register 9fbc WARN: Invalid register 9fbc If other people can replicate I will create a bug report. Updated: Bug report added to GitHub.
  7. Hi, When using basic v2 on R38 ROM. I want to check what is the current cursor line number. On the C64 I can peek at $D6 and it returns the current line the cursor is on. When I try this on the X16 I get the value 8 back... no matter where the cursor is. I've had a look at the repo and found, x16-rom/kernal/cbm/editor.s, which appears to have, "tblx .res 1 ;$D6" Checking to find where tblx is explained I found kernal/open-roms/screen/e566.cursor_home.s, which appears to explain it as the cursor_home, current row. So $00D6 should be returning what I am looking for, my question is, am I misunderstanding or have I found a bug? (I'm leaning towards not understanding)
  8. On the C64 we could clear line X on the screen using a poke and sys to a kernal function. POKE 781,X: SYS 59903 Is there something like this for the X16? If I try it, it simply clears the entire screen. What I am doing is printing a game "shopping list" using CHR$(!13) CHR$($11) CHR$($11) so in the middle of the screen is a table of items. Then I'm using CHR$($13) to send the cursor back to home and prompt what the player would like to buy. The 2nd line would say if they purchased it, didn't have enough money, etc. Then I was hoping to clear just the 2nd line on the screen and re-prompt them until they leave the store. Any pointers would be cool.
  9. I suggest you use the online Emulator FIRST (can be skipped if desired.) Try out the emulator online here - https://www.commanderx16.com/emulator/x16emu.html It’s quick and easy and gets you playing with the prototype system with a single click. Go ahead and type in: 10 PRINT “THE X16 WILL RULE THE WORLD!”; 20 GOTO 10 RUN If you want to try out some of the great software for the X16 that has been developed, browse the downloads https://www.commanderx16.com/forum/index.php?/files/, select a program and then click on the “Try it now” button. I mention the above since it will work on your MAC with little fuss and no significant effort on your part. It may leave you content, or firm up your enthusiasm to get the emulator installed and working on your machine. See the next item below for the detailed install notes.
×
×
  • Create New...

Important Information

Please review our Terms of Use