Posts by crc@mastodon.bsd.cafe
(DIR) Post #AcyN1HOBrHu62JpsHo by crc@mastodon.bsd.cafe
2023-12-19T13:46:52Z
0 likes, 0 repeats
I'm tired this morning, so made an espresso. Hopefully the caffeine will help...
(DIR) Post #Ad0L6t3kNNFGLiHaUK by crc@mastodon.bsd.cafe
2023-12-20T11:37:26Z
0 likes, 1 repeats
Wrapping up this morning's programming, the map/scene editor in nauhea is usable, so I've turned my attention towards character movement & handling barriers. I also began writing some initial documentation.#DecemberAdventure https://charles.childe.rs/DA2023.txt
(DIR) Post #Ad2Sq9AoOp5bLu2HHE by crc@mastodon.bsd.cafe
2023-12-21T12:25:16Z
0 likes, 1 repeats
Character movement and collision detection/handling in nauhea are completed. I've also started on tracking various player attributes. I'll be doing some source cleanups & working on documentation tonight/tomorrow.Current stats are 1,008 cells of memory and 16 blocks of source. I expect these to drop after the cleanups are completed.#DecemberAdventure https://charles.childe.rs/DA2023.txt
(DIR) Post #Ad2YeglYHDEtmu8kPw by crc@mastodon.bsd.cafe
2023-12-21T14:16:16Z
1 likes, 0 repeats
Time for a morning #tea (lapsang souchong) while I catch up on posts.
(DIR) Post #Ad5vPGaoypX62Hyf5s by crc@mastodon.bsd.cafe
2023-12-22T16:56:39Z
0 likes, 1 repeats
I finished with my cleanups to the first part of nauhea and added a few blocks of documentation. Current size is 12 blocks, 977 cells compiled. Tomorrow I'll get started on the next part of the code.#DecemberAdventure https://charles.childe.rs/DA2023.txt
(DIR) Post #Ad6vYtOsG81w9uwI4m by crc@mastodon.bsd.cafe
2023-12-23T17:06:31Z
0 likes, 1 repeats
For nauhae, I have most of the entity code finished, and have begun working on inventory management. I'll be reducing my typing today & tomorrow since my hand & wrist pain is starting to increase a little.#DecemberAdventurehttps://charles.childe.rs/DA2023.txt
(DIR) Post #AdA2JVYttCRb2G7UgK by crc@mastodon.bsd.cafe
2023-12-25T00:30:31Z
0 likes, 1 repeats
I'm later than normal on posting my #DecemberAdventure update today as I ended up being offline & off the computer most of the day. Taking a break from computers is good to do, but I did spend half an hour on nauhea expanding the entity wordset a little and starting on the battle code. http://charles.childe.rs/DA2023.txt
(DIR) Post #AdGIA8ITmZeSUPkZ8a by crc@mastodon.bsd.cafe
2023-12-28T01:48:52Z
0 likes, 1 repeats
In today's #DecemberAdventure, I have continued working on RetroForth's new listener. Several small bugs are now fixed, a few more areas of code are cleaned up, and I've begun writing the actual terminal emulation code.(nauhae is on pause, pending Arland's testing & feedback)I also finally have a working (for now...) Xcode, and did a little Swift programming for an iOS project.http://charles.childe.rs/DA2023.txt
(DIR) Post #AdKQ7qNPY35EjGYH1k by crc@mastodon.bsd.cafe
2023-12-30T04:39:27Z
0 likes, 1 repeats
I've finally managed to get insurance approvals & prescription worked out so I'll have a CGM (Freestyle Libre 3) coming Tuesday. I'm looking forward to not having to prick myself 15-20 times a day to keep an eye on my blood glucose.#diabetes #health
(DIR) Post #AdKQ9dWSJJGxRSdZ2G by crc@mastodon.bsd.cafe
2023-12-30T02:46:00Z
0 likes, 1 repeats
Today I worked on the terminal emulation code for the new RetroForth listener. The core functionality is working; tomorrow I'll begin working on escape sequence support.#DecemberAdventurehttp://charles.childe.rs/DA2023.txt
(DIR) Post #AdNgwI07IUdPclc0Y4 by crc@mastodon.bsd.cafe
2023-12-31T19:39:56Z
0 likes, 1 repeats
#DecemberAdventure is ending, and I've published my last log entry and a little retrospective. I had a lot of fun doing this, and look forward to repeating it next year.For the final little project of the year I wrote a little program in RetroForth to convert the Konilo blocks into HTML. This provides some coloring based on the sigils, much like the Tuhi block editor. Example output of the first 128 blocks is at http://forth.works/temp/x.htmlMy full 2023 log is at http://charles.childe.rs/DA2023.txt . Thanks to @eli_oat for starting this and tracking the various logs at https://eli.li/december-adventure; I've enjoyed following along with everyone's adventures.
(DIR) Post #AdVfJBNlQSEj778nJI by crc@mastodon.bsd.cafe
2024-01-04T16:39:08Z
0 likes, 0 repeats
I'm ready for the day to be over. It's been extremely busy at $dayjob and I'm exhausted.I like having a steady stream of things to work on. But yesterday & today has been excessive. I've responded to 281 requests, at an average of 4 minutes per. This is not sustainable.
(DIR) Post #Adg3nCC8WmnB5794D2 by crc@mastodon.bsd.cafe
2024-01-09T16:45:31Z
0 likes, 1 repeats
Since Hare now has #OpenBSD support, I'm spending a little time with it. I think I've learned what I need to implement an ilo vm in it, so I'll attempt this tonight.
(DIR) Post #AdhF5vXhxPdJalKUEK by crc@mastodon.bsd.cafe
2024-01-10T03:02:18Z
0 likes, 1 repeats
I've spend a couple of hours on the ilo in #harelang and it's mostly working. All that's left is the block saving functionality, which I'll try to start on tomorrow. I really need to get a better grasp on the file i/o mechanics, as I failed to get `io::seek` working thus far, and have resorted to doing a very slow read of the block set when seeking a block.Some initial thoughts on Hare as I work on this:I have no issues with the overall syntax. It reminds me a bit of Rust, though it feels a little closer to C. The `=>` form used in `switch` and `match` feels a bit odd to me, but I've used similar things in other languages and it's not a problem.I'm comfortable with the standard library at this point. Some of this is just the sparse documentation, and it's partly due to only having spent a couple of hours reading before starting to use it. I can work out enough to get my little project working, but I'd need to spend more time with it to be productive and write efficient code.I'm not following the style guide, particularly around indenting.I dislike the size of the binaries. The ilo binary is 513k as built, and 320k when stripped. I'm hoping future versions of Hare will improve this.Given that the language and its library are still evolving, I'm not going to sink much time into it once I finish the ilo implementation, but I'll keep an eye on it as it progresses.
(DIR) Post #AljMfJOUn313g8AZY8 by crc@mastodon.bsd.cafe
2024-09-06T10:57:22Z
0 likes, 1 repeats
A few updates on my projects:RetroForthI've fixed issues two reported issues:https://todo.sr.ht/~crc_/retroforth/101 regarding chapter names & missing titles in the HTML format documentation and epubhttps://todo.sr.ht/~crc_/retroforth/102 regarding an incorrect description for a:lastI've also added https://todo.sr.ht/~crc_/retroforth/103 to gather feedback regarding the subset of Markdown used for the documentation, and to see what people think about maybe replacing or extending it.KoniloDuring a review of the source code for the core system, I found and fixed several incorrect instruction bundles. Mostly this was missing a few NOPs at the end of bundles (not a big deal as the assembler defaults to nop for these), but one generated an invalid bundle that was causing crashes in some cases when using c:to-s. An updated ilo.rom has been uploaded to https://konilo.org/ilo.rom.gz
(DIR) Post #ApuWjJ9tF1Xs53d56W by crc@mastodon.bsd.cafe
2025-01-09T15:44:48Z
0 likes, 1 repeats
For my Konilo #Forth, I've been keeping the system image and block storage as separate files. I'm starting to experiment with using a combined file for this instead. Doing this matches more closely to what I'm doing on my embedded & standalone systems, so it might be worthwhile.
(DIR) Post #AxnqDoAgQfvEHuEPNQ by crc@mastodon.bsd.cafe
2025-09-02T17:39:57Z
0 likes, 1 repeats
I've begun working on a non-forth rom & disk image for my #ilo vm. This will be a little single-tasking OS in the boot image with an actual file system & tools for working with the files on disk.
(DIR) Post #B0uZbZRrjv5XOTWkRk by crc@mastodon.bsd.cafe
2025-12-04T17:15:03Z
0 likes, 2 repeats
#decemberAdventure day 4: I wrote an ilo implementation in Oberon (for obcn). The code is in the repository and the adventure log is at https://charles.childe.rs/DA2025/Tomorrow I'll be attempting to do one in Smalltalk.I've also used a bit of awk to clean up the log formatting (which are extracted from my blocks under my konilo system) for improved readability.
(DIR) Post #B1shacShm4NS2JKMvA by crc@mastodon.bsd.cafe
2026-01-02T16:56:50Z
0 likes, 1 repeats
I've published my utility for converting ilo assembly from pali format to sitelen ilo and an example export of the konilo source.Fossil Repository: http://fossils.retroforth.org:8000/sitelen-iloKonilo in sitelen ilo: https://konilo.org/konilo.sitelen-ilo.html
(DIR) Post #B2Vym0jpX69RgheuZs by crc@mastodon.bsd.cafe
2026-01-21T14:22:06Z
1 likes, 1 repeats
I've had an ESP32 thing (https://lilygo.cc/en-us/products/fabgl-vga32) sitting around for several months, and finally got a dev toolchain setup for it, so I've done an initial port of my ilo vm & konilo forth to it. The VGA output works, but I need to find a PS/2 keyboard now. (Currently doing input over serial and output via the VGA).