Acorn Computers BBC Micro Model B w/8271 — Acorn BBC Micro Model B w/8271 User Guide Manual PDF

353 21 This code behaves in two different ways. If entered at the keyboard (as CTRL U ) it can be used to delete the whole of the current line. It is used instead of pressing the DELETE key many times. If the code is generated from within a program by either VDU21 or PRINT CHR$(21); it has the effect of stopping all further graphics or text output to the screen. The VDU is said to be disabled. It can be enabled with VDU6 . 22 This VDU code is used to change MODE . It is followed by one number which is the new MODE . Thus VDU22,7 is exactly equivalent to MODE 7 (except that it does not change HIMEM ). 23 This code is used to reprogram displayed characters.

The ASCII code assigns code numbers for each displayed letter and number. The normal range of displayed characters includes all upper and lower case letters, numbers and punctuation marks as well as some special symbols. These characters occupy ASCII codes 32 to 126. If the user wishes to define his or her own characters or shapes then ASCII codes 224 to 255 are left available for this purpose. In fact you can redefine any character that is displayed, but extra memory must be set aside if this is done. ASCII codes 0 to 31 are interpreted as VDU control codes – and this chapter is explaining the exact function of each.

The full ASCII set consists of all the VDU control codes, all the normal printable characters and a user defined set of characters.