Jump to content

Justin Baldock

Members
  • Posts

    55
  • Joined

  • Last visited

  • Days Won

    3

Everything posted by Justin Baldock

  1. Thanks for the feedback. Originally I did it all in a SD image which I will compress and upload.
  2. Just after Christmas I started working on my port. I've added a bunch of graphics. Its still a work in progress. https://github.com/JustinBaldock/X16-SuperStarTrek
  3. Version 1.0.0

    11 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. CHAR-EDIT-IF EXAMPLE1.CHAR CHAR-EDIT.PRG char-edit.bas sdcard-pal-edit.zip
  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. CHAR-EDIT-IF EXAMPLE1.CHAR CHAR-EDIT.PRG char-edit.bas Submitter Justin Baldock Submitted 01/14/22 Category Dev Tools  
  5. Thanks to TomXP411 and Ed Minchau. I really should have thought about basic string functions.
  6. 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?
  7. Thanks Ed, I didn't think to try other commands as I had fallen on it when trying to use the FRE command. I will update the bug.
  8. 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.
  9. I'm just wondering when R39 will be released as a binary / actual release? Are there any show stopper bugs in it?
  10. I am subscribed to Daves channel, while I knew about the old drives I didn't realise they were so rare or how they worked.
  11. As I start my end of year holidays I want to wish everyone the best and may all your projects work as planned.
  12. This is interesting I'm just watching it and thinking... "he is wrecking that floppy drive and SD card reader"
  13. Right now, I will take it as happy Friday! Yay, end of the work week!
  14. I've been teaching myself Basic the last two years. I'm having a crack at writing a book on Basic for the X16. I've got a few blog posts, GitHub repos, and I've posted a few examples in the download section. https://justinbaldock.wordpress.com/category/retrocomputing/commander-x16/ https://github.com/JustinBaldock
  15. Version 1.0.0

    21 downloads

    Akalabeth: World of Doom (1979) by Richard Garriott, AppleSoft basic ported to the Commander X16 by Justin Baldock. When starting I recommend you buy some food. This game is very unforgiving. This game was a little tricky to port, it leaves about 124 bytes free of Basic memory. I've added some colour to a few of the enemies. https://github.com/JustinBaldock/X16-Akalabeth Keyboard commands in play. N = Move North / Foward W = Move West / Turn Left E = Move East / Turn Right S = Move South / Turn Around X = Statistics A = NA / Attack - = Pass / Pass P = Toggle Pause D = Climb Ladder / Enter Town/ Enter Castle / Climb Down Q = Quit AKALABETH.PRG akalabeth.bas
  16. Akalabeth View File Akalabeth: World of Doom (1979) by Richard Garriott, AppleSoft basic ported to the Commander X16 by Justin Baldock. When starting I recommend you buy some food. This game is very unforgiving. This game was a little tricky to port, it leaves about 124 bytes free of Basic memory. I've added some colour to a few of the enemies. Keyboard commands in play. N = Move North / Foward W = Move West / Turn Left E = Move East / Turn Right S = Move South / Turn Around X = Statistics A = NA / Attack - = Pass / Pass P = Toggle Pause D = Climb Ladder / Enter Town/ Enter Castle / Climb Down Q = Quit AKALABETH.PRG akalabeth.bas Submitter Justin Baldock Submitted 11/24/21 Category Games  
  17. I plan on seeing it as soon as it opens in Australia. Been looking forward to this for a while.
  18. 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)
  19. That little function looks good. Is there a way in BASIC which will do it? My googling had only turned up using the CLRLN like I used above. The other way on C64 was to poke in to video memory.
  20. Just watching some youtube and thought it could be good to share some links to videos we find interesting. "Game Development in Eight Bits" by Kevin Zurawel
  21. 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.
  22. This program is using OPEN, PRINT#, INPUT#, CLOSE and expects media on device 8, so I suspect it won't work with the web emulator.
  23. The 'Try It Now' feature only appears to work with a PRG file. Because I've designed this little app to load its interface from a PetDrawX16 file and load palette data it sort of needs the SD image with those files.
×
×
  • Create New...

Important Information

Please review our Terms of Use