Peter Hellberg
banner
c7.se
Peter Hellberg
@c7.se
Go and Zig developer, Valheim player, Bread baker.

https://c7.se
I just published c7.se/reviving-a-q... where I document the experience of getting my old web server up and running again.
September 10, 2025 at 9:56 AM
It is a bit fiddly, but it is possible to run two instances of the @fireflyzero.bsky.social emulator, and have their respective inputs synced.
February 19, 2025 at 1:40 PM
I've pushed fixes to the `ff.Angle` type, wrote some test cases for it, and also a small example where I'm using `ff.drawArc` to draw some rotating colors.

Source code available from play.c7.se/ff/rot/
February 17, 2025 at 11:29 PM
Fixed the getRandom() issue in `ff`, and naturally had to test it out by writing something using that function.

Source code available from play.c7.se/ff/rng/
February 17, 2025 at 12:14 PM
Ported another WASM-4 thing to @fireflyzero.bsky.social

For this one I got to do silly things like;

if (self.color == .white) {
for (&bytes) |*byte| {
byte.* = ~byte.*;
}
}

img[0x6..0xE].* = bytes;

Source code available from play.c7.se/ff/fp8x8/
February 16, 2025 at 9:57 PM
Just ported a small WASM-4 demo I made a while back to
@fireflyzero.bsky.social using @ziglang.bsky.social, fun stuff 🔥

Updated my `ff` module with conveniences such as:

const pal: ff.Palette = .{
.black = 0x000000,
.gray = 0x292929,
.white = 0xffffff,
.orange = 0xf7a41d,
};
February 16, 2025 at 5:28 PM
Today v0.5.1 of the @fireflyzero.bsky.social emulator was released, which means I could finally use it :) (due to me being on Pop!_OS 22.04)

What better then to start working on some @ziglang.bsky.social code to make it convenient for me to start hacking on some apps.
February 15, 2025 at 12:04 AM
Got the @fireflyzero.bsky.social Input test ROM to work (pad input via WASD and buttons HJKL + Enter)
February 6, 2025 at 9:54 AM
Started working on a rudimentary @fireflyzero.bsky.social emulator in Go using Wazero, Ebiten and my Gfx-library.

- wazero.io
- ebitengine.org
- github.com/peterhellber...
February 5, 2025 at 8:15 PM
Vad fasiken!?
October 18, 2023 at 6:35 PM