Add new comment

Not quite...

… wrote:
it was originally designed so it would only work on real SAM hardware, not under emulation

Not quite… Defender runs with interrupts permanently disabled, relying on the HPEN tracking to determine whether he was ahead or behind the current frame. This tracking was extremely timing sensitive, and on older (less accurate) versions of SimCoupe the speed was very variable, spoiling the gameplay experience. This was enough for Chris to add a timing test, which measured the interrupt-to-interrupt cycle time. The result of this was used to form an execution address for the start of the game, and any difference would cause the game to crash instead of start.

Once the SimCoupe timing had been fixed the game ran fine, and Chris was quite happy for it to run in the emulator. So he wasn’t anti-emulator, just anti-inaccurate-emulator!

Reply


*

  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <b> <i>
  • Lines and paragraphs break automatically.
  • Link to content with [[some text]], where "some text" is the title of existing content or the title of a new piece of content to create. You can also link text to a different title by using [[link to this title|show this text]].
  • Insert an html table from [table | cell 2 ...]. Use "|" between cells and a new line between rows.
  • You can use Markdown syntax to format and style the text.