this post was submitted on 22 Jun 2024
543 points (96.3% liked)

Programmer Humor

19623 readers
1805 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[โ€“] Naich@lemmings.world 104 points 5 months ago (8 children)

I have programmed by looking up op codes in a table on a sheet of paper and entering the hex codes into an EPROM programmer.

[โ€“] grandma@sh.itjust.works 43 points 5 months ago (1 children)

Did this in university in the very first week, quite a few people dropped out after that ๐Ÿ˜…

[โ€“] 01101000_01101001@mander.xyz 16 points 5 months ago

Ah yes, the great filter

[โ€“] kionite231@lemmy.ca 29 points 5 months ago (1 children)
[โ€“] Naich@lemmings.world 26 points 5 months ago (2 children)

Fucking ancient. This was for a Z80 based system using discreet logic for addressing and IO, constructed on a wire-wrapped board.

[โ€“] dirtySourdough@lemmy.world 4 points 5 months ago

Oh that's interesting. I started poking around with a Gameboy emulator guide implemented in Python that intended to emulate a Z80. Got any good resource recommendation in case I decide to pick this back up and inevitably get stuck?

[โ€“] umbrella@lemmy.ml 2 points 5 months ago

i still have a z80 reference manual on here somewhere

[โ€“] Cethin@lemmy.zip 16 points 5 months ago (2 children)

If you want some modern day fun with this, try the Zachtronics programming games; TIS-100, Shenzhen I/O, and Exapunks.

Or, my personal favorite I only discovered somewhat recently, try Turing Complete. You start by designing all your logic gates from just a negate gate IIRC. You eventually build up an ALU and everything else you need and then create your own computer. Then you define your own assembly language and have to write programs in your assembly language that run on the computer you've designed to complete different tasks. It's a highly underrated game, although it takes a certain type of person to enjoy.

[โ€“] Zangoose@lemmy.world 2 points 4 months ago

Another interesting low-level interpreter/emulated system to look into for anyone else trying to get started with this type of thing is the CHIP-8! It's a pretty basic 8/16-bit instruction set (there are 35 opcodes, the instructions themselves are mostly simple) and there are tons of detailed guides on making one and writing roms for them.

[โ€“] WldFyre@lemm.ee 2 points 5 months ago (1 children)

Turing Complete looks really interesting! How polished is it? Just looked it up and saw it was in early access

[โ€“] Cethin@lemmy.zip 2 points 5 months ago (1 children)

I would say it's very polished. It does everything you'd expect and has some nice QoL features. There was work on a big update that'd improve performance and things, but the last information about that was from Aug of last year as far as I can tell. That's not a big deal though. The game works fine without it.

[โ€“] WldFyre@lemm.ee 2 points 5 months ago

Thanks! I'll try it out over 4th of July weekend!

[โ€“] notabot@lemm.ee 11 points 5 months ago

Ah, memories. That was me on a Spectrum. It's all fun and games until you forget to save (to tape) and your code hangs the machine, losing everything.

Did the same in school on a Z80

[โ€“] GenosseFlosse 6 points 5 months ago

When I was young, we didn't have hex codes, we only had 1 and 0s. One time we where all out of 1s, and I had to code a whole Database system with only 0s!

[โ€“] Valmond@lemmy.world 4 points 5 months ago

Same, and also for the C64 :-)

[โ€“] A_Very_Big_Fan@lemmy.world 3 points 5 months ago

You're a god amongst men around these parts.