Device port reference

In the following table, the Read column is checked if the port can be read from, and the Write column is checked if the port can be written to. Ports with the label ‘grouped’ belong to the previous port as a port group, acting together as a single larger port, and ports with the label ‘aliased’ act as a copy of the previous port.

The name of each port is hyperlinked to the description of the port in the user manual of that device.

Port Name Description Read Write
00 Sleep Wait for a device event. Yes Yes
01 grouped grouped Yes Yes
02 Wake Device that woke the system. Yes No
03 Fork Fork or reset the system. No Yes
04 Device name Name of custom device 1. Yes Yes
05 Device name Name of custom device 2. Yes Yes
06 Device name Name of custom device 3. Yes Yes
07 Device name Name of custom device 4. Yes Yes
08 Name Name of this Bedrock system. Yes Yes
09 Authors Authors of this Bedrock system. Yes Yes
0A Program memory Program memory size. Yes No
0B grouped grouped Yes No
0C Working stack Working stack size. Yes No
0D Return stack Return stack size. Yes No
0E Connected devices List of connected devices. Yes No
0F grouped grouped Yes No
10 Count Number of pages allocated. Yes Yes
11 grouped grouped Yes Yes
12 Page offset Page offset of first head. Yes Yes
13 grouped grouped Yes Yes
14 Address offset Address offset of first head. Yes Yes
15 grouped grouped Yes Yes
16 Head Read and write with first head. Yes Yes
17 aliased aliased Yes Yes
18 Copy Copy one page to another. No Yes
19 grouped grouped No Yes
1A Page offset Page offset of second head. Yes Yes
1B grouped grouped Yes Yes
1C Address offset Address offset of second head. Yes Yes
1D grouped grouped Yes Yes
1E Head Read and write with second head. Yes Yes
1F aliased aliased Yes Yes
20 x coordinate Horizontal coordinate. Yes Yes
21 grouped grouped Yes Yes
22 y coordinate Vertical coordinate. Yes Yes
23 grouped grouped Yes Yes
24 r coordinate Radial coordinate. Yes Yes
25 grouped grouped Yes Yes
26 t coordinate Angular coordinate. Yes Yes
27 grouped grouped Yes Yes
28 Product Product of multiplication. Yes No
29 grouped grouped Yes No
2A grouped grouped Yes No
2B grouped grouped Yes No
2C Quotient Quotient of division. Yes No
2D grouped grouped Yes No
2E Remainder Remainder of division. Yes No
2F grouped grouped Yes No
30 Year Current year. Yes Yes
31 Month Current month of the year. Yes Yes
32 Day Current day of the month. Yes Yes
33 Hour Current hour of the day. Yes Yes
34 Minute Current minute of the hour. Yes Yes
35 Second Current second of the minute. Yes Yes
36 Uptime Incrementing counter. Yes No
37 grouped grouped Yes No
38 Timer Countdown timer 1. Yes Yes
39 grouped grouped Yes Yes
3A Timer Countdown timer 2. Yes Yes
3B grouped grouped Yes Yes
3C Timer Countdown timer 3. Yes Yes
3D grouped grouped Yes Yes
3E Timer Countdown timer 4. Yes Yes
3F grouped grouped Yes Yes
40 Horizontal coordinate Mouse cursor position. Yes No
41 grouped grouped Yes No
42 Vertical coordinate Mouse cursor position. Yes No
43 grouped grouped Yes No
44 Horizontal scroll Horizontal scroll delta. Yes No
45 grouped grouped Yes No
46 Vertical scroll Vertical scroll delta. Yes No
47 grouped grouped Yes No
48 Mouse active Mouse active state. Yes No
49 Mouse button Mouse button states. Yes No
4A Keyboard input Keyboard character queue. Yes Yes
4B Keyboard modifier Keyboard modifier states. Yes No
4C Controller Controller 1. Yes No
4D Controller Controller 2. Yes No
4E Controller Controller 3. Yes No
4F Controller Controller 4. Yes No
50 Horizontal coordinate Screen cursor position. Yes Yes
51 grouped grouped Yes Yes
52 Vertical coordinate Screen cursor position. Yes Yes
53 grouped grouped Yes Yes
54 Screen width Screen width. Yes Yes
55 grouped grouped Yes Yes
56 Screen height Screen height. Yes Yes
57 grouped grouped Yes Yes
58 Palette Change the colour palette. No Yes
59 grouped grouped No Yes
5A Selection Select the sprite colours. No Yes
5B grouped grouped No Yes
5C Sprite Write sprite data to a buffer. No Yes
5D aliased aliased No Yes
5E Draw Draw to the screen. No Yes
5F Move Move the draw cursor. No Yes
80 Input connection Connection state of local input channel. Yes No
81 Output connection Connection state of local output channel. Yes No
82 Input transmission Transmission state of local input channel. Yes Yes
83 Output transmission Transmission state of local output channel. Yes Yes
84 Input queue Bytes waiting in the local input queue. Yes Yes
85 Output queue Bytes free in the local output queue. Yes No
86 Head Read and write to the local bytestream. Yes Yes
87 aliased aliased Yes Yes
88 Input connection Connection state of remote input channel. Yes Yes
89 Output connection Connection state of remote output channel. Yes Yes
8A Input transmission Transmission state of remote input channel. Yes Yes
8B Output transmission Transmission state of remote output channel. Yes Yes
8C Input queue Bytes waiting in the remote input queue. Yes Yes
8D Output queue Bytes free in the remote output queue. Yes No
8E Head Read and write to the remote bytestream. Yes Yes
8F aliased aliased Yes Yes
90 Open Open a file or folder. Yes Yes
91 Action Create, move, or delete an entry. Yes Yes
92 Head Read and write to the open file. Yes Yes
93 aliased aliased Yes Yes
94 Path Path of the open entry. Yes Yes
95 Type Type of the open entry. Yes Yes
96 Child path Path of the selected child entry. Yes Yes
97 Child type Type of the selected child entry. Yes Yes
98 Address Select file address or child entry. Yes Yes
99 continued continued Yes Yes
9A continued continued Yes Yes
9B continued continued Yes Yes
9C Length Length of the current entry. Yes Yes
9D continued continued Yes Yes
9E continued continued Yes Yes
9F continued continued Yes Yes
A0 -- -- No No
A1 -- -- No No
A2 Read entry Read entry from primary clipboard. No Yes
A3 Write entry Write entry to primary clipboard. No Yes
A4 Read queue Bytes waiting in the primary read queue. Yes No
A5 Write queue Bytes free in the primary write queue. Yes Yes
A6 Head Read and write to the primary queues. Yes Yes
A7 aliased aliased Yes Yes
A8 Drag entry Drag an entry to or from this system. Yes Yes
A9 Drop entry Drop an entry to or from this system. Yes Yes
AA Read entry Read entry from secondary clipboard. No Yes
AB Write entry Write entry to secondary clipboard. No Yes
AC Read queue Bytes waiting in the secondary read queue. Yes No
AD Write queue Bytes free in the secondary write queue. Yes Yes
AE Head Read and write to the secondary queues. Yes Yes
AF aliased aliased Yes Yes
B0 Namespace Select a namespace by name. No Yes
B1 Key Select a key by name. No Yes
B2 Read value Read value from selected key. No Yes
B3 Write value Write value to selected key. No Yes
B4 Read queue Bytes waiting in the read queue. Yes No
B5 Write queue Bytes free in the write queue. Yes Yes
B6 Head Read and write to the access queues. Yes Yes
B7 aliased aliased Yes Yes
B8 Namespace select Select a namespace by index. Yes Yes
B9 grouped grouped Yes Yes
BA Key select Select a key by index. Yes Yes
BB grouped grouped Yes Yes
BC Namespace name Name of the selected namespace. Yes Yes
BD Key name Name of the selected key. Yes Yes
BE Delete namespace Delete the selected namespace. No Yes
BF Delete key Delete the selected key. No Yes