zxvideo: remove broken and somewhat pointless beep routine
authorAlan Cox <alan@linux.intel.com>
Sun, 25 Nov 2018 21:11:52 +0000 (21:11 +0000)
committerAlan Cox <alan@linux.intel.com>
Sun, 25 Nov 2018 21:11:52 +0000 (21:11 +0000)
Kernel/platform-zxdiv/zxvideo.s

index b978e5c..031a19b 100644 (file)
@@ -257,20 +257,7 @@ _cursor_off:
 _vtattr_notify:
         ret
 
-        ; FIXME: now this is_do_silent_click actually
 _do_beep:
-        ld e, #0xFF         ; length
-        ld c, #0xFE         ; beeper port
-        ld l, #0x10         ; beeper bit
-loop_beep:
-        ld a, l
-        out (c), a
-        xor a
-        out (c), a
-        dec bc
-        ld a, b
-        or c
-        jr nz, loop_beep
         ret
 
         .area _DATA