Commands of Mechatronic 80-column card ====================================== (1987-04-19) 1) Setting the graphic modes: ----------------------------- OPEN #1:"GRAPH1" puts display in graphic 6 mode OPEN #1:"GRAPH2" puts display in graphic 7 mode CLOSE #1 puts display back in graphics mode (graphic 1 mode) 2) Cursor movement: ------------------- PRINT #1:"M";x;y moves cursor to absolute position ((0,0) = left upper corner) PRINT #1:"R";x;y moves cursor to relative position ((0,0) = actual cursorposition) 3) Graphic commands: -------------------- PRINT #1:"D";x;y line from cursorposition to absolute position ((0,0) = left upper corner) PRINT #1:"J";x;y line from cursorposition to relative position ((0,0) = actual cursorposition) PRINT #1:"W";y;x ellipse with cursorposition as center ((y,x) = length of semiaxis) PRINT #1:"H" fills screen with actual color (used for clearing the screen) 4) Text commands: ----------------- PRINT #1:"P";"Text" writes "text" until end of record (79 characters max.) 5) Color commands: ------------------- PRINT #1:"C";c new color for all commands (c = colorcode) Graz, Oct. 11,1987 Martin Trabi Mechatronic 80-column card internal =================================== (1987-05-17) 1) Pin description expansion port: ---------------------------------- *---------* pin: function: :16. .15: : . . : 1 C7 (MSB) : . . : 2 C6 : . . 3 C5 : . . 4 C4 : . . : 5 C3 : . . : 6 C2 : 2. .1 : 7 C1 *---------* 8 C0 (LSB) 9 NC 10 LPS 11 LPD 12 GND 13 NC 14 GND 15 NC 16 +5V Data direction of Color Bus is switched by VDP. Data drivers are activated via CRU. 2) CRU assignment: ------------------ output: address: function: >1x00 ROM enable >1x02 EPROM page select >1x04 Expansion port enable >1x06 CRU input select >1x08 Buttons enable >1x0A ) >1x0C ) Not used >1x0E ) input: address: function if function if address >1x06 off: address >1x06 on: >1x00 DIP1-1 DIP2-1 >1x02 DIP1-2 DIP2-2 >1x04 DIP1-3 DIP2-3 >1x06 DIP1-4 DIP2-4 >1x08 DIP1-5 DIP2-5 >1x0A DIP1-6 DIP2-6 >1x0C button1 DIP2-7 >1x0E button2 DIP2-8 At all input ports: LOW means contact closed. Graz, May 17,1987 Martin Trabi Standard Colors of MSX-VDP V-9938 ================================= (1987-08-30) color code intensities of components (palette register no.) red green blue 0 0 0 0 1 0 0 0 2 1 6 1 3 3 7 3 4 1 1 7 5 2 3 7 6 5 1 1 7 2 6 7 8 7 1 1 9 7 3 3 10 6 6 1 11 6 6 4 12 1 4 1 13 6 2 5 14 5 5 5 15 7 7 7 Bit 5 of the control register no. 8 determines how color code 0 is displayed. 0 (default) means color 0 is transparent, 1 means color as specified in palette register no. 0 (MSB = bit 7). Graz, Aug. 30,1987 Martin Trabi