aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Serpell <daniel.serpell@gmail.com>2020-05-03 19:53:40 -0400
committerDaniel Serpell <daniel.serpell@gmail.com>2020-05-03 19:55:48 -0400
commit92b524291db8cb310bdc21517040238f8ab0a917 (patch)
tree0d65974aa8fd621af2c9ef79b6317b6d55215839
parent8dc9acb698adc31ab6411dcbdcd6a7dd1edf9563 (diff)
downloademu2-92b524291db8cb310bdc21517040238f8ab0a917.tar.gz
Fixes some video debug messages.
-rw-r--r--src/video.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/video.c b/src/video.c
index df96015..f2ec035 100644
--- a/src/video.c
+++ b/src/video.c
@@ -79,6 +79,7 @@ static void update_posxy(void)
// Clears the terminal data - not the actual terminal screen
static void clear_terminal(void)
{
+ debug(debug_video, "clear terminal shadow\n");
// Clear screen terminal:
for(int y = 0; y < 64; y++)
for(int x = 0; x < 256; x++)
@@ -336,7 +337,7 @@ static void vid_scroll_up(uint8_t x0, uint8_t y0, uint8_t x1, uint8_t y1,
static void vid_scroll_dwn(uint8_t x0, uint8_t y0, uint8_t x1, uint8_t y1,
unsigned n)
{
- debug(debug_video, "scroll up %d: (%d, %d) - (%d, %d)\n", n,
+ debug(debug_video, "scroll down %d: (%d, %d) - (%d, %d)\n", n,
x0, y0, x1, y1);
// Check parameters
@@ -423,6 +424,7 @@ void video_putch(char ch)
void int10()
{
debug(debug_int, "V-10%04X: BX=%04X\n", cpuGetAX(), cpuGetBX());
+ debug(debug_video, "V-10%04X: BX=%04X\n", cpuGetAX(), cpuGetBX());
if(!video_initialized)
init_video();
unsigned ax = cpuGetAX();
@@ -596,6 +598,6 @@ void int10()
// Ignored
break;
default:
- debug(debug_int, "UNHANDLED INT 10, AX=%04x\n", ax);
+ debug(debug_video, "UNHANDLED INT 10, AX=%04x\n", ax);
}
}
Un proyecto texto-plano.xyz