Bitnik · @Bitnik
42 followers · 513 posts · Server musician.social
ndpi · @ndpi
194 followers · 1361 posts · Server merveilles.town

I really want an excuse to try making something in , but a) I don’t have a project that it seems suited for at the moment and b) I haven’t finished the other ten projects I’ve already started and c) I don’t have time for any of them anyways 😅

#retroforth

Last updated 2 years ago

maleza · @maleza
260 followers · 1439 posts · Server merveilles.town

Loving so much!
For some reason I, apparently, am fluent thinking in it.
Starting to code some stuff in literate programming style with unu. Also great format to convert to gemini/html to share on pachapunk.

#retroforth

Last updated 2 years ago

Ell · @cincodenada
49 followers · 2232 posts · Server cybre.space

Okay, I'm several days behind in and I have a little time before I should get to bed, so let's start at day 7 and go backwards, shall we?

As usual, streaming at my server. Come hang out while I grumble at for a bit! stream.cincodenada.com

#livestream #programming #forth #adventofcode2021 #retroforth #owncast #adventofcode

Last updated 3 years ago

Ell · @cincodenada
49 followers · 2232 posts · Server cybre.space

This year for , all the languages I was interested in playing with felt like they were gonna be a lot of work to learn and actually solve things in. I didn't feel quite up to it this year so I hacked out day 1 in - which is a delight but hardly new, QBasic is the first language I coded in!

But then @nihilazo started poking around in retroforth. Forth was high on my list but I didn't know what flavor to go with, so I gave retro a run, and it's nice, just enough bells and whistles to be approachable.

After porting over my initial solution to Forth and tearing my hair out over variable declarations, I took a fresh run at it with stacks in mind, and ended up with what I think is a pretty nice, tidy solution. Especially nice was that when I needed to clean up the stack to do the full solution rather than leave the whole list in memory, it was literally removing one word. Fun! Yay fedi folks!

gitlab.com/cincodenada/advent-

#programming #retroforth #stackbasedlanguages #forth #adventofcode2021 #qb64 #adventofcode

Last updated 3 years ago

ahhh crap, just realized I could probably take the p-boot source that Megous put together as a bootloader gui for the and jettison a fair bit of the code and slot in instead and have a non-functional yet nicely bootstrapped forth-based smartphone to flesh out... if it wasn't trying to run a full operating system this allwinner a64 hardware could scream as a purpose-built "embedded" device...

#pinephone #retroforth

Last updated 3 years ago

now @JF has me thinking about a CP/M implementation and maybe a implementation for the @PINE64 lol

#retroforth #pinetime

Last updated 3 years ago

so I got my port of for the to the point where it can load a .retro file from the SD card into the dictionary, but all of my I/O at this point is a mess of hacks trying to serve the desires of the arduino libraries and the needs of libc's fopen et al and I hate it.

So, I'm going to be reworking all of that before it gets any worse.

#retroforth #teensy

Last updated 4 years ago

my port for teensy now has a random number generator (backed by the Entropy library and the teensy's rng hardware)

for a Monday I'll take it.

#retroforth

Last updated 4 years ago

so, my sketchy mental roadmap of next steps for my port goes like

  • tighten up filesystem support (like, actually do bounds checking)
  • redirect debug msgs to another serial port
  • extend filesystem support to encompass the scripting support so I can load words from microSD
  • get the RTC battery hooked up and the clock subsystem in retro
  • build the VGA output circuit from that one cat and figure out how to get it going as a char display, then a framebuffer display
  • get the USB Host header wired up and add USB keyboard support
  • kick back with a nice cold beverage and my tiny single-core 600MHz forth machine
  • add the 100mbit ethernet phy and start getting networking added

#retroforth

Last updated 4 years ago

y'all, I cannot begin to tell you how much fun I am having porting to the 4.1 (not to mention how much I'm learning about both, as well as the SdFat library)

here, have a screenshot of the first time I've successfully read and displayed the contents of a text file on the micro SD card.

heckin' impostor syndrome is up against the ropes at this point in my weekend even if I did forget that cr isn't a word of its own (yet!).

#retroforth #teensy

Last updated 4 years ago

gotta say, though, now that there are u-boot builds with display supported on the pinebook pro, I'm hecka tempted to make a go of porting to aarch64 as a uefi application once I'm pleased with my teensy port

#retroforth

Last updated 4 years ago

@natecull@mastodon.social song goes well with the Code-It-Yourself Manifesto included at the end of the book

#retroforth

Last updated 4 years ago

found my bug (NUM_DEVICES really should be the number of devices, not a larger number) so my port now actually really supports floating point numbers

RETRO Listener (c) 2016-2021, Charles Childers

#3 n:to-float f:to-string s:put
3.000000

f:PI f:to-string s:put
3.141592

huzzah!

#retroforth

Last updated 4 years ago

decided to take a quick detour on my way to filesystem support in

Connected at 115200
vm and image initialized.
Starting execution of listener.
RETRO Listener (c) 2016-2021, Charles Childers

#3 #0 #2 io:invoke
s:empty dup #3 #2 io:invoke s:put 3.000000

doesn't look like much, but it's the first sign of validation that I've got at least some of the floating point support working

now I'll track down why none of the prefix:f words are working and then start on filesystem support

#retroforth

Last updated 4 years ago

made a bit of progress with my port to 4.1 today, got rid of a bunch of hacky calls to Serial.read() & Serial.write() and put back the calls to getchar() & putchar() and still have a working system - huzzah!

need to spend time on the lab reorg work this weekend so I can get @rosalind back online again & have room for solderin' but I'm quite happy with how this is goin' and might sneak in some file IO handlin' via SdFat in between other labors over the next couple days.

#retroforth #teensy

Last updated 4 years ago

eventually I want to have a few little 32-bit machines to play with, interconnect, and examine some of the dustier corners of computing for the lost nuggets of gold.

#retroforth

Last updated 4 years ago

anyway, got stdout redirecting to Serial successfully now in my port so that's nice and should lead to an easy stdin redirect, after which I'll get going on filesystem support on the microSD card.

#retroforth

Last updated 4 years ago

woooo!

it's not much, but it executes code!

@crc@mastodon.social's (barebones) on 4.1 over serial

cc @vertigo because he <3s the forth and platform hax ;)

#retroforth #forth #teensy

Last updated 4 years ago

Been having some fun today getting the Nga virtual machine and , both by @crc@mastodon.social, built and running on my teensy 4.1 MCU using serial for I/O.

Definitely getting closer, though obviously still have some issues to track down.

Regardless, it's making me pretty happy.

#retroforth

Last updated 4 years ago