K240 Executable Files

K240 contains three executable files:

  • intro - disk 1, introduction sequence
  • playk240 - disk 2, main game executable
  • checksum - disk 3, possibly a leftover developer tool

intro

The intro has six sections, according to an IRA disassembly:

  SECTION S_0,CODE
  SECTION S_1,CODE
  SECTION S_2,DATA
  SECTION S_3,BSS
  SECTION S_4,DATA,CHIP
  SECTION S_5,BSS,CHIP
  SECTION S_6,CODE

Main executable

There are at least three different versions of the game executable: v1.886, v2.000, and the CU Amiga demo coverdisk.

All versions have three sections, according to an IRA disassembly:

  SECTION S_0,CODE
  SECTION S_1,DATA
  SECTION S_2,DATA,CHIP

The main executable stores all of the game sprites excluding those used by alien ships and buildings. In the WHDLoad version, the sprites are visible from offset 256252 in the main game executable, immediatly following a large area of zero'd data. These sprites are most easily viewed with a width of 32 bits. The sprites do appear to include some structures used by aliens, notably the animated building used by the tylaran empire, viewable here: http://imgur.com/IT7zkXJ

The sprite data appears to end at around offset 362056 with all of the menu interface buttons. The WHDLoad game executable is roughly contains roughly 103.3kb of raw image data or 22.5% of the file.

checksum

Appears to be a program to check or generate checksums. The symbol table is intact. It has one section, according to an IRA disassembly:

SECTION S_0,CODE

It includes the following string:

  "K240 Checksum software. V2.000, 7-6-94"
  "Graeme Ing (c) Gremlin Graphics 1994"
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License