by ikari_pl · 1y ago · 0 comments
I coded assembly (Z80) in a disk editor, having no assembler, just a handwritten list of opcodes.
I wrote a chat client app (in Delphi) HAVING NO INTERNET at home, I went to a cafe, recorded a dump with Wireshark, printed it on a dot matrix printer, and used a marker pen to highlight the bytes I understand the meaning of.
I miss it so much.
The thought of doing this with contemporary systems just seems ... wrong :)
I was most fond of my image viewer program that worked only on my video card (a cirrus logic) but was 10x faster then others because it used some hw acceleration on the card (not remembering details right now).
It's basically impossible to replicate this level on todays extra-locked-down machines - the bar to entry and just tinker is so much higher.
You can today start banging registers on GPUs, or write your own shader programs, there's well documented modern hardware (e.g. [0]) and completely open-source drivers just sitting there for reference. The issue is that there's so moving parts now that to get anything visible to actually happen it's not just wiring up a couple of registers, but thousands just to get it into a state you can even see the registers you want, then a thousand more.
[0] https://gpuopen.com/amd-gpu-architecture-programming-documen...
I found an undocumented (to me, at least) mode that showed 16-bit images by alternating two 8-bit images. I put it in a demo to show at a demoparty, but the projector system did not have a compatible VGA card :(
[0] https://en.wikipedia.org/wiki/Philips_SAA1099
and here's a fun video showing the upgrade with a bit of music from The Secret of Monkey Island towards the end. Like the video creator said, I also like how it sounds similar to the GameBoy: https://www.youtube.com/watch?v=3ZtyP9tE3Ug
[1] QBASIC equivalent documentation https://www.qbasic.net/en/reference/qb11/Statement/PLAY-006....
1. As a teen, I had a lot more free time and could spend hours every night on fun stuff. School was easy and I didn't spend much time on homework
2. As a teen, I also did not have a day job programming too. My head is kinda tired when I come home, so unless it's a really interesting project I will probably just watch some TV
3. As a teen, I did not know about good code practices and could just throw something together and see if it worked. For some reason I now find it hard not to spend time on a good code structure, architecture and best practices. I am too "advanced" to just push out crappy code quickly
4. As an adult, I know more about the alternatives out there, so I'm thinking that there's no point in creating something when there are alternatives.
As a parent I struggle with this a lot, trying to teach some patience to my children who seem conditioned to fiddle with their phones whenever possible. And of course I'm often not much better myself.
One thing that comes to mind is a bot I made that played bejeweled blitz. It worked by taking screenshots and calculated the optimal move, and moved the mouse to make those moves. I was 13 and wrote it in VB6.
I also wrote few games on Atari when I was even younger, but since I got pc in highschool I haven't been able to make any decent progress on (let alone finish writing) a single game on PC. Despite writing a lot of software professionally as an adult I never had the motivation, that I had as a child, to go beyond shallow, small experiments for my personal coding.
https://github.com/jeceljr/digitalCPUzoo/tree/main/drv16
It is meant as a helper processor in larger FPGA projects. These need less than 64KB of memory. drv16 is about the same size as the tiniest RISC-V (SERV, Glacial) without the huge performance penalties these have.
This is certainly appealing in comparison to microservice monstrosity I write in a team at work.