diff options
author | Daniel Serpell <daniel.serpell@gmail.com> | 2020-05-03 20:03:38 -0400 |
---|---|---|
committer | Daniel Serpell <daniel.serpell@gmail.com> | 2020-05-03 20:03:38 -0400 |
commit | 457cb38efc705b99c10b54d8933c34959fca6c12 (patch) | |
tree | 8a95e59e30a1ff3deb43044be030bf0ba1045409 | |
parent | dd9edd778f315f4f316a154ae40c2f5cb5286b2b (diff) | |
download | emu2-457cb38efc705b99c10b54d8933c34959fca6c12.tar.gz |
Adds missing "functionality table" to video bios.
-rw-r--r-- | src/video.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/video.c b/src/video.c index 8d68162..bfeb6e2 100644 --- a/src/video.c +++ b/src/video.c @@ -151,6 +151,15 @@ static void init_video(void) atexit(exit_video); video_initialized = 1; + // Fill the functionality table + memory[0xC0100] = 0x08; // Only mode 3 supported + memory[0xC0101] = 0x00; + memory[0xC0102] = 0x00; + memory[0xC0107] = 0x07; // Support 300, 350 and 400 scanlines + memory[0xC0108] = 0x00; // Active character blocks? + memory[0xC0109] = 0x00; // MAximum character blocks? + memory[0xC0108] = 0xFF; // Support functions + // Set video mode set_text_mode(1); clear_terminal(); |