News for hackers. Stuff that matters.

This statement will blow your collective minds.

---------------------------------------------------------

Chris Sawyer wrote the first Roller Coaster Tycoon game entirely in Assembly.

-----------------------------------------------------------

If any of you have played the game before, you can imagine the sheer monstrosity of such a task. It's absolutely disgusting to think about.

Here are the wikis, in case anyone is interested.

Chris Sawyer: http://en.wikipedia.org/wiki/Chris_Sawyer

Roller Coaster Tycoon: http://en.wikipedia.org/wiki/RollerCoaster_Tycoon

EDIT: Apparently the second version of the game was all in Assembly also. INSANE.

( 12 comments | 37 points | on HN )
Re:This statement will blow your collective minds. by maximilianburke on Friday June 29, 2012 @02:31AM (#4175495)
I don't think it's that mind blowing. My experience with MASM is that the built in macros that it provides for program flow control, defining and using data structures, and calling into code located in other modules (DLLs) takes most of the pain of writing assembly away. Couple this with the ability to define your own macros and it's really quite an enjoyable environment to develop in considering how low level it is.
Re:This statement will blow your collective minds. by Joeboy on Friday June 29, 2012 @02:35AM (#4175505)
I've never played the game, but why is this mindblowing, or even particularly surprising? It's how pretty much all games used to be coded.

Edit: Check out http://en.wikipedia.org/wiki/Menuetos if you want to be impressed by hand-coded asm.

Re:This statement will blow your collective minds. by blackhole on Friday June 29, 2012 @02:25AM (#4175486)
I remember reading about this several years ago. Granted its x86 assembly and it was a long time ago, but its still insane.
Re:This statement will blow your collective minds. by taylodl on Friday June 29, 2012 @08:02AM (#4176208)
Assembly isn't difficult to program in, especially with a good macro assembler such as MASM. C'mon. We can give names to functions and call them by name. We can provide names for variables. We can use a linkage editor to produce an executable and resolve external references, meaning we can employ modular programming. How is this insane?
Re:This statement will blow your collective minds. by Luc on Friday June 29, 2012 @10:49AM (#4176852)
It makes sense when you consider he wrote Transport Tycoon in the early 90's (when the game had to be assembly for performance reasons), and started RollerCoaster Tycoon as a Transport Tycoon sequel. He had all that code to build on and 10 years of assembly programming experience.

What really blows my mind is that he DESIGNED and developed several classic games by himself. The man is a modern-day multi-talented Da Vinci, and I don't quite understand why he hasn't been knighted yet.

Re:This statement will blow your collective minds. by jon6 on Friday June 29, 2012 @02:53AM (#4175547)
I remember being amazed that impulse tracker was written in assembly.

http://en.wikipedia.org/wiki/Impulse_Tracker

Re:This statement will blow your collective minds. by brudgers on Friday June 29, 2012 @11:26AM (#4177076)
My friend John wrote a Pac-Man clone called PET-Man for his Commodore PET in machine code - no assembly required. I watched him do it...for a few minutes.
Re:This statement will blow your collective minds. by trin_ on Friday June 29, 2012 @04:14AM (#4175738)
why should it blow my mind? its an accomplishment .. sure. but there are and have been far more complex systems written in assembler and/or much mor complex/confusing (from todays perspective of a run-of-the-mill ror/ios/webtech-du-jour programmer) technologies because thats all there was or thats what had to be used to accomplish the task at hand.
Re:This statement will blow your collective minds. by rsanchez1 on Friday June 29, 2012 @03:44AM (#4175663)
All NES/SNES were written in assembly too. Just think of Donkey Kong Country written in assembly, AND someone had to have a clear enough understanding of the assembly later to port it to the GBA.

http://en.wikibooks.org/wiki/Super_NES_Programming

Re:This statement will blow your collective minds. by bluestix on Friday June 29, 2012 @02:23AM (#4175481)
Hats off to the hardcore.
Re:This statement will blow your collective minds. by lwm on Friday June 29, 2012 @02:03AM (#4175451)
WHY?
Re:This statement will blow your collective minds. by joshAg on Friday June 29, 2012 @02:49AM (#4175532)
because c/++ was too slow.