Time Nick Message 02:58 cheapie RVController doing something at least vaguely game-related, in this case calculating how many items a drawer (from LNJ's drawers mod - https://content.luanti.org/packages/LNJ/drawers/ ) can hold with specified upgrades: https://cheapiesystems.com/media/2026-05-14%2021-55-21.webm 03:02 cheapie GitHub is having problems again, so... here's a tarball of my working tree instead, source for the current thing is in drawercalc/drawercalc.c: https://cheapiesystems.com/media/rvcontroller-c.tar 03:06 cheapie It's kind of fun running "make dump" (riscv32-none-elf-objdump -d drawercalc.elf) - not only does it have a tendency to try disassembling data out past the end of the readint() function since I don't have it separated, but it's actually using some instructions from some of the more recently-added extensions, like sh3add (from Zba) and zext.b (from Zbb) 03:24 cheapie Looks like I'm up to 2213 lines of code to... ask the user for some numbers and then do some simple math on them :P 12:12 MinetestBot 02[git] 04cx384 -> 03luanti-org/luanti: Capitalize collisionMoveResult struct 13f2fdccb https://github.com/luanti-org/luanti/commit/f2fdccb79e5a121e4ffadbd9931c9973e74055d1 (152026-05-15T12:11:02Z) 12:12 MinetestBot 02[git] 04sfan5 -> 03luanti-org/luanti: httpfetch: Reject newlines in headers (#17180) 13b4dea23 https://github.com/luanti-org/luanti/commit/b4dea235f0fa085b0da80f2ac140c9b205279cce (152026-05-15T12:11:16Z) 12:12 MinetestBot 02[git] 040-v-0 -> 03luanti-org/luanti: Fix typos in comments (#17176) 135d1c71e https://github.com/luanti-org/luanti/commit/5d1c71eeaf6a4abb0af233592aa4b01b27f6aacd (152026-05-15T12:11:30Z) 12:14 MinetestBot 02[git] 04Wuzzy2 -> 03luanti-org/luanti: Remove useless `scale` from text HUD element documentation (#17151) 13fc4c549 https://github.com/luanti-org/luanti/commit/fc4c549e66b7ad949ef6585a1c3e846c5867737c (152026-05-15T12:12:41Z) 17:11 cheapie RVController now passes the RISC-V architectural certification tests for the RV32I base instruction set and the M extension. Haven't managed to get the tests to cooperate with the other extensions (they won't even build for C...) for whatever reason 17:12 ireallyhateirc RISC-V emunation in Luanti when? 17:12 cheapie That's what RVController does 17:12 cheapie Runs in a Luacontroller, emulates (currently) RV32IMCB_Zicntr_Zicsr_Zifencei_Zbkx 17:13 ireallyhateirc well I expected no less of you 17:14 cheapie A and Zbkb extensions will probably be next to implement 17:14 ireallyhateirc do a controller for a nuclear reactor next 17:14 cheapie That sounds like an lmisu thing 17:17 cheapie TBH my current "this sounds like a bad idea but also like enough fun that I might do it anyway" idea is a 6502 emulator to run inside RVController, since diceLibrarian asked me for a 6502 emulator a while back and this seems like a sufficiently silly way to do that 17:17 cheapie I would need to get more familiar with the 6502 first though 17:22 ireallyhateirc do a PDP-8 17:23 cheapie meh 17:23 ireallyhateirc just joking, whatever you make it's up to you 17:25 cheapie I've been kind of thinking of some way I could serialize a table on the C side to deserialize on the Lua side (and vice-versa), as it would be useful to have some ecalls to send/receive digilines table messages (instead of just strings), but so far I haven't come up with any idea that wouldn't be a huge mess 17:44 diceLibrarian [5/15/26 13:17:24] TBH my current "this sounds like a bad idea but also like enough fun that I might do it anyway" idea is a 6502 emulator to run inside RVController, since diceLibrarian asked me for a 6502 emulator a while back and this seems like a sufficiently silly way to do that \\ I have been summoned? 17:48 cheapie diceLibrarian: yes