BBC BASIC for Windows
Programming >> Graphics and Games >> Default/reset defined characters
http://bb4w.conforums.com/index.cgi?board=graphics&action=display&num=1386692974

Default/reset defined characters
Post by JGHarston on Dec 10th, 2013, 3:29pm

VDU 23 defines 8x8 characters and A%=10:CALL &FFF1 reads the current character definitions.
Is there a way to reset the characters, or to read the default character definition? (The equivalent of *FX20/*FX25 in Acorn MOS)

Re: Default/reset defined characters
Post by admin on Dec 10th, 2013, 5:22pm

on Dec 10th, 2013, 3:29pm, JGHarston wrote:
VDU 23 defines 8x8 characters and A%=10:CALL &FFF1 reads the current character definitions.
Is there a way to reset the characters?

!440 returns a pointer to the user-defined character flags so you can 'undefine' a character by doing:

Code:
?(!440 + c%) = 0 

Richard.