Changes

Jump to: navigation, search

CP/M 3.0

450 bytes added, 15:24, 2 December 2019
/* Implementing a storage device driver */
The XBIOS calls these and assumes bank 0 is active. If you write a driver in TPA space you will need to transition to and from bank 1 using selbnk etc.
 
=== PALETTE ===
 
PALETTE is a COM program written by Locomotive Software and allows the colours to be changed.
The syntax is:
 
PALETTE <palette index> <colour code>
 
<palette index> is in the range 0-15 inclusive and defines the pen to change.
<colour code> is a r,g,b colour code with 2 bits for each colour defined in binary as r1 r0 g1 g0 b1 b0. Therefore black is 000000, bright white is 111111, white (grey) is 010101 and bright red is 110000.
=== Links ===
2,541
edits