December Adventure 2024 Like last year, I'm going to participate in a December Adventure again. I had a lot of fun last time, and am looking forward to seeing what I can accomplish this year. On https://eli.li/december-adventure Eli describes the adventure as: The December Adventure is low key. The goal is to write a little bit of code every day in December. I'm not sure what all I'll be working on this year. I'll post my logs (taken from my blocks) to charles.childe.rs/DA2024.txt and probably also some notes to @[email protected] with the hashtag #DecemberAdventure ---------------------------------------------------------------- Nov 27 (Day -4) It's a little early, but I've set up a few preliminary things. I allocated a couple of pages of blocks for the log entries and wrote a small shell+retroforth program to convert them to text and upload them to http://charles.childe.rs/DA2024.txt This will be run by a daily cron job. The program to export & upload is simpler this year. I will note that there will be some occasions where several days may pass before the entries are uploaded. I've been increasingly working on offline systems, so the logs won't be updated until I push my latest blocks. ---------------------------------------------------------------- Dec 01 I've been tired today, so didn't do a lot of programming. Later this month I'll be running a TTRPG (using Shadowdark rules), so I decided to write some code for automating some parts of this. I'm focusing the initial words for various dice combinations and character creation. Later I'll work on words for generating NPCs and then handling various checks. (I have some more serious things planned for this month, but more on this later). ---------------------------------------------------------------- Dec 02 I've continued working on my (game:shadowdark) blocks, with more of the PC generation completed, and writing some of the code for doing the checks. This now spans about 30 definitions across five blocks of code. I think I'll probably put this aside for a bit and start on a different project tomorrow. In particular, I want to do an ilo using SDL for a framebuffer. (We've explored this in the past, but want to revise it for the simpler Graphica-0 model to match the ilo for X11). ---------------------------------------------------------------- Dec 03 I've set up a TCC + SDL2 environment for Windows, so I can work on the ilo + sdl2 backed framebuffer model. Using this I've updated the existing code to work with the same embedded font data that I use on X11, and have begun fixing the remaining display issues. The overall code (sans font) is now approx 400 lines shorter. My upcoming goals for this after I complete the display fixes (prob. tomorrow) are to improve input performance, then to work on supporting (termina) programs by implementing Arland's little terminal emulator. ----------------------------------------------------------------