Configure VDP mode. This is a convenience routine to set VDP registers 1 & 2. The address of the various VDP data structures (registers 2 - 6) will also need to be configured.
mode = | Bits to form BLANK (Inverted), M3, M2 and M1 0 - Graphics mode 1 1 - Text mode 2 - Multicolour mode 4 - Graphics mode 2 8 - Blank |
sprites = | 0 - 8x8 sprites, magnification = 1 1 - 8x8 sprites, magnification = 2 2 - 16x16 sprites, magnification = 1 3 - 16x16 sprites, magnification = 2 |
ie = | 0 - Disable interrupt 1 - Enable interrupt (if enabled in CTC) |
Include file: mtxvdp.h