#durexforth — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #durexforth, aggregated by home.social.
-
tinkering with #durexforth on the
#Commodore64, doing some #retrocodingI have compiled Durexforth from source, using the "master" branch. The main reason for this being that - unlike the official 5.0.0 release - the most recent code allows the S" word to be used in interactive mode.
Even more interesting is the fact that there already is a COUNT word but not its counterpart PLACE - so I provided that myself. And that eventually enabled me to provide a new, custom word: S, (which you may know from gforth)
S, will add a counted string to the dictionary, starting at HERE
Which eventually gives us a the ability to create nice lists of strings. 💡
Now, why do all of this (despite having fun)? 🤔
Well, remember when I put together a two-word parser for a simple #textadventure #game in DX-Forth on CP/M? 🔄
(https://oldbytes.space/@Wintermute_BBS/115996588963884170)With my additions in place that code now also runs on Durexforth without any changes (despite ASCII to PETSCII conversion) .... yay!
-
I wanted to be able to run #VolksForth for the #Commodore64 from a .CRT image so that it becomes immediately available at power on (just like you can do with #DurexForth ).
So I found this nice little #Python script below which converts your *.PRG file to a *.CRT file and adds a bootloder to it.
Some of you probably know this already, but I was very happy to find it - works with #Python3 as well: