Home
        Click here for the user manual
         Contents
1.      world     x     y    lt z gt     First  a must be a variable name  not a constant expression   b must be a constant  expression and   must be a comparison operator  see table below   If the comparison is true   then the block at x  y  z in world will be set to a redstone block  ID 152   Otherwise  it will be  set to air  ID O   This allows for conditional branching  another feature essential to the  Redsparc     For example   var if foo    bar  world 1 2 3 would set the block at 1  2  3 in world  to a redstone block if and only if the value of foo equaled the value of bar  Otherwise  it sets it  to air     Comparison Operators       Redsparc Minecraft Computer http   www zbt1 com redsparc       Redsparc User Manual 11                                     Operator Function    Equal to  I  Not equal to   gt  Greater than   gt   Greater than or equal to   lt  Less than   lt   Less than or equal to       Redsparc Variable Assignment   The Redsparc uses three different arrays of variables     The reg array     used for storing the register values  AX  BX and so on      The ram array     used for storing  you guessed it  the RAM values      The io array     used for for storing the values of the serial io ports     The Registers Array     reg    The reg array stores the values of all the registers used by the Redsparc  All registers in the  Redsparc are 32 bits in size  Each index of this array corresponds to a different register  For a  complete list of which registers corresp
2.   This is the classic guess the number game  To run it  type  1oad gtn and then press the  execute button  The programs works as follows     1  The program will generate a random number between 1 and 25 inclusive    2  The   symbol will turn on  indicating that the computer s ready for you to guess    3  Enter a guess using the Numpad    4  Your guess will be displayed on the numeric display    5  The up arrow will turn on if you are too low  the down arrow will turn on if you re too  high and the   symbol will turn on if you ve guessed the number    6  If you didn t get the number  guess again    7  If you got the number  how many guesses it took you will be displayed on the numeric  display    Calculator    This is a four function calculator  It does addition  subtraction  multiplication and division  To  run it  type  1oad calculator and then press the execute button  The programs works as    follows    1  You enter the first number on the Numpad    2  You enter an operation on the Gamepad   o Afor addition  o Bfor subtraction  o Xfor multiplication  o Y for division   3  You enter the second number on the Numpad     4  The numeric display will display the result     Installing Programs    You can also install additional programs for the Redsparc  To view a list of additional  programs for the Redsparc  head over to http   z5t1 com redsparc programs           Redsparc Minecraft Computer http   www zbt1 com redsparc       Redsparc User Manual 7       Once you ve found a pro
3.  N A Available for User Developed Hardware  27 N A Reserved for Future Use 59 N A Available for User Developed Hardware  28 N A Reserved for Future Use 60 N A Available for User Developed Hardware  29 N A Reserved for Future Use 61 N A Available for User Developed Hardware  30 N A Reserved for Future Use 62 N A Available for User Developed Hardware  31 N A Reserved for Future Use 63 N A Available for User Developed Hardware             Redsparc Minecraft Computer       http   www zbt1 com redsparc       Redsparc User Manual 21       Character Map   0 NULL 19   38   57 Space   1 0 20 J 39 Y 58 Carriage Return  2 1 21 K 40   59 Tab   3 2 22 L 41   60 Backspace  4 3 23 M 42   61 Escape   5 4 24 N 43   62 Control   6 5 25 O 44 S 63 Alt   7 6 26 P 45   64 F1   8 7 27 Q 46 i 65 F2   9 8 28 R 47 S 66 F3   10 9 29 S 48   67 FA   11 A SC T 49    68     ES   12 B 31 U 50  lt    13 C 32 V 51  gt    14 D 33 W 52     15 E 34 X 53     16 F 35 Y 54     17 G 36 Z 55     18 H 37 56      Gamepad Key Values    O NULL   1 Back   2 Start   3Ok   4 Stop   5Up   6 Down   7 Left   8 Right   9A  10B  11X  12Y          Redsparc Minecraft Computer http   www zbt1 com redsparc    
4.  run any program  make sure to press the hardware reset button  Then  type the  following command in game      load   filename      Where   filename    is the File Name of the program you want to run  Once you have loaded a  program  press the execute button and the Redsparc will begin executing the program   Remember to be patient if the program doesn t appear to be working at some point  Often   you will have to wait a few seconds before getting a response from the computer     Note  Before you run any program  you should always make sure you have reset the  computer first  To do this  press power off and then press hardware reset     Using the Preinstalled Programs    The Redsparc comes with some programs already installed for you to use  They are as  follows                             Program File Name  Exponents     Displays the exponents of a number exponents  Guess the Number     A simple guess the number game gtn  Calculator     A four function calculator program calculator  Exponents    This is a very simple program  To run it  type  load exponents and then press the execute  button  The programs works as follows     1  The   symbol turns on indicating that the program is ready for you to enter input        Redsparc Minecraft Computer http   www zbt1 com redsparc       Redsparc User Manual       2     Input the starting number using the Numpad     3  The numeric display will display nt  then n  and so on until you press the power off    button     Guess the Number  
5.  second of the input devices  It is used not only in games  but generally  for getting any input that is not numeric or text  It has 12 buttons  back  start  ok  stop  up   down  left  right  A  B  X and Y  All you have to do with this device is press a button     Keyboard    The last of the input devices is the keyboard  It is usually used for getting text input  but is  also sometimes used for other purposes  It has a layout very similar to the layout used on real  keyboards  Simply step on the pressure plates for the key you wish to press        Redsparc Minecraft Computer http   www zbt1 com redsparc       Redsparc User Manual 8       Numeric Display    The numeric display is capable of displaying numbers between O and 99 999 inclusive  Not  much else to say here     Symbol Display    The symbol display consists of 6 different symbols     v   lt    gt   2 and    These symbols are used  by programs to indicate their status or tell you some information other than a number     GPU  Screen     The GPU  or display screen  is capable of displaying images  text and just about anything  else        Variablez    A Note for the not so Tech Savvy    This section contains information for people that want to know all the nitty gritty details of how  the Redsparc works  If you are not one of those people  you need not  and probably should  not  read this section     An Introduction to Variablez    As mentioned earlier  the Redsparc is  by design  heavily dependent on a custom Bukkit  p
6.  the value from serial port y into register x   push ax Pushes register x onto the stack   pop ax Pops register x from the stack   call label Calls x  saving the current instruction to the stack   ret Returns from a call  restoring the original instruction pointer   jmp label Jumps to location x   mov ax  4 copies a constant into register x   mov ax  bx copies the contents of register y into register x   mov ax   32  copies the contents of RAM location y into register x   mov ax   bx  copies the contents of the RAM location pointed to by register y to register x  mov  32   4 copies a constant into RAM location x   mov  32   ax copies the contents of register y into RAM location x   mov  32    33  copies the contents of RAM location y into RAM location x   mov  ax   bx copies the contents of register y to the RAM location pointed to by register x  add ax  bx adds the contents of registers x and y  saving the result to register x   Sub ax  bx subtracts the contents of registers x and y  saving the result to register x   mul ax  bx multiplies the contents of registers x and y  saving the result to register x   div ax  bx divides the contents of registers x and y  saving the result to register x   mod ax  bx modulus divides the contents of registers x and y  saving the result to register x  and ax  bx ands the contents of registers x and y  saving the result to register x   or ax  bx ors the contents of registers x and y  saving the result to register x   xor ax  bx xors the cont
7. Available for User Developed Hardware  5 Out Symbol Display Right 37 N A Available for User Developed Hardware  6 Out Symbol Display   38 N A Available for User Developed Hardware  7 Out Symbol Display   39 N A Available for User Developed Hardware  8 In Random Number Generator  40 N A Available for User Developed Hardware  9 In Gamepad 41 N A Available for User Developed Hardware  10 In Keyboard 42 N A Available for User Developed Hardware  11 N A Reserved for Future Use 43 N A Available for User Developed Hardware  12 N A Reserved for Future Use 44 N A Awailable for User Developed Hardware  13 N A Reserved for Future Use 45 N A Available for User Developed Hardware  14 N A Reserved for Future Use 46 N A Available for User Developed Hardware  15 N A Reserved for Future Use 47 N A Available for User Developed Hardware  16 Out GPU Execute 48 N A Available for User Developed Hardware  17 Out GPU Command 49 N A Available for User Developed Hardware  18 Out GPU X1 50 N A Available for User Developed Hardware  19 Out GPU Y1 51 N A Available for User Developed Hardware  20 Out GPU X2 52 N A Available for User Developed Hardware  21 Out GPU Y2 53 N A Available for User Developed Hardware  22 Out GPU Color 54 N A Available for User Developed Hardware  239 Out GPU Working Buffer 55 N A Available for User Developed Hardware  24 Both GPU Register 56 N A Available for User Developed Hardware  25 In GPU Status 57 N A Available for User Developed Hardware  26 N A Reserved for Future Use 58
8. Color Code Color Color Code Color  0 White Light Gray  1 Orange Cyan  2 Magenta 10  3 Light Blue H  4 Yellow 12  5 Lime 13  6 Pink 14 Red  7 Gray 15 Black   Buffers    The Redsparc GPU also has multiple buffers  Traditionally  games use doubled buffer mode       Redsparc Minecraft Computer    http   www zbt1 com redsparc             Redsparc User Manual 15       when rendering images  The Redsparc takes that a step further  having 17 buffers  numbered  0   16  The reason it has so many buffers is to allow software to create all the screens it  needs at startup and then just swap them during execution  since drawing can be a bit slow    making the application seemingly run faster     You are free to use buffers O   15 for whatever your heart desires  however it is imperative  that you do not modify buffer 16  Buffer 16 is used as the blank buffer and the GPU relies on  it containing nothing other than black wool  as it is used as part of the reset process   However  since buffer 16 is guaranteed to be blank  you can use buffer 16 as the source  buffer in the copy buffer command if you wish to clear another buffer     Buffer O is the display buffer that the end user sees  Use the copy command  op code 1  to  copy one buffer to another  The equivalent of doubled buffer mode would be using buffer 1 as  your working buffer  and then copying buffer 1 to buffer O to  push  the image to the user     Executing Commands    GPU command execution works as follows  the op code is written 
9. PU  The GPU uses the following serial ports  16 17 18 19 20 21 22 23 24 25    The GPU is by far the most complex of all the input   output devices and probably deserves a  manual of its own  which clearly isn t happening   The GPU also uses 10 serial ports  which is  more than every other output device combined  Each of these ports serves a special purpose  which is explained quite nicely by the following table           Redsparc Minecraft Computer http   www zbt1 com redsparc    Redsparc User Manual                                                    Serial Port Name Description   16 Execute You set this to 1 when the GPU should execute a command    17 Command The op code for the command the GPU should execute  see  GPU Op Codes under Reference Tables for a complete list of  commands     18 X1 Stores the X1 coordinate    19 Y1 Stores the Y1 coordinate    20 X2 Stores the X2 coordinate    21 Y2 Stores the Y2 coordinate    22 Color Stores the current working color    23 Buffer Stores the current working buffer    24 Register Used as an extra argument for certain operations    25 Status Set to 1 if the GPU is busy  otherwise set to O    Colors    The Redsparc GPU supports all 16 Minecraft wool colors  For all operations where the GPU  is drawing something  it uses the color specified by serial port 22  To change the color  simply    write the appropriate color code to serial port 22     Wool Colors                                                                                  
10. REOSPAR  Z    User Manual  Version 1 0  Alpha 2   zbt1 com redsparc    Redsparc User Manual 2       Contents  Setting NERA a cscs sie a Dans DD Cas Da ed 4  Download Ev 4  SE the SEAS 4  VV MALO CN C E E E E EE               P 4  NES p qu                                                    4  In etm ET                                                        4  Connecting sta at                                               9  me Programs US St 9  R  nning Pr  ve 5  Using the Premstalled Prog rains emesa mem mt EGO 5  PYTTEN 5  Guess the NAS 6  GE    FEL  ASR CR RR RR RR RR RR RS RR RR RN RS 6  Installing Programs  citem ae aaa ade aaja usado PES 6  Input  amp cO  tp  t Ke 7  N  mpad e                                                 7  EG                                                                           7  LEE 7  lte ER 8  Symbol WTSI mr                                      dues 8  GPS s                                                  H 8  Vrllsssarj        8  A Note for the not so Tech E 8  An Introduction to MEA 8  VE 8  og ut 9  Constant EP E 9  Incrementing and ee 9  Mathematical and Bitwise Operations       s esreesnvrennvrsnvrennersnnsennrssnnrennsesnnsennessnnssnnsssnnsennsssnnsennessennne 10  ee E 10  Redsparc Variable S  N EE 11  The Registers  Array Ep m                       11  The RAM Eeer 11  Th   Top  OP array EE 12  Interfacing with the Built in Hardware    eva cecessiesesevevccrodecssseseneeasessnnns eta essammsn  onmmsimmantmes 12  A N  te for the not 
11. c  Redsparc  Redsparc  Redsparc  Redsparc    Redsparc  Redsparc  Redsparc  Redsparc  Redsparc  Redsparc  Redsparc  Redsparc    Redsparc  Redsparc  Redsparc  Redsparc  Redsparc  Redsparc  Redsparc  Redsparc  Redsparc  Redsparc    Redsparc  Redsparc  Redsparc  Redsparc  Redsparc  Redsparc  Redsparc  Redsparc    Redsparc  Redsparc  Redsparc  Redsparc  Redsparc  Redsparc  Redsparc  Redsparc       Redsparc Minecraft Computer    http   www zbt1 com redsparc       Redsparc User Manual 18       GPU Op Codes    Op Code Command Description    0 reset Resets the GPU   1 copy buffer Copies the working buffer to the buffer specified by GPU register  IO port 24   2 set pixel Sets the pixel at X1  Y1 to the working color   3 fill Fills the area from X1  Y1 to X2  Y2 with the working color   4 border Sets the border for the area from X1  Y1 to X2  Y2 to the working color          Redsparc Minecraft Computer http   www zbt1 com redsparc    Redsparc User Manual 19       Register Addresses  Register Value Description  AX 0x00 General Purpose  BX 0x01 General Purpose  CX 0x02 General Purpose  DX 0x03 General Purpose  SI 0x04 General Purpose  DI 0x05 General Purpose  SP 0x06 Stack Pointer  BP 0x07 Base Pointer  IP 0x10 Instruction Pointer  I1 Ox11 Instruction Word 1  2 0x12 Instruction Word 2  I3 0x13 Instruction Word 3  MA 0x14 Memory Address  FEQ 0x15 Equal Flag  FNEQ 0x16 Not Equal Flag  FG 0x17 Greater Than Flag  FGE 0x18 Greater Than or Equal Flag  FL 0x19 Less Than Flag  FLE Ox1A Less Than 
12. download to download the Redsparc  Once you ve  downloaded the zip file  extract it  The next step varies depending on what operating system  you re using  so follow the directions in the appropriate section for your system        Starting the Server    Windows  You ve got it pretty easy   1  Double click start bat  2  When prompted  click run      promise this is not a virus  but if you don t trust me  you can look at it for yourself  Right click  on start bat and click edit     Mac OS X  1  Open up a terminal  2  Navigate to the directory you unzipped the Redsparc files to using the cd command   3  Type   start sh   Note  If typing   start sh doesn t work  you may first need to type chmod 775 start sh    Linux   If you use Ubuntu or any other distribution that uses Gnome  then you can do the following   1  Double click start sh  2  When prompted  click run in terminal   If the above doesn t work or your distribution doesn t use Gnome  do the following   1  Open up a terminal          Redsparc Minecraft Computer http   www zbt1 com redsparc    Redsparc User Manual 5       2  Navigate to the directory you unzipped the Redsparc files to using the cd command   3  Type   start sh  Note  If typing   start sh doesn t work  you may first need to type chmod 775 start sh    Connecting    Now your server is up  running and waiting for you to connect  Launch Minecraft and connect  to server 127 0 0 1 to start using the Redsparc        Running Programs    Running a Program    Before you
13. ents of registers x and y  saving the result to register x   inc ax increments register x   dec ax decrements register x   cmp ax  bx Compares the contents or registers x and y  setting all comparison flags   je label Jumps to location x if the equal flag is set   jne label Jumps to location x if the not equal flag is set   jg label Jumps to location x if the greater than flag is set   jge label Jumps to location x if the greater than or equal flag is set   jl label Jumps to location x if the less than flag is set   jle label Jumps to location x if the less than or equal flag is set   cmp ax  4 Compares the contents or register x and constant y  setting all comparison flags  add ax  4 adds the contents of register x and constant y  saving the result to register x  sub ax  4 subtracts the contents of register x and constant y  saving the result to register x  mul ax  4 multiplies the contents of register x and constant y  saving the result to register x  divax  4 divides the contents of register x and constant y  saving the result to register x  mod ax  4 modulos the contents of register x and constant y  saving the result to register x  and ax  4 ands the contents of register x and constant y  saving the result to register x  orax  4 ors the contents of register x and constant y  saving the result to register x   xor ax  4 xors the contents of register x and constant y  saving the result to register x    Implemented    Redsparc  Redsparc  Redsparc  Redsparc  Redsparc  Redspar
14. gram you want to install  download the binary version of it  You  have to copy the file you downloaded to the proper location  Go to wherever you extracted the  files for the Redsparc  click on plugins and then click on Load  You must copy the file you  downloaded into this directory  You can then run it in game by pressing the hardware reset  button  typing  load   filename   and pressing the execute button        Input  amp  Output Devices    The Redsparc has three input devices  the Numpad  Gamepad and keyboard as well as three  output devices  the numeric display  symbol display and GPU  or screen   This section  documents how these devices work in general  For documentation on their use for a specific  program  please see the documentation for that program     Numpad    The Numpad is used for inputting numeric values  It may look complicated  but it really isn t   There are ten columns and five rows  Each row represents a different digit of the number  The  top row is the 10 000s place  row two is the 1 000s place and so on  Each column is a  different value for that digit  Simply press the buttons as desired  and then press the enter  button     For example  to enter the number 62 574  do the following   Press the 6 button on the top row   Press the 2 button on the second row   Press the 5 button on the third row   Press the 7 button on the fourth row   Press the 4 button on the bottom row    p  Hr uec uec Deo d    Press the enter button    Gamepad    The Gamepad is the
15. lugin  Variablez  This plugin does what its name implies  it allows you to store values in  variables  It functions very similarly to how scoreboards do  but adds a couple of essential  features     While some may not appreciate this and some may even consider it cheating  there is a very  valid reason for this  Making a computer in Minecraft using just vanilla content and no custom  commands hasn t ever worked out too well  There have been computers made this way  but  they are all extremely slow  not one of them has a clock speed faster than 0 5 Hz  and  extremely limited with memory  not to mention that it isn t feasible to make a Von Neumann  computer this way     So if you can just put any predrawn conclusions aside  you may actually come to appreciate  how much more powerful the Redsparc is because of this decision     Setting Values    All Variablez commands start with  var  followed by a subcommand  In its most basic form  it       Redsparc Minecraft Computer http   www zbt1 com redsparc       Redsparc User Manual 9       works as follows    var set   variable     value      Sets a variable equal to a value  where variable is the name of the variable and value is the  value you want to set it to  The variable name may consist of uppercase and lowercase  letters  numbers and underscores  The value must be an integer between  2147483648 and  2147483647  or if you prefer  any signed 32 bit integer   So typing  var set foo 42 would  set variable foo equal to 42     Printi
16. n argument just takes a plain variable name  you do not surround  the variable name in braces  You can  however  use braces for retrieving an index from an  array  So  var set ram foo  66 would be perfectly valid     Incrementing and Decrementing    Variablez allows for simple incrementing and decrementing of variables  Simply use  var  inc   variable   and  var dec   variable   respectively  Variable should not be a       Redsparc Minecraft Computer http   www zbt1 com redsparc       Redsparc User Manual 10       constant expression i    Mathematical and Bitwise Operations  Variablez also lets you perform mathematical and bitwise operations  The syntax is as follows    var  lt operation gt   lt a gt   lt b gt     Where operation is a valid operation  see table below   a is a variable name  not a constant  expression  and b is a constant expression  This performs the operation on a and b  storing  the result in variable a     Note  For operations where the order of operands matters  subtraction  division and  modulus   a should be the first operand and b should be the second     Valid Operations                               Operation Subcommand  Addition  var add  Subtraction  var sub  Multiplication  var mul  Division  var div  Modulus  var mod  Bitwise AND  var and  Bitwise OR  var or  Bitwise XOR  var xor             If Statements    Finally  Variablez allows for comparison via the if subcommand  It s a bit complicated and  works as follows      var if   a    lt   gt    b
17. nds  Often programs take a few seconds to start   Make sure you ve pressed the execute button     Check the clock status lights  Ensure that they are blinking  If any one is not  press the  clock reset button     4  Press the hardware reset button  load the program again and press execute     If all else fails  there could be a bug in the program you re trying to run        Redsparc Minecraft Computer http   www zbt1 com redsparc       Redsparc User Manual    17       Op Codes    All op codes for the Redsparc have two arguments  x and y  For commands that don t use x  and or y  they should be set to 0     Op Code Hex Syntax    WNrRO    WNrRO    hit   out x  y   out reg x   y  in reg x   y    push reg x   pop reg x   call x   ret   jmp x    mov reg x   y   mov reg x   reg y    mov reg x   ram y   mov reg x   ram reg y    mov ram x   y   mov ram x   reg y   mov ram x   ram y   mov ram reg x    reg y     add reg x   reg y  sub reg x   reg y  mul reg x   reg y   div reg x   reg y   mod reg x   reg y   and reg x   reg y  or reg x   regly    xor reg x   reg y   inc reg x  dec reg x           cmp reg x   reg y   jex   jnex   jgx   jgex   jx   jlex   cmp reg x   y    add reg x   y  sub reg x   y  mul reg x   y  div reg x   y  mod reg x   y  and reg x   y  or reg x   y  xor reg x   y    Reference Tables       Assembly Explanation   hit Halts computer operation   out 4  1  uses port 1 Writes x to serial port y   out ax  1 Writes the value at register x to serial port y   in ax  1 Reads
18. ng Values  Printing a value isn t that different from setting it  Simply type    var print   constant      This prints the value specified as constant  So typing  var print 42 would  in turn  print  42  To print a variable  we must use a constant expression     Constant Expressions    Many Variablez commands take a constant expression as one or more of the arguments   These are not as complicated as they may seem  A constant expression consists of a  constant value  So you could use 42 as the constant  or any other value  It is also possible   however  to use variables in constant expressions  We simply put the variable name inside of       This tells Variablez that we want to use the value of that variable  not just the name     So for example  to print the value of the foo variable  we would type  var print  foo    This would cause 42 to be printed     You can also prepend a constant to a variable as follows   var print foo   foo   This  would cause foo 42 to be printed instead of just 42 as in the previous example     Finally  you can nest braces  This allows you  in a sense  to create arrays of values  Say that  we wanted to get the RAM value at index foo  We would just simply type  var print   ram foo    This would print RAM address 42  This is essential to the Redsparc  as without  this feature you would not be able to use registers as RAM indices     Note  You should only use a constant expression when an argument specifically says it takes  a constant expression  If a
19. ollowing serial port  9    When the user presses a button on the gamepad  serial port 9 is set to the corresponding  value  When no button has been pressed  serial port 9 is set to O  For a list of which values  correspond to which button  see the Gamepad Key Values table under the Reference Tables       Redsparc Minecraft Computer http   www zbt1 com redsparc       Redsparc User Manual 13       section     Keyboard  The keyboard uses the following serial port  10    When the user presses a key on the keyboard  serial port 10 is set to the corresponding  character value  When no key has been pressed  serial port 10 is set to O  For a list of which  values correspond to which characters  see the Character Map table under the Reference  Tables section     Output Devices    Numeric Display  The numeric display uses the following serial port  1    The numeric display simply displays whatever value is in serial port 1  you need only change  the value to change the display  Note however  that if the number is greater than 99 999 only  the last 5 digits will be displayed     Symbol Display  The symbol display uses the following serial ports  2 3 4 5 6 7    Each of the symbol display serial ports controls a different symbol  To turn a symbol on  set  the port to 1  To turn a symbol off  set the port to O        Port Name Symbol       Up Arrow A       Down Arrow       Left Arrow  Right Arrow  Question Mark          DIV IA   lt        NN OO BCIN                Exclamation Point       G
20. ond to which indices  see the Register Address table  under Reference Tables section     Some of these registers are accessed directly when programming  These registers are all the  general purpose registers plus the SP and BP registers  The general purpose registers serve  no special purpose and can be used for anything  The stack pointer  SP  register points to the  bottom of the stack and is used during all stack related operations  push  pop  call  ret   The  base pointer  BP  register currently serves no special purpose  but this behavior should not  be relied upon when writing code  as it is likely to change in future versions of the Redsparc     The other registers should not ever be accessed directly when programming  These registers  are by the processor to store internal variables  such as the address of the next operation and  the comparison flags  Accessing these registers directly will cause unexpected behavior and  system instability     The RAM Array   ram    The ram array stores the the RAM values  This one is pretty simple  It uses linear addressing   with the first RAM value being ram  0   the second one being ram 1  and so on  Each RAM  value is 32 bits in size  to correspond with the register size   When the execute button is  pressed  the processor will start executing the instruction at ram  0   using ram  1  as x and  ram 2  as y  For details on how x and y are used  see the Op Codes table under the       Redsparc Minecraft Computer http   www zbt1 com 
21. or Equal Flag  1P 0x20 Instruction 1 Pointer  DP 0x21 Instruction 2 Pointer  I3P 0x22 Instruction 3 Pointer  GPU Register Addresses  Register Serial Port Purpose  16 Set to 1 when the GPU should execute a command  GPU CMD 17 Stores the current command  GPU X1 18 X1 coordinate  GPU Y1 19 Y1 coordinate  GPU X2 20 X2 coordinate  GPU Y2 21 Y2 coordinate  GPU CLR 22 Current working color  GPU BUF 23 Current working buffer  GPU REG 24 Extra register for user interface  25 Stores the GPU status  0   free  1   busy  GPU 1 GPU Internal Register 1          Redsparc Minecraft Computer http   www zbt1 com redsparc    Redsparc User Manual    20       Serial Port Assignment    Key     e Blue     ports already in use for built in hardware       Yellow     ports already in use for the GPU       Green     ports designated for use when developing your own hardware       Grey     ports reserved for future hardware     Ports greater than 63 should not be used  They have not been allocated yet and may be used  for built in hardware in future versions                                                                                                     Port Direction Use Port Direction Use   0 In Numpad Input 32 N A Available for User Developed Hardware  1 Out Numeric Display Output 33 N A Available for User Developed Hardware  2 Out Symbol Display Up 34 N A Available for User Developed Hardware  3 Out Symbol Display Down 35 N A Available for User Developed Hardware  4 Out Symbol Display Left 36 N A 
22. redsparc       Redsparc User Manual 12       Reference Tables section     The Input   Output array   io    The io array is used for storing serial port values  It is this array that is used to interface with  the hardware  The first serial port is io  0   the second io 1  and so on  Each port controls  a different piece of hardware  For information on which ports control what  see the Serial Port  Assignment table under the Reference Tables section        Interfacing with the Built in Hardware    A Note for the not so Tech Savvy    This section contains information for people that want to know all the nitty gritty details of how  the Redsparc works  If you are not one of those people  you need not  and probably should  not  read this section     Basic Hardware Input   Output    All hardware on the Redsparc is controlled by serial ports  in the io array   Interfacing with  most hardware is as simple writing or reading values to or from serial ports  This section will  cover in detail how each IO device works     To read values from a serial port  use the in instruction  Op code 3   To write values to a  serial port  use one of the out instructions  Op codes 1  amp  2      Input Devices    Numpad  The numpad uses the following serial port  0    When the user presses enter on the numpad  serial port O is set to the value the user entered   which will be between O and 99 999 inclusive  If there is no input  serial port O will be set to  100 000     Gamepad  The gamepad uses the f
23. so Tech SAVVY EE 12  Basic Hardware Input ERNEST OPE DER DES 12  Input DELS Jes eee 12  Eege 12  EE                                                    12  f DO AE ini Ec RR 13       Redsparc Minecraft Computer http   www zbt1 com redsparc       Redsparc User Manual 3       EG IE I  Pr TIN 13  N  merne DISpIay or                 ie 13  Sb DP 13   REG 13  REC e            14  ln  T                                                         coea   14  Fed mb Rec PT tl EES 15   Troubleshooting  iecerei iiien RE EA EEE m mm 16   The GPU  screen    numeric display   symbol display isn t working                           eese 16   I pressed execute but nothing s happening                         eere scene eene en enne tnnt nnns tnns eet tan sese eaae 16   Reference Le  RET aa ad Lad     C cens 17   CCS ea lcs 17   GPU OP TE 18   PEER EE 19   GPU Register SAGAN 19   Serial Port ASSIS INCI 225 E 20   CA CIE E EE 21   Gamepad  ATI n                             21       Redsparc Minecraft Computer http   www zbt1 com redsparc       Redsparc User Manual 4       Setting up the Redsparc    Downloading the Files    Before we can use the Redsparc  we must set it up  This is not done the same way you set  up other custom maps     The Redsparc actually runs on a Bukkit server  It is  by design  dependent on custom Bukkit  plugins to function  So to use the Redsparc  you must first setup a Bukkit server  Don t worry   this isn t as difficult as it sounds     Head over to http   z5t1 com redsparc 
24. to serial port 17 and the  rest of the arguments are written to their corresponding serial ports  Once all of the arguments  have been written  set serial port 16 to 1  This will make the GPU actually execute the  command     It s also worth mentioning that all serial ports  aside from port 25  retain their values across  multiple operations  This means that if the color is the same across 2 or more operations  you  need to write it to port 22 only once     GPU Error  amp  Range Checking    It is important to take note of the fact that the GPU has no error checking or range checking  on the values passed to it  This means that if you pass the GPU an X coordinate or a buffer  that is outside of its bounds  the GPU will actually proceed to modify blocks in other parts of  the map  This could potentially destroy the CPU or some other vital component of the  computer  so don t do that        Redsparc Minecraft Computer http   www zbt1 com redsparc       Redsparc User Manual 16       Troubleshooting    The GPU  screen    numeric display   symbol display isn t working    This can sometimes happen when you join the game or perform a hardware reset  Check the  clock status lights  at the far left   If either of them are not blinking  press the clock reset  button  If this is not the problem  try flying closer to the display     I pressed execute but nothing s happening    This can be caused by a wide variety of issues  Do the following steps in order     1   2   3     Wait a few seco
    
Download Pdf Manuals
 
 
    
Related Search
    
Related Contents
Hitachi 42PD580DTA Flat Panel Television User Manual  Tektronix: Products > Digital Storage Oscilloscopes TDS1002    FP 39 15 09 27c  PQI Traveling Disk i261, 8GB    Copyright © All rights reserved. 
   Failed to retrieve file