Ceefax simulator in BBC BASIC for Windows

Here you can link to screenshots and demos etc. of programs made using BBC BASIC
Richard Russell
Posts: 457
Joined: Tue 18 Jun 2024, 09:32

Ceefax simulator in BBC BASIC for Windows

Post by Richard Russell »

If you run the version of CEEFAX.BBC supplied with BBC BASIC for Windows you may have noticed that the weather pages have recently stopped working. This has happened because of a change to the BBC's RSS feeds, which no longer allow the weather info to be fetched with an unencrypted (http://) connection.

If this is an irritation, you can restore correct operation by replacing FNhttpget() with this updated version:

Code: Select all

      DEF FNhttpget(url$, T%, M%)
      IF INKEY(-256) <> &57 IF (@platform% AND &F) = 5 THEN = FNhttpget_wasm(url$, T%, M%)
      IF LEFT$(url$,8) = "https://" url$ = "http://bbcbasic.co.uk/proxy1/" + MID$(url$,9)
      = FNhttpget_sock(url$, T%, M%)
You will need administrator privileges to replace CEEFAX.BBC with the patched version, alternatively save it somewhere else.