__ ______ _ _ ____ _____ \ \ / / _ \| | | |___ \|___ / \ \ / /| | | | | | | __) | |_ \ \ V / | |_| | |_| |/ __/ ___) | \_/ |____/ \___/|_____|____/ Notes by TheOuterLinux https://theouterlinux.gitlab.io Stop from having a blingking cursor: VDU23;8202;0,0,0 Custom ASCII graphics... 128 64 32 16 8 4 2 1 +---+---+---+---+---+---+---+---+ | | | X | X | X | | | | 32+16+8=56 +---+---+---+---+---+---+---+---+ | | | X | X | X | | | | 32+16+8=56 +---+---+---+---+---+---+---+---+ | | | X | X | X | | | | 32+16+8=56 +---+---+---+---+---+---+---+---+ | | | | X | | | | | 16 +---+---+---+---+---+---+---+---+ | | X | X | X | X | X | | | 64+32+16+8+4=124 +---+---+---+---+---+---+---+---+ | | | | X | | | | | 16 +---+---+---+---+---+---+---+---+ | | | X | | X | | | | 32+8=40 +---+---+---+---+---+---+---+---+ | | X | | | | X | | | 64+4=68 +---+---+---+---+---+---+---+---+ Therefore, to draw the graphic, we use: VDU23,240,56,56,56,16,124,16,40,68 PRINT CHR$(240) We assigned ASCII code number "240" to use the custom 8-bit graphic and used PRINT CHR$(240) to display it. However, once a character is assigned, you can simply just use VDU240 to print the character if you need it on the same line. Hence: VDU240:VDU240:VDU240:VDU240 ...would print four people on the same line. The ":" is used to put code statements together on the same line. Doing this makes it harder to read as more code is added but saves memory. You can also place up to 160 characters worth of VDU23's on the same line like so: VDU23,240,56,56,56,16,124,16,40,68,23,241,1,1,1,1,1,1,1,1 ...Notice the 23 after the 10th comma? That is the VDU"23" part starting over again but for ASCII code character "241" with "1,1,1,1,1,1,1,1" as the 8-bit customization part. Jamming as much as you can on the same line without spaces will save you lots of memory in the long run. ------------------------------------------------------------------------ For most BBC Microcomputers, the ASCII codes 224-255 are undefined so that they can be customized. However, you cannot print any custom ASCII characters while in MODE7. If you need to move the customized character around, you can either use PRINT TAB(10,10) CHR$(240) or VDU31,10,10:VDU240 VDU31,[Row],[Column] is the same as using PRINT TAB([Row],[Column]) but has the advantage of using fewer characters and therefore saves memory. Remember, most BBC Micros only have 32K of RAM to work with and the chosen MODE takes up part of that on top of which, you can only have 160 characters per line of code.