LB Booster
« Flashing text »

Welcome Guest. Please Login or Register.
Apr 1st, 2018, 03:55am



ATTENTION MEMBERS: Conforums will be closing it doors and discontinuing its service on April 15, 2018.
We apologize Conforums does not have any export functions to migrate data.
Ad-Free has been deactivated. Outstanding Ad-Free credits will be reimbursed to respective payment methods.

Thank you Conforums members.
Speed up Liberty BASIC programs by up to ten times!
Compile Liberty BASIC programs to compact, standalone executables!
Overcome many of Liberty BASIC's bugs and limitations!
LB Booster Resources
LB Booster documentation
LB Booster Home Page
LB Booster technical Wiki
Just BASIC forum
BBC BASIC Home Page
Liberty BASIC forum (the original)

« Previous Topic | Next Topic »
Pages: 1  Notify Send Topic Print
 thread  Author  Topic: Flashing text  (Read 152 times)
Richard Russell
Administrator
ImageImageImageImageImage


member is offline

Avatar




Homepage PM


Posts: 1348
xx Flashing text
« Thread started on: Dec 16th, 2017, 9:26pm »

Somebody asked about flashing text. This is cheating:

Code:
    print chr$(22); chr$(7);
    print chr$(136); "Flashing text" 

Richard.
User IP Logged

RNBW
Full Member
ImageImageImage


member is offline

Avatar




PM

Gender: Male
Posts: 106
xx Re: Flashing text
« Reply #1 on: Dec 17th, 2017, 10:32am »

Hi Richard

It works in LBB, but I couldn't get it to work in any of the other BASICs I have access to.

How does it work?
User IP Logged

Richard Russell
Administrator
ImageImageImageImageImage


member is offline

Avatar




Homepage PM


Posts: 1348
xx Re: Flashing text
« Reply #2 on: Dec 17th, 2017, 12:56pm »

on Dec 17th, 2017, 10:32am, RNBW wrote:
How does it work?

As I said, it's cheating! The first line:

Code:
print chr$(22); chr$(7); 

is equivalent to Code:
VDU 22,7 

which is equivalent to Code:
MODE 7 

which selects the BBC Micro's Teletext/Videotex mode. The second line is just the Videotex control code for 'flash' followed by the text. Not really useful, but interesting (maybe).

Richard.
User IP Logged

Pages: 1  Notify Send Topic Print
« Previous Topic | Next Topic »

| |

This forum powered for FREE by Conforums ©
Terms of Service | Privacy Policy | Conforums Support | Parental Controls