Repository navigation
Releases
v1.7
The PM5644 card now sits where the original generator puts it.
Changed
- PM5644 line placement from the PM5644's own control program. The PM5644's control EPROMs hold 8051 code that plays the pattern's line tables field by field. Up to v1.6 the line order was worked out from the picture alone; now it follows that code.
- PAL (pattern 1): the card moves 1.5 lines down and is now exactly centred. The first and last picture lines are black, as on the original.
- NTSC (pattern 0): the card moves 1 line down and sits half a line below the frame centre, as on the original.
- The text boxes move with the card. FuBK, SMPTE bars and all other patterns are unchanged.
- Checked on a TV. Not yet compared with a real PM5644's output.
Flashing
One merged image for address 0x0:
esptool.py --chip esp32 -p /dev/ttyUSB0 -b 460800 write_flash 0x0 fubk-esp32.bin
or in the browser with esptool-js (Flash Address 0x0). Flashing the merged image clears saved settings: the board starts in PAL with empty card texts.
Credits
PM5644 EPROM dumps: inaxeon/PTV_Preservation. PM8503 character set: "Aliased character set of the PM8503" by Inaxeon (Wikimedia Commons, CC0). Teletext page picture: Bedstead font by Ben Harris (CC0). FuBK data: ProTeleVision PT8631. See the README for details.
v1.6
Teletext on the non-interlaced picture page.
Changed
- Teletext on the PAL 288p page (pattern 16). The non-interlaced picture page now carries teletext on line 20 of every field, so page 100 opens there too and its clock ticks once per second. In v1.5 that page had no teletext; a TV could only show a page it had stored earlier, with the clock stopped.
- NTSC 240p still has no captions: they belong in field 1 only, and every 240p field is alike.
- The serial log now shows the DMA margin and counts late buffers, to check that the picture is always ready in time. A 10-hour run through every pattern in both standards had no late buffers.
Notes
- The NTSC colour correction (the PAL map scaled to the NTSC subcarrier) has now been checked with an oscilloscope: residual about 1° rms, 2° at most. The v1.5 notes said it was not measured.
- All other patterns give exactly the same signal as v1.5.
Flashing
One merged image for address 0x0:
esptool.py --chip esp32 -p /dev/ttyUSB0 -b 460800 write_flash 0x0 fubk-esp32.bin
or in the browser with esptool-js (Flash Address 0x0). Flashing the merged image clears saved settings: the board starts in PAL with empty card texts.
Credits
PM5644 EPROM dumps: inaxeon/PTV_Preservation. PM8503 character set: "Aliased character set of the PM8503" by Inaxeon (Wikimedia Commons, CC0). Teletext page picture: Bedstead font by Ben Harris (CC0). FuBK data: ProTeleVision PT8631. See the README for details.
v1.5: measured colour correction, cold-start snow fix
Cleaner colour and no more snow on cold starts.
Fixed
- Snow after a cold start. The DAC sometimes missed updates after a cold start, which showed as white and black dots until the chip warmed up or the board restarted. The video clock now comes from the CPU's main PLL instead of the audio PLL, so its timing against the data is the same on every start. The frequency is unchanged (exact 20 MS/s from the crystal).
Changed
- Colour correction measured with an oscilloscope. The ESP32's DAC delays and weakens the colour signal, more on bright and strongly coloured areas: from about 0° on dark colours up to 21° on white. v1.4 rotated the burst by a fixed 9.1°, which was right only for mid colours. v1.5 corrects every 32-sample block from a measured map of delay and gain against brightness and colour strength. The PAL scope residual is under 1° on most colours, and full-screen red no longer shows Hanover bars.
- NTSC uses the PAL map scaled to its lower subcarrier frequency (not measured separately).
- With a buffer amplifier after the DAC the correction may not fit. Rebuild with
FUBK_DAC_CORR=0for the old fixed rotation (see the README).
- The PAL picture page (pattern 16) now runs fully from RAM again.
Flashing
One merged image for address 0x0:
esptool.py --chip esp32 -p /dev/ttyUSB0 -b 460800 write_flash 0x0 fubk-esp32.bin
or in the browser with esptool-js (Flash Address 0x0). Flashing the merged image clears saved settings: the board starts in PAL with empty card texts.
Credits
PM5644 EPROM dumps: inaxeon/PTV_Preservation. PM8503 character set: "Aliased character set of the PM8503" by Inaxeon (Wikimedia Commons, CC0). Teletext page picture: Bedstead font by Ben Harris (CC0). FuBK data: ProTeleVision PT8631. See the README for details.
v1.4
Second test card, your own text on the cards, and new patterns.
New
- Philips PM5644 test card in PAL and NTSC, decoded from the EPROMs of real PM5644G00 / PM5644M00 generators. PAL now starts on FuBK with the PM5644 as pattern 1; NTSC starts on the PM5644, with the SMPTE bars as pattern 1.
- Your own text on the test cards, in the character set of the Philips PM8503 text generator: two lines in the PM5644 (8 and 12 characters) and the station name in FuBK's name box (13). Letters, digits, punctuation and accented letters (Ä Ö Ü Ø Æ À Á Â É È Ê Î Ï Ô Û Ñ ß).
- Hold both buttons while powering on to edit. PAL edits FuBK, NTSC edits the PM5644.
- Pattern button = next character, PAL/NTSC button = previous, both = next place, both held 1 s = previous place.
- Saved automatically 3 s after the last change (the picture blinks once), then just power off.
- A half space in a line's last place centres a line with an odd number of free places.
- FuBK's centre line stays visible under a space in the middle place ("YLE | TV1"), and a character there covers it.
- The boxes are empty until you set a text.
- Pattern 15: multiburst without colour burst (the set's black-and-white path on its own).
- Pattern 16: non-interlaced 256-colour picture (PAL 288p, NTSC 240p), as from game consoles and home computers. The colour subcarrier is locked to the field, so the colour dot pattern stands still in both standards.
Changed
- Both buttons act on release; pressing both together does nothing in normal use.
- NTSC closed captions render faster (same output).
- README: edit-mode instructions, CRT photos of the PM5644 and the picture page, and the teletext page as a decoder shows it.
Flashing
One merged image for address 0x0:
esptool.py --chip esp32 -p /dev/ttyUSB0 -b 460800 write_flash 0x0 fubk-esp32.bin
or in the browser with esptool-js (Flash Address 0x0). Flashing the merged image clears saved settings: the board starts in PAL.
Credits
PM5644 EPROM dumps: inaxeon/PTV_Preservation. PM8503 character set: "Aliased character set of the PM8503" by Inaxeon (Wikimedia Commons, CC0). Teletext page picture: Bedstead font by Ben Harris (CC0). FuBK data: ProTeleVision PT8631. See the README for details.
v1.2: teletext, closed captions, PAL colour fix
- PAL colour fix: the colour burst is turned 9.1° to cancel a phase shift in the ESP32's DAC. Fixes moving Hanover bars (horizontal colour stripes) on digital decoders such as the RetroScaler 2X and modern TVs' AV inputs, and makes FuBK's anti-PAL boxes grey on PAL TVs with a delay line.
- Teletext (PAL): page P100 with a running clock in the header. Tested on a TV.
- Closed captions (NTSC): CC1 shows
NTSC TEST hh:mm:ss, updated every second. Passes the software decoder; not yet tested on a TV. - NTSC picture unchanged.
Flash with: esptool.py --chip esp32 write_flash 0x0 fubk-esp32.bin
v1.1: pattern button
Adds a pattern button on GPIO15 with 13 calibration patterns: crosshatch, dots, circles, colour bars, greyscale + PLUGE, white/red/green/blue/black fields, multiburst, overscan/safe areas and window. On startup it always shows FuBK (PAL) or SMPTE bars (NTSC); the pattern choice is not saved. See the README for what each pattern should look like.