Oriel — AI & technology worth noticing, every day.

How to run a city builder on 16 MHz

Web page · https://larstofus.com/2025/11/16/how-to-run-a-city-builder-on-12-5-mhz

First seen by Oriel on .

AI summary

The article explains how SimCity’s original simulation stayed within the 16 MHz 386SX’s limits by spreading system updates across frames, a technique also used for reflections and lighting.

  • Micropolis, the GPL-released code for the original SimCity, shows that Simulate() schedules systems such as traffic, fire, power, and crime instead of updating them all every frame.
  • A mod16 counter cycles through 0 to 15 to select which simulation work runs per frame, reducing CPU load.
  • City systems react within an average of eight frames and at most 15, a delay the author considers acceptable for city-building gameplay.
  • Assetto Corsa similarly updates only selected cubemap faces per frame, while Unreal’s Lumen avoids recalculating all lighting every frame.
  • Distributing work can improve performance but leave visual results temporarily incomplete, such as reflections that have not fully updated.

#game programming #performance optimization #simcity #real-time rendering

Generated by gpt-5.6-sol. Check the original for details.

Metric trends

Last 30 days · Up to 120 recorded samples per source and metric, with reposts kept separate · First and latest retained

Points

Score reported by the source.

  • Hacker News: 100, latest observation ; +93 over observed period since
  • Lobsters: 25, latest observation ; +24 over observed period since

Comments

Comment count reported by the source.

  • Hacker News: 29, latest observation ; +29 over observed period since
  • Lobsters: 15, latest observation ; +15 over observed period since

Aliases

SourceExternal IDURL
Hacker News50194536https://larstofus.com/2025/11/16/how-to-run-a-city-builder-on-12-5-mhz/ Read discussion
Lobstersqzfohfhttps://larstofus.com/2025/11/16/how-to-run-a-city-builder-on-12-5-mhz/ Read discussion