We're looking for your comments on how to best organize the wiki's content.
Suspension Chamber 2000
(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:
|
| 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:
|
| ||||||||

