home.social

#retrocoding — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #retrocoding, aggregated by home.social.

  1. It was a cold and rainy day today so I decided to rework the parser of my text adventure game skeleton.

    So now you can enter a simple sentence as can be seen in the screenshot which is better than the two-word approach I initially implemented (still not Infocom like but then that's not what I am after).

    What happens in the background is that the user input is split into sub-strings which are then checked against a list of strings (e.g. object names, verbs), leaving their corresponding list index number on the stack. These numbers are then used within the actual game logic.

    Oh, and I've added some colors - now the thing is beginning to look like a game ...

    #textadventure
    #game
    #parser
    #retrocoding
    #durexforth
    #forth

  2. It was a cold and rainy day today so I decided to rework the parser of my text adventure game skeleton.

    So now you can enter a simple sentence as can be seen in the screenshots which is better than the two-word approach I initially implemented (still not Infocom like but then that's not what I am after).

    What happens in the background is that the user input is split into sub-strings which are then checked against a list of strings (e.g. object names, verbs), leaving their corresponding list index number on the stack. These numbers are then used within the actual game logic.

    Oh, and I've added some colors - now the thing is beginning to look like a game ...

    #textadventure
    #game
    #parser
    #retrocoding
    #durexforth
    #forth

  3. It was a cold and rainy day today so I decided to rework the parser of my text adventure game skeleton.

    So now you can enter a simple sentence as can be seen in the screenshots which is better than the two-word approach I initially implemented (still not Infocom like but then that's not what I am after).

    What happens in the background is that the user input is split into sub-strings which are then checked against a list of strings (e.g. object names, verbs), leaving their corresponding list index number on the stack. These numbers are then used within the actual game logic.

    Oh, and I've added some colors - now the thing is beginning to look like a game ...

    #textadventure
    #game
    #parser
    #retrocoding
    #durexforth
    #forth

  4. It was a cold and rainy day today so I decided to rework the parser of my text adventure game skeleton.

    So now you can enter a simple sentence as can be seen in the screenshots which is better than the two-word approach I initially implemented (still not Infocom like but then that's not what I am after).

    What happens in the background is that the user input is split into sub-strings which are then checked against a list of strings (e.g. object names, verbs), leaving their corresponding list index number on the stack. These numbers are then used within the actual game logic.

    Oh, and I've added some colors - now the thing is beginning to look like a game ...

    #textadventure
    #game
    #parser
    #retrocoding
    #durexforth
    #forth

  5. It was a cold and rainy day today so I decided to rework the parser of my text adventure game skeleton.

    So now you can enter a simple sentence as can be seen in the screenshots which is better than the two-word approach I initially implemented (still not Infocom like but then that's not what I am after).

    What happens in the background is that the user input is split into sub-strings which are then checked against a list of strings (e.g. object names, verbs), leaving their corresponding list index number on the stack. These numbers are then used within the actual game logic.

    Oh, and I've added some colors - now the thing is beginning to look like a game ...

    #textadventure
    #game
    #parser
    #retrocoding
    #durexforth
    #forth

  6. Had a day off today and used the free time to implement "take", ""drop" and "inv" (inventory) for that #text #adventure #game skeleton I'm occasionally tinkering with.

    On the #Commodore64 I use #durexforth, but the same code also works on the #MyNorMy4th and with #gforth and I plan to get it to work on the #Minstrel4d as well.

    I still use just a two-word #parser at the moment but I'm already looking into ways of expanding that (will not be as great as Infocom but better than it is now).

    #forth
    #retrocoding

  7. Had a day off today and used the free time to implement "take", ""drop" and "inv" (inventory) for that #text #adventure #game skeleton I'm occasionally tinkering with.

    On the #Commodore64 I use #durexforth, but the same code also works on the #MyNorMy4th and with #gforth and I plan to get it to work on the #Minstrel4d as well.

    I still use just a two-word #parser at the moment but I'm already looking into ways of expanding that (will not be as great as Infocom but better than it is now).

    #forth
    #retrocoding

  8. Had a day off today and used the free time to implement "take", ""drop" and "inv" (inventory) for that #text #adventure #game skeleton I'm occasionally tinkering with.

    On the #Commodore64 I use #durexforth, but the same code also works on the #MyNorMy4th and with #gforth and I plan to get it to work on the #Minstrel4d as well.

    I still use just a two-word #parser at the moment but I'm already looking into ways of expanding that (will not be as great as Infocom but better than it is now).

    #forth
    #retrocoding

  9. Had a day off today and used the free time to implement "take", ""drop" and "inv" (inventory) for that #text #adventure #game skeleton I'm occasionally tinkering with.

    On the #Commodore64 I use #durexforth, but the same code also works on the #MyNorMy4th and with #gforth and I plan to get it to work on the #Minstrel4d as well.

    I still use just a two-word #parser at the moment but I'm already looking into ways of expanding that (will not be as great as Infocom but better than it is now).

    #forth
    #retrocoding

  10. Had a day off today and used the free time to implement "take", ""drop" and "inv" (inventory) for that #text #adventure #game skeleton I'm occasionally tinkering with.

    On the #Commodore64 I use #durexforth, but the same code also works on the #MyNorMy4th and with #gforth and I plan to get it to work on the #Minstrel4d as well.

    I still use just a two-word #parser at the moment but I'm already looking into ways of expanding that (will not be as great as Infocom but better than it is now).

    #forth
    #retrocoding

  11. 🤦‍♂️ Oh, look! Someone decided to revive the 1980s by writing a web server in #ARM64 assembly—because obviously, the world was clamoring for that. 🙄 Instead of using anything remotely practical like #Nginx, let's waste time reinventing the wheel with raw syscalls, because, why not? 🚀
    imtomt.github.io/ymawky/ #webserver #assembly #retrocoding #reinventingthewheel #HackerNews #ngated

  12. 🤦‍♂️ Oh, look! Someone decided to revive the 1980s by writing a web server in #ARM64 assembly—because obviously, the world was clamoring for that. 🙄 Instead of using anything remotely practical like #Nginx, let's waste time reinventing the wheel with raw syscalls, because, why not? 🚀
    imtomt.github.io/ymawky/ #webserver #assembly #retrocoding #reinventingthewheel #HackerNews #ngated

  13. 🤦‍♂️ Oh, look! Someone decided to revive the 1980s by writing a web server in #ARM64 assembly—because obviously, the world was clamoring for that. 🙄 Instead of using anything remotely practical like #Nginx, let's waste time reinventing the wheel with raw syscalls, because, why not? 🚀
    imtomt.github.io/ymawky/ #webserver #assembly #retrocoding #reinventingthewheel #HackerNews #ngated

  14. 🤦‍♂️ Oh, look! Someone decided to revive the 1980s by writing a web server in #ARM64 assembly—because obviously, the world was clamoring for that. 🙄 Instead of using anything remotely practical like #Nginx, let's waste time reinventing the wheel with raw syscalls, because, why not? 🚀
    imtomt.github.io/ymawky/ #webserver #assembly #retrocoding #reinventingthewheel #HackerNews #ngated

  15. 🤦‍♂️ Oh, look! Someone decided to revive the 1980s by writing a web server in #ARM64 assembly—because obviously, the world was clamoring for that. 🙄 Instead of using anything remotely practical like #Nginx, let's waste time reinventing the wheel with raw syscalls, because, why not? 🚀
    imtomt.github.io/ymawky/ #webserver #assembly #retrocoding #reinventingthewheel #HackerNews #ngated

  16. I've felt compelled to try and recreate one of the first games I ever wrote, but now for the Commodore 64 (it was a Flash game, originally. Me trying as best I could to make a clone of Kaboom!, ha.)

    Also a nice opportunity I suppose to show up my new desktop setup, lol. :X

    #retrocomputing #retrocoding #commodore64 #gamedev #indiedev

  17. tinkering with #durexforth on the
    #Commodore64, doing some #retrocoding

    I 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? 🔄
    (oldbytes.space/@Wintermute_BBS)

    With my additions in place that code now also runs on Durexforth without any changes (despite ASCII to PETSCII conversion) .... yay!

    #forth
    #programming

  18. tinkering with #durexforth on the
    #Commodore64, doing some #retrocoding

    I 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? 🔄
    (oldbytes.space/@Wintermute_BBS)

    With my additions in place that code now also runs on Durexforth without any changes (despite ASCII to PETSCII conversion) .... yay!

    #forth
    #programming

  19. tinkering with #durexforth on the
    #Commodore64, doing some #retrocoding

    I 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? 🔄
    (oldbytes.space/@Wintermute_BBS)

    With my additions in place that code now also runs on Durexforth without any changes (despite ASCII to PETSCII conversion) .... yay!

    #forth
    #programming

  20. tinkering with #durexforth on the
    #Commodore64, doing some #retrocoding

    I 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? 🔄
    (oldbytes.space/@Wintermute_BBS)

    With my additions in place that code now also runs on Durexforth without any changes (despite ASCII to PETSCII conversion) .... yay!

    #forth
    #programming

  21. tinkering with #durexforth on the
    #Commodore64, doing some #retrocoding

    I 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? 🔄
    (oldbytes.space/@Wintermute_BBS)

    With my additions in place that code now also runs on Durexforth without any changes (despite ASCII to PETSCII conversion) .... yay!

    #forth
    #programming

  22. Doing one of those Premiere video things on YouTube. Developing a Sublime Text plugin. In this case, for editing Commodore 64 BASIC. Fun stuff! youtu.be/LlyACog5IFo

  23. some of you may remember my little, Forth based BBS project (DXBBS). Well, I'm not pleased with the way the whole message system turned out. very bad coding style, bloated, yuck!

    So I put everything on hold and started a new approach, one that will be compatible with my current RBBS message base format.

    Below is the code and a first test I use to access those messages. The message file I am experimenting with is a copy of what is currently online on RC-BOX BBS.

    #retrocoding
    #forth
    #dxbbs

  24. We have entered the matrix!

  25. Presenting the "ATASCII Insert" plugin for . Provides shortcuts to insert ATASCII special characters in fonts like Atari Classic, EightBit Atari…

    Install "AtariTools" too for truly sublime Atari code editing!

    github.com/thinkyhead/6502-Too

  26. Presenting the "ATASCII Insert" plugin for #SublimeText. Provides shortcuts to insert ATASCII special characters in fonts like Atari Classic, EightBit Atari…

    Install "AtariTools" too for truly sublime Atari code editing!

    #RetroCoding #Atari #OpenSource

    github.com/thinkyhead/6502-Too

  27. Presenting the "ATASCII Insert" plugin for #SublimeText. Provides shortcuts to insert ATASCII special characters in fonts like Atari Classic, EightBit Atari…

    Install "AtariTools" too for truly sublime Atari code editing!

    #RetroCoding #Atari #OpenSource

    github.com/thinkyhead/6502-Too

  28. Presenting the "ATASCII Insert" plugin for #SublimeText. Provides shortcuts to insert ATASCII special characters in fonts like Atari Classic, EightBit Atari…

    Install "AtariTools" too for truly sublime Atari code editing!

    #RetroCoding #Atari #OpenSource

    github.com/thinkyhead/6502-Too

  29. Presenting the "ATASCII Insert" plugin for #SublimeText. Provides shortcuts to insert ATASCII special characters in fonts like Atari Classic, EightBit Atari…

    Install "AtariTools" too for truly sublime Atari code editing!

    #RetroCoding #Atari #OpenSource

    github.com/thinkyhead/6502-Too

  30. FYI: Retro Coding: QB64's Secret World of Coding! #shorts: QB64 lets one explore retro coding, but is it wise? Starting with math one may or may not understand, the journey might prove challenging. It's an adventure into obscurity. #QB64 #retroCoding #coding youtube.com/shorts/Zgbb8gZYdL0

  31. Kaivoin vähän kehittyneemmän Forth toteutuksen ja yritin saada sen laskemaan alkulukuja. Kaipa tuo nyt jollain tavalla jopa toimii, mutta on tämä aivan karmea ohjelmointikieli. Aikoinaan tietysti hyvä kun muistia koneissa oli hyvällä tuurilla maksimissaan 64 kilotavua ja usein alle sen. Forth tekee todella tiivistä koodia mikä oli tuohon aikaan tärkeää. Tähän on helppo sotkea myös assembler koodia sekaan ja tämä käyttämäni versio osaa itse kääntää itsensä.😝🤪

    #forth #retrocomputing #retrocoding

  32. Testasin aikani kuluksi, että vieläkö se Forth on hyppysissä. Reilu kolme vuosikymmentä ilman tätä sivilisaation huippusaavutusta sitten pyörän keksimisen oli tehnyt tehtävänsä, mutta sain sentään jotain pientä toimimaan. Samalla muistui takaisin mieleen miksi tähän ei kannata koskea edes pitkällä tikulla.😝🤪

    #forth #retrocomputing #retrocoding

  33. ICYMI: Retro Coding: QB64's Secret World of Coding! #shorts: QB64 lets one explore retro coding, but is it wise? Starting with math one may or may not understand, the journey might prove challenging. It's an adventure into obscurity. #QB64 #retroCoding #coding youtube.com/shorts/Zgbb8gZYdL0

  34. Retro Coding: QB64's Secret World of Coding! #shorts: QB64 lets one explore retro coding, but is it wise? Starting with math one may or may not understand, the journey might prove challenging. It's an adventure into obscurity. #QB64 #retroCoding #coding youtube.com/shorts/Zgbb8gZYdL0

  35. 🌀 Behold! A daringly useless fork of Clang LLVM aiming for the 6502, because who doesn't want to waste modern resources on ancient tech? 🤔 Witness the groundbreaking achievement of "Hello World" on long-forgotten machines using your CPU's valuable cycles—because why not code like it's 1983? 🎉
    llvm-mos.org/wiki/Welcome #ClangLLVM #AncientTech #UselessFork #RetroCoding #HelloWorld #HackerNews #ngated