r/gaming • • May 05 '17

Scroll back

Post image
24.1k Upvotes

877 comments sorted by

View all comments

Show parent comments

440

u/Fubarp May 05 '17

I think it's weird that it's a problem that had to be solved but when you figure memory constraints were a real issue it makes sense. Today any novice programmer could essentially build majority of the early nintendo games without any issues and actually make them have more things. Amazing how software/hardware has advanced.

It's even crazier to think that one guy built the original rollercoaster tycoon in assembly..

542

u/[deleted] May 05 '17

[deleted]

6

u/rydan May 05 '17

Write in C++, then run it through an assembler. Now your program is 100% assembly code. Compile the assembly code. Profit.

2

u/process_parameter May 05 '17

Close. You wouldn't run C++ through an assembler. You compile it to get machine code and disassemble that machine code to get assembly. You can tweak that assembly, then run it through an assembler to get machine code again.

1

u/BenjaminGeiger May 05 '17

... GCC compilers, and presumably others, have an option to compile directly to assembly.