Commit c578a77f authored by deuce's avatar deuce
Browse files

The C128 used the composite video chip for 40-column, so uses the C64 palette.

parent 46f976d1
......@@ -446,7 +446,7 @@ CIOLIBEXPORT int CIOLIBCALL initciolib(int mode)
cio_textinfo.normattr=0x6e;
break;
case C128_40X25:
cio_textinfo.normattr=6e;
cio_textinfo.normattr=0xbd;
break;
default:
cio_textinfo.normattr=LIGHTGRAY;
......@@ -836,7 +836,7 @@ CIOLIBEXPORT void CIOLIBCALL ciolib_textmode(int mode)
cio_textinfo.normattr=0x6e;
break;
case C128_40X25:
cio_textinfo.normattr=6e;
cio_textinfo.normattr=0xbd;
break;
default:
cio_textinfo.normattr=LIGHTGRAY;
......
......@@ -86,7 +86,7 @@ struct video_params vparams[] = {
/* Commodore 64 40x25 mode */
{C64_40X25, C64_PALETTE, 40, 25, 0, 7, 8, 8, 1, 0x6e, CIOLIB_VIDEO_BGBRIGHT|CIOLIB_VIDEO_NOBLINK},
/* Commodore 128 40x25 mode */
{C128_40X25, COLOUR_PALETTE, 40, 25, 0, 7, 8, 8, 1, 0x82, CIOLIB_VIDEO_BGBRIGHT|CIOLIB_VIDEO_NOBLINK},
{C128_40X25, C64_PALETTE, 40, 25, 0, 7, 8, 8, 1, 0xbd, CIOLIB_VIDEO_BGBRIGHT|CIOLIB_VIDEO_NOBLINK},
/* Commodore 128 80x25 mode */
{C128_80X25, COLOUR_PALETTE, 80, 25, 0, 7, 8, 8, 2, 7, CIOLIB_VIDEO_BGBRIGHT|CIOLIB_VIDEO_NOBLINK},
/* Atari 800 40x24 mode */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment