How does this work: "Programmator" is a two pages, one page - 16 lines, one line is a 3 cell. One line - one command (this rule may be modified)
[farg] - function argument. [mem] - memory address [reg] - register name [null] - empty cell
Usage, Description Commands: JMP [page] [line], setup current line. MEM [mem] [value], move value into memory. REG [reg] [value], move value into register. MTR [reg] [mem], copy value from memory into register. RTM [mem] [reg], copy value from register into memory. RTR [reg] [reg], copy value from first register to second register.
Function: ------------------------------- VGA [farg] [reg], Control of "video adapter", works with register [reg].
farg list: RST - Clear display. DSN - Display signed number. (incomplete) DUN - Display unsigned number. ------------------------------- IF [farg] [null], Simple condition, work with register "A" and "B", If result of condition = TRUE, it jumps +2 line to down. If result = FALSE, it jumps to next line.
farg list: A = B. A > B. A < B. A ! B - A not equal B. ------------------------------- KEY [farg] [reg], Activate "Keyboard" and waiting when buttons will be pressed, result moves into register [reg].
farg list: ANY - return index from any button NUM - return index only number button SYS - return index only system button (unsupported with current keyboard) ------------------------------- ALU [farg] [reg], Arithmetic and logic unit, operates with A and B registers, result of operation moves into register [reg].
farg list: NOT - invert bits in "A" register. OR - logic operation. XOR. AND. ADD - A + B
------------------------------- COM [farg] [reg], Communication port
Great work just that the fact has a very tiny amount of drive space and the coding language isn't sufficently storable but fantastic work on the graphics card.