Código: Seleccionar todo
TEXT MODES : 80 columnas x 25-30 líneas / 40 columnas x 25-30 líneas
GRAPHIC MODES : Desde 256 x 10 a 640 x 220 pixels
Con el expansor y la controladora de discos el CP/M se inicia en 80 columnas, pero desde BASIC ???
2) ENTERING THE CP/M SYSTEM
With the 32K CP/M system this can be done by using the command "CPM" from BASIC or by pressing the stop key on powerup. The 64K system can only be
entered by selecting "CP/M 2.2" from the system menu. The system information will be read from drive A and the copyright message will be displayed. At
this point if an initial command has been set by the SETINIT program it will be executed. Otherwise the CP/M prompt "A>" will be displayed.
The screen used by CP/M is similar to the normal screen editor except it is much simpler. It operates on a 25 by 80 screen using the normal character
set. Characters whose top bit are set will display according to the current TV mode. When the last column has been typed to the cursor stays on the last
character but changes from a line to a block to indicate that the next character typed will appear on the next line. Those control codes not listed
below will perform no action at the moment, but they may be made to do something at a later time and should be avoided.
00H - Null. No action.
01H - Insert Line. The lines below the current line (if any) are scrolled down. The current line is cleared and the cursor is moved to the left hand side.
02H - Delete Line.The current line is deleted and the lines below (if any) are scrolled up. A blank line is inserted at the bottom of the screen.
03H - Delete To The End Of Line. The character at the cursor and all characters to the right of it (if any) are converted to spaces.
05H - Cursor Off. The cursor will cease to flash.
06H - Cursor On. The cursor will start to flash.
08H - Backspace. The cursor is moved one space to the left, or if it was on the left hand side to the right hand side but one of the above
line (the 80th character). If the cursor was at the top-left corner, it is moved to the top-right corner.
09H - Tab. Spaces are printed until the column number is a multiple of 8. A NEWLINE is taken if necessary.
0AH - Cursor Down.The cursor is moved one space down, and if the cursor was at the bottom of the screen, the screen is scrolled up and a blank
line inserted at the bottom.
0BH - Cursor Up. The cursor is moved up one line, unless it was already at the top line.
0CH - Cursor Home. The cursor is moved to the top left corner.
0DH - Carriage Return. The cursor is moved to the left of the current line.
11H - Insert Mode. Further non-control characters are inserted at the cursor position, with the character previously at the cursor position and characters to the right of it moved to the right. Characters overflowing the right hand side of the screen are lost. This mode is cancelled when another control character is sent.
16H - Set Cursor Position. Following this control code the next two characters sent are interpreted as the column and row number to which
the cursor should be set. The column number should be sent first. The top row is row 1 and the left most column is column 1.
17H - Set TV Mode. Following this control code the next character sent will set the TV control register whenever that screen is being displayed.
Only bits 0 and 1 are interpreted. Bit 0 determines the background colour (0 means background dark, 1 background bright). Bit 1 determines
how characters with bit 7 set are interpreted (0 gives reverse characters, 1 allows 256 character set).
18H - Delete Left. The character to the left of the cursor is deleted and subsequent characters are moved one position to the left.The cursor is
moved one position leftwards. If the cursor was in the leftmost column, no action is taken.
19H - Delete. The character at the cursor is deleted and subsequent characters are moved one position to the left.
1AH - Cursor Right. The cursor is moved one position to the right, or if it was beyond the rightmost column (with block cursor) it is moved to the
second column on the next line.
1BH - Escape. The following character is not interpreted as a control code, except for 0, which is always ignored.
1CH - Cursor Home Left. As carriage return.
1DH - Cursor Home Right. The cursor is moved to the right most column in the line (with block cursor).
1EH - Clear Line.The current line is written with spaces and the cursor moved to the left hand side.
1FH - Clear Screen.The screen is cleared and the cursor is moved to the top left corner.
Y tras una búsqueda más afinada...
Ya lo voy teniendo más claro, si alguien quiere ayudar a ver como se pueden usar las 80 columnas desde Basic...