204. Attractive menu boxes for the BBC Master ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ If, like me, you go green with envy at the attractive menus on the Archimedes, and would like to produce something similar on your BBC Master, then this simple routine may go some way towards helping you. DEFPROCfill produces the patterned background, using VDU23,2 to define the pattern which GCOL16,1 constructs. After MOVEing to the screen origin, the whole screen is covered using PLOT 101 (Rectangle Fill). DEFPROCbox just draws two areas; one in the background colour (in this case black) and one in the foreground colour (white) with the latter offset a little to the left and upwards. The screen might be coloured suitably using VDU19,0,5,0,0,0 and text is best written at the graphics cursor, so a VDU5 and GCOL0,0 (black) will have to be included. OK not quite an Archimedes, but now at least it's the screen that's green, (or blue, or ....). 10 REM Smarten up your Master, by Andrew G8YHI 20 MODE128 30 PROCfill 40 PROCbox(40,700,240,1000) 50 END 100 DEFPROCfill 110 VDU23,2,170,85,170,85,170,85,170,85 120 GCOL16,1 130 MOVE0,0:PLOT101,1280,1024 140 ENDPROC 200 DEFPROCbox(left%,bottom%,right%,top%) 210 GCOL0,0 220 VDU25,4,left%;bottom%;:VDU25,101,right%;top%; 230 GCOL0,1 240 VDU25,4,left%10;bottom%+10;:VDU25,101,right%-10;top%+5; 250 ENDPROC