Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
tutorial:custom_oses [2015/01/17 01:22]
sangar added info on how to access component proxies in BIOS
tutorial:custom_oses [2015/10/06 21:45]
phallopode [Accessing components in BIOS] removed double word -
Line 161: Line 161:
 Accessing components in BIOS Accessing components in BIOS
 ----------------- -----------------
-Unlike in OpenOS you don't have the primary system for components in BIOS. That means you cannot just write `component.redstone.setOutput`,​ you have to manually create your proxy for the component first. For several reasons the proxy system is provided via the machine itself, so you can still use that. To get a proxy, use the `component.proxy` method. It expects the address of the component to wrap. You can either write that down manually, or get the the list of components using `component.list` and go from there.+Unlike in OpenOS you don't have the primary system for components in BIOS. That means you cannot just write `component.redstone.setOutput`,​ you have to manually create your proxy for the component first. For several reasons the proxy system is provided via the machine itself, so you can still use that. To get a proxy, use the `component.proxy` method. It expects the address of the component to wrap. You can either write that down manually, or get the list of components using `component.list` and go from there.
  
 For example, to get the first best redstone component, you can do the following: For example, to get the first best redstone component, you can do the following: