67. Sideways ROM search ~~~~~~~~~~~~~~~~~~~ This is an interesting little program, adapted from one supplied by Dave Woodhead. It searches sideways ROMs, looking for words of more than one letter, and it then prints them on the screen. You get a lot of garbage also, but it's fun looking at all the commands and error messages. The ROM number will be 0 to 3 on a standard machine, and up to 15 if you have an expansion board. The Basic ROM is a good starting point, and this is usually in socket 0 on a standard machine. The program expects a 16k ROM, eg Basic or Watford DFS, but if the ROM is only 8k, as many are, then the search will run through twice. You can limit the search to 8k by altering the &BFFF to &9FFF in line 20. Please note that the use of Y% in line 10 is essential, even though it doesn't seem to do anything! If nothing appears on the screen within a few seconds, then the socket is empty. The Operating System ROM is NOT a sideways ROM, and so cannot be searched with this program, unless you have, say, an old OS 0.10 chip to plug into a spare sideways socket. 10 INPUT "ROM Number ",Y% 20 FOR !&F6=&8000 TO &BFFF 30 C%=USR(&FFB9) AND &FF 40 IF (C%>64 AND C%<91) OR (C%>96 AND C%<123) THEN VDU C% ELSE IF POS=1 THEN VDU 13 ELSE IF POS>1 THEN PRINT 50 NEXT:PRINT'"End of Search"