home *** CD-ROM | disk | FTP | other *** search
/ Archive Magazine 1996 / ARCHIVE_96.iso / text / hints / volume_06 / issue09 < prev    next >
Text File  |  1995-02-16  |  58KB  |  1,092 lines

  1. Hints and Tips
  2. 6.9
  3. Å    Anti-aliased fonts Ö I find that anti-aliasing on a standard
  4. resolution monitor gives a far too blurred image. My hint is to use the
  5. outline version of the System font at an unexpanded point size. A bit of
  6. experimentation is needed to get it right if you habitually use the
  7. screen at some scale other than one to one but when you get it right,
  8. the result is a nice fast, clean and clear font on any DTP or
  9. wordprocessing package while you work on the text. Remember to change
  10. the font to your preferred version for the final print. I am afraid I
  11. canæt remember where I obtained the Outline System font.
  12. 6.9
  13. On my Pentoms game, I changed the transfer coefficients to sharpen up
  14. the edges of my fancy fonts but that does not work well/at all on
  15. RISCáOS 3. Is there a way of getting a program to automatically check
  16. which OS it is running under so that I can disable this facility where
  17. it wonæt work? Or is there another way of sharpening RISCáOS 3 fonts?
  18. Yes I know about turning off anti-aliasing but that is not quite the
  19. same thing at all Ö bits of the letters are missed if you do that.á
  20. Simon Anthony, Nottingham.
  21. 6.9
  22. Å Backing up in one pass Ö The öNextò slot in the Task Manager can be
  23. set from a !Boot file in RISC OS 3 to make backing up and copying of
  24. full 800Kb discs occur in a single pass. Use the command
  25. 6.9
  26. WimpSlot -next 864K
  27. 6.9
  28. inside your !Boot file.á Barry Thompson,
  29. 6.9
  30. Alternatively (for RISC OS 2 owners) you can allocate more memory to the
  31. Next Task slot by issuing the Wimp_SlotSize SWI call from Basic. All
  32. that you need is a Basic program containing the line:
  33. 6.9
  34. SYS öWimp_SlotSizeò,-1,<slotsize>
  35. 6.9
  36. where <slotsize> is in bytes (e.g. use 65536 for 64Kb.)
  37. 6.9
  38. Simon Moy, NCS.
  39. 6.9
  40. Å    !Boot files are not strictly necessary within applications. They use
  41. up disc space and slow down the opening of windows (especially over a
  42. network). If an applicationæs !Boot file only contains the IconSprites
  43. command, then this can be moved to the !Run file, and the !Boot file can
  44. be deleted. The only effect is that the application will not show the
  45. correct icon in the filer window until the application is actually run.á
  46. Keith Harja, Derby.
  47. 6.9
  48. Å    Gods passwords Ö On this monthæs program disc is all you need for
  49. getting the passwords for Gods. Andrew Ferguson, London N15.
  50. 6.9
  51. Å    Mono TIFF files Ö In reply to help for Ray Dawson in Archive 6.5 p18
  52. for producing mono TIFF files from B&W scanned sprites. I have used
  53. !MakeTiff version 2.00 by John Kortink to do exactly that. I examined
  54. the resulting Tiff file using Graphics Workshop (under the emulator) and
  55. Translator, and they both showed the converted sprite as a B&W image.á
  56. Chris Bass, Grimsby.
  57. 6.9
  58. Å    Symbols for Impression Ö When using Impression, or even more so
  59. Junior, it can sometimes be tedious to find a desired symbol from a font
  60. such as Dingbats. Therefore, I have created a number of text files which
  61. can be dragged into any Impression document. The format for such files
  62. is ö« ò, without the quotes. This returns the type to its default size,
  63. selects the desired font, inserts the character with ASCII code 174 and
  64. resets the font to its default. N.B. The space at the end is essential.
  65. This is so that one can do a <ctrl-right> to end of text. Without this
  66. space, the font is not reset. I have given a number of pre-prepared ones
  67. to Paul for inclusion on this monthæs program disc.á Neil Walker,
  68. Norwich.
  69. 6.9
  70. You need to be very careful with this one. I tried it on Impression 2.19
  71. and it gave an internal error and Impression bombed out! This was
  72. because I didnæt have the symbol font in my system. I tried it on
  73. version 2.17 and it complained politely that it didnæt have Symbol font
  74. and let me carry on. I presume that the difference is because
  75. Impression, from 2.18 onwards, has no limit to the number of fonts it
  76. can handle so that part of the code must have been changed. Donæt say we
  77. didnæt warn you! Ed.
  78. 6.9
  79. Å    Testing printersæ on-line status Ö Here is a way of testing whether
  80. the printer is on- or off-line:
  81. 6.9
  82.  10 *FX 3,10
  83. 6.9
  84.  20 PRINT CHR$(0);
  85. 6.9
  86.  30 a = INKEY(20)
  87. 6.9
  88.  40 a = ADVAL(-4)
  89. 6.9
  90.  50 *FX 3,0
  91. 6.9
  92.  60 *FX 21,3
  93. 6.9
  94.  70 IF a <> 1023 THEN
  95. 6.9
  96.  80    PRINT öPrinter not on lineò
  97. 6.9
  98.  90 ELSE
  99. 6.9
  100. 100   PRINT öPrinter on lineò
  101. 6.9
  102. 110 ENDIF
  103. 6.9
  104. 120 END
  105. 6.9
  106. Paul Ribworth, Gloucester
  107. 6.9
  108. Å    Using high density discs Ö Until the advent of the A5000, all
  109. Archimedes computers had an 800Kb 3╜ö disc drive so the problems of
  110. different disc densities didnæt really arise. With the introduction of
  111. the new A3000 and A4000 series, 1.6Mb drives are becoming more common
  112. and some users are trying to save a few pence by formatting normal
  113. density discs to 1.6Mb.
  114. 6.9
  115. Users of BBC and Master computers learned that there is no point in
  116. paying extra for 80 track discs as the cheaper 40 track were actually
  117. identical. The same is NOT true of 800Kb and 1.6Mb discs. The magnetic
  118. coating on high density discs uses finer particles than the coating used
  119. on standard (double density) types. This is designed to accept higher
  120. signal levels without distortion. When the higher capacity format is
  121. used, the drive automatically uses a stronger magnetic field to imprint
  122. the data on the discs surface.
  123. 6.9
  124. Sometimes, good quality normal density discs can accept this level but
  125. it does represent a severe overload. Even if all appears well at the
  126. time, the larger particles used in the normal density coating are
  127. frequently unable to retain the high level of magnetism required so it
  128. can leak away in time making part of the data unreadable.
  129. 6.9
  130. Also, you should not use high density discs in a normal density drive if
  131. they have previously been formatted to 1.44 or 1.6Mb. The lower flux
  132. levels used for the normal format may not be able to completely erase
  133. the earlier data. This can then Ébreak throughæ and corrupt data saved
  134. later at the lower flux levels used with the smaller format. It may
  135. sometimes take more than a month for this to happen. So donæt be fooled
  136. into thinking that everything is OK just because all seems to be well
  137. when you first format the disc. Many Archimedes users who have
  138. Éborrowedæ preformatted 1.44Mb discs from work to use in their 800Kb
  139. drives have experienced this problem.
  140. 6.9
  141. There is no reason why you cannot use a NEW high density disc at 800Kb,
  142. it will just be more expensive.
  143. 6.9
  144. Because of this, it is obviously useless to do what used to be common
  145. practice with the old 40/80 track discs, namely try to format them to 80
  146. tracks and if it didnæt work use them for 40 track. Once you have
  147. attempted to format an 800Kb disc to 1.6 or 1.44 Mb there is no going
  148. back. I have had some success using a tape head demagnetiser to
  149. completely wipe out data on 800Kb discs which had been formatted to
  150. 1.6Mb so that they could be reformatted to 800Kb, but not everyone has
  151. one of these.
  152. 6.9
  153. PC drives all have a sensor which detects the extra hole in a high
  154. density disc and wonæt allow you to specify the wrong format. For some
  155. reason, Acorn didnæt implement this feature on the Archimedes although
  156. the detector is present on all high density drives. It is therefore
  157. possible, by accident, to format a normal density disc to 1.6Mb. On a
  158. PC, to do this you need to drill a hole in the case of the disc so it
  159. canæt happen unintentionally.
  160. 6.9
  161. The most pernicious thing about this problem is that it can lead you
  162. into a false sense of security. A normal density disc may format
  163. perfectly to 1.6Mb and, for months, everything will appear to be well.
  164. Then suddenly some of the data may become slightly corrupt, although the
  165. disc may not actually appear to have any errors.
  166. 6.9
  167. If your data is precious enough to be worth saving, itæs worth the extra
  168. few pence that the proper discs cost. The only time that I have known
  169. people use normal density discs successfully as high density was with
  170. expensive branded discs costing about ú1.30 each. As this is
  171. considerably more than the price of unbranded high density discs, it
  172. seems a foolish risk to take.á David Holden, Sydenham.ááA
  173. 6.9
  174. Hints and Tips
  175. 6.9
  176. Å    Anti-aliased fonts Ö I find that anti-aliasing on a standard resolution monitor gives a far too blurred image. My hint is to use the outline version of the System font at an unexpanded point size. A bit of experimentation is needed to get it right if you habitually use the screen at some scale other than one to one but when you get it right, the result is a nice fast, clean and clear font on any DTP or wordprocessing package while you work on the text. Remember to change the font to your preferred version for the final print. I am afraid I canæt remember where I obtained the Outline System font.
  177. 6.9
  178. On my Pentoms game, I changed the transfer coefficients to sharpen up the edges of my fancy fonts but that does not work well/at all on RISCáOS 3. Is there a way of getting a program to automatically check which OS it is running under so that I can disable this facility where it wonæt work? Or is there another way of sharpening RISCáOS 3 fonts? Yes I know about turning off anti-aliasing but that is not quite the same thing at all Ö bits of the letters are missed if you do that.á Simon Anthony, Nottingham.
  179. 6.9
  180. Å Backing up in one pass Ö The öNextò slot in the Task Manager can be set from a !Boot file in RISC OS 3 to make backing up and copying of full 800Kb discs occur in a single pass. Use the command
  181. 6.9
  182. WimpSlot -next 864K
  183. 6.9
  184. inside your !Boot file.á Barry Thompson,
  185. 6.9
  186. Alternatively (for RISC OS 2 owners) you can allocate more memory to the Next Task slot by issuing the Wimp_SlotSize SWI call from Basic. All that you need is a Basic program containing the line:
  187. 6.9
  188. SYS öWimp_SlotSizeò,-1,<slotsize>
  189. 6.9
  190. where <slotsize> is in bytes (e.g. use 65536 for 64Kb.)
  191. 6.9
  192. Simon Moy, NCS.
  193. 6.9
  194. Å    !Boot files are not strictly necessary within applications. They use up disc space and slow down the opening of windows (especially over a network). If an applicationæs !Boot file only contains the IconSprites command, then this can be moved to the !Run file, and the !Boot file can be deleted. The only effect is that the application will not show the correct icon in the filer window until the application is actually run.á Keith Harja, Derby.
  195. 6.9
  196. Å    Gods passwords Ö On this monthæs program disc is all you need for getting the passwords for Gods. Andrew Ferguson, London N15.
  197. 6.9
  198. Å    Mono TIFF files Ö In reply to help for Ray Dawson in Archive 6.5 p18 for producing mono TIFF files from B&W scanned sprites. I have used !MakeTiff version 2.00 by John Kortink to do exactly that. I examined the resulting Tiff file using Graphics Workshop (under the emulator) and Translator, and they both showed the converted sprite as a B&W image.á Chris Bass, Grimsby.
  199. 6.9
  200. Å    Symbols for Impression Ö When using Impression, or even more so Junior, it can sometimes be tedious to find a desired symbol from a font such as Dingbats. Therefore, I have created a number of text files which can be dragged into any Impression document. The format for such files is ö« ò, without the quotes. This returns the type to its default size, selects the desired font, inserts the character with ASCII code 174 and resets the font to its default. N.B. The space at the end is essential. This is so that one can do a <ctrl-right> to end of text. Without this space, the font is not reset. I have given a number of pre-prepared ones to Paul for inclusion on this monthæs program disc.á Neil Walker, Norwich.
  201. 6.9
  202. You need to be very careful with this one. I tried it on Impression 2.19 and it gave an internal error and Impression bombed out! This was because I didnæt have the symbol font in my system. I tried it on version 2.17 and it complained politely that it didnæt have Symbol font and let me carry on. I presume that the difference is because Impression, from 2.18 onwards, has no limit to the number of fonts it can handle so that part of the code must have been changed. Donæt say we didnæt warn you! Ed.
  203. 6.9
  204. Å    Testing printersæ on-line status Ö Here is a way of testing whether the printer is on- or off-line:
  205. 6.9
  206.  10 *FX 3,10
  207. 6.9
  208.  20 PRINT CHR$(0);
  209. 6.9
  210.  30 a = INKEY(20)
  211. 6.9
  212.  40 a = ADVAL(-4)
  213. 6.9
  214.  50 *FX 3,0
  215. 6.9
  216.  60 *FX 21,3
  217. 6.9
  218.  70 IF a <> 1023 THEN
  219. 6.9
  220.  80    PRINT öPrinter not on lineò
  221. 6.9
  222.  90 ELSE
  223. 6.9
  224. 100   PRINT öPrinter on lineò
  225. 6.9
  226. 110 ENDIF
  227. 6.9
  228. 120 END
  229. 6.9
  230. Paul Ribworth, Gloucester
  231. 6.9
  232. Å    Using high density discs Ö Until the advent of the A5000, all Archimedes computers had an 800Kb 3╜ö disc drive so the problems of different disc densities didnæt really arise. With the introduction of the new A3000 and A4000 series, 1.6Mb drives are becoming more common and some users are trying to save a few pence by formatting normal density discs to 1.6Mb.
  233. 6.9
  234. Users of BBC and Master computers learned that there is no point in paying extra for 80 track discs as the cheaper 40 track were actually identical. The same is NOT true of 800Kb and 1.6Mb discs. The magnetic coating on high density discs uses finer particles than the coating used on standard (double density) types. This is designed to accept higher signal levels without distortion. When the higher capacity format is used, the drive automatically uses a stronger magnetic field to imprint the data on the discs surface.
  235. 6.9
  236. Sometimes, good quality normal density discs can accept this level but it does represent a severe overload. Even if all appears well at the time, the larger particles used in the normal density coating are frequently unable to retain the high level of magnetism required so it can leak away in time making part of the data unreadable.
  237. 6.9
  238. Also, you should not use high density discs in a normal density drive if they have previously been formatted to 1.44 or 1.6Mb. The lower flux levels used for the normal format may not be able to completely erase the earlier data. This can then Ébreak throughæ and corrupt data saved later at the lower flux levels used with the smaller format. It may sometimes take more than a month for this to happen. So donæt be fooled into thinking that everything is OK just because all seems to be well when you first format the disc. Many Archimedes users who have Éborrowedæ preformatted 1.44Mb discs from work to use in their 800Kb drives have experienced this problem.
  239. 6.9
  240. There is no reason why you cannot use a NEW high density disc at 800Kb, it will just be more expensive.
  241. 6.9
  242. Because of this, it is obviously useless to do what used to be common practice with the old 40/80 track discs, namely try to format them to 80 tracks and if it didnæt work use them for 40 track. Once you have attempted to format an 800Kb disc to 1.6 or 1.44 Mb there is no going back. I have had some success using a tape head demagnetiser to completely wipe out data on 800Kb discs which had been formatted to 1.6Mb so that they could be reformatted to 800Kb, but not everyone has one of these.
  243. 6.9
  244. PC drives all have a sensor which detects the extra hole in a high density disc and wonæt allow you to specify the wrong format. For some reason, Acorn didnæt implement this feature on the Archimedes although the detector is present on all high density drives. It is therefore possible, by accident, to format a normal density disc to 1.6Mb. On a PC, to do this you need to drill a hole in the case of the disc so it canæt happen unintentionally.
  245. 6.9
  246. The most pernicious thing about this problem is that it can lead you into a false sense of security. A normal density disc may format perfectly to 1.6Mb and, for months, everything will appear to be well. Then suddenly some of the data may become slightly corrupt, although the disc may not actually appear to have any errors.
  247. 6.9
  248. If your data is precious enough to be worth saving, itæs worth the extra few pence that the proper discs cost. The only time that I have known people use normal density discs successfully as high density was with expensive branded discs costing about ú1.30 each. As this is considerably more than the price of unbranded high density discs, it seems a foolish risk to take.á David Holden, Sydenham.ááA
  249. 6.9
  250. Using RISCáOSá3.10
  251. 6.9
  252. Hugh Eagle
  253. 6.9
  254. More encouragement for the faint-hearted!
  255. 6.9
  256. Stuart Bell says: öHaving read the RISCáOS Column for the past few months, I approached the upgrade with caution, afraid of all sorts of installation and compatibility problems. I guess that by the nature of the things, itæs those people who encounter problems who write in, thereby giving a false impression of the true situation. So, if youære still with RISCáOS 2 and thinking about upgrading, be encouraged. Installing RISCáOS 3 on my A310, including removing the main board and installing the IFEL ROM carrier board took about an hour from start to finish, and I experienced no unforeseen problems.
  257. 6.9
  258. öHaving been warned of problems with Compression 1.1, I de-compressed all files first. I await the free upgrade from CC. There is the reported problem with early versions of Font-FX and thatæs in hand.
  259. 6.9
  260. öA couple of warnings, though: As well as powering up with <Delete> depressed, also make sure that youæve re-connected the keyboard first. (Donæt laugh ù it could have been you! That cost me several minutes of panic.) Secondly, alter the Font Size figure before loading your first Impression document, which otherwise can take several minutes to load with a 32Kb buffer.ò
  261. 6.9
  262. Å Avie Electronics 4Mb A310 upgrade Ö The following information has come from Avie: LK12 should be altered to 1-3 and 2-4. Issue 1 PCBs do not have LK12 and require modification as follows:
  263. 6.9
  264. Option 1: pins 2 and 24 on all of the ROMs are to be swapped. Remove pins 2 and 24 from each ROM socket by bending them up. Join pin 24 on all ROMs to GND. Join pin 2 on all ROMs to LA18 on IC28, pin 18.
  265. 6.9
  266. Option 2: remove pin 2 from each stamped socket on PCB and strap a wire between the pins and LA18. Likewise, pin 24 can be strapped to GND after removing the pins in the stamped sockets.
  267. 6.9
  268. Hardware problems
  269. 6.9
  270. Watford Electronics ARM3 Ö When Colin Wood fitted a Watford Electronics ARM3 upgrade to his A410 it didnæt work. öThe screen flashed red/blue, but no beep. Just dead.ò As he had recently fitted RISCáOSá3, he decided to replace the RISCáOSá2 chips and everything seemed OK, but when he put the RISCáOSá3 chips back, again it didnæt work. Watfordæs help line couldnæt help, so he returned the ARM3 and since they were (again) out of stock he cancelled his order and got most (but not all, apparently) of his money back. Another ARM3, from CJE Microæs, worked first time.
  271. 6.9
  272. Watford A310 RAM upgrades Ö Watford Electronics say that they are aware that their early A305/310 RAM upgrades do not work with RISCáOS 3 but they do not have any solution. They simply recommend that you buy one of their newer RAM upgrades instead because they do work with RISCáOS 3. Fortunately, IFEL have stepped into the breach. They can offer new PAL chips to plug into the Watford boards that will solve the problem. These PAL chips are ú3 +VAT each from IFEL and you need to state whether you have the 2Mb or the 4Mb version. (This refers to the upgrades that consisted of two PCBs with a ribbon cable along the RHS of the machine.)
  273. 6.9
  274. Program problems
  275. 6.9
  276. QuicKey clash Ö J. Nichols reports that, if QuicKey is loaded from within a !Boot file, it can remove the *Opt 4,2 status from the booted disc resulting in a disc which no longer runs a !Boot file.
  277. 6.9
  278. !Edit ù Following last monthæs reports of a öbugò in Edit we now have the following from Tom Rank: öThere seemed to be a rare problem with Edit the other day; my text (exported from Ovation) was displayed in a most corrupted way, with a large amount of blank screen to start with and then disintegrating words. I thought it was a problem with Ovation. However, when I tried to show it to John Wallace of Risc Developments at BETT, the file displayed without problems, as it did back on my own machine the next day. Any idea why?ò
  279. 6.9
  280. Fun School 4 (for the under 5s) ù Tom Rank found that this ran under RISCáOSá3.00 but not 3.10, but Europress Software supplied an updated disc very promptly which now works.
  281. 6.9
  282. Freddy Teddy ù Topologika supplied a new version to Tom Rank on the spot at BETT!
  283. 6.9
  284. Ovation ù Tom Rank says you are urged to obtain 1.37S (dated 17 January 1993). This overcomes the saving with <F3> problem ù which really was a problem, so do upgrade. They have also restored the Éselect allæ shortcut Ö but only if you use the right-hand <Ctrl> key along with A (to avoid the problem of catching <Ctrl-A> instead of <Ctrl-S> or just <A>).
  285. 6.9
  286. This version also contains three new printing options, not documented: Fit, Centre and Registration marks. These should be self explanatory, but Tom is not quite sure about them!
  287. 6.9
  288. Break147 and SuperPool ù D. S. Allen got these to work using the information provided by David Holden in the April column. He writes: öIn Break147 there is one Basic program called !Snook which contains the line
  289. 6.9
  290.  90SYSá26,64,64.
  291. 6.9
  292. A REM statement in front of the SYS will cure the problem and the program will then run under RISCáOSá3.1.
  293. 6.9
  294. öSimilarly, in SuperPool there is a Basic program !Pool in the Data directory in which line 60 has the same SYSá26,64,64 statement.
  295. 6.9
  296. öNote that to make these changes, people will require the read/write version of Mark Smithæs excellent ArcFS program.ò (Or, presumably, an equivalent utility such as SparkFS.)
  297. 6.9
  298. Superior Golf / Construction Set ù We reported in Archive 6.7 p43 that Dave Wilcox had found that these did not work in RISCáOSá3.10. Rob Brown, however, says he has had no problems with them.
  299. 6.9
  300. Corruption ù Rob Brown says that this can be made to work by modifying its !Run file to kill the RISCáOSá3 Shared C Library module and load the very old version of the module supplied with the game. To do this, include at the beginning of the !Run file the line:
  301. 6.9
  302. RMKill SharedCLibrary
  303. 6.9
  304. and then add at the end of the file the following two lines:
  305. 6.9
  306. RMKill SharedCLibrary
  307. 6.9
  308. RMLoad SharedCLibrary
  309. 6.9
  310. to remove the old version and reload the RISCáOSá3 version of the module. He points out that it may well be advisable to Quit any other applications that may be using the RISCáOSá3 Shared C Library module before running the game.
  311. 6.9
  312. Freddyæs Folly ù Rob Brown advises that this game contains a !Run file (in Basic) which includes an automatic Éauto-configurationæ of the computeræs memory as well as setting up a number of initial program parameters. The various auto-configuration elements should be deleted from this file. A further complication is that the disc is copy protected, but it should be possible to rename the original !Run file (to say !RunOLD) and re-save a new !Run file containing only the initial program parameters. He also advises that the game assumes that the default disc drive is 0. For users with a hard disc this can easily be set by typing:
  313. 6.9
  314.     Drive 0
  315. 6.9
  316. at the command line (accessed by pressing function key <F12>) before starting the game. Alternatively, the gameæs !Run file can be appropriately amended by including the ö<Obey$Dir>ò command.
  317. 6.9
  318. NOTE: the advice on Corruption and Freddyæs Folly is included in the program compatibility chart which Rob Brown has compiled and which has been included on the Archive monthly program disc. He will welcome any information which will help him to make the chart as comprehensive and up-to-date as possible. His address is öValtaneeò, Brighton Road, Lower Kingswood, Tadworth, Surrey, KT20 6UP.
  319. 6.9
  320. Aldebaran ù (see Archive 6.8 p23) Atle Mjelde Bσrdholt has contacted the author and has learned that, on his A310 with IFELæs 2Mb upgrade, he has to add 8Kb to the WimpSlot values in the !Aldebaran.!Run file (from 624Kb to 632Kb). Then everything works fine. He says this might be due to the RAM upgrade: Aldebaran seems to work fine on any other Archimedes with RISCáOSá3.1. He adds a final bit of advice: öGet a copy!ò
  321. 6.9
  322. Printing
  323. 6.9
  324. Printing to file
  325. 6.9
  326. Tom Rank has found that the hint from Simon Moy in Archive 6.2.7 about editing the number of text lines seems redundant under RISCáOSá3.10, and that printing to a file (at least with the Epson LQ-860 driver) resulted in a printout which aborted with an öaddress exception at &038B5BE0ò, a frozen printer and an incomplete document (the last few millimetres were lost). This is particularly irritating as printing to a file is the only way, apart from buying a direct laser printer or a CC Turbo Driver, to avoid the long wait for print out. (How about using the PROdriver shell for use with Acorn drivers? See the review on page 43. Ed.)
  327. 6.9
  328. Using fanfold paper
  329. 6.9
  330. Tom Rank comments: öFeeding single sheets into a printer soon becomes a pain, but sheetfeeders come expensive, so A4 fanfold paper seemed a good idea (even though itæs about four or five times more expensive than better quality photocopy paper at a discount stationer!). However, with RISCáOS 3.00, I could never get the settings right, so the print always crept up or down the page until it crossed the fold. With RISCáOS 3.10, Iæve finally got it to work, whether by fluke Iæm not sure. Using the LQ-860 printer driver with my Epson LQ-550 printer, the correct settings from the paper sizes menu are: top margin 8mm and bottom margin 15mm; save these with a name like ÉA4 Fanfoldæ and the margins can be automatically set each time. These settings seem to work OK with single sheets too.ò
  331. 6.9
  332. Filing Systems
  333. 6.9
  334. Beebug 5╝ö disc interface
  335. 6.9
  336. Stuart Bell writes: öI got my Beebug 5╝ö disc interface (date 1989) to work by setting the step rate for an 80 track double-sided drive to 12ms (lower values may well work; Iæm just cautious), and whereas RISCáOSá2 worked with öReadyò (switch 6 on the interface) supplied by the on-board PAL, RISCáOSá3 works more reliably with it passed through from the drive.ò
  337. 6.9
  338. Dismounting between filing systems
  339. 6.9
  340. According to Mike Sawle, applications which frequently switch between filing systems seem to require the *DISMOUNT command before selecting an alternative filing system in order to ensure correct execution. Common error messages are Ambiguous Disc Name and Bad Error Block.
  341. 6.9
  342. Miscellaneous Hints & Tips
  343. 6.9
  344. Å    Faster copying, etc. ù Rob Davison recommends that if there is nothing else you want to do when copying files, then click <Menu> over the filer action window and choose ÉFasteræ.
  345. 6.9
  346. Å    In the midnight hour ù Atle Mjelde Bσrdholt found that, whenever he switched his computer on between midnight and 1áa.m., a day was added to the internal clock. He then found that this seemed to be caused by the presence in his !Boot file of the command *SetáSys$Yeará1993 (which he had included because he has some programs that set the year back to 1988). When this command is removed, the midnight hour problem goes away. Does anyone know the reason?
  347. 6.9
  348. Å    Fan filters and the A5000 ù Tom Rank found that, although magazines mention the need to change the filter from time to time, there was no mention of how to do this and on fitting the RISCáOS 3.10 upgrade he could see no filter anyway. Is there one, he asks? The Acorn representative at BETT told him that the design of the machine made it superfluous; he couldnæt quite follow why, but it was something to do with the direction of airflow.
  349. 6.9
  350. Å    Flippinæ objects in Draw ù Having travelled all the way from Derbyshire to the Acorn User Show, Tom Rank öasked the man on one of the other magazinesæ stall if there was an equivalent in Draw to the Éflipæ option in Paint, as itæs sometimes useful to turn a picture round to face the other way. The expert, although helpful about other items, couldnæt tell me, but my son revealed the following tip, which he said he thought was obvious. Must talk to him more often....
  351. 6.9
  352. öTo flip an object in Draw, select it and, from the Étransformæ menu (RISCáOS 3), set x scale (or y scale or both) to Ö1 (minus 1). This also works in the RISCáOS 2 version of Draw but there the Étransformæ option is chosen from the Select menu.ò
  353. 6.9
  354. Å    Lost lines in Edit Ö Eric Ayers has found that double-clicking on large text files to load them into Edit has caused several lines to be missing from the middle of the text. Apparently, this does not happen if he drags the files to the Edit icon on the icon bar. Any ideas?
  355. 6.9
  356. Å    More fonts in RISC-OS 3 Ö Gary Atkinson of KudlianSoft recommends the following additions to the !Fonts.!Boot and !Fonts.!Run files to enable one or more separate font directories to be added to and removed from the font path simply by double-clicking on the fonts application directory.
  357. 6.9
  358. The !Fonts.!Boot file should be amended as follows:
  359. 6.9
  360. | Boot file for !Fonts.
  361. 6.9
  362. | Nothing happens if you put this in | a RISCáOS 2 machine except that
  363. 6.9
  364. | the !Fonts sprite is set up Ö this | means that, when a RISCáOS2 !Fonts
  365. 6.9
  366. | directory is seen the !Boot file
  367. 6.9
  368. | will not be run; double clicking
  369. 6.9
  370. | on the appropriate !Fonts will
  371. 6.9
  372. | force installation.
  373. 6.9
  374. |
  375. 6.9
  376. | Take care when merging RISCáOS 2
  377. 6.9
  378. | fonts with these (RISCáOS 3) fonts
  379. 6.9
  380. | - many fonts are contained in the
  381. 6.9
  382. | RISCáOS 3 ROM and thus do not
  383. 6.9
  384. | appear in !Fonts; normally you
  385. 6.9
  386. | should not copy the corresponding
  387. 6.9
  388. | RISCáOS 2 fonts!
  389. 6.9
  390. Iconsprites <Obey$Dir>.!Sprites
  391. 6.9
  392. RMEnsure FontManager 2.89 Obey
  393. 6.9
  394. | The next command boots up your
  395. 6.9
  396. | normal font directory
  397. 6.9
  398. FontInstall <Obey$Dir>.
  399. 6.9
  400. SetEval MoreFonts 0
  401. 6.9
  402. The !Fonts.!Run file should be amended as follows:
  403. 6.9
  404. | !Run file for !Fonts,
  405. 6.9
  406. | version 1.05 (20-Aug-91)
  407. 6.9
  408. RMEnsure FontManager 2.89 Error These fonts are for use with
  409. 6.9
  410.  RISCáOS 2.12 or later
  411. 6.9
  412. |Obey <Obey$Dir>.!Boot
  413. 6.9
  414. | The extra *FontInstall means that,
  415. 6.9
  416. | if you double-click the Fonts
  417. 6.9
  418. | directory, all such directories
  419. 6.9
  420. | will be re-searched for any new
  421. 6.9
  422. | fonts.
  423. 6.9
  424. SetEval MoreFonts MoreFonts EOR 1
  425. 6.9
  426. IF MoreFonts=1 THEN FontInstall <Obey$Dir>. ELSE FontRemove <Obey$Dir>.
  427. 6.9
  428. |FontInstall
  429. 6.9
  430. The !Boot file is only run on the first time that the filer sees the !Fonts application, hence the initialisation of MoreFonts to zero. Every time the directory is double-clicked, the !Run file will toggle the value of this variable between 0 and 1. This is done in the line:
  431. 6.9
  432. SetEval MoreFonts MoreFonts EOR 1
  433. 6.9
  434. If the value is 1, the FontInstall command adds the new directory to the font path and initialises all of the fonts. If the value is 0, the FontRemove command removes the temporary font directory from the font path.
  435. 6.9
  436. If you require more than one spare directory, you will need to use different variables, such as MoreFonts2 or FancyFonts.
  437. 6.9
  438. In practice, it is better to have a directory called fonts inside your !Fonts application which contains your preferred normal fonts at switch-on, and a directory called spare (for example) which contains the set of fonts that you wish to switch in and out. Then in your !Boot file, the FontInstall command becomes
  439. 6.9
  440. FontInstall <Obey$Dir>.fonts.
  441. 6.9
  442. and the IF...THEN statement in the !Run file has <Obey$Dir>.spare. in place of the two occurrences of <Obey$Dir>. .
  443. 6.9
  444. Miscellaneous Comments
  445. 6.9
  446. FontEd
  447. 6.9
  448. When Tom Rank spoke to an Acorn representative he was told that they were not contemplating the release of FontEd and that it is NOT public domain. An early version got there by mistake via SID and it really ought not, he said, to be distributed by PD libraries.
  449. 6.9
  450. The Acorn representative acknowledged that Acorn were unlikely to do anything about this situation, as it was öonly an early version and wonæt work on RISCáOS 3ò. According to Tom this is partially true; a friend of his has had problems with version 0.28, but at least some of the time it runs on an A5000. However, he observes that it is a pity that Acorn actually seem to be discouraging anyone else from working on fonts. (There is a version of FontEd on Careware 7, released in May 1990, but it has been updated since then. Acorn havenæt objected, presumably because of the charitable aspect. Ed.)
  451. 6.9
  452. Screen blanking during floppy disc access
  453. 6.9
  454. Stuart Bell writes: öMany things are very much more elegant in RISCáOS 3 but with one notable exception. I couldnæt believe my eyes when I saw what happens to the screen during floppy disc accessing. Whether my ARM3 cache is dis- or enabled, in mode 24 the screen either flashes or is blanked when loading, saving or formatting. If RISCáOS 2 didnæt need to do this, why is it allowed now? (It did, in fact, happen in mode 21 under RISCáOSá2 ù HE.) Some re-coding is needed, even if the resultant code is a little slower. More significantly, who was the Acorn person in authority who thought that it is acceptable in 1993 to produce a computer which professes to be a Éworld-beateræ which, when using floppy discs, looks like the Sinclair Spectrum (or was it the ZX81?) reading from cassette tape circa 1983? This just looks so tacky. I know that serious use demands a hard disc, but first impressions count for a lot, and a lot of demonstrations will be on floppy-based A3010æs. This is not good enough, Acorn.ò
  455. 6.9
  456. Basic program compaction errors
  457. 6.9
  458. R. W. Darlington writes: öI am writing on a matter of utmost urgency.
  459. 6.9
  460. öThere seems to be a growing urge amongst programmers to use a program compactor on Basic RunImage files. Unfortunately, I know of no Basic compactor program that does not exhibit a certain disastrous fault.
  461. 6.9
  462. öIf, for instance, a Basic program contains any floating point or pseudo variables followed by a Basic keyword or statement, then when it is compacted and the space between the variable and the keyword is removed, that line will generate an error.
  463. 6.9
  464. öFor instance, if the program contained the line
  465. 6.9
  466. 10 IF TRUE THEN VDU7
  467. 6.9
  468. which when compacted becomes
  469. 6.9
  470. 10IFTRUETHENVDU7
  471. 6.9
  472. the lack of space between TRUE and THEN will generate an error.
  473. 6.9
  474. öThe same is true for any line containing a floating point variable:
  475. 6.9
  476. 10 ha=TRUE
  477. 6.9
  478. 20 IF    ha    THEN    VDU7
  479. 6.9
  480. will crash when compacted because of a lack of space between ha and THEN.
  481. 6.9
  482. öI have come across numerous examples of RunImage files which have these errors in them. One of them is Acornæs new RISCáOS 3 !SciCalc. Others are new versions of Translator and Creator.
  483. 6.9
  484. öPlease can you draw Archive readersæ attention to these problems as soon as possible? Or, if any reader knows of a Basic compactor that does not produce these errors, please can they let us know where it may be obtained?ò
  485. 6.9
  486. Matters Arising
  487. 6.9
  488. Setting Caps Lock (*FX 202)
  489. 6.9
  490. Unfortunately, the advice I gave last month about using *FX 202 may have been a bit confusing because, after explaining that Peter Young wanted a command to turn Caps Lock on, I then described how to turn it off! The command to turn Caps Lock on, leaving the other settings unchanged, is *FXá202,0,239.
  491. 6.9
  492. The shortened form *FXá202,32 should turn Caps Lock on, but may have side effects.
  493. 6.9
  494. Note also that, to make sure that the LED indicators are correctly updated after a *FXá202 command, it is a good idea to follow it with the simple command *FXá118.
  495. 6.9
  496. The bits of the keyboard status byte have the following meanings:
  497. 6.9
  498.     bit    value    meaning
  499. 6.9
  500.     0 (1)    0    Alt off
  501. 6.9
  502.         1    Alt on
  503. 6.9
  504.     1 (2)    0    Scroll Lock off
  505. 6.9
  506.         1    Scroll Lock on
  507. 6.9
  508.     2 (4)    0    Num Lock on
  509. 6.9
  510.         1    Num Lock off
  511. 6.9
  512.     3 (8)    0    Shift off
  513. 6.9
  514.         1    Shift on
  515. 6.9
  516.     4 (16)    0    Caps Lock on
  517. 6.9
  518.         1    Caps Lock off
  519. 6.9
  520.     5 (32)        (öNormally setò)
  521. 6.9
  522.     6 (64)    0    Ctrl off
  523. 6.9
  524.         1    Ctrl on
  525. 6.9
  526.     7 (128)    0    Shift enable off
  527. 6.9
  528.         1    Shift enable on
  529. 6.9
  530. (This information is taken from the RISC¡OSá2 Programmersæ Reference Manual.)
  531. 6.9
  532. Boot-up options (Archive 6.8 p26)
  533. 6.9
  534. Peter Young has suggested that it might be better to use INKEY$ with a delay of, say, 5 to 10 seconds instead of GET$ so that, if nobody presses a key, the computer will continue with the boot file after a short delay.
  535. 6.9
  536. Unexpected messages from IDE filing system (Archive 6.8 p24)
  537. 6.9
  538. Peter Young (who has a Beebug IDE interface) has confirmed that, even after creating space for a directory cache, he still gets unexpected messages unless he uses full pathnames. For instance, if he starts with the commands
  539. 6.9
  540. *DIR IDEFS::IDEDisc4.$.BASIC.B
  541. 6.9
  542. *CAT
  543. 6.9
  544. he gets a catalogue of the subdirectory ÉBæ as expected. However, if he uses the abbreviated pathname instead:
  545. 6.9
  546. *DIR $.BASIC.B
  547. 6.9
  548. *CAT
  549. 6.9
  550. he gets a catalogue of the directory ÉBASICæ even though the heading of the directory listing correctly says that the CSD is IDEFS::IDEDisc4.$. BASIC.B. The computeræs confusion is further demonstrated by the fact that if he then enters:
  551. 6.9
  552. *DIR ^
  553. 6.9
  554. *CAT
  555. 6.9
  556. it replies Directory É@æ not found.
  557. 6.9
  558. ÉInterruptæ module (Archive 6.6 p55)
  559. 6.9
  560. In March, we reported M. P. Sawleæs request for help in getting the Interrupt module (Archive Shareware disc 6) working under RISCáOSá3, but since then neither he nor we have heard anything. Does no-one else use this module? Can its author help?
  561. 6.9
  562. Using RISCáOSá3.10
  563. 6.9
  564. Hugh Eagle
  565. 6.9
  566. More encouragement for the faint-hearted!
  567. 6.9
  568. Stuart Bell says: öHaving read the RISCáOS Column for the past few
  569. months, I approached the upgrade with caution, afraid of all sorts of
  570. installation and compatibility problems. I guess that by the nature of
  571. the things, itæs those people who encounter problems who write in,
  572. thereby giving a false impression of the true situation. So, if youære
  573. still with RISCáOS 2 and thinking about upgrading, be encouraged.
  574. Installing RISCáOS 3 on my A310, including removing the main board and
  575. installing the IFEL ROM carrier board took about an hour from start to
  576. finish, and I experienced no unforeseen problems.
  577. 6.9
  578. öHaving been warned of problems with Compression 1.1, I de-compressed
  579. all files first. I await the free upgrade from CC. There is the reported
  580. problem with early versions of Font-FX and thatæs in hand.
  581. 6.9
  582. öA couple of warnings, though: As well as powering up with <Delete>
  583. depressed, also make sure that youæve re-connected the keyboard first.
  584. (Donæt laugh ù it could have been you! That cost me several minutes of
  585. panic.) Secondly, alter the Font Size figure before loading your first
  586. Impression document, which otherwise can take several minutes to load
  587. with a 32Kb buffer.ò
  588. 6.9
  589. Å Avie Electronics 4Mb A310 upgrade Ö The following information has come
  590. from Avie: LK12 should be altered to 1-3 and 2-4. Issue 1 PCBs do not
  591. have LK12 and require modification as follows:
  592. 6.9
  593. Option 1: pins 2 and 24 on all of the ROMs are to be swapped. Remove
  594. pins 2 and 24 from each ROM socket by bending them up. Join pin 24 on
  595. all ROMs to GND. Join pin 2 on all ROMs to LA18 on IC28, pin 18.
  596. 6.9
  597. Option 2: remove pin 2 from each stamped socket on PCB and strap a wire
  598. between the pins and LA18. Likewise, pin 24 can be strapped to GND after
  599. removing the pins in the stamped sockets.
  600. 6.9
  601. Hardware problems
  602. 6.9
  603. Watford Electronics ARM3 Ö When Colin Wood fitted a Watford Electronics
  604. ARM3 upgrade to his A410 it didnæt work. öThe screen flashed red/blue,
  605. but no beep. Just dead.ò As he had recently fitted RISCáOSá3, he decided
  606. to replace the RISCáOSá2 chips and everything seemed OK, but when he put
  607. the RISCáOSá3 chips back, again it didnæt work. Watfordæs help line
  608. couldnæt help, so he returned the ARM3 and since they were (again) out
  609. of stock he cancelled his order and got most (but not all, apparently)
  610. of his money back. Another ARM3, from CJE Microæs, worked first time.
  611. 6.9
  612. Watford A310 RAM upgrades Ö Watford Electronics say that they are aware
  613. that their early A305/310 RAM upgrades do not work with RISCáOS 3 but
  614. they do not have any solution. They simply recommend that you buy one of
  615. their newer RAM upgrades instead because they do work with RISCáOS 3.
  616. Fortunately, IFEL have stepped into the breach. They can offer new PAL
  617. chips to plug into the Watford boards that will solve the problem. These
  618. PAL chips are ú3 +VAT each from IFEL and you need to state whether you
  619. have the 2Mb or the 4Mb version. (This refers to the upgrades that
  620. consisted of two PCBs with a ribbon cable along the RHS of the machine.)
  621. 6.9
  622. Program problems
  623. 6.9
  624. QuicKey clash Ö J. Nichols reports that, if QuicKey is loaded from
  625. within a !Boot file, it can remove the *Opt 4,2 status from the booted
  626. disc resulting in a disc which no longer runs a !Boot file.
  627. 6.9
  628. !Edit ù Following last monthæs reports of a öbugò in Edit we now have
  629. the following from Tom Rank: öThere seemed to be a rare problem with
  630. Edit the other day; my text (exported from Ovation) was displayed in a
  631. most corrupted way, with a large amount of blank screen to start with
  632. and then disintegrating words. I thought it was a problem with Ovation.
  633. However, when I tried to show it to John Wallace of Risc Developments at
  634. BETT, the file displayed without problems, as it did back on my own
  635. machine the next day. Any idea why?ò
  636. 6.9
  637. Fun School 4 (for the under 5s) ù Tom Rank found that this ran under
  638. RISCáOSá3.00 but not 3.10, but Europress Software supplied an updated
  639. disc very promptly which now works.
  640. 6.9
  641. Freddy Teddy ù Topologika supplied a new version to Tom Rank on the spot
  642. at BETT!
  643. 6.9
  644. Ovation ù Tom Rank says you are urged to obtain 1.37S (dated 17 January
  645. 1993). This overcomes the saving with <F3> problem ù which really was a
  646. problem, so do upgrade. They have also restored the Éselect allæ
  647. shortcut Ö but only if you use the right-hand <Ctrl> key along with A
  648. (to avoid the problem of catching <Ctrl-A> instead of <Ctrl-S> or just
  649. <A>).
  650. 6.9
  651. This version also contains three new printing options, not documented:
  652. Fit, Centre and Registration marks. These should be self explanatory,
  653. but Tom is not quite sure about them!
  654. 6.9
  655. Break147 and SuperPool ù D. S. Allen got these to work using the
  656. information provided by David Holden in the April column. He writes: öIn
  657. Break147 there is one Basic program called !Snook which contains the
  658. line
  659. 6.9
  660.  90SYSá26,64,64.
  661. 6.9
  662. A REM statement in front of the SYS will cure the problem and the
  663. program will then run under RISCáOSá3.1.
  664. 6.9
  665. öSimilarly, in SuperPool there is a Basic program !Pool in the Data
  666. directory in which line 60 has the same SYSá26,64,64 statement.
  667. 6.9
  668. öNote that to make these changes, people will require the read/write
  669. version of Mark Smithæs excellent ArcFS program.ò (Or, presumably, an
  670. equivalent utility such as SparkFS.)
  671. 6.9
  672. Superior Golf / Construction Set ù We reported in Archive 6.7 p43 that
  673. Dave Wilcox had found that these did not work in RISCáOSá3.10. Rob
  674. Brown, however, says he has had no problems with them.
  675. 6.9
  676. Corruption ù Rob Brown says that this can be made to work by modifying
  677. its !Run file to kill the RISCáOSá3 Shared C Library module and load the
  678. very old version of the module supplied with the game. To do this,
  679. include at the beginning of the !Run file the line:
  680. 6.9
  681. RMKill SharedCLibrary
  682. 6.9
  683. and then add at the end of the file the following two lines:
  684. 6.9
  685. RMKill SharedCLibrary
  686. 6.9
  687. RMLoad SharedCLibrary
  688. 6.9
  689. to remove the old version and reload the RISCáOSá3 version of the
  690. module. He points out that it may well be advisable to Quit any other
  691. applications that may be using the RISCáOSá3 Shared C Library module
  692. before running the game.
  693. 6.9
  694. Freddyæs Folly ù Rob Brown advises that this game contains a !Run file
  695. (in Basic) which includes an automatic Éauto-configurationæ of the
  696. computeræs memory as well as setting up a number of initial program
  697. parameters. The various auto-configuration elements should be deleted
  698. from this file. A further complication is that the disc is copy
  699. protected, but it should be possible to rename the original !Run file
  700. (to say !RunOLD) and re-save a new !Run file containing only the initial
  701. program parameters. He also advises that the game assumes that the
  702. default disc drive is 0. For users with a hard disc this can easily be
  703. set by typing:
  704. 6.9
  705.     Drive 0
  706. 6.9
  707. at the command line (accessed by pressing function key <F12>) before
  708. starting the game. Alternatively, the gameæs !Run file can be
  709. appropriately amended by including the ö<Obey$Dir>ò command.
  710. 6.9
  711. NOTE: the advice on Corruption and Freddyæs Folly is included in the
  712. program compatibility chart which Rob Brown has compiled and which has
  713. been included on the Archive monthly program disc. He will welcome any
  714. information which will help him to make the chart as comprehensive and
  715. up-to-date as possible. His address is öValtaneeò, Brighton Road, Lower
  716. Kingswood, Tadworth, Surrey, KT20 6UP.
  717. 6.9
  718. Aldebaran ù (see Archive 6.8 p23) Atle Mjelde Bσrdholt has contacted the
  719. author and has learned that, on his A310 with IFELæs 2Mb upgrade, he has
  720. to add 8Kb to the WimpSlot values in the !Aldebaran.!Run file (from
  721. 624Kb to 632Kb). Then everything works fine. He says this might be due
  722. to the RAM upgrade: Aldebaran seems to work fine on any other Archimedes
  723. with RISCáOSá3.1. He adds a final bit of advice: öGet a copy!ò
  724. 6.9
  725. Printing
  726. 6.9
  727. Printing to file
  728. 6.9
  729. Tom Rank has found that the hint from Simon Moy in Archive 6.2.7 about
  730. editing the number of text lines seems redundant under RISCáOSá3.10, and
  731. that printing to a file (at least with the Epson LQ-860 driver) resulted
  732. in a printout which aborted with an öaddress exception at &038B5BE0ò, a
  733. frozen printer and an incomplete document (the last few millimetres were
  734. lost). This is particularly irritating as printing to a file is the only
  735. way, apart from buying a direct laser printer or a CC Turbo Driver, to
  736. avoid the long wait for print out. (How about using the PROdriver shell
  737. for use with Acorn drivers? See the review on page 43. Ed.)
  738. 6.9
  739. Using fanfold paper
  740. 6.9
  741. Tom Rank comments: öFeeding single sheets into a printer soon becomes a
  742. pain, but sheetfeeders come expensive, so A4 fanfold paper seemed a good
  743. idea (even though itæs about four or five times more expensive than
  744. better quality photocopy paper at a discount stationer!). However, with
  745. RISCáOS 3.00, I could never get the settings right, so the print always
  746. crept up or down the page until it crossed the fold. With RISCáOS 3.10,
  747. Iæve finally got it to work, whether by fluke Iæm not sure. Using the
  748. LQ-860 printer driver with my Epson LQ-550 printer, the correct settings
  749. from the paper sizes menu are: top margin 8mm and bottom margin 15mm;
  750. save these with a name like ÉA4 Fanfoldæ and the margins can be
  751. automatically set each time. These settings seem to work OK with single
  752. sheets too.ò
  753. 6.9
  754. Filing Systems
  755. 6.9
  756. Beebug 5╝ö disc interface
  757. 6.9
  758. Stuart Bell writes: öI got my Beebug 5╝ö disc interface (date 1989) to
  759. work by setting the step rate for an 80 track double-sided drive to 12ms
  760. (lower values may well work; Iæm just cautious), and whereas RISCáOSá2
  761. worked with öReadyò (switch 6 on the interface) supplied by the on-board
  762. PAL, RISCáOSá3 works more reliably with it passed through from the
  763. drive.ò
  764. 6.9
  765. Dismounting between filing systems
  766. 6.9
  767. According to Mike Sawle, applications which frequently switch between
  768. filing systems seem to require the *DISMOUNT command before selecting an
  769. alternative filing system in order to ensure correct execution. Common
  770. error messages are Ambiguous Disc Name and Bad Error Block.
  771. 6.9
  772. Miscellaneous Hints & Tips
  773. 6.9
  774. Å    Faster copying, etc. ù Rob Davison recommends that if there is nothing
  775. else you want to do when copying files, then click <Menu> over the filer
  776. action window and choose ÉFasteræ.
  777. 6.9
  778. Å    In the midnight hour ù Atle Mjelde Bσrdholt found that, whenever he
  779. switched his computer on between midnight and 1áa.m., a day was added to
  780. the internal clock. He then found that this seemed to be caused by the
  781. presence in his !Boot file of the command *SetáSys$Yeará1993 (which he
  782. had included because he has some programs that set the year back to
  783. 1988). When this command is removed, the midnight hour problem goes
  784. away. Does anyone know the reason?
  785. 6.9
  786. Å    Fan filters and the A5000 ù Tom Rank found that, although magazines
  787. mention the need to change the filter from time to time, there was no
  788. mention of how to do this and on fitting the RISCáOS 3.10 upgrade he
  789. could see no filter anyway. Is there one, he asks? The Acorn
  790. representative at BETT told him that the design of the machine made it
  791. superfluous; he couldnæt quite follow why, but it was something to do
  792. with the direction of airflow.
  793. 6.9
  794. Å    Flippinæ objects in Draw ù Having travelled all the way from
  795. Derbyshire to the Acorn User Show, Tom Rank öasked the man on one of the
  796. other magazinesæ stall if there was an equivalent in Draw to the Éflipæ
  797. option in Paint, as itæs sometimes useful to turn a picture round to
  798. face the other way. The expert, although helpful about other items,
  799. couldnæt tell me, but my son revealed the following tip, which he said
  800. he thought was obvious. Must talk to him more often....
  801. 6.9
  802. öTo flip an object in Draw, select it and, from the Étransformæ menu
  803. (RISCáOS 3), set x scale (or y scale or both) to Ö1 (minus 1). This also
  804. works in the RISCáOS 2 version of Draw but there the Étransformæ option
  805. is chosen from the Select menu.ò
  806. 6.9
  807. Å    Lost lines in Edit Ö Eric Ayers has found that double-clicking on
  808. large text files to load them into Edit has caused several lines to be
  809. missing from the middle of the text. Apparently, this does not happen if
  810. he drags the files to the Edit icon on the icon bar. Any ideas?
  811. 6.9
  812. Å    More fonts in RISC-OS 3 Ö Gary Atkinson of KudlianSoft recommends the
  813. following additions to the !Fonts.!Boot and !Fonts.!Run files to enable
  814. one or more separate font directories to be added to and removed from
  815. the font path simply by double-clicking on the fonts application
  816. directory.
  817. 6.9
  818. The !Fonts.!Boot file should be amended as follows:
  819. 6.9
  820. | Boot file for !Fonts.
  821. 6.9
  822. | Nothing happens if you put this in | a RISCáOS 2 machine except that
  823. 6.9
  824. | the !Fonts sprite is set up Ö this | means that, when a RISCáOS2
  825. !Fonts
  826. 6.9
  827. | directory is seen the !Boot file
  828. 6.9
  829. | will not be run; double clicking
  830. 6.9
  831. | on the appropriate !Fonts will
  832. 6.9
  833. | force installation.
  834. 6.9
  835. |
  836. 6.9
  837. | Take care when merging RISCáOS 2
  838. 6.9
  839. | fonts with these (RISCáOS 3) fonts
  840. 6.9
  841. | - many fonts are contained in the
  842. 6.9
  843. | RISCáOS 3 ROM and thus do not
  844. 6.9
  845. | appear in !Fonts; normally you
  846. 6.9
  847. | should not copy the corresponding
  848. 6.9
  849. | RISCáOS 2 fonts!
  850. 6.9
  851. Iconsprites <Obey$Dir>.!Sprites
  852. 6.9
  853. RMEnsure FontManager 2.89 Obey
  854. 6.9
  855. | The next command boots up your
  856. 6.9
  857. | normal font directory
  858. 6.9
  859. FontInstall <Obey$Dir>.
  860. 6.9
  861. SetEval MoreFonts 0
  862. 6.9
  863. The !Fonts.!Run file should be amended as follows:
  864. 6.9
  865. | !Run file for !Fonts,
  866. 6.9
  867. | version 1.05 (20-Aug-91)
  868. 6.9
  869. RMEnsure FontManager 2.89 Error These fonts are for use with
  870. 6.9
  871.  RISCáOS 2.12 or later
  872. 6.9
  873. |Obey <Obey$Dir>.!Boot
  874. 6.9
  875. | The extra *FontInstall means that,
  876. 6.9
  877. | if you double-click the Fonts
  878. 6.9
  879. | directory, all such directories
  880. 6.9
  881. | will be re-searched for any new
  882. 6.9
  883. | fonts.
  884. 6.9
  885. SetEval MoreFonts MoreFonts EOR 1
  886. 6.9
  887. IF MoreFonts=1 THEN FontInstall <Obey$Dir>. ELSE FontRemove <Obey$Dir>.
  888. 6.9
  889. |FontInstall
  890. 6.9
  891. The !Boot file is only run on the first time that the filer sees the
  892. !Fonts application, hence the initialisation of MoreFonts to zero. Every
  893. time the directory is double-clicked, the !Run file will toggle the
  894. value of this variable between 0 and 1. This is done in the line:
  895. 6.9
  896. SetEval MoreFonts MoreFonts EOR 1
  897. 6.9
  898. If the value is 1, the FontInstall command adds the new directory to the
  899. font path and initialises all of the fonts. If the value is 0, the
  900. FontRemove command removes the temporary font directory from the font
  901. path.
  902. 6.9
  903. If you require more than one spare directory, you will need to use
  904. different variables, such as MoreFonts2 or FancyFonts.
  905. 6.9
  906. In practice, it is better to have a directory called fonts inside your
  907. !Fonts application which contains your preferred normal fonts at switch-
  908. on, and a directory called spare (for example) which contains the set of
  909. fonts that you wish to switch in and out. Then in your !Boot file, the
  910. FontInstall command becomes
  911. 6.9
  912. FontInstall <Obey$Dir>.fonts.
  913. 6.9
  914. and the IF...THEN statement in the !Run file has <Obey$Dir>.spare. in
  915. place of the two occurrences of <Obey$Dir>. .
  916. 6.9
  917. Miscellaneous Comments
  918. 6.9
  919. FontEd
  920. 6.9
  921. When Tom Rank spoke to an Acorn representative he was told that they
  922. were not contemplating the release of FontEd and that it is NOT public
  923. domain. An early version got there by mistake via SID and it really
  924. ought not, he said, to be distributed by PD libraries.
  925. 6.9
  926. The Acorn representative acknowledged that Acorn were unlikely to do
  927. anything about this situation, as it was öonly an early version and
  928. wonæt work on RISCáOS 3ò. According to Tom this is partially true; a
  929. friend of his has had problems with version 0.28, but at least some of
  930. the time it runs on an A5000. However, he observes that it is a pity
  931. that Acorn actually seem to be discouraging anyone else from working on
  932. fonts. (There is a version of FontEd on Careware 7, released in May
  933. 1990, but it has been updated since then. Acorn havenæt objected,
  934. presumably because of the charitable aspect. Ed.)
  935. 6.9
  936. Screen blanking during floppy disc access
  937. 6.9
  938. Stuart Bell writes: öMany things are very much more elegant in RISCáOS 3
  939. but with one notable exception. I couldnæt believe my eyes when I saw
  940. what happens to the screen during floppy disc accessing. Whether my ARM3
  941. cache is dis- or enabled, in mode 24 the screen either flashes or is
  942. blanked when loading, saving or formatting. If RISCáOS 2 didnæt need to
  943. do this, why is it allowed now? (It did, in fact, happen in mode 21
  944. under RISCáOSá2 ù HE.) Some re-coding is needed, even if the resultant
  945. code is a little slower. More significantly, who was the Acorn person in
  946. authority who thought that it is acceptable in 1993 to produce a
  947. computer which professes to be a Éworld-beateræ which, when using floppy
  948. discs, looks like the Sinclair Spectrum (or was it the ZX81?) reading
  949. from cassette tape circa 1983? This just looks so tacky. I know that
  950. serious use demands a hard disc, but first impressions count for a lot,
  951. and a lot of demonstrations will be on floppy-based A3010æs. This is not
  952. good enough, Acorn.ò
  953. 6.9
  954. Basic program compaction errors
  955. 6.9
  956. R. W. Darlington writes: öI am writing on a matter of utmost urgency.
  957. 6.9
  958. öThere seems to be a growing urge amongst programmers to use a program
  959. compactor on Basic RunImage files. Unfortunately, I know of no Basic
  960. compactor program that does not exhibit a certain disastrous fault.
  961. 6.9
  962. öIf, for instance, a Basic program contains any floating point or pseudo
  963. variables followed by a Basic keyword or statement, then when it is
  964. compacted and the space between the variable and the keyword is removed,
  965. that line will generate an error.
  966. 6.9
  967. öFor instance, if the program contained the line
  968. 6.9
  969. 10 IF TRUE THEN VDU7
  970. 6.9
  971. which when compacted becomes
  972. 6.9
  973. 10IFTRUETHENVDU7
  974. 6.9
  975. the lack of space between TRUE and THEN will generate an error.
  976. 6.9
  977. öThe same is true for any line containing a floating point variable:
  978. 6.9
  979. 10 ha=TRUE
  980. 6.9
  981. 20 IF    ha    THEN    VDU7
  982. 6.9
  983. will crash when compacted because of a lack of space between ha and
  984. THEN.
  985. 6.9
  986. öI have come across numerous examples of RunImage files which have these
  987. errors in them. One of them is Acornæs new RISCáOS 3 !SciCalc. Others
  988. are new versions of Translator and Creator.
  989. 6.9
  990. öPlease can you draw Archive readersæ attention to these problems as
  991. soon as possible? Or, if any reader knows of a Basic compactor that does
  992. not produce these errors, please can they let us know where it may be
  993. obtained?ò
  994. 6.9
  995. Matters Arising
  996. 6.9
  997. Setting Caps Lock (*FX 202)
  998. 6.9
  999. Unfortunately, the advice I gave last month about using *FX 202 may have
  1000. been a bit confusing because, after explaining that Peter Young wanted a
  1001. command to turn Caps Lock on, I then described how to turn it off! The
  1002. command to turn Caps Lock on, leaving the other settings unchanged, is
  1003. *FXá202,0,239.
  1004. 6.9
  1005. The shortened form *FXá202,32 should turn Caps Lock on, but may have
  1006. side effects.
  1007. 6.9
  1008. Note also that, to make sure that the LED indicators are correctly
  1009. updated after a *FXá202 command, it is a good idea to follow it with the
  1010. simple command *FXá118.
  1011. 6.9
  1012. The bits of the keyboard status byte have the following meanings:
  1013. 6.9
  1014.     bit    value    meaning
  1015. 6.9
  1016.     0 (1)    0    Alt off
  1017. 6.9
  1018.         1    Alt on
  1019. 6.9
  1020.     1 (2)    0    Scroll Lock off
  1021. 6.9
  1022.         1    Scroll Lock on
  1023. 6.9
  1024.     2 (4)    0    Num Lock on
  1025. 6.9
  1026.         1    Num Lock off
  1027. 6.9
  1028.     3 (8)    0    Shift off
  1029. 6.9
  1030.         1    Shift on
  1031. 6.9
  1032.     4 (16)    0    Caps Lock on
  1033. 6.9
  1034.         1    Caps Lock off
  1035. 6.9
  1036.     5 (32)        (öNormally setò)
  1037. 6.9
  1038.     6 (64)    0    Ctrl off
  1039. 6.9
  1040.         1    Ctrl on
  1041. 6.9
  1042.     7 (128)    0    Shift enable off
  1043. 6.9
  1044.         1    Shift enable on
  1045. 6.9
  1046. (This information is taken from the RISC¡OSá2 Programmersæ Reference
  1047. Manual.)
  1048. 6.9
  1049. Boot-up options (Archive 6.8 p26)
  1050. 6.9
  1051. Peter Young has suggested that it might be better to use INKEY$ with a
  1052. delay of, say, 5 to 10 seconds instead of GET$ so that, if nobody
  1053. presses a key, the computer will continue with the boot file after a
  1054. short delay.
  1055. 6.9
  1056. Unexpected messages from IDE filing system (Archive 6.8 p24)
  1057. 6.9
  1058. Peter Young (who has a Beebug IDE interface) has confirmed that, even
  1059. after creating space for a directory cache, he still gets unexpected
  1060. messages unless he uses full pathnames. For instance, if he starts with
  1061. the commands
  1062. 6.9
  1063. *DIR IDEFS::IDEDisc4.$.BASIC.B
  1064. 6.9
  1065. *CAT
  1066. 6.9
  1067. he gets a catalogue of the subdirectory ÉBæ as expected. However, if he
  1068. uses the abbreviated pathname instead:
  1069. 6.9
  1070. *DIR $.BASIC.B
  1071. 6.9
  1072. *CAT
  1073. 6.9
  1074. he gets a catalogue of the directory ÉBASICæ even though the heading of
  1075. the directory listing correctly says that the CSD is IDEFS::IDEDisc4.$.
  1076. BASIC.B. The computeræs confusion is further demonstrated by the fact
  1077. that if he then enters:
  1078. 6.9
  1079. *DIR ^
  1080. 6.9
  1081. *CAT
  1082. 6.9
  1083. it replies Directory É@æ not found.
  1084. 6.9
  1085. ÉInterruptæ module (Archive 6.6 p55)
  1086. 6.9
  1087. In March, we reported M. P. Sawleæs request for help in getting the
  1088. Interrupt module (Archive Shareware disc 6) working under RISCáOSá3, but
  1089. since then neither he nor we have heard anything. Does no-one else use
  1090. this module? Can its author help?
  1091. 6.9
  1092.