We're looking for your comments on how to best organize the wiki's content.

Suspension Chamber 2000

(Difference between revisions)
Jump to: navigation, search
(Added DCPU-16 template)
Line 50: Line 50:
 
* 0x0003: Years
 
* 0x0003: Years
 
|}
 
|}
 +
 +
{{DCPU-16}}
  
 
[[Category: Hardware]]
 
[[Category: Hardware]]
 
[[Category: Story]]
 
[[Category: Story]]

Revision as of 03:38, 12 June 2012

The SPC2000 is a sleep chamber manufactured by Nya Elektriska. The last surviving humans slept for 1612, or 0x10c in hexadecimal years in SPC2000s, due to an endianness mismatch. Specs can be found here.

Hardware info

Name SPC2000
ID 0x40e41d9d
Version 0x005e
Manufacturer 0x1c6c8b36 (NYA_ELEKTRISKA)

Interrupts

When a HWI is received by the SPC2000, it reads the A register and does one of the following actions:

A Behavior
0 GET_STATUS

Sets the C register to 1 if the SPC2000 is ready to trigger. If it's not, the B register is set to one of the following values:

  • 0x0000: ######################## - EVACUATE VESSEL IMMEDIATELY
  • 0x0001: Not in a vacuum
  • 0x0002: Not enough fuel
  • 0x0003: Gravitational forces too uneven
  • 0x0004: Too much angular momentum
  • 0x0005: One or more cell doors are open
  • 0x0006: Mechanical error
  • 0xffff: Unknown error - EVACUATE VESSEL IMMEDIATELY
1 SET_UNIT_TO_SKIP

Reads the B register, and reads a 64 bit number from memory address B in big endian, and sets the number of units to skip to that number.

2 TRIGGER_DEVICE

Performs GET_STATUS, and if C is 0, triggers the SCP2000. The status can be read as the result of the GET_STATUS call.

3 SET_SKIP_UNIT

Reads the B register, and sets the size of the unit to skip to one of:

  • 0x0000: Milliseconds
  • 0x0001: Minutes
  • 0x0002: Days
  • 0x0003: Years
Personal tools
Namespaces
Variants
Actions
Navigation
Community
Toolbox