Česká verze

OPTA - Programmer's Favourite Tables

contain selected information useful for programmers and power users. Print a hardcopy, use scissors and glue or adhesive tape to create a handy tool. Information is formed into 16 tables of 723*640 pixels.

OPTA-BLK

OEM codepage tables used in Czech and Slovak Republic:

B CP437 VGA-BIOS
L CP852 PC Latin2
K CP895 Kamenických

OPTA-BIW

ANSI codepage tables used in Czech and Slovak Republic:

B CP437 VGA-BIOS
I ISO-8859-2
W CP1250 Windows CE

OPTA-UC1 OPTA-UC2 OPTA-UC3 OPTA-UC4

These four tables contain all characters from four code pages commonly used in Czech and Slovak Republic, as well as their Unicode glyph names and codes.

OPTA-ANS

ANSI escape sequences for color and cursor control of ANSI terminals. Right quarter of the table specifies default color assigment in text mode of a standard videoadapter.

OPTA-SSP

Left half of the table shows keyboard scan codes, next is the list of Czech and Slovak characters with diacritic marks, the last quarter defines box-drawing characters.

OPTA-256

A table for conversion of 16bit numbers from hexadecimal to decadic format and vice versa using one simple calculation.

Example: Converting number 45678 to hexadecimal:
Insert the number to calculator and then in column 256*D find the nearest lower value, i.e. 45568. In the neighbour column H see the hexadecimal value B2. Then subtract the value 45568 in calculator and find the result 110 in column D. In the corresponding line we can see its hexa equivalent 6E. The result is then B26Eh.

Another example: 1B38 should be converted from hexadecimal.
Find the first half (1B) in column H and then in the column 256*D read the corresponding value 6912 and type it into your calculator. Now for the last half of input number, which is 38 in this example, find in column D its decadic value 56 and add it to the calculator, giving the final result 6968.

OPTA-4GB

This table helps with conversion of 32bit numbers from hexadecimal to decadic format and vice versa.

Example: Convert 3F08Ah to a decadic number.
Take the first digit (3) and find the column of table, where the position of X in column header corresponds with position of this cipher in source number. It is the 4-th column 00 0X 00 00 in this example. In the row Nr.3 read the value of 196608 and put it into your calculator. Repeat with all remaining hexadecimal digits (F,0,8,A) giving the result 196608+61440+0+128+10=258186.

Another example: Convert 1 milion to hexadecimal:
Starting from left, find the nearest lower but non-zero number. In this case it is 983040 in the column 00 0X 00 00, row F. So the digit F is the first part of result where the X in column header specifies its position in target hexadecimal number (000F????).
Subtract the nearest lower value giving 1000000-983040=16960. Repeat the procedure with this new difference. The nearest lower value to 16960 is 16384 in row 4, hence the result is so far 000F4???. Repeating we will find the final result which is F4240h.

OPTA-CPU

Left part of the table shows registers of Intel 386 CPU used in Assembly Language.
The second column names the bits of Extended Flags Register.
The next column lists symbolic names of short jumps and their conditions.
The last portion shows names and function of shift and rotate instructions used with Intel processors.

OPTA-IMX

Intel CPU instruction code matrix. Asterix (*) specifies instructions which are available on i286 and newer processors only.

OPTA-EPS

List of escape sequences for Epson printers. Typical sequence is started with Escape control character (ASCII 27) followed with one or more specific characters. Escape sequence is never printed, it only controls printer's behaviour.
Symbolic character w in column ASCII represents word (2 bytes) of information. Other symbolic characters (n,l,r,..) represent single bytes.

Example:
The line |51 33| ESC 3 n | Vert. spacing n/216" | tells that vertical spacing of printer drum can be set to e.g. 12/256" with sequence of three bytes 27, 51, 12.

OPTA-HAY

Return codes and controls for Hayes-compatible modems. Most of control codes must be prefixed with AT.

OPTA-ZXS

Table for programmers of Sinclair ZX Spectrum with list of bytes interpreted as characters or tokens (column PROG), Basic variables (VAR) or calculator controls (CALC).

OPTA-PIN

Pin assigment for most interface connector which can be found in personal computers. Outputs from PC are marked with symbol > while inputs are marked <.


High resolution print

The following eight HTML pages are designed for direct print of OPTA tables with internet browser on a laser or bubble-jet printer. Two tables with size 7 * 3" fit on one A4 sheet in Portrait orientation.. You may need to decrease left and right margins (PageSetup).

BLK BIW UC1 UC2 UC3 UC4 ANS SSP
256 4GB CPU IMX EPS HAY ZXS PIN

Low resolution print

Alternative format PRN is designed for Epson or IBM Proprinter compatible needle printers. Size of each table is 10 * 5". Download the entire file OPTA.ZIP, unpack and print with the command
COPY /B OPTA-???.PRN PRN.