←back to thread

302 points doener | 1 comments | | HN request time: 0.212s | source
Show context
aquafox ◴[] No.42315113[source]
In the original Transport Tycoon (but not OpenTTD), if you would build a tunnel from one end of the map to the other, the amout of money to pay gets so large that it triggers a (signed) integer overflow. So you can start your campaign with billions of dollars!
replies(4): >>42315293 #>>42315431 #>>42315977 #>>42316614 #
majke ◴[] No.42315293[source]
The original TTD was super stable though. I remember once I was able to crash it by building a very tight loop for a train, that it crashed with its own tail. This was the only time I saw the red font with debugging info.
replies(2): >>42315470 #>>42315871 #
leni536 ◴[] No.42315470[source]
An impressing feat, considering it was written in assembly.
replies(3): >>42315796 #>>42316969 #>>42317156 #
1. mickeyp ◴[] No.42317156[source]
Most assemblers have higher-level features like macros built in to make it easier to write. Once you start building abstractions (as Chris surely would've done) it becomes more manageable, but of course, still more work than writing C.

Instead of talking about that, spare a thought for the awful x86 memory segmentation mode[1] --- now that sucked.

[1] https://en.wikipedia.org/wiki/X86_memory_segmentation