lloydsparkes / MicropolisSharp

A port of the Micropolis code to C# (Original: https://github.com/SimHacker/micropolis)
GNU General Public License v3.0
8 stars 3 forks source link

Micropolis.Windows draws the map incorrectly. #1

Closed lloydsparkes closed 9 years ago

lloydsparkes commented 9 years ago

The Map seems to have been loaded with the top half below the bottom half.

Need to Diagnose where this happens, it doesn't happen in the Mini-loader and drawer I wrote.

  1. Put the Mini-Loader into Micropolis.Windows
  2. Use it to Draw the Map.
  3. Compare the Output after loading (no simulator ticks etc) (needs a new debug output of the map)
  4. Work out if the issue is before or after the loading. Then correct it.
lloydsparkes commented 9 years ago

Was to do with the History Length, we were reading 2x as many bytes from the file.