home *** CD-ROM | disk | FTP | other *** search
/ Archive Magazine 1996 / ARCHIVE_96.iso / text / hints / volume_06 / issue08 < prev    next >
Text File  |  1995-02-16  |  39KB  |  885 lines

  1. Using RISCáOSá3.10
  2. 6.8
  3. Hugh Eagle
  4. 6.8
  5. Encouragement for the faint-hearted!
  6. 6.8
  7. Peter Young says that he is not only electronically illiterate but also
  8. notoriously clumsy and so he left fitting the upgrade for over three
  9. months. When he finally did dare to do it, he found it a lot easier than
  10. he had dreaded Ö he broke nothing and it all worked first time. The only
  11. worrying bit was changing the links, because the diagram was not clear
  12. but a quick call to the suppliers (Beebug) soon put him right. So his
  13. advice for others is: donæt be scared!
  14. 6.8
  15. RISC OSá3.11
  16. 6.8
  17. Newer machines and upgrades are now being shipped with version 3.11 of
  18. the operating system. Barry Thompson says that this clears up a NetUtils
  19. problem which occurs when computers equipped with RISCáOSá3.10 are used
  20. on a network. The problem was that if you opened or extended a file
  21. longer than 64Kb, anything beyond 64Kb was filled with null characters.
  22. Existing network users can obtain a module (NetUtils) from their local
  23. Acorn dealer.
  24. 6.8
  25. Comparing the 3.11 and 3.10 Release Notes, the only other differences I
  26. could find were the following brief notes:
  27. 6.8
  28. Å    DOS partition size ù DOSFS cannot be used with DOS partitions of 32Mb
  29. or larger.
  30. 6.8
  31. Å    Acorn Lisp ù you must issue a *FXá13,11 command before loading Acorn
  32. LISP.
  33. 6.8
  34. Å    Inspiration ù versions of Inspiration up to 1.03 will not run with
  35. RISCáOSá3.10 or later.
  36. 6.8
  37. (I gather that 3.11 also improves the situation with the ADFSbuffers
  38. problem. On a 1Mb machine with 3.10, you are still advised to set
  39. ADFSbuffers to 0. This is no longer necessary with 3.11. Ed.)
  40. 6.8
  41. Programs that work
  42. 6.8
  43. Mah Jong, The Game: Peter Young reports that the problem he mentioned
  44. last month was caused by an inappropriate *FX call which he had inserted
  45. in the !Run file ù so there seems to be nothing wrong with Mah Jong
  46. itself.
  47. 6.8
  48. Hard Disc Companion: Peter Young says that setting an IDEFS cache (see
  49. below) has speeded this up considerably.
  50. 6.8
  51. Ovation: In Archive 6.3 p14, we reported a problem with the printing of
  52. indented lines from Ovation. Ken Cowap has now received a new version of
  53. the program (version 1.37S) which, amongst other things, specifically
  54. cures this particular problem. He says the problem turned out to be due
  55. not to Ovation but to the RISCáOSá3 printer drivers. Although Acorn
  56. acknowledged this, they saw no immediate possibility of a fix, and Risc
  57. Developments very commendably undertook to rewrite part of Ovation.
  58. 6.8
  59. Program problems
  60. 6.8
  61. Aldebaran: Atle Mjelde Bσrdholt says that you must quit all application
  62. tasks first (enter the Task display and Quit all tasks including
  63. Pinboard), then run the game and it will install itself on the iconbar.
  64. He says another solution is to exit the desktop and then type
  65. *!Aldebaran at the command prompt. (Surely, Aldebaran is one of the most
  66. recent games. Can it be true that it doesnæt run from the desktop?)
  67. 6.8
  68. Atle Mjelde Bσrdholt also says that old Minerva games generally
  69. reconfigure your machine. To avoid this, skip the !Boot file and click
  70. on the next file in the sequence (e.g. in Hoverbod BS1 and in Missile
  71. Control Title).
  72. 6.8
  73. Ralph Gibbons finds that Break147 doesnæt work and would like to know if
  74. there is a fix.
  75. 6.8
  76. Mike Cook of Musbury Consultants repeats the point made by David Holden
  77. last month: one reason older programs may not work is that the
  78. abbreviations for some * commands have changed (e.g. *CHA. used to be
  79. *ChannelVoice but is now *ChangeDynamicArea). Running the Obey file
  80. Commands on the RISCáOSá3 support disc is supposed to help but if that
  81. doesnæt, he suggests editing the program. This affects the PD sample
  82. player !DSedit and his own !Sample.
  83. 6.8
  84. Mike Cook also says that another change in the new operating system
  85. resulted in the sampling part of his software not working. This also
  86. affected the real time sound manipulator !Echo and the !Scope storage
  87. oscilloscope. Any readers with the original programs can send him a disc
  88. for a free upgrade. His address is 5áHelmshoreáRoad, Haslingden,
  89. Rossendale, Lancashire, BB4á4BG.
  90. 6.8
  91. Last month, we listed Powerband and Saloon Cars as not working. Rob
  92. Brown says that Fourth Dimension can supply RISCáOSá3 compatible
  93. replacements (for ú2 per program, he thinks).
  94. 6.8
  95. Donæt forget that Rob Brown would welcome any contributions to his
  96. compatibility chart, periodic updates of which will be included on the
  97. Archive monthly program disc. His address is öValtaneeò, BrightonáRoad,
  98. LoweráKingswood, Tadworth, Surrey, KT20á6UP.
  99. 6.8
  100. Printing
  101. 6.8
  102. öVDU 2ò printing
  103. 6.8
  104. David Holden says that, although VDU 2 printing still works with
  105. RISCáOSá3, it appears to monopolise the computer until printing is
  106. finished. He has noticed that a couple of his programs that used to
  107. multi-task, no longer do so and BBC emulator programs take a lot longer
  108. to return control to the operator, even if using a printer buffer.
  109. 6.8
  110. Printer buffering
  111. 6.8
  112. Are the points in the previous paragraph perhaps connected to the non-
  113. functioning of the RISCáOSá3 printer buffer mentioned last month? Or are
  114. there further problems? Has anyone got a fix for it or them? The
  115. questions seem endless!
  116. 6.8
  117. Ralph Gibbons used to find a printer buffer routine (written by Anton
  118. Calver and on Careware 5 & 7) very useful under RISCáOSá2. Does Anton
  119. read Archive? Has he updated his routine to run under RISCáOSá3?
  120. 6.8
  121. BJ330
  122. 6.8
  123. In answer to Tord Erikssonæs plea (Archive 6.6 p56), Brian Cocksedge
  124. recommends the Computer Concepts Turbo Driver (ú53 through Archive).
  125. This produces much quicker printouts. The printer should be set to IBM
  126. emulation (he understands this gives a better quality printout). The
  127. stripes in graphics areas are a feature of the BJ printers due to minor
  128. mechanical errors in the feed mechanism and the momentum of the print
  129. head.
  130. 6.8
  131. To print A3, as well as setting the paper size in the printer
  132. preferences window, you have to tell the printer the size. Brian does
  133. this by sending öEsc,C,99ò to the printer via a small Obey file
  134. containing the commands:
  135. 6.8
  136. *FX 138,27
  137. 6.8
  138. *FX 138,67
  139. 6.8
  140. *FX 138,99
  141. 6.8
  142. LaserDirect
  143. 6.8
  144. Steve Hutchinson experienced the same spurious lines that Roger King
  145. reported in Archive 6.5 p31. He was told by CC that this was due to the
  146. LaserDirect card not being happy in its podule slot. Rearranging podules
  147. solved it for him.
  148. 6.8
  149. Photocopying via LaserDirect
  150. 6.8
  151. Tim Powys-Lybbe received version 2.09b of the LaserDirect software,
  152. which cleared up the problems with print quality. However, his scanner
  153. will now not do a photocopy at all, reporting (even with 3 Mb free) that
  154. there is not enough free memory to do a photocopy. If he reverts to
  155. version 2.05a, photocopying continues to work fine.
  156. 6.8
  157. Disc drives
  158. 6.8
  159. Speeding up an IDE drive
  160. 6.8
  161. After he upgraded to RISCáOSá3, Peter Young initially found his IDE
  162. drive (with a Beebug interface) to be very slow but eventually
  163. discovered that setting an IDE cache speeded things up considerably. The
  164. command to set it is:
  165. 6.8
  166. *Configure IDEFSDirCache 16k
  167. 6.8
  168. Before he created the cache, Peter was getting strange messages like dir
  169. ö@ò not found when he specified directories at the command line with
  170. references like $.xxx... rather than IDEFS:: IDEDisc4.$.xxx.... Since he
  171. is now religiously using full pathnames, he doesnæt know whether
  172. creating the cache might have solved the problem.
  173. 6.8
  174. Peter says he still doesnæt really know whether what he wants is a cache
  175. or a buffer. Can anyone throw any light on exactly what they do and what
  176. the optimum sizes are for each in different circumstances? (Since
  177. configuration options are provided, presumably one is expected to use
  178. them, but when and how?)
  179. 6.8
  180. SCSI discs
  181. 6.8
  182. Andrew Shell encountered the same problems as Philip Lardner (Archive
  183. 6.6 p56) with copying, moving or deleting files to, from, or in the root
  184. directory. By resetting his configuration so that *Status reads:
  185. 6.8
  186.     SCSIFSDirCache     16k
  187. 6.8
  188.     SCSFSdisks         1
  189. 6.8
  190.     SCSIFSDrive        4
  191. 6.8
  192.     File System    SCSI
  193. 6.8
  194. (and using !Configure to set öSCSI hard discsò toá1) he thought he had
  195. solved the problem. All now seems to work correctly so far as saving,
  196. copying and deleting are concerned. However, when he tried the Find
  197. command on the !FONTS directory he got a sequence of finds reading
  198. ö...!Boot.!FONTSò, ö...!Boot.!FONTS.!FONTSò, ... ,
  199. ö.....!FONTS.!FONTS,!FONTSò, etc. He also had a similar problem with the
  200. Stamp command. Does anyone have any solutions?
  201. 6.8
  202. SCSIFiler and Set Alias$Free
  203. 6.8
  204. Following the hints in past months involving these, P. N. Cousins would
  205. like to know: what is the SCSIFiler module for and how does the Set
  206. Alias$Free hint (Archive 6.5 p27) work?
  207. 6.8
  208. Tim Nicholson has noted that using the SCSIFiler module (as recommended
  209. in Archive 6.7 p44 and elsewhere) has the added advantage that it gives
  210. the interactive window for Verify and reads the disc name at start-up
  211. and shows the name under the iconbar icon.
  212. 6.8
  213. 5╝ö drive interfaces
  214. 6.8
  215. Gordon Lindsay-Jones has found, with the help of his dealer, a
  216. replacement for his Watford interface: the one from Risc Developments
  217. works and is, he feels, a superior product. Apart from other advantages,
  218. it has seven switches with which to set the external drive
  219. configurations and comes with instructions on the settings required.
  220. 6.8
  221. D. S. Allen and Philip Foster have both written to say that the Watford
  222. interface can be fixed by cutting some wires! D. S. Allen knows of ötwo
  223. people that have cut the right hand two wires (as viewed facing the
  224. computer front) of the cables from the Watford board to the computer
  225. board and also the one from the Watford board to the internal disc
  226. drive. Both drives work all right after this.ò Philip Foster describes
  227. the solution as öcutting through the two end wires (furthest from the
  228. red marker wire and next to the 20ápin removable PAL ROM) of the ribbon
  229. cable running from the mother board to the interface board.ò He adds
  230. that öas this is clearly a somewhat irreversible actò he would suggest
  231. ringing Watford to confirm before you do it.
  232. 6.8
  233. Miscellaneous hints and tips
  234. 6.8
  235. Use of the Copy key
  236. 6.8
  237. Richard Torrens writes: öWe all know that, in a writable icon, <Copy>
  238. deletes the character to the right of the caret. Did you know that
  239. <Shift-Copy> deletes to the end of the current word and <Ctrl-Copy>
  240. deletes to the end of the current line?ò
  241. 6.8
  242. How much space for a desktop program?
  243. 6.8
  244. P. N. Cousins would like to know how you know how much memory you need
  245. to use when writing programs that run under the desktop. In my
  246. experience, allocating too small a WimpSlot can lead to some most
  247. perplexing error messages, so I would certainly like to know if there is
  248. a foolproof answer. My solution is trial and error: first I estimate how
  249. much space is needed for the program code plus variables and workspace
  250. for sprites, etc, then I set the WimpSlot somewhat larger than my
  251. estimate and repeatedly reduce it (32Kb at a time) until the program
  252. crashes. Not very scientific, but it generally works.
  253. 6.8
  254. Miscellaneous
  255. 6.8
  256. All these hints are from Rob Davison:
  257. 6.8
  258. I have a couple of lines in my application !Run files like this...
  259. 6.8
  260. SET Titler$RiscOs3 yep
  261. 6.8
  262. RMENSURE UtilityModule 3.10 SET Titler$RiscOs3 nope
  263. 6.8
  264. ...and near the start of !RunImage, something like the following:
  265. 6.8
  266. DIM block% &C00
  267. 6.8
  268. SYS öXOS_GSTransò,ö<Titler$RiscOs3>ò,block% ,&C00 TO,,l%
  269. 6.8
  270. block%?l%=&0D
  271. 6.8
  272. IF $block%=öyepò THEN newos%= TRUE ELSE newos%=FALSE
  273. 6.8
  274. SYSöXOS_CLIò,öUNSET Titler$RiscOs3ò
  275. 6.8
  276. Å    There are several other configuration options which are not accessible
  277. in !Configure that allow you to setup your system more exactly in the
  278. area of double-click delays, etc.
  279. 6.8
  280. One of the more interesting ones which may be useful to those people who
  281. are new to RISCáOS, is WimpMenuDragDelay which sets the time in 1/10
  282. second units for which menu activity is disabled after a menu has been
  283. automatically opened. This enables the pointer to move over other menu
  284. entries without cancelling the submenu. To change it, you need to use
  285. the command line (remember that thing?) Syntax:
  286. 6.8
  287. *Configure WimpMenuDragDelay <delay>
  288. 6.8
  289. Å    There is an in-built rolling credit list of all the people involved in
  290. the creation of the Operating System. It is accessed by bringing up the
  291. Éinfoæ dialog box for the operating system (accessible from the task
  292. manager menu) and clicking with <menu> on the characters Étæ Éeæ ÉAæ and
  293. Émæ in that order in the string É⌐ Acorn Computers Ltd 1992.æ If nothing
  294. happens after a couple of seconds, re-open the menu and try again.
  295. 6.8
  296. (Click with <menu>? Ö thatæs against Acornæs guidelines surely?!)
  297. 6.8
  298. However, if you just bring up the dialog box and click <menu> off any of
  299. the icons (e.g. on the grey window background) then the Task Manager
  300. aborts and the only way to recover a normal machine is to press <ctrl-
  301. reset>. (Oops!)
  302. 6.8
  303. Boot-up options
  304. 6.8
  305. An item on Peter Youngæs wish list for RISCáOSá4 is the ability to call
  306. different !Boot sequences by pressing user-defined keys at power-on. I
  307. agree that it would be useful to have this built into the operating
  308. system. However, it is already quite easy to achieve a similar result. I
  309. know that some people find Ian Copestakeæs !TWO very useful for this
  310. purpose. Alternatively, you can ödo it yourselfò without too much
  311. difficulty. Assume, for example, that you have saved two Desktop boot
  312. files called Plain and Fancy in a directory called BootFiles. Then
  313. create a Basic file in the root directory called !Boot reading as
  314. follows:
  315. 6.8
  316. CLS
  317. 6.8
  318. PRINTÉæöChoose one of the
  319. 6.8
  320. following sets of
  321. 6.8
  322. Boot-up preferencesöÉæ
  323. 6.8
  324. PRINTö   1.  Plainò
  325. 6.8
  326. PRINTö   2.  Fancyò
  327. 6.8
  328. PRINTÉæöType 1 or 2ò
  329. 6.8
  330. A$=GET$
  331. 6.8
  332. CASE A$ OF
  333. 6.8
  334.  WHEN ö1ò:OSCLI(öDesktop -File $.BootFiles.Plainò)
  335. 6.8
  336.  WHEN ö2ò:OSCLI(öDesktop -File $.BootFiles.Fancyò)
  337. 6.8
  338.  OTHERWISE: OSCLI(öDesktopò)
  339. 6.8
  340. ENDCASE
  341. 6.8
  342. There are numerous variations on this theme. You can use negative INKEY
  343. values to test for a key being held down rather than waiting for a
  344. keypress with GET$. If you like, you can put Plain and Fancy in, say,
  345. the !System directory instead of creating a new directory, or you can
  346. rename the Basic file !Run, create a directory called !Boot and move
  347. !Run into it along with Plain and Fancy.
  348. 6.8
  349. Obviously, you can adapt this idea to suit your purposes, but beware of
  350. pressing R or <Delete> when you switch the computer on, since these will
  351. reset your configuration!
  352. 6.8
  353. Splitting the boot sequence into two parts like this was recommended
  354. last month for making sure that the SCSIFiler module is properly
  355. installed before the desktop is initialised.  It also opens up a number
  356. of other possibilities....
  357. 6.8
  358. It has always seemed to me that the usefulness of the facility for
  359. automatic saving of desktop boot files is limited (a) because they tend
  360. to get cluttered up with unnecessarily opened directories and booted
  361. applications, and (b) because they omit necessary things like virus
  362. protection modules, extra screen modes, etc. Problem (a) can be reduced
  363. by making sure that you only open those directories that you want open
  364. and boot those directories that you want booted before you save the
  365. desktop boot file (the equivalent of Plain or Fancy in the above
  366. example); (b) can be solved by following the two-stage approach and
  367. putting the more technical bits in a hand-crafted pre-desktop !Boot
  368. file, which you will probably not want to change very often, while the
  369. desktop boot file is left simply to run applications, open directories
  370. and fire up the pinboard.
  371. 6.8
  372. So far as I can see, you will still need to do some hand-editing of the
  373. desktop boot file if you want a nonö-RISCáOSá3 awareò application to be
  374. booted or run automatically. Alternatively, you can get an application
  375. to auto-boot by having the desktop boot file automatically open the
  376. directory that the application is in. Furthermore, you can get the
  377. application to run automatically by editing its own !Boot file to run
  378. the !Run file.
  379. 6.8
  380. Tim Nicholson notes that you must also split the boot sequence into two
  381. parts if you want to follow the suggestion in the March Acorn User for
  382. altering the desktop initialisation banner.
  383. 6.8
  384. In Archive 6.5 p33, Colin Singleton reported problems with trying to
  385. switch from one öworldò to another by double-clicking on a second boot
  386. file. He has concluded that you must reset the computer first, since
  387. running the second boot file doesnæt clear memory first: it simply tries
  388. to add the applications listed in it to those that are already running.
  389. 6.8
  390. Finally, to end this section on boot files, a quote from Colin
  391. Singleton, with whom I have a lot of sympathy: öThe autoboot facility is
  392. not much use if it does only half the job. I need to be able to
  393. understand what it has produced and to patch it up accordingly. I might
  394. as well carry on using my old boot file, which is what I am doing. The
  395. new feature is useless (and very confusing) for those users who do not
  396. know how to build a boot file. Perhaps in time all software will be
  397. Éawareæ of boot files, then the feature will be useful.ò
  398. 6.8
  399. ARM3 too fast for Watford scanner (?)
  400. 6.8
  401. Mr A. Shell found that, after he upgraded to RISCáOSá3 and installed an
  402. ARM3, his Watford Electronics Hand Scanner 1990, Issue 2 (using a Geni
  403. Scan-4500) stopped working. However, he has found that after entering
  404. the command *Cacheáoff, the scanner works perfectly. When the scanning
  405. is finished, *Cacheáon  speeds the processing up.
  406. 6.8
  407. Zooming in Draw
  408. 6.8
  409. When I acquired Artworks, I thought one of its neatest features was the
  410. ability to use the mouse to mark the area into which you want to zoom.
  411. Now, I have found while reading the manual (Applications Guide p48) that
  412. Draw does just the same ù in fact, it goes one better, because you donæt
  413. need to select a zoom tool first, you just hold down <shift> and drag
  414. with <adjust>. To return to your previous scaling you use <Ctrl-R>; the
  415. manual also describes various other hot-key combinations to adjust the
  416. scaling.
  417. 6.8
  418. Turning CapsLock off
  419. 6.8
  420. Peter Young has a few old, and some not so old, programs which will only
  421. take upper case input, and putting *FX202,1 into the !Run file meant,
  422. with RISCáOSá2, that he didnæt have to remember to press capslock first.
  423. In RISCáOSá3, this call seems to turn off keyboard input entirely,
  424. though it occasionally produces input different from what is typed for a
  425. couple of presses before it crashes the machine.
  426. 6.8
  427. I think, if I have interpreted the Programmersæ Reference Manual
  428. correctly (pages 511-512 in the RISCáOSá2 manual), that the correct code
  429. to turn capslock off while leaving the other keyboard settings unaltered
  430. is *FX 202,16,239; the command *FX 202,16 will turn capslock off but may
  431. alter some of the other settings.
  432. 6.8
  433. What *FX 202 does is to alter the ökeyboard status byteò. If the command
  434. is given in the form *FXá202,R1,R2 then R2 controls which bits of the
  435. status byte are changed and R1 supplies the new bits. In technical
  436. terms, the new value of the status byte is made equal to
  437. 6.8
  438. (the old value AND R2) EOR R1
  439. 6.8
  440. Therefore, to force a particular bit in the status byte to adopt value n
  441. (either 0 or 1) you leave that bit unset in R2 and made equal to n in
  442. R1; to leave a bit unchanged you set it in R2 and unset it in R1.
  443. 6.8
  444. Capslock is controlled by bit 4 (the one with value 16), so to set it
  445. (thus turning capslock off) you use the values 239 (= 255 minus 16) and
  446. 16 for R2 and R1 respectively.
  447. 6.8
  448. The shortened form of the command, *FX 202,R1 has the same effect as *FX
  449. 202,R1,0
  450. 6.8
  451. (Itæs not clear to me why *FX 202,1 should have worked either in
  452. RISC¡OSá2 or on the BBC.)
  453. 6.8
  454. Editing !Run files
  455. 6.8
  456. Peter Young asks if one is allowed to amend the !Run files of commercial
  457. programs. My answer is that there is no reason at all why you shouldnæt,
  458. so long as you know what you are doing. You could, for instance, include
  459. a command to turn capslock off (see above) or a command to run a printer
  460. driver automatically. Some programs allow you to change preferences by
  461. setting up system variables in the !Run file. In RISCáOSá2, some people
  462. even amended the !Run file of Acornæs !Edit to make it run on a system
  463. with lots of fonts.
  464. 6.8
  465. ROM Speed
  466. 6.8
  467. Seßn Kelly writes that the old ROM speed up trick still works on some
  468. computers with RISCáOS 3.1. On an Archimedes, the ROM speed can be read
  469. with the following Basic lines:
  470. 6.8
  471. SYS öOS_UpdateMEMCò,0,0 TO R%
  472. 6.8
  473. PRINT (R% AND &C0) DIV &40
  474. 6.8
  475. The lowest speed is 0, the highest 2 Ö the MEMC data sheet defines a
  476. value of 3 as Énot meaningfulæ although it appears to have the same
  477. effect as 2. The speeds are not absolute, but depend on the computeræs
  478. memory clock speed. On old A440, RISCáOS 3.1 selects a value of 2, so no
  479. speed up is possible, but on an A5000, a value of 1 is set by RISCáOS
  480. 3.1 and changing this to 2 increases the machineæs speed by about 5%.
  481. 6.8
  482. The ROM speeds can be set by using:
  483. 6.8
  484. SYS öOS_UpdateMEMCò,&00,&C0: REM slowest, speed 0
  485. 6.8
  486. SYS öOS_UpdateMEMCò,&40,&C0: REM speed 1
  487. 6.8
  488. SYS öOS_UpdateMEMCò,&80,&C0: REM fastest, speed 2
  489. 6.8
  490. These lines are included as programs on the monthly program disc,
  491. together with the short program called ACK which, on Seßnæs un-sped-up
  492. A5000, executes in about 1 second. Double-clicking on one of the speed
  493. changers followed by ACK will show how the different speeds affect your
  494. computer. An A5000 appears to run at speed 2 with no problems. Program
  495. Speed2 can be automatically run by !Boot, providing a slight performance
  496. boost to A5000s.
  497. 6.8
  498. RMFaster-ing
  499. 6.8
  500. Seßn Kelly also reports that *RMFaster on certain modules, such as
  501. Basic, can produce a useful increase in speed for applications that read
  502. the ROM a lot. Without an ARM3, the speed increase can be very large Ö
  503. with the cache off, he has found Basic programs that run over 30% faster
  504. with Basic in RAM. With the cache on, the increase tends to be about 5%,
  505. so RMFaster-ing on an ARM3 machine is really a waste of memory unless
  506. time is really important.
  507. 6.8
  508. Interestingly, both ROM speed-ups and RMFaster-ing only produce a slight
  509. speed increase, typically 5%, on an ARM3 machine. This appears to show
  510. that the cacheæs hit rate is very high.
  511. 6.8
  512. Also on the program disc ...
  513. 6.8
  514. Also on the monthly program disc are a number of utilities from Rob
  515. Davison: SmoothM ù a relocatable module which averages mouse coordinates
  516. and is ideal for use in pixel-based art packages such as Paint or
  517. Artisan. To use it, double click on the module and enable averaging with
  518. the command *SmoothON. To restore normal use, enter the command
  519. *SmoothOFF. This module is public domain and is, in fact, based on an
  520. article which appeared in Archive 1.5 (February 1988) by Malcom
  521. Banthorpe.
  522. 6.8
  523. SolDrag and NormDrag are short programs to turn solid sprite dragging on
  524. and off.
  525. 6.8
  526. Tools and 22Sprites are modified toolsprites and high resolution icon
  527. sprites.
  528. 6.8
  529. Some Bugs
  530. 6.8
  531. First, from Rob Davison:
  532. 6.8
  533. There are quite a number still in the operating system. Most are very
  534. obscure, but some are quite serious and one may be slightly embarrassing
  535. to Acorn! Hopefully, they will do a ÉRISCáOS 3 Extras discæ to fix the
  536. more important ones.
  537. 6.8
  538. Å    Impression style icons Ö There is a serious bug in this part of the
  539. window manager. If the application you are writing uses a dialog box
  540. similar to the in-built applications (e.g. Edit) when quitting, but
  541. including the new style icons, the operating system reports an abort on
  542. Data transfer after the application has quit. The solution is to close
  543. and delete all windows yourself and call Wimp_Poll enough times to
  544. ensure that they have all gone before quitting.
  545. 6.8
  546. Å    Paint Ö Load the application and repeatedly create 256 colour sprites
  547. of 128x64 pixels. Paint bombs (usually) when the sixth sprite is created
  548. with an ÉUnrecoverable internal error SpriteExtend: Bad pixel
  549. translation tableæ.
  550. 6.8
  551. The only good point is that your file is preserved in Wimp$ScrapDir
  552. before Paint dies.
  553. 6.8
  554. The problem mentioned in Archive, where the name in the save dialog box
  555. is corrupted in some circumstances, still exists.
  556. 6.8
  557. Å    !Edit Ö This is a fairly worrying one (R.áW.áDarlington has found
  558. similar problems). Edit has had the same bug since its first release in
  559. RISCáOS 2.00. Sometimes, the text window is not redrawn properly and the
  560. caret can appear to be on a different line. Text is deleted or inserted
  561. at the wrong place and it can sometimes be quite a while before you
  562. realise what is going on. I encounter this problem much more now because
  563. of the excellent facilities for editing Basic programs. If Acorn canæt
  564. get windows to redraw correctly in all circumstances, what chance do the
  565. rest of us have? (Quick fix: press <f12>, <return>, <return> before
  566. doing any major editing.)
  567. 6.8
  568. Å    Operating system bugs Ö I have one (and only one) 800Kb ÉEæ format
  569. disc which works and verifies fine on RISCáOS 2.00 whereas RISCáOS 3.00
  570. and 3.10 absolutely refuse to look at it and tell me ÉDisc not
  571. formattedæ.
  572. 6.8
  573. I have managed to get the dreaded ÉAbort on Data transferæ while using
  574. interactive file copying but only under extreme provocation. It was much
  575. more common in 3.00!
  576. 6.8
  577. There is another problem where, if you set the MOUSE RECTANGLE to allow
  578. the pointer off the left of the screen and then record button clicks,
  579. the y-coordinate is set to Ö1 with the first returned button click. E.g.
  580. 6.8
  581. *POINTER 1
  582. 6.8
  583. MOUSE RECTANGLE -1000,-1000,2000 ,2000
  584. 6.8
  585. MOUSE TO 100,500
  586. 6.8
  587. REPEAT
  588. 6.8
  589. MOUSE x%,y%,b%
  590. 6.8
  591. PRINTTAB(0,0);öx=ò;x%;ö  ò
  592. 6.8
  593. PRINTTAB(0,1);öy=ò;y%;ö  ò
  594. 6.8
  595. PRINTTAB(0,2);öb=ò;b%;ö  ò
  596. 6.8
  597. UNTIL b%<>0
  598. 6.8
  599. END
  600. 6.8
  601. Run this and move the pointer off the left of the screen. Click a button
  602. and the displayed y coordinate changes to Ö1 regardless of the last
  603. position. (The solution is to do another mouse read immediately after
  604. the UNTIL and use the values returned from that.)
  605. 6.8
  606. Next, from Seßn Kelly:
  607. 6.8
  608. !Paint has two bugs related to deleting rows and columns in sprites. The
  609. first is that when columns to delete are selected by dragging right with
  610. the mouse, it is not possible to delete the rightmost column of the
  611. sprite (no matter how far it is zoomed in). The second is that, when
  612. dragging rows to delete downwards, the topmost row (where the operation
  613. was started) is not deleted.
  614. 6.8
  615. If there is data in the RAM filing system, RISCáOS 3.1 complains if you
  616. attempt to leave the desktop by selecting EXIT from the task manager
  617. menu, although the RAMFS is not affected.
  618. 6.8
  619. Sometimes, a RAMFS filer window stays on screen when the RAMFS has been
  620. killed.
  621. 6.8
  622. Finally, from R. W. Darlington:
  623. 6.8
  624. When I load so many items on the iconbar that it has to scroll to reach
  625. opposite ends and I then delete an item from the middle of the list, I
  626. sometimes finds that as well as the deleted one disappearing, other
  627. icons disappear leaving only their names. Also, all the directory icons
  628. and application icons disappear from directory viewers leaving only
  629. their names as reminders as to what is there.
  630. 6.8
  631. In !Paint, when I try to x-scale or y-scale a sprite, I find that it
  632. takes one column off the right hand edge and puts it at the left hand
  633. edge.
  634. 6.8
  635. Has anyone else experienced these or other bugs?
  636. 6.8
  637. Matters Arising
  638. 6.8
  639. Alarm (switching between GMT and BST)
  640. 6.8
  641. (Archive 6.3p15 / 6.5p35) Colin Singleton confirms that the alarm set
  642. for 1áa.m. on 7th Februaryá1994 is to remind you to set the BST on and
  643. off dates in 1994.
  644. 6.8
  645. Donæt worry: you donæt have to stay up to catch this alarm: it will come
  646. up when you next switch the computer on.
  647. 6.8
  648. Ken Cowap has sent in a description which he hopes will complement the
  649. rather brief instructions in the Applications Guide (p132) on this
  650. rather convoluted facility:
  651. 6.8
  652. When this option is selected, Alarm will automatically switch between
  653. GMT and BST times on the dates you specify. Click on the arrows to
  654. change the time, day, month and year.
  655. 6.8
  656. Entries must be for one calendar year only even though the öBST starts
  657. on:ò date may already have passed. Any such past date will be ignored
  658. but must be entered nevertheless.
  659. 6.8
  660. As the changeover dates are liable to undefined variation from year to
  661. year, Alarm will issue a warning during the month prior to that of the
  662. next yearæs first expected changeover.
  663. 6.8
  664. The warning will be recorded in the Alarm Browser Window as öApplication
  665. alarm set by Alarmò, and the dates/times of valid changeover(s) will
  666. still be activated. These alarms appear in dark grey and cannot be
  667. selected. When the warning is activated, a message appears saying: öThe
  668. dates for entering and leaving BST are no longer valid and should be
  669. reset as soon as possible.ò and two options are offered: öReset them
  670. laterò and öReset them now.ò The warning will be repeated automatically
  671. at 24 hour intervals until öReset them nowò is selected and the dates
  672. and times are reset.
  673. 6.8
  674. Ken warns that anyone wanting to experiment by setting the system clock
  675. into the future should take care to back up their alarms first, since a
  676. ömove into the futureò will activate and lose all alarms set to go off
  677. before that date. Also note that there is a long delay accompanied by
  678. unexplained hourglass activity before the warning notice appears.
  679. 6.8
  680. Impression dongle
  681. 6.8
  682. (Archive 6.5 p32) Colin Singleton has been assured by Computer Concepts
  683. that shorting the pins of the Impression dongle can do no harm.
  684. Switching the computer off while Impression is running can cause
  685. problems. Apparently, the reason is that Impression continually checks
  686. that its dongle is present and, if it happens to be checking when power
  687. is lost, the dongle is liable to receive a burst of static which renders
  688. it inoperable. This will drain away if you leave it for a time (perhaps
  689. a few hours) but the quick cure, according to CC, is to short the lines
  690. to each other using a small coin rubbed against the rows of male pins.
  691. Colin recommends removing the dongle from both the machine and the
  692. printer first.
  693. 6.8
  694. Getting the hare and tortoise into step
  695. 6.8
  696. (Archive 6.6 p59) Jim Nottingham has written in response to my plea...
  697. öthe solution is to fire up the computer in slow mode with a *Configure
  698. Cache off command and run the !Arm3 application in the Boot file. This
  699. brings up the computer with the cache on and the hare on the iconbar. If
  700. you want the computer to boot up with the Arm3 cache off, add *Cache off
  701. to his Boot file after running the Arm3 application.ò
  702. 6.8
  703. Well! I must be completely dense. Iæve tried to follow these
  704. instructions to the letter. I have typed *Configure Cache off at the
  705. command line (and *Status confirms that the cache configuration is
  706. öoffò) and I have a !Boot file (file type öDesktopò) the first two lines
  707. of which read:
  708. 6.8
  709. Filer_Boot ADFS::Four.$.!System
  710. 6.8
  711. RUN system:!Arm3
  712. 6.8
  713. When I boot up, the cache is off and the tortoise on the iconbar. When I
  714. click once on the tortoise, the cache is turned on, but the tortoise
  715. stays. When I click a second time, the hare appears but the cache is
  716. turned off. Adding Cache on as the next line of the !Boot file doesnæt
  717. seem to help. What do I do next (apart from swapping the names of the
  718. two icons as Iæve suggested before!)?
  719. 6.8
  720. Pinboard backdrop sprites
  721. 6.8
  722. In Archive 6.4 p12, R. W. Darlington gave a suggested modification to
  723. the !Boot file which results in a different backdrop being shown each
  724. time the computer is reset. His method causes the available sprites to
  725. be chosen in strict rotation. Geoffrey Rimmer has suggested a variation
  726. of the same idea which would choose one of the sprites at random.
  727. 6.8
  728. Assuming, as before, that there are 75 sprites called Sprit00 to Sprit74
  729. in the directory PinSp, his suggested code is:
  730. 6.8
  731. Set S$ <Sys$Time>
  732. 6.8
  733. SetEval S$ S$ RIGHT5
  734. 6.8
  735. SetEval NN STR(VAL(S$ RIGHT2 + S$ LEFT2)MOD 75)
  736. 6.8
  737. If LEN(NN)=1 Then SetEval NN ö0ò +NN
  738. 6.8
  739. SetEval Tile$Name öSpritò+NN
  740. 6.8
  741. Pinboard
  742. 6.8
  743. Backdrop -T ADFS::4.$.PinSp. <Tile$Name>
  744. 6.8
  745. Finally ...
  746. 6.8
  747. Page 140 of the User Guide says that the example commands to set
  748. Alias$@PrintType and Alias$@RunType variables must have trailing spaces.
  749. Does anyone know why?ááA
  750. 6.8
  751. Supermarket Ö In Four Languages
  752. 6.8
  753. Alex Thomas
  754. 6.8
  755. This review is a language teacheræs perspective on the ÉSupermarketæ
  756. language programs produced by New Era Software in four languages
  757. (English, French, German and Spanish).
  758. 6.8
  759. Surely, I thought, this must be every modern language teacheræs dream
  760. software for the Archimedes. Just think of the realistic situations set
  761. against the background of shopping in a supermarket which could meet the
  762. demands of the National Curriculum (Modern Languages and IT) and the
  763. GCSE syllabuses. This disc must, I thought, deal with asking for
  764. particular items, quantities, containers, problems at the checkout,
  765. queries about the bill, breakages, complaints, special offers, coupons,
  766. shoplifting, advertising, job vacancies Ö the potential is tremendous.
  767. 6.8
  768. With my mind buzzing with such expectations, I was eager to try out this
  769. program with a class, so I sat down after school to run through it and
  770. plan some meaningful tasks. I was hoping to use the German version, so
  771. that was where I started. I needed to enter the shop name and a message
  772. to go on the till receipts Ö everything was in German, so I was feeling
  773. very positive about the program. (The function keys are used for accents
  774. in all the languages.) The next screen asked for information about what
  775. is bought, the price, the amount tendered, method of payment Ö still all
  776. in German, as are the print commands, etc.
  777. 6.8
  778. Having entered some information, I printed it out Ö a very basic till
  779. receipt with my list of items and prices, which are totalled with the
  780. amount of change calculated and my message from the first screen (thank
  781. you). It was much the same as all those till receipts I have brought
  782. back from various trips in recent years, except that at least the pupil
  783. has to enter the items bought and understand approximately twenty items
  784. of vocabulary which appear on the screen for each öcustomerò.
  785. 6.8
  786. I began to plan tasks for my beginners using the printouts. One pupil
  787. could produce one and the others ask questions to find out the prices.
  788. We could produce them for different shops and compare prices.... but
  789. then, I have a cupboard full of attractive, colourful supermarket
  790. advertising leaflets from Germany, in class sets, surely it would be
  791. better to use them!
  792. 6.8
  793. I decided to go back to the program to see what else it has to offer
  794. which the GCSE sets could use. I pressed öclearò to see what happened Ö
  795. the chance to enter another list of items and prices! Since the computer
  796. totals the prices and works out the change, you canæt even work on
  797. complaints at the checkout, except by pretending that the wrong price
  798. was entered.
  799. 6.8
  800. There is no list of acceptable items, so there is no spellcheck, it
  801. accepts complete nonsense Ö an item is any set of letters, a price any
  802. number. There are no graphics, no variations on the basic layout and
  803. content, nothing which will interest the pupils or give them a sense of
  804. achievement, unless the teacher spends hours devising speaking tasks
  805. based on till receipts.
  806. 6.8
  807. Is it worth taking the whole class to the computer room to produce a
  808. till receipt, or devising a flexible learning lesson with a variety of
  809. small group activities so that this program can be used on the one
  810. computer in my room? No, definitely not. I have some much better ideas
  811. based on my wide selection of realia!
  812. 6.8
  813. The programæs handbook suggests many sophisticated possibilities using
  814. product files and bar codes which may be valid for teachers of
  815. Technology, etc to develop. However, as a language teacher, I have not
  816. yet found the time to work on these areas which seem to have little to
  817. do with communication, verbal or written. In case I was too hasty in my
  818. rejection of this program, I decided to use it with a class anyway. The
  819. first pupil (below average year 9) got to the printing stage and said
  820. öNow what?ò Ö öThatæs all it doesò, I replied. He returned to his group
  821. to do the structured oral tasks I had set up, showed them his till
  822. receipt and the rest asked, öWouldnæt it be quicker if we just wrote one
  823. out miss?òááA
  824. 6.8
  825. Hints and Tips
  826. 6.8
  827. Å    A5000 serial port problems Ö Several of you will have experienced
  828. problems with dead or dying serial ports on their A5000s. Acorn are
  829. aware of problems on early A5000 p.c.b.s and have a fix for them.
  830. However, there are still some problems with static. Until Acorn find a
  831. solution, the best we can do is take suitable precautions. (1) Use
  832. braid-screened cable and connect the braid to the connector shells at
  833. both ends. Also, never connect a cable when the machine at either end is
  834. switched on. Always switch on both devices after the cable has been
  835. connected.
  836. 6.8
  837. Å    Filer_CloseDir Ö On my 4Mb A3000, I like to open Érelatedæ windows to
  838. various programs and then close them again when finished, by using
  839. Filer_OpenDir <pathname> <position> and Filer_ CloseDir <pathname>
  840. respectively. I put these commands in the !Run file of !BJ10e Turbo
  841. Drivers, one before the command to run !Runimage and the other after.
  842. Readers should be warned that the command Filer_CloseDir clashes with
  843. CCæs Turbo Driver (v2.09b) when using their Compression filing system
  844. (CFS) (v1.17). If the Turbo driver is loaded first and then CFS, you
  845. will find that, when trying to quit the Turbo Driver, it goes into an
  846. error loop with SWI &43303 not known and only a <ctrl-break> or <reset>
  847. will release the computer so you lose all unsaved files, etc. No problem
  848. occurs when they are loaded in reverse order or when Filer_ CloseDir is
  849. deleted from the !Run file of !BJ10e.
  850. 6.8
  851. Does anyone know whether any other programs clash with Filer_CloseDir?á
  852. Brian Cocksedge, Midhurst.
  853. 6.8
  854. Å    Filofax printing Ö We had a letter printed on a piece of Filofax paper
  855. which proved that you can do so with a Canon BJ200 with CCæs Turbo
  856. Driver software using a custom page size of 95 ╫ 165 mm. If you use
  857. Impression (II or Junior), it shows the print area so it is easy then to
  858. create a suitable frame and choose a small typeface (say, 8 pt) and view
  859. the page at 200%.á Brian Stewart, Nairn.
  860. 6.8
  861. Å    Inkjet printing Ö When inkjet/bubblejet printouts need a relatively
  862. large amount of ink, the paper can become a little wrinkled. To remove
  863. the wrinkles, pass the paper through a laser printer by printing a blank
  864. page. This calendars the paper to its original smooth finish.á George
  865. Foot, Oxted.
  866. 6.8
  867. Å    Laser toner cartridges Ö The first sign you get that a laser toner
  868. cartridge is about to run out is a line down the paper which is
  869. obviously very low on toner. If you örock the cartridge gentlyò, you may
  870. be able to spread the toner out sufficiently to get a few more sheets
  871. out of it. Try rocking first but then eventually, try shaking. Beware,
  872. if you shake too soon, you can end up with toner all over the place!á
  873. Colin Singleton, Sheffield.
  874. 6.8
  875. Å    ShowPage confusion Ö It has been said within the pages of Archive that
  876. öShowPage does not work with RISCáOS 3ò. This is not entirely correct.
  877. It will not work with RISCáOS 3 fonts, i.e. those which have their own
  878. kerning tables, and it will not work with RISCáOS 3æs ROM fonts.
  879. However, if you want to use ShowPage, all you need to do is to replace
  880. the in-built fonts (Corpus, Homerton and Trinity) with ones within your
  881. own font folder and included a FontRemove command to remove the ROM
  882. fonts.ááA
  883. 6.8
  884.  
  885.