vtattr_notify: Fix other Z80 platforms
authorAlan Cox <alan@etchedpixels.co.uk>
Mon, 2 Nov 2015 12:27:38 +0000 (12:27 +0000)
committerAlan Cox <alan@etchedpixels.co.uk>
Mon, 2 Nov 2015 12:27:38 +0000 (12:27 +0000)
Kernel/dev/vdp1.s
Kernel/platform-msx2/vdp.c
Kernel/platform-nc100/nc100.s
Kernel/platform-pcw8256/pcw8256.s
Kernel/platform-plus3/zxvideo.s
Kernel/platform-zx128/zxvideo.s

index 4fda20b..07d0629 100644 (file)
@@ -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
 ;
index ec900ff..d8cba76 100644 (file)
@@ -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)
+{
+}
index 82b31d8..ee72c7d 100644 (file)
@@ -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
 
 ;
index 1cd9965..7653245 100644 (file)
@@ -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)
index 8e25a03..0efba37 100644 (file)
@@ -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
index 4869ba9..c8c9c1f 100644 (file)
@@ -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