▲ 38 r/tic80+1 crossposts

Forth for the TIC-80 fantasy console

I've added forth (using jforth) to the fantasy console TIC-80:

https://github.com/luginf/TIC-80/

Following the pico-8 trend of retro-like console, TIC-80 is using lua (which is already a cool langage). There are other backends as well, such as js, ruby, python. Forth was missing :)

There are a few examples / samples:

https://gitlab.com/garvalf/forth-is-fun/-/tree/main/tic80

You can also try it online:

https://garvalf.gitlab.io/forth-is-fun/tic80/run.html

type "ls" or "dir", then "load" one of the .fth sample name, and type "run"

The full API is listed there, adapted to Forth: https://garvalf.gitlab.io/forth-is-fun/tic80/tic80.html

You can get more informations about TIC-80 on:

u/garvalf — 6 days ago

Toshiba Satellite 2180 as writerdeck!

Today I got a Toshiba Satellite 2180, an old laptop from 2001. The harddrive is dead, but I've managed to make Floppinux work on it, a whole linux system that fit on a single 1.44 Mb floppy disk!

https://krzysztofjankowski.com/floppinux/

I had already begun to port the writhdeck text editor to C, and with a few tweaking, it works on this x86 computer without SSE2 instructions. The binary is 61 Kb with some compression (the free space on the floppy is limited).

https://github.com/luginf/writhdeck-c/

vi is included into floppinux, but in comparison it doesn't recognize the French accented letters and doesn't support wrapping by default.

About the hardware, the keyboard is pretty good, better than most laptop I've tried. The system is not very practical for daily use, I have to copy the file from the floppy and compare with the original file (I want to double check the content, I don't trust floppies), the laptop itself is heavy and boot slowly, but it's a fun experience and I'll probably use it from time to time.

u/garvalf — 1 month ago

TAROT: Werna Wolf and Garvalf collaborative album

Garvalf and Werna Wolf are pleased to present you our first collaborative album, called TAROT.

(both link lead to the same music, we just have the album on your respective bandcamp space)

https://preview.redd.it/g4r7e0vizs8h1.jpg?width=1200&format=pjpg&auto=webp&s=13eb4d2f53c3dc5172ee6f80c4decd2386d741ec

As the title suggests, TAROT focuses on the traditional Tarot de Marseille and each of its twenty-two tracks corresponds to one of the twenty-two Major Arcana.

To make this journey through the rich esoteric symbolism of the Tarot de Marseille complete, Werna Wolf, which is the second soul behind this project, has also drawn the twenty-two cards in his own style and all of them are included in a single pdf booklet.

reddit.com
u/garvalf — 2 months ago

WrithDeck: new features, Web and Android version

WrithDeck is a tool I'd been dreaming of for a while for my own usage. It stays simple and minimal, yet it's agnostic:

  • On the markup you use (Markdown, txt2tags, or anything else).
  • On the platform you use (terminal, desktop, Android, or web browser), keeping the experience as consistent as possible from one to the next (same shortcuts, generous margins even in the terminal).
  • Keyboard-first by design, for greater speed and efficiency.
  • A single browser, or "pool," built around one folder holding all your writing projects.

I'm working on a ESP-32 port, but it's not working yet.

It has been designed for the terminal first, but I quickly needed to expand the tool to other platforms. While it runs fine on Termux on Android, the lack of full screen mode was quickly annoying, so I've added an android version. It's also possible to use it from the web. There is a version on itch.io and one on github.

note: only a chrome-based browser allows to edit from your computer.

I've also added a few tools I needed for my own writing: a pomodoro timer, a words occurrence and repetitions check, a spellcheck.

Everything is free and open-source. The main repository is at https://github.com/luginf/writhdeck

u/garvalf — 2 months ago

ghosting on ANBERNIC RG40XX V

Hello, I've just got a RG40XX V from a store on Ali Express (labelled authentic reseller), the problem is it has heavy visual artefacts, at random, like screen ghosting (see pictures). I suppose I'll to send it back, but I'd rather have more advices if you've already experienced this.

u/garvalf — 3 months ago
▲ 154 r/Tcl+1 crossposts

WrithDeck is a distraction-free text editor designed for writers using a dedicated writerdeck, whether it's a DIY prototype or a computer configured specifically for that purpose. It's fast and easy to customize. WrithDeck can run as a clean graphical application or directly in a terminal or TTY, all from a single file with no installation required.

https://github.com/luginf/writhdeck

It includes customizable inline syntax highlighting, a file browser, split view, chapter navigation through a table of contents, and a fully themeable interface, all in under 3,800 lines (160 Kb) of Tcl/Tk.

Whether you're writing on a Raspberry Pi Zero with an E-ink screen, on a an android tablet, over SSH, or on your desktop, WrithDeck stays lightweight and lets you focus on your text.

It has GUI and TUI dual mode with similar behaviors, and is fully configurable.

I've tested it on Linux, Windows (you'll have to install the Tcl runtime). It looks a bit slow to start Tcl on Windows, it's not ideal. I couldn't test on Mac OS but I suppose it should work. I also work on Haiku OS (my other second favorite OS) after some tweaks.

I couldn't code that myself, but I've used a LLM (AI) for designing it. I'm now using it as a daily driver to write my novels, among others on my dedicated 11.6" x201 eeepc from 2013 running Devuan.

u/garvalf — 4 months ago