How would that much assembly code be organized? I've never seen a large assembly project, but I would imagine something as complex as RCT2 would easily clock in over 100k lines of assembly. That just sounds light a nightmare to me!
How would that much assembly code be organized? I've never seen a large assembly project, but I would imagine something as complex as RCT2 would easily clock in over 100k lines of assembly. That just sounds light a nightmare to me!
And if you were a little more ambitious you could also write a custom code generator that added whatever additional features you needed - expansions, type checks, expression evaluators, simple optimizations. Code generation is actually far easier today since the scripting languages now are so much more powerful and feature-rich than what a typical early 90's setup would have(assembly, buggy proprietary C or Pascal compiler, Basic variants).
Of course there's nothing stopping you from taking a similar approach now and custom-generating some source instead of using templates or compile-time evaluation or other fancy features - it's just harder to communicate.
https://en.wikipedia.org/wiki/Category:Software_written_prim...
Even today a minority prefers writing new projects in assembly.
https://news.ycombinator.com/item?id=15281522
Here you can have a look at Prince of Persia's source for the Apple II: https://github.com/jmechner/Prince-of-Persia-Apple-II
It's still an impressive achievement. The latest SimCity can't simulate as many people as RCT before crapping itself, even on a machines a million times faster.
I'm wondering what % performance improvement he saw from doing it this way.