Wired Address Bus

From GMod Wiki

Jump to: navigation, search
Wire Icon.png Wiremod ToolYarin Kaul Icon ArrowSquare32 left.png Back
Information 16x16.png Function:Spawns an address bus.
link=User:{{{author}}} Primary fire:Create/Update address bus.
Wrench orange.png Secondary fire:No action.
Link break.png Reload:No action.
Page white text.png Notes:-

Brief

-

Instructions

The Address bus is used to access memory locations on high-speed devices. It is connected to a CPU or GPU, and splits the address space into four slots, which may overlap. Each slot has an offset and a size - the offset is where in the address space that slot begins, and the size is the size of that slot.

For example, if you have an address bus with slot 1 set to an offset of 2000, a size of 5 and a data port connected, then addresses 2000-2004 of the address bus will be forwarded to addresses 0-4 of the data port. Addresses 2005-2007 will not be forwarded, because the size is 5 - so addresses 5-7 of the data port will be inaccessible.

Inputs

Memory1, Memory2, Memory3, Memory4: These can be connected to the devices you want to be in slots 1, 2, 3 and 4 respectively.

Outputs

Memory: Connect this to a device that uses the address bus, for example a CPU, GPU or another Address Bus.

Variables

-

Useful hints

-

Example

-

Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox