WatchTV 1.7, written by Vincent Lefvre.
Freeware. Use it at your own risk!

WatchTV allows you to watch TV (or, more generally, video images) with
an Eagle M2 card (and a TV tuner).

There are two ways to change the channel from WatchTV.
  1) You can use Teletext+ if you have it: either run Teletext+ before
     WatchTV, or modify !WatchTV.LoadTV0 if you want to automatically
     load Teletext+ and tune the channels (concerning the tuning, look
     at !Teletext+.TuneData).
  2) You can use the WatchTV own module. Replace LoadTV0 by LoadTV in
     the !Run file, and modify !WatchTV.LoadTV:
       * The first line loads the module. Choose tvuk if you have CC's
         TV tuner card, or tvfrench if you use Philips' FI1216MF tuner
         in France.
       * Then, set the channel frequencies.

WatchTV uses screen mode 480x360x32k. As it isn't a standard screen mode,
you have to create one with !MakeModes (I don't supply such a screen mode
since it depends on your monitor). You can also modify the ARM source (in
particular, constant SZ) and assemble with !ObjAsm if you have it.

Keys:
  F1-F10[+Shift][+Ctrl]: change the channel.
  1: mode 1: source resolution = destination resolution.
  2: mode 2: Miller's algorithm or double pixel mode.
  3: mode 3: Miller's algorithm or quadruple pixel mode.
  4: use Miller's algorithm in mode 2 or 3.
  5: use Miller's algorithm in mode 3 only.
  6: never use Miller's algorithm.
  +: increase the destination resolution.
  -: decrease the destination resolution.
  *: mute on/off.
  up and down arrows: increase/decrease the volume.
  Q, q, ctrl-Q, Esc: quit.

Thanks to ArmOric for Miller's algorithm and his code samples.

Miller's algorithm quadruples the resolution by creating 4 destination
pixels a,b,c,d from 4 adjacent source pixels A,B,C,D, as follows:
            A   B
             a b
             c d
            C   D
with a = (9 A + 3 B + 3 C + D) / 16, ...

Vincent Lefvre

e-mail (WatchTV): watchtv@vinc17.org
e-mail (personal): vincent@vinc17.org
WWW (home page): http://www.vinc17.org/
WWW (RiscPC page): http://www.vinc17.org/acorn/riscpc_eng.html
