Skip to content

Instantly share code, notes, and snippets.

@kierenj
Created June 3, 2012 18:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kierenj/2864586 to your computer and use it in GitHub Desktop.
Save kierenj/2864586 to your computer and use it in GitHub Desktop.
DCPU16 generic vector display device
Name: Generic Vector Display (compatible)
ID: 0x3c704111
Version: 1
A prototype integrated three-dimensional vector display system with electron gun array, highly-fidelity electromagnet drivers and controller electronics.
Display area: 1m^3. Resolution: 1/65536m in each axis (15 microns).
Interrupts do different things depending on contents of the A register:
A | BEHAVIOR
---+----------------------------------------------------------------------------
0 | Set mode: off
1 | Set mode: test cube pattern
2 | Set mode: user input
3 | Turn on flare point, set target position to (X,Y,Z)
4 | Turn off flare point, set target position to (X,Y,Z)
5 | Set noise level to B (0 = 0%, 0xffff = 100%)
6 | Set rotation position to B (0xffff = 360 degrees)
7 | Set B to rotation position
8 | Set autorotation speed to B degrees/second (B is signed)
---+----------------------------------------------------------------------------
Coordinates specified are signed integers.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment