Looking forward to the #Nurnberg #ZigDay on Saturday! Leaving Prague tomorrow.

#zig #ziglang #programming

I feel like #ziglang is making a mistake by holding on so strictly to the "no hidden calls" rule.

Specifically, automatically calling a destructor/drop/deinit is easily the best feature of many other systems programming languages. It prevents memory leaks, enables safer primitives and efficient memory management through reference counting.

But in Zig you have to manually `defer deinit()`, `defer unref()`, `defer unlock()` etc., which immediately reduces the language's usefulness.

Getting really close to having the first half of the boot screen on the PS1 working. A few minor glitches still remain on the "tm" text.  
#emulator #PS1 #ZigLang #Sixel
Devlog ⚡ Zig Programming Language

Devlog ⚡ Zig Programming Language

Devlog ⚡ Zig Programming Language

Tried my hand at a straight forward software rasteriser in #Ziglang. Rendered to the terminal via box-drawing characters.

One spinning triangle ✅
#gamedev

I was considering playing with #ziglang again, but it sees they are in the middle of of a big change with the new IO. Not sure if I should just wait until things are more settled…
I've been working on learning systems programming using #Zig / #Ziglang. I've really been enjoying it. The language reminds me of Go.

I though it would be a good time to share an update on the little PS1 emulator I've been working on. It's getting there!  

At the moment, the drawing timing is now working correctly (vsync/vblank sort of fixed). Only a handful of polygon primitives have been implemented. Enough to get a result. Texture stretching isn't correct yet (hence a duplicated copy of the logo at the bottom) and the texture palette. Blitting isn't 100% correct on what’s implemented. Oh and the flipped view port.

CPU is 98% done. The virtual memory devices still need a bit of work. Only parts of the DMA, timers, interrupts and GPU have some functionality (and cdrom?).

Yeah there's still quite a few things left to-do. But progress is still progress. It's been the challenge I need right now to push my skill set in multiple directions.  

#emulator #PS1 #hacking #projects #Zig #Ziglang #emulators