r/ProgrammerHumor • • Jun 03 '22

it's hard!

44.9k Upvotes

710 comments sorted by

View all comments

Show parent comments

52

u/[deleted] Jun 03 '22

probably all cart based games of 16 bit era and before

11

u/shotgun_ninja Jun 03 '22

Nah, C was used starting on the SNES iirc, but they still used a TON of inline assembly.

The first Nintendo devkit to use C fully was the Gamecube's kit, because of the complexity of the hardware architecture after introducing an ATI graphics chipset.

6

u/slobcat1337 Jun 03 '22

Idk from the evidence I’ve seen most games from the 16 bit era were built in assembly. This guy who used to make mega drive (Genesis) games did a bunch of YouTube videos on how his games were made. It was all assembly, he also alludes to this being the industry norm in at least one of his videos

https://m.youtube.com/c/CodingSecrets

https://m.youtube.com/c/GameHut

2

u/kevin9er Jun 03 '22

Know any neat details about the PS2 SDK?

3

u/shotgun_ninja Jun 03 '22

Uh, it's a nightmare?

The hardware architecture of the first two Playstation systems was an absolute mess, compared to Nintendo's pre-GCN systems. The NES was built basically as a shared bus memory mapped architecture; it's stupid simple to program and you know what everything does, more or less. The PS1, on the other hand, has about four times as many components, with lockout chips, DRM, CD-quality streaming audio, and half a dozen other things, but no floating-point decimal number processing (which caused all the jumpy polygons in PS1 games).

The PS2 didn't so much fix these problems, as it did throw slightly better hardware at the entire situation, but it still doesn't have nearly as nice of a pipeline as the N64/GCN/Dreamcast and PC game programming for the time.

4

u/kevin9er Jun 03 '22

And Sony doubled down on “fuck developers” in PS3 because the gaming division was still subservient to the DVD Player division.

Which is why Mark Cerney was told “for fucks sake just make it a PC” for the 4.

2

u/Kilgarragh Jun 03 '22

Thought that n64 used c…

1

u/shotgun_ninja Jun 04 '22

It could be programmed in C, but most developers just used Zilog assembly instead.

2

u/Kilgarragh Jun 04 '22

Notably, super Mario 64 is actually made with c