From 002c08e2787705683aca99100021bc4d4b9a813f Mon Sep 17 00:00:00 2001 From: Alan Cox Date: Mon, 2 Nov 2015 12:27:38 +0000 Subject: [PATCH] vtattr_notify: Fix other Z80 platforms --- Kernel/dev/vdp1.s | 4 ++++ Kernel/platform-msx2/vdp.c | 4 ++++ Kernel/platform-nc100/nc100.s | 2 ++ Kernel/platform-pcw8256/pcw8256.s | 2 ++ Kernel/platform-plus3/zxvideo.s | 2 ++ Kernel/platform-zx128/zxvideo.s | 2 ++ 6 files changed, 16 insertions(+) diff --git a/Kernel/dev/vdp1.s b/Kernel/dev/vdp1.s index 4fda20b0..07d0629e 100644 --- a/Kernel/dev/vdp1.s +++ b/Kernel/dev/vdp1.s @@ -15,6 +15,8 @@ .globl vdpinit .globl platform_interrupt_all + .globl _vtattr_notify + .area _CODE ; @@ -251,7 +253,9 @@ cursor_off: ld a, (cursorpeek) ld c, a call plotit +_vtattr_notify: ret + ; ; This must be in data or common not code ; diff --git a/Kernel/platform-msx2/vdp.c b/Kernel/platform-msx2/vdp.c index ec900ff9..d8cba76e 100644 --- a/Kernel/platform-msx2/vdp.c +++ b/Kernel/platform-msx2/vdp.c @@ -87,3 +87,7 @@ void plot_char(int8_t y, int8_t x, uint16_t c) addr = VT_BASE + y * VT_WIDTH + x; v99xx_write_vram(addr, c); } + +void vtattr_notify(void) +{ +} diff --git a/Kernel/platform-nc100/nc100.s b/Kernel/platform-nc100/nc100.s index 82b31d8d..ee72c7d2 100644 --- a/Kernel/platform-nc100/nc100.s +++ b/Kernel/platform-nc100/nc100.s @@ -32,6 +32,7 @@ .globl _vtinit .globl platform_interrupt_all .globl _video_cmd + .globl _vtattr_notify ; exported debugging tools .globl _trap_monitor @@ -337,6 +338,7 @@ vtdone: pop af pop af ret po ei +_vtattr_notify: ret ; diff --git a/Kernel/platform-pcw8256/pcw8256.s b/Kernel/platform-pcw8256/pcw8256.s index 1cd9965c..76532454 100644 --- a/Kernel/platform-pcw8256/pcw8256.s +++ b/Kernel/platform-pcw8256/pcw8256.s @@ -31,6 +31,7 @@ .globl _do_beep .globl _clear_lines .globl _clear_across + .globl _vtattr_notify ; imported symbols .globl _ramsize @@ -280,6 +281,7 @@ _scroll_up: add a, #8 ld (roller), a out (0xf6), a +_vtattr_notify: ret _scroll_down: ld a, (roller) diff --git a/Kernel/platform-plus3/zxvideo.s b/Kernel/platform-plus3/zxvideo.s index 8e25a032..0efba37f 100644 --- a/Kernel/platform-plus3/zxvideo.s +++ b/Kernel/platform-plus3/zxvideo.s @@ -18,6 +18,7 @@ .globl _clear_lines .globl _clear_across .globl _do_beep + .globl _vtattr_notify .area _VIDEO @@ -263,6 +264,7 @@ _cursor_off: ld d, a xor a ld (de), a +_vtattr_notify: ret ; FIXME: now this is_do_silent_click actually diff --git a/Kernel/platform-zx128/zxvideo.s b/Kernel/platform-zx128/zxvideo.s index 4869ba98..c8c9c1f4 100644 --- a/Kernel/platform-zx128/zxvideo.s +++ b/Kernel/platform-zx128/zxvideo.s @@ -13,6 +13,7 @@ .globl _clear_lines .globl _clear_across .globl _do_beep + .globl _vtattr_notify .area _VIDEO @@ -259,6 +260,7 @@ _cursor_off: ld d, a xor a ld (de), a +_vtattr_notify: ret ; FIXME: now this is_do_silent_click actually -- 2.34.1