home *** CD-ROM | disk | FTP | other *** search
/ Archive Magazine 1995 / ARCHIVE95.iso / text / hints / volume_6 < prev    next >
Text File  |  1995-06-25  |  411KB  |  8,902 lines

  1. Hints and Tips
  2. 6.1
  3. Å   Alt characters Ö On upgrading from RISC-OS 2 to RISC-OS 3.1, I thought
  4. I had lost my É╫æ character. I eventually found that it had moved from
  5. <alt-,> to <shift-alt-,>. (Even on RISC-OS 3.0 on the A5000 it is still
  6. <alt-,>.) So I investigated all the possible ALTernatives(!). Here are
  7. all the ALT characters I found. They are laid out in QWERTY order but
  8. where no special character appeared, the key is not included in the
  9. list.
  10. 6.1
  11. key   ALT   shift ALT
  12. `   ¼   ░
  13. 1   ╣   í
  14. 2   ▓  
  15. 3   │  
  16. 4   ╝  
  17. 5   ╜  
  18. 6   ╛  
  19. 9      ▒
  20. r   ╢   «
  21. y      Ñ
  22. o   °   ╪
  23. p   ■   ▐
  24. \      ª
  25. a   µ   ╞
  26. s   ▀   º
  27. d   ≡   ╨
  28. f      ¬
  29. z   ½  
  30. x   ╗  
  31. c   ó   ⌐
  32. m   ╡   ║
  33. ,      ╫
  34. .      ≈
  35. /      ┐
  36. 6.1
  37. I think that is all there is, but if anyone finds any more, let us know.
  38. Ed.
  39. 6.1
  40. Å   Annual service kit Ö In answer to Paulæs comment about hard drives in
  41. Archive 5.12, p.8, Iæd like to sing the praises of the Alarm application
  42. (on one of the support disks or in ROM on RISC-OS 3). (You will see the
  43. link if you read on! Ed)
  44. 6.1
  45. I, too, would have forgotten completely about the annual replacement of
  46. filter and batteries, but for this application (which, thanks to my Boot
  47. file, always resides on the iconbar): When my machine was a year old,
  48. Alarm reminded me of this fact in no uncertain terms, (Éurgentæ alarm,
  49. repeating every hour), so there was very little chance of overlooking
  50. this necessary bit of maintenance. Jochen Konietzko, K÷ln, Germany.
  51. 6.1
  52. Å   Apple Laser Writer II NT Ö Here is some information for anyone wanting
  53. to make a cable link from an Archimedes to an Apple Laser Writer II NT.
  54. The connections are as follows...
  55. 6.1
  56.    Archimedes   LaserWriter II NT
  57.    Pin         Pin
  58.    2   (RXD)   ÖÖÖÖ   3   (TXD)
  59.    3   (TXD)   ÖÖÖÖ   2   (RXD)
  60.    5   (0V)   ÖÖÖÖ   7   (0V)
  61.    6   (DSR)   ÖÖÖÖ   20   (DTR)
  62. The Archimedes pins DCD (1), DTR (4) and CTS (8) are all linked
  63. together.
  64. 6.1
  65. When using a RISC-OS printer driver you should choose the Serial
  66. connection with 9600 baud rate, 8 data bits, no parity and 1 stop bit. 
  67. XOn/XOff protocol should also be used.
  68. 6.1
  69. Å   DDE Pascal Ö Some would-be users of DDE !Pascal (on Careware 17) will
  70. have discovered that it wonæt function in Computer Conceptsæ Compressed
  71. Filing System (CFS), where it generates the error ÉSpecial field not
  72. allowed in filesystem prefix to OS_CLIæ. This means that the command
  73. line interpreter, which is invoked to run the Pascal tool, objects to
  74. some pathname which begins with the prefix ÉCFS#æ. The offending
  75. pathname turns out to be the <Pascal$Dir>.Pascal, as assigned into
  76. Alias$Pascal by the !Run file with the apparent function of enabling the
  77. compiler to be located in the application directory. The remedy is to
  78. comment out the line which assigns Alias$Pascal and move the compiler
  79. (i.e. <Pascal$Dir>.Pascal) to your library. This brings the configura
  80. tion into line with that of the C compiler and other DDE tools and
  81. causes É*Pascalæ commands to be serviced by default from the current
  82. library without any explicit reference to a filesystem.ááMike Kinghan,
  83. Oxford
  84. 6.1
  85. Å   DDE Pascal (Careware 17) Ö The release of the public-domain Norcroft
  86. Pascal compiler for the Archimedes is potentially extremely useful,
  87. since, although ISO-Pascal is very good, it does not interface well with
  88. the operating system. More seriously, programs compiled with ISO-Pascal
  89. do not interface well either.
  90. 6.1
  91. The Norcroft system is easy to use and install and does everything that
  92. is claimed of it. Unfortunately, users should be aware of some problems,
  93. especially since Acorn obviously does not wish to maintain the product.
  94. 6.1
  95. I have some extra severe tests for Pascal, which I have used to test the
  96. compiler. This shows that the compiler has some errors in the evaluation
  97. of set expressions: the following program failed (printing True rather
  98. than False):
  99. 6.1
  100. {4 5 6 4 0 3    3000 }
  101. {the parameters from the full test which failed. }
  102. program test (output);
  103. const
  104.    ten = 10;
  105. var
  106.    i: 1..ten;
  107. begin
  108. i := 11; (compilation error here?)
  109. i := ten + 1; (compilation error here?)
  110. writeln(ÉError not detectedÉ) ;
  111. end.
  112. 6.1
  113. The first error is caught at compile-time by almost all Pascal com
  114. pilers, including ISO-Pascal. The second error is caught by almost all
  115. compilers at run-time, and a few at compile-time.
  116. 6.1
  117. When using the quit option in the Pascal menu, the system still allows
  118. command line usage of Norcroft Pascal, although the icon is removed.
  119. 6.1
  120. The final significant problem is that programs written in ISO-Pascal do
  121. not necessarily compile without the ISO option being set. This is
  122. annoying, since many programs will wish to use some extensions. I donæt
  123. know of any other Pascal compiler for which the extension option means
  124. less (in some cases). áBrian Wichmann, NPL.
  125. 6.1
  126. Å   Directory size Ö Regarding the issue on directory sizes, etc in the
  127. hints & tips section, there are a few other points...
  128. 6.1
  129. RISC-OS 2 has some problems with certain combinations of disk size and
  130. allocation unit, so beware. The problem usually causes the machine to
  131. hang when entering a directory. I have only experienced this using large
  132. allocation units on small disks.
  133. 6.1
  134. The fact that a new dir appears to take 38Kb isnæt the whole story, as I
  135. believe that there is a facility for small files within a directory to
  136. use some of the Éwastedæ space. However, if you tend to have lots of
  137. directories with few files, space does tend to get wasted.
  138. 6.1
  139. The best solution as far as both disk, space and speed is concerned is
  140. to use D format, which uses the Écorrectæ amount of space for direc
  141. tories and hardly anything for the map. (Remember that there are two
  142. copies of the map in E format.) D format disks are also MUCH easier to
  143. recover files from if the root directory or map gets corrupted and files
  144. can never be fragmented (which slows down access). The only disadvantage
  145. is the occasional need to compact but I find this a small price to pay.
  146. I would only recommend E format for non-technical users.
  147. 6.1
  148. The same issues will apply to all FireCore based filling systems such as
  149. IDE, etc. áMike Harrison
  150. 6.1
  151. Å   Impression/Squirrel Ö CCæs !Importer (also in their Business Supple
  152. ment) is supplied by Digital Services with Squirrel. Here is some
  153. experience that might help other people.
  154. 6.1
  155. Using Squirrel, I created a database with 22 fields. I then tried to
  156. mail merge the resultant report CSV file using !Importer. I got an error
  157. message saying ÉSubscript out of range (Code 6150).æ After some hours of
  158. fiddling, I eventually found that if I reduced the number of fields in
  159. the CSV file to 16, !Importer worked OK. Nick Horn, Thetford.
  160. 6.1
  161. Å   Second internal hard drive in an A410/1 Ö I fitted a 40Mb ST506 hard
  162. drive to my A410, thinking it would be more than adequate. However, with
  163. the acquisition of the PC Emulator and the formation of a 10Mb DOS
  164. partition, I was rapidly running out of room. I subsequently purchased a
  165. second hand 20Mb ST506 drive, which I decided to fit internally rather
  166. than buy a p.s.u., case and fan. I thought of making some mounting
  167. brackets but, having seen an advert for a SPACE kit from PRES which
  168. included brackets and all the leads, I changed my mind and went for
  169. that. Price was ú38.72 inc VAT. The work involved was to:
  170. 6.1
  171. 1)   Remove top two podule blanking plates.
  172. 6.1
  173. 2)   Fit metal brackets to drive using screws supplied.
  174. 6.1
  175. 3)   Remove the 34 way data cable and replace it with the one supplied,
  176. connecting it to the existing drive and mother board (SK11), leaving
  177. spare connector to connect to the second drive later.
  178. 6.1
  179. 4)   Connect the supplied 20 way control cable to the spare connector
  180. (SK8) on the mother board, leaving the other end to be connected to the
  181. second drive later.
  182. 6.1
  183. 5)   Remove the power cable from the psu and existing drive and replace
  184. it with the supplied cable, leaving the spare connector for the second
  185. drive.
  186. 6.1
  187. 6)   Lead all three cables to the back of the computer and through the
  188. space left by removing the blanking plates and connect them to the
  189. second drive.
  190. 6.1
  191. 7)   Attach the blanking plates to the metal brackets on the second
  192. drive using nuts & bolts supplied.
  193. 6.1
  194. 8)   Ensure second drive is set to É1æ by changing the appropriate DIP
  195. switch or DS-Jumper.
  196. 6.1
  197. 9)   Insert the drive through the back of computer until the front of
  198. the brackets rests on backplane connectors (psu side) and the blanking
  199. plates line up with the back of the computer. Screw in blanking plate
  200. screws.
  201. 6.1
  202. 10)   Once computer is up and running it will have to be configured for
  203. a second hard drive.
  204. 6.1
  205. The work was very easy to carry out and the instructions supplied were
  206. very good. The drive then has to be formatted using Acornæs HFORM
  207. program. The program had to be modified to do the Éslowæ formatting by
  208. altering the following lines:
  209. 6.1
  210. 7530 REMmed out
  211. 7540 REMmed out
  212. 7550 REM removed
  213. 7560 REM remove
  214. 6.1
  215. Once this was done, the drive formatted with no problems and, using the
  216. PC Emulatoræs configure program, I created a 19 Mb DOS partition.
  217. 6.1
  218. I would recommend this solution of gaining extra drive capacity if you
  219. have access to a cheap drive and do not mind losing the space of two
  220. half width podules. áChris Bass, Grimsby
  221. 6.1
  222. Å   Mah Jong from CIS Ö If you have recently purchased the Mah Jong game
  223. from Cambridge International Software, you may wish to check for the
  224. presence of a Ébenignæ virus. This can be done by double-clicking on the
  225. !MahJong game while holding the <shift> key down. Choose the ÉDisplay >
  226. Full Infoæ option on the filer window. If the MemAlloc module is larger
  227. that 2608 bytes then your copy is infected and you should contact CIS
  228. directly at Unit 2a, Essex Road, London  N1á3QP or telephone
  229. 071Ö226Ö3340.
  230. 6.1
  231. Å   Measuring free space Ö I would like to say a big thank you to all the
  232. people who wrote in response to my plea for help in finding a way of
  233. checking, from within a program, whether there is enough space for a
  234. file before it is saved.
  235. 6.1
  236. The most ingenious suggestion was to use the following commands:
  237. 6.1
  238. *FREE {ram:ccc }
  239. X=OPENUP(öRAM:CCCò)
  240. REPEAT B=BGET#X: UNTIL B=ASCö=ò
  241. REPEAT B=BGET#X
  242.  IF B>47 AND B<58 B$=B$+CHR$B
  243. UNTIL B=ASCöBò
  244. *SHUT
  245. 6.1
  246. to put the free space in the variable B$.
  247. 6.1
  248. Some people pointed me to ÉADFS_FreeSpaceæ (also RamFS_FreeSpace,
  249. SCSIFS_FreeSpace, etc.) which can be used with syntax such as:
  250. 6.1
  251. SYS öADFS_FreeSpaceò,Drive$ TO Free%,Largest%.
  252. 6.1
  253. The same information was given on page 7 of the Archive 5.12.
  254. 6.1
  255. Although all these answers have been very helpful, they have also taught
  256. me a salutary lesson, namely that you have to be very precise when
  257. describing your problem: because, although they have answered the
  258. question (and told me things that I did not know) they havenæt actually
  259. told me what I needed to know!
  260. 6.1
  261. What I actually want is a filing system independent way of finding out
  262. whether a file with any given path name can be saved. For instance, if
  263. the user of my program indicates (by dragging an icon to a filer window
  264. or typing into a save box) that he wants to save a file with the path
  265. name ÉXXXFS::$....Filenameæ and if my program knows how long the file
  266. will be, I want my program to be able to find out whether the file will
  267. fit in the specified place, without knowing in advance whether ÉXXXFSæ
  268. stands for ADFS or CFS or SCSIFS or RamFS or whatever. The program also
  269. has to work if a path is not specified and the file is simply to be
  270. saved to the CSD.
  271. 6.1
  272. A couple of correspondents have pointed out that there is an SWI called
  273. ÉFileCore_FreeSpaceæ (on page 1021 of the PRM). However, in order to use
  274. this you have to know the Éprivate wordæ of the filing system in
  275. question and, so far as I can see, this SWI can only therefore be called
  276. by a filing system module, which is not much use to a mere mortal
  277. programmer!
  278. 6.1
  279. I still, therefore, believe that the only generalised way of doing what
  280. I want is to use syntax like the following :
  281. 6.1
  282. X%=OPENOUT(Filename$)
  283. SYS öXOS_Argsò,6,X%,Length% TO ,,Allocated%
  284. IF Allocated% >= Length% THEN ... go ahead and save it.
  285. 6.1
  286. This is hardly elegant but it seems to work.
  287. 6.1
  288. I understand that RISC-OS 3 will include the generalised SWI that I
  289. want. However, this will not be much use, of course, in a program that
  290. is designed to work in RISC-OS 2 as well!á Hugh Eagle, Horsham
  291. 6.1
  292. Å   Formatting numbers (continued) Ö Over the last two months, I have been
  293. following the correspondence on Basicæs number formatting ability (PRINT
  294. and STR$) with some interest. Has the increased size and complexity of
  295. RISC-OS caused the oversight of some of the slightly esoteric but very
  296. powerful features of BBC Basic? One such feature is the @% variable in
  297. Basic. The @% variable controls the format of the PRINT and STR$
  298. functions and much of last monthæs discussions could have been settled
  299. by altering the @% variable so that STR$ was formatted in the same way
  300. as PRINT.
  301. 6.1
  302. @% is fully discussed in the manuals that accompany the computer under
  303. the PRINT command but I will try to give some useful pointers here. As
  304. with all Basic integers, the @% variable is four bytes long. When Byte 4
  305. (the left-most byte) is zero Basic ignores @% when using the STR$
  306. function (this is the default and the source of last monthæs problems)
  307. otherwise STR$ is formatted exactly the same as PRINT. Byte 3 allows the
  308. choice of three different formatting types: 0 Ö general (the default), 1
  309. Ö exponent and 2 Ö fixed. Byte 2 specifies the number of digits printed
  310. and Byte 1 gives the print field width when you use comma separators in
  311. PRINT.
  312. 6.1
  313. Our problem arises from two areas: the way computers represent numbers
  314. and the value of @%. At this point, I think it is necessary to take an
  315. aside into the nature of real number representation in computers so, if
  316. you are only interested in how to circumvent Basicæs printing problems,
  317. skip to the end of this article.
  318. 6.1
  319. Common advice to novice programmers is not to use real variables unless
  320. you really have to. Speed and storage reasons are normally given for
  321. simplicity but a far more important reason is that real numbers are not
  322. exact in the same way as integers and they must be treated differently.
  323. A classic example is the problem in mathematics of dealing with two
  324. representations of, say, the number one: which could be 1.000... or
  325. 0.999.... As far as we are concerned both are the same but if we ask a
  326. computer whether or not they are equal, we find not. This is due to no
  327. fault of the computer or the programmer but the acceptance that
  328. computers cannot store the infinite expressions for real numbers but
  329. must approximate to a number of decimal places and so springs up the
  330. subject of numerical analysis.
  331. 6.1
  332. How then do we equate real numbers? Well, we must choose a value for a
  333. zero! That is a number where any number smaller than it we consider to
  334. be Éas good as zeroæ. An example for Basic is 10Ö7, any smaller and the
  335. errors in calculations become significant. So when we want to check
  336. equality of two numbers a and b we use the expression (ABS(a¡b)á<á1E-7).
  337. If this is true then the two numbers are Éas good as equalæ. (ABS is
  338. used since we are only interested in the magnitude of the difference
  339. between the numbers.)
  340. 6.1
  341. The second important point with numbers stored in computers is that they
  342. are stored in binary. Yes, of course, you all knew that but fewer people
  343. are aware how computers store fractions. Much like in decimal when we
  344. have a decimal point, computers use a binary point where the digits to
  345. the right of the point have place values 1/2, 1/4, 1/8, etc. In decimal
  346. there is a problem of representing fractions like 1/3 or 1/6 because the
  347. prime factors of 3 or 6 are not divisible by the factors of 10 (2, 5) so
  348. you get infinite decimal expansions for them. In binary, the problem is
  349. greater because there is only one factor of two (unlike two factors of
  350. ten) so even more numbers have infinite representations (this is why
  351. some people advocate using base 12 instead of base 10 for day to day
  352. life Ö it makes mental arithmetic so much easier). This means that
  353. simple decimal numbers like 0.6 have an infinite expansion in binary.
  354. 6.1
  355. What has all this got to do with printing numbers in Basic? Well, an
  356. appreciation of what is going on when you store numbers will help you
  357. avoid the pitfalls that last monthæs contributors highlighted. Now that
  358. we are aware that innocuous looking numbers like 2.1 can have infinite
  359. expansions when stored in binary, it becomes clear that 2.1 ╫ 10 may not
  360. equal 21 but, perhaps, 20.99999999!
  361. 6.1
  362. Is there anything that we can do about this? Yes, indeed there is. We
  363. can tell Basic to round off the number to nine decimal places instead of
  364. attempting to print 10 which extends the precision beyond the accuracy
  365. (in general Basic is accurate to nine decimal places unless you are
  366. using the floating point version where I believe 19 is the limit but not
  367. having a RISC-OS 3...).
  368. 6.1
  369. Now we come back to @%. At default, @% specifies 9 decimal places but it
  370. only affects PRINT and not STR$ which defaults to ten. To alter this,
  371. all we need to do is set the byteá4 flag in @% to one. Try PRINT
  372. STR$(0.6) and then set @% = &0100090A and try again (by the way, &90A is
  373. the default value for @% whereas STR$ uses &A0A if byteá4 is unset).
  374. 6.1
  375. If we want to print money then we can set @% to two decimal places by
  376. &0002020A (remember to set byte 4 to one if you want to use STR$). This
  377. has the added bonus of allowing you to print the number rounded off but
  378. still maintain the extra places for further calculations.
  379. 6.1
  380. I hope you can now see the power and simplicity of using @%. My only
  381. warning is that if you wish to use several formats in your program, then
  382. either save the previous @% or declare it as a local variable.á Emmet
  383. Spier, Guildford.
  384. 6.1
  385. This subject seems to have opened up quite a debate. Emmet has agreed to
  386. edit any comments regarding rounding errors for us and so if your wish
  387. to add to the debate you should write to him directly. Emmet Spier, 6
  388. Parklands Place, Guildford, Surreyá GU1 2PS.
  389. 6.1
  390. Å   PC keyboards for A4 Ö A word of warning Ö not all PC type keyboards
  391. work on the A4 (or all PCs for that matter!), so take the A4 to the shop
  392. and try before you buy! Reasonable ones can be had for about ú40 at some
  393. computer fairs. Note that non PS/2 type keyboards (with the 5 pin DIN
  394. plug) can be used with an adaptor or by changing the plug. áMike
  395. Harrison
  396. 6.1
  397. Å   RISC-OS 3 DOS partitions Ö Because DOS filenames (including exten
  398. sions) are in general longer than the maximum length of a valid ADFS
  399. filename (10), it is not always possible to copy or move DOS files from
  400. hard or floppy discs directly to the ADFS.
  401. 6.1
  402. The !MultiFS utility as supplied with the PC Emulator solves this by
  403. allowing you to truncate the DOS filename while the translation process
  404. takes place. Another very useful option (which I often use when copying
  405. files from C programs) is to force !MultiFS to handle DOS extensions as
  406. (hierarchical) directories.
  407. 6.1
  408. However, when the filetype of a DOS partition on your ADFS hard disc is
  409. set to ÉDOSdiscæ, RISC-OS 3 will display a filer window for the
  410. partition when you try to open the folder, while !MultiFS just ignores
  411. it (i.e. no :C drive on the iconbar.) This is all very nice but RISC-OS
  412. 3 doesnæt offer the nice name translation options mentioned above. To
  413. enable !MultiFS to display your DOS partitions, just set their filetype
  414. to Édataæ before you start !MultiFS. Remember to use the command line
  415. and not the filer menu because the latter doesnæt allow you to change
  416. the the filetype of DOSdiscs. I inserted 3 lines for each DOS partition
  417. in the !MultiFS !Run file to swap between ÉDOSdiscæ and Édataæ type
  418. partitions when !MultiFS is started:
  419. 6.1
  420.    *Filer_CloseDir    <PCe$Drive_X>
  421. 6.1
  422. *SetType    <PCe$Drive_X> Data
  423. 6.1
  424. directly after setting the system variable <PCe$Drive_X>, and
  425. 6.1
  426.    *SetType    <PCe$Drive_X> DOSDisc
  427. 6.1
  428. at the end of the !Run file (although the comment tells us not to do
  429. so).
  430. 6.1
  431. Unfortunately, there are some bugs in !MultiFS: When you copy to a
  432. MultiFS filer window, you must ensure name translation is not set to
  433. hierarchical or you will end up with wildcards (É?æ) in filenames. When
  434. this happens you must use DOS itself to delete the file because RISC-OS
  435. fails to wipe those objects. Another bug appears if you shut down your
  436. system after using !MultiFS. This results in an error report and a task
  437. manager crash.á Paul Groot, Holland.
  438. 6.1
  439. Å   Saloon Cars Deluxe Ö If you are having problems running Saloon Cars
  440. Deluxe, it may be worth knowing that you must have the Font Manager
  441. installed for it to run.
  442. 6.1
  443. Å   Shareware 44 (Fortran Friends) update Ö There is a small bug in the
  444. !Fortran77. DesktopF77 program. Line 1400 should read:
  445. 6.1
  446. 1400 IF INSTR(b$,örrorò) THEN E%+=1
  447. 6.1
  448. This allows errors in the code generator part of the compiler to be
  449. detected. Kate Crennell, Oxon.
  450. 6.1
  451. Å   Zelanites cheat Ö The following program provides a cheat for
  452. Zelanites. It stops the number of lives decreasing below 9. áSteve
  453. Edwards, Stourbridge.
  454.  10áREM >:0.$.hints.zelcheat
  455.  20áREM Archive hints & tips section
  456.  30áREM (c) S.EDWARDS 1992
  457.  40áREM infinite lives for Zelanites
  458.  50áREM ****************************
  459.  60áREM * When you have run the program the game should *
  460.  70áREM * then be run as normal. This time when you dieáá*
  461.  80áREM * you will have not gone down one life but upáá *
  462.  90áREM * to NINE lives, which stay with you for ever.áá*
  463. 100áREM *ááááááááááááááááááááááááá *
  464. 110áREM ****************************
  465. 120á:
  466. 130áDIM store% &400
  467. 140áMODE 0
  468. 150áPROCDisc_op
  469. 160áPRINTÉ********FINISHED********æ
  470. 170áPRINT
  471. 180áPRINTÉ****NOW GET BLASTING****æ
  472. 190áEND
  473. 200á:
  474. 210áDEF PROCDisc_op
  475. 220áPRINT ÉPut !ZELANITE disc into drive 0æ
  476. 230áPRINT Éáááand press a key.æ
  477. 240áA=GET
  478. 250áPRINT ÉLoadingáásector informationæ
  479. 260áSYS ÉADFS_DiscOpæ,0,1,&50400, store%,&400
  480. 270ástore%?&67=&6A:REM Original code =&2A
  481. 280áINPUTÉAre you are ready to make the change ?æ;A$
  482. 290áIF LEFT$(A$,1)=ÉNæ OR LEFT$(A$,1)=Énæ THEN END
  483. 300áIF LEFT$(A$,1)=ÉYæ OR LEFT$(A$,1)=Éyæ THEN
  484. 310áááPRINTÉSaving cheat back to diskæ
  485. 320áááSYS ÉADFS_DiscOpæ,0,2,&50400, store%,&400
  486. 330áENDIF
  487. 340áENDPROC
  488.  
  489. Hints and Tips
  490. 6.2
  491. Å   3D icons for RISC-OS 3.1 Ö Here are some tips for those of you who
  492. upgraded from RISC-OS 3.00 to RISC-OS 3.10 (and for anyone else who is
  493. interested in a fancy desktop).
  494. 6.2
  495. If you have used the fancy 3D-like window borders on your A5000, you
  496. will probably have noticed that, with RISC-OS 3.1, the borders will not
  497. install properly. This is because RISC-OS 3.0 programs used the
  498. ÉIconSpritesæ command to install the wimpæs tool sprites (i.e. borders),
  499. while in RISC-OS 3.1 there is a new command to install user defined
  500. window tools:
  501. 6.2
  502. *ToolSprites <spritefile>
  503. 6.2
  504. This is, I think, because the border sprites are now held in a separate
  505. sprite area for faster redrawing. So, the only thing you have to do is
  506. to change the command ÉIconSpritesæ into ÉToolSpritesæ at the appropri
  507. ate places in your files. Note that you can also re-install the default
  508. window tools by entering ÉToolSpritesæ on the command line.
  509. 6.2
  510. The small utility I use to install enhanced icons (a modified version of
  511. !SetIcons), shows another minor modification of RISC-OS 3.1. It is now
  512. assumed that some icons have the same dimension. For example, some
  513. border elements are painted from two sets of sprites Ö one that is
  514. normally used and one that is used when you select this particular
  515. border element. If corresponding sprites within these sets are different
  516. in size, you will see that some parts of the elements are not painted
  517. when you select them. To overcome this problem, you can adjust the sizes
  518. with !Paint.
  519. 6.2
  520. For those programmers who liked the Impression-style dialogue boxes,
  521. there exists a module called ÉInterfaceæ. This module takes care of most
  522. of the code to generate fancy icon borders. RISC-OS 3.0 has some in-
  523. built extras to achieve the same thing without the need to insert extra
  524. lines of code into your program. (The programmer only has to define some
  525. validation strings which contain the information to generate the desired
  526. effect.) However, because the validation string command syntax was
  527. essentially the same as the syntax used by the Interface module, there
  528. were sometimes problems when using the Interface module with RISC-OS
  529. 3.0.
  530. 6.2
  531. After I installed the new RISC-OS 3.1 ROMs, I was surprised to see that
  532. my own (RISC-OS 3.0!) programs didnæt have fancy borders any more. After
  533. some experimenting with the validation strings, I discovered that the
  534. command syntax is now different from the syntax used by the Interface
  535. module. To be more specific, RISC-OS 3.1 makes use of Ér<int><colour>æ
  536. (where <int> is a number between 0 and 8 and <colour> is a WIMP colour
  537. number), instead of Éb<int>, ...æ. This modification probably has been
  538. made to overcome the incompatibility problems with the Interface module.
  539. The simplicity with which you can use this prompts a question: Why donæt
  540. the ROM based applications like Draw use this facility? I guess this is
  541. just another ÉAcorn-mysteryæ.á Paul Groot, Holland.
  542. 6.2
  543. Å Editing paper sizes in RISC-OS 3 Ö If attempts are made to edit the
  544. paper sizes contained within the standard RISC-OS 3 printer driver
  545. files, it will be found that any changes made to the Text Margins
  546. section will revert to 0 when the window is closed, even if Save
  547. Settings is selected. This is due to a bug, but can be rectified by
  548. editing the paper files directly.
  549. 6.2
  550. Editing any of the paper sizes results in a new file called PaperRW
  551. being generated in the Printers application directory. This file can be
  552. modified using Edit. Make sure that the Printers application is not
  553. running (i.e. Choose Quit from the iconbar menu if it is). Find the
  554. !Printers application (normally in the App1 directory) and open it using
  555. Shift-double-click. Open the file called PaperRW by Shift-double-
  556. clicking on it. Scroll down the file until you find the name of the
  557. paper setting which you defined or modified. It will look something like
  558. æpn: Fanfold A4æ. At the bottom of the set of numbers relevant to this
  559. paper setting are five values (called tb, tt, tl, tr, th) which
  560. correspond to the text bottom, top, left and right margins and the
  561. height (in lines) respectively. Alter the values from 0 to your required
  562. numbers and save the file. When you re-run the Printers application,
  563. your paper sizes will be rectified.á Simon Moy, N.C.S.
  564. 6.2
  565. Å   How NOT to treat your SCSI hard disk Ö A few weeks ago I found a new
  566. way to get rid of all those files that clogged my external hard disk(!)
  567. 6.2
  568. Every verify I did showed up one questionable sector, so I decided to
  569. map it out as defective. The *Defect command applies only to ADFS, so I
  570. browsed through the SCSI diskæs manual and, finally, found what I was
  571. looking for (or so I thought).
  572. 6.2
  573. Morley supply their hard disks with a formatter application which,
  574. amongst other things, can add defects to a list. There is a warning that
  575. a low level format would result in total loss of data but, later in the
  576. description, an option was mentioned to decide whether or not to do the
  577. low level format while running the application.
  578. 6.2
  579. This led me to believe that clicking on ÉNoæ would keep my data intact Ö
  580. alas, I was wrong!
  581. 6.2
  582. The Morley hotline informed me that I had in fact done a high level
  583. format which wipes out the information about the addresses for each
  584. file. As the passage in the manual could be misunderstood, they very
  585. kindly offered to restore my data for me free of charge (just p&p).
  586. (Great service!!)
  587. 6.2
  588. However, it was not to be: I forgot to inform them that I use Computer
  589. Conceptsæ Compression on most of my files and this, I was told later,
  590. encodes the files in such a way that retrieval becomes virtually
  591. impossible.
  592. 6.2
  593. I learned two things from my self-made disaster:
  594. 6.2
  595. 1)áEven the excellent Compression is not proof against all kinds of
  596. fools.
  597. 6.2
  598. 2)á800 Kb floppy disks are just not good enough as a backup medium! I
  599. shudder at the thought that I will have to feed 112 floppies into my
  600. machine, once the hard disk returns from England.
  601. 6.2
  602. As a consequence, for future backups I have ordered a 20Mb floptical
  603. drive from Morley, to be sent as soon as it is able to read and write
  604. Acorn floppy formats.á Jochen Konietzko, K÷ln, Germany.
  605. 6.2
  606. Å   Humour in RISC-OS 3.1! Ö You will be pleased to hear that humour still
  607. exists within Acorn. If you load ÉResources:$.Resources.
  608. Switcher.Templatesæ into the template editor, FormEd, you get an
  609. interesting message.á Knut Folmo, Norway
  610. 6.2
  611. Å   Loading multiple Impression documents Ö If you want to load a number
  612. of Impression files at once, just select them (with rubber band dragging
  613. on RISC-OS 3, if you like) and drag them down onto the Impression icon
  614. on the iconbar.
  615. 6.2
  616. Å Memory size from Basic Ö In Basic, there is no specific way to find
  617. out how much physical memory is fitted to the host machine. However, it
  618. can be calculated using a SWI call as in this example:
  619. 6.2
  620. 10 SYS öOS_ReadMemMapInfoò TO PageSize%, NumOfPages%
  621. 6.2
  622. 20 TotalMemory% = PageSize% * NumOfPages%
  623. 6.2
  624. 30   REM This value is in bytes
  625. 6.2
  626. 40 Total% = TotalMemory% / 2^20
  627. 6.2
  628. 50   REM This value is in Mbytes
  629. 6.2
  630. Simon Moy, N.C.S.
  631. 6.2
  632. Å   More RISC-OS 3.1 Alt Characters The current A5000 Welcome Guide
  633. mentions some additional Alt-key characters. These alt-keys donæt
  634. actually produce a character themselves, they just set up an accent, so
  635. that the following character is changed into an accented character. This
  636. only happens if the accent is suitable for the following character.
  637. 6.2
  638. For example to type an Éeæ with an acute accent (Θ): Whilst holding down
  639. the Alt key, press and release <[>. Release <alt> and the press and
  640. release <E>. Thus:-
  641. 6.2
  642. Alt-[  E     Θ
  643. Alt-]  E     Φ
  644. Alt-;  E     δ
  645. Alt-æ  E     Ω
  646. Alt-,  N   ±
  647. Alt-.  A     σ
  648. Alt-/  C     τ
  649. 6.2
  650. The only other Alt-key character missing from the previous list is Alt-
  651. hyphen which gives character 173, which, in the Acorn fonts, looks
  652. exactly like a normal hyphen, but is often different in fonts from other
  653. suppliers.á Simon Moy, N.C.S.
  654. 6.2
  655. Å MS-DOS 5, PC Emulators and the Archimedes keyboard Ö (This excerpt
  656. from a reply to an Archive readeræs letter may prove useful to others.)
  657. The cursor keys do not work correctly with the PC emulators due to a
  658. bug. They will not work properly with either QBasic or DOS Edit. They
  659. can be used to move around the text but, to select text, you must use
  660. the cursor and editing keys which are mapped on the numeric keypad (as
  661. on a normal PC AT-style keyboard). Therefore, when inside the editors,
  662. make sure that NumLock is off and use <shift> and the following keys (on
  663. the numeric keypad):
  664. 6.2
  665. 6.3
  666. 6.2
  667. AMOUSE.COM is fully compatible with MS-DOS 5. However, as with all PCs,
  668. you cannot display the mouse pointer at the DOS prompt. Also, not all PC
  669. programs support the mouse. However, if the AMOUSE command is present in
  670. your AUTOEXEC.BAT file and the program you want to use accepts a mouse
  671. (e.g. QBasic, EDIT and DOSSHELL), you must start the appropriate
  672. application first and then select Connect Mouse (by pressing <menu> over
  673. the PC emulator window) if you are running the emulator from a window in
  674. the RISC-OS desktop. If you are using the emulator under Single Task
  675. mode, the mouse should automatically connect itself. (If the mouse does
  676. not connect itself automatically when running the emulator under Single
  677. Task mode, then this is a further bug in the PC emulator.) Typing AMOUSE
  678. at the DOS prompt or selecting Connect Mouse from the windowæs menu will
  679. not display the DOS mouse pointer, as DOS itself does not support a
  680. mouse. If you do this, the RISC-OS pointer will disappear (because
  681. control has passed to DOS) and you must press <menu> on the mouse to
  682. relinquish control from the emulator back to RISC-OS.á Simon Moy, N.C.S.
  683. 6.2
  684. Å Pound sign problems Ö The pound sign has always been a difficult
  685. character to print and display on the screen. To make the pound sign
  686. appear in the PC Emulator, press and hold <alt> and type 156 on the
  687. numeric keypad. When you release <alt>, the pound sign will appear.
  688. 6.2
  689. If you are printing a file as text (i.e. from Edit or PipeDream for
  690. instance) then the pound sign will print as a hash (#). You can reverse
  691. this by using a hash symbol in your text in place of the pound sign,
  692. although it is important that your printer is set up with a UK character
  693. set Ö see the DIP switch settings for your specific printer. If you are
  694. printing a file produced using bitmaps (e.g. Impression) then the pound
  695. sign will print correctly anyway. Basically, any program which defaults
  696. to printing on the screen using the system font will print characters as
  697. plain text Ö there is a section on plain and fancy text in the RISC-OS
  698. User Guide.
  699. 6.2
  700. By the way, does anybody know why you canæt access the pound sign
  701. (either from the keyboard or <alt-156>) in a Task Window under RISC-OS
  702. 3.0?á Simon Moy, N.C.S.
  703. 6.2
  704. Å RISC-OS 3.1: A310 Ö There is a problem when fitting RISC-OS 3.1 to
  705. A310 machines fitted with the Arcram 434 ARM3 + 4Mb upgrade from Watford
  706. Electronics. It causes the machine to hang on power-up. Replacement PAL
  707. chips and more information are available from Watford Electronics on
  708. 0923Ö37774 (Fax: 33642).á Simon Moy, N.C.S.
  709. 6.2
  710. Å RISC-OS 3.1: SCSI drives Ö There may be problems accessing the SCSI
  711. drive using the HCCS Hard Card interface with RISC-OS 3.1. Contact HCCS
  712. for details.á Simon Moy, N.C.S.
  713. 6.2
  714. Å Rotated fonts and sprites using Laser Direct Ö With the advent of
  715. RISC-OS 3.1, there are problems with printing rotated text and graphics
  716. using the currently existing RISC-OS 2 printer drivers such as that
  717. supplied with Laser Direct. To overcome the problem, transform the text
  718. or sprite to any angle in Draw, make sure that the item is selected and
  719. choose the Convert to Path option from the Select submenu. This will
  720. allow rotated text or sprites to be printed correctly using the RISC-OS
  721. 2 printer driver supplied with Laser Direct. This does not mean that it
  722. will work with all RISC-OS 2 printer drivers Ö you will have to
  723. experiment! Steve Costin, Ramsgate.
  724. 6.2
  725. Å   TV interference Ö In response to Chris Bassæ enquiry in Archive 6.1
  726. p36, here is a general procedure which covers almost all cases:
  727. 6.2
  728. 1. Does the computer interfere with your own TV, when it is as close/
  729. closer to your computer than your neighbouræs TV is? (On either side of
  730. a party wall they could be less than 1 m apart!)
  731. 6.2
  732. If YES, go to 2. If NO, go to 3.
  733. 6.2
  734. 2. Does the interference disappear when the computer is 3 m or more from
  735. the TV?
  736. 6.2
  737. If YES, agree with your neighbour to move your computer and his TV so
  738. that they are more than 3 m apart. If moving them apart is inconvenient,
  739. you could try sticking cooking foil on to the party wall (under the wall
  740. covering, eventually). You need a minimum of about 2 m by 2 m, and there
  741. is usually no point in earthing it, but you could try the effect.
  742. 6.2
  743. In some types of building, your computer might be too close to your
  744. neighbouræs TV aerial, in which case moving them apart is the best bet.
  745. 6.2
  746. If NO, the computer may be faulty. Many dealers may not be able to cope
  747. with this type of fault, so you, or your dealer, should contact Acorn
  748. with a FULL description of the problem.
  749. 6.2
  750. 3. If NO to question 1, your neighbouræs TV has either an inadequate
  751. aerial or inadequate Éimmunityæ. (This is a technical term describing
  752. Éresistance to electromagnetic disturbancesæ.) An inadequate aerial
  753. usually also gives Éfuzzyæ pictures and/or ghosts (outlines of images
  754. displaced sideways). The aerial itself may be OK; the fault may be in
  755. the downlead. They tend to fill up with water and deteriorate after a
  756. time. A new aerial (and downlead) is quite inexpensive, even a large
  757. one. If the aerial is not the problem, the manufacturer of the receiver
  758. should be contacted, either directly or through the TV dealer or rental
  759. company, regarding the probable lack of immunity of the TV. Manufac
  760. turers (of TVs and computers) are quite concerned about this at present,
  761. because of an EC Directive on the subject.
  762. 6.2
  763. 4. If all else fails, the DTI Radio Investigation Service will look at
  764. the problem and give advice but there is a fee of about ú21 involved.
  765. The Service has much information and experience of such problems and
  766. their cures, including private information about know immunity problems.
  767. For Lincolnshire, the address is (or was) PO Box 2500, Nottingham NG8
  768. 3SS. The head office is at Waterloo Bridge House, Waterloo Road, London
  769. SE1 8UA. A book, ÉHow to improve Television and Radio Receptionæ is/was
  770. available from the Service, and gives a good deal of information on
  771. interference problems (some of it technical).á John Woodgate, Rayleigh,
  772. Essex.ááA
  773.  
  774.  
  775.  
  776. Hints, Tips and Letters
  777. 6.2
  778. A combined selection this month, since the hints and tips stem from
  779. letters I have received recently.
  780. 6.2
  781. ÅáKey Windowá/áImpression problem:ááI am grateful to Jack Evans of
  782. Bristol for pointing out this problem to me, particularly since I am the
  783. author of the program in question. Key Window (available on Shareware 47
  784. ù see review in Archive 6.1 p31) is a program which displays keystrips
  785. in a window, and the strips update themselves as you move the caret
  786. between tasks.
  787. 6.2
  788. The problem is that if you have Key Window running at the same time as
  789. you are editing a document in Impression which is set to auto-save, the
  790. auto-save doesnæt work. You can still save manually of course, but this
  791. is something which is easy to forget about. The solution is easily
  792. effected, if not very satisfactory. You have to de-select ÉSense caretæ
  793. in Key Windowæs Options menu. Unfortunately, this will prevent Key
  794. Window from changing keystrips as you move between applications. If you
  795. use Impressionæs auto-save a lot, and want to disable Key Windowæs
  796. interference permanently, you can edit the !Run file to disable the
  797. Ésense caretæ option via a system variable. Full instructions for doing
  798. this are provided in the file.
  799. 6.2
  800. Users may be interested to know that I have just started work on version
  801. 2 of Key Window, and am re-writing it from scratch to make it a much
  802. better program with enhanced facilities. I intend to approach Computer
  803. Concepts about the problem, to see if a satisfactory solution can be
  804. found. Other programs with auto-save facilities, such as Ovation and
  805. Vector, do not appear to suffer from the problem.
  806. 6.2
  807. ÅáProtecting Impression files:ááCharles Martin from the Isle of Wight
  808. has been having a few problems with some Impression Étemplateæ files ù
  809. empty documents with standard formats. He wants to make them Delete- and
  810. Write-protected via the fileræs Access menu but has found that setting
  811. the files (which are, of course, in the form of application directories)
  812. to Élockedæ does not protect their contents. Similarly, opening the
  813. directories and choosing ÉSelect allæ does not have the desired effect.
  814. 6.2
  815. This situation actually applies to all applications and directories, not
  816. just Impression files. However, under RISC-OS 3, the Access menu is
  817. completely redesigned and works much better, so the problem only really
  818. affects RISC-OS 2 users. The difficulty arises because of the distinc
  819. tion that the filer makes between directories (be they normal
  820. directories or application directories) and actual files. This is one of
  821. those Éfeaturesæ of RISC-OS 2 which needs a bit of care.
  822. 6.2
  823. Under RISC-OS 3, if you select a directory or application directory
  824. (such as an Impression file) and set it to ÉProtectedæ, the filer will
  825. protect all the files within it, no matter how many sub-directories
  826. there are. Under RISC-OS 2, however, it will only set the status of the
  827. directory itself. You therefore need to open the directory, select all
  828. the files within it and set their attributes via the Access menu.
  829. However, there is a further complication: if the selection of files
  830. contains any directories, the process will be upset Ö the directories
  831. need to be deselected first.
  832. 6.2
  833. Under RISC-OS 2, to protect an Impression file, you would need to open
  834. it up, choose ÉSelect allæ from the filer menu, deselect any directories
  835. in the selection by clicking on them with <adjust>, and finally set all
  836. the filesæ attributes via the Access menu. Then repeat the process for
  837. each of the directories which you had deselected (ÉMasterChapæ,
  838. ÉChapter1æ, etc). There is simply no point in protecting the directories
  839. themselves, since it is impossible to delete a directory which contains
  840. locked files, and locking a directory (under RISC-OS 2) does not affect
  841. the access status of the files within it in any case.
  842. 6.2
  843. All in all, itæs probably easiest to upgrade to RISC-OS 3!
  844. 6.2
  845. ÅáApplause for Ovation:ááA highly enthusiastic letter about Ovation has
  846. been received from Tony Greenfield of Birmingham. He has the following
  847. to say:
  848. 6.2
  849. ö[Ovation] does just what I had hoped for and more. The manual is
  850. brilliant! It is a work book on DTP, quite good enough as an introduc
  851. tion to the subject to beginners and as an encouraging tutorial for more
  852. experienced users. I found it much more useful than First Impression. I
  853. have learnt much about Impression II and much about how a manual should
  854. be presented. I wonder if the reason that there are not many hints and
  855. tips on using Ovation [in Archive] is because the user manual is so
  856. clear? (It may also have something to do with the relative numbers of
  857. people using the two packages. Ed.) There are many features which I like
  858. about the program. In fact, there is not very much missing ù I wonder
  859. if, for most people, Impression is not really required Ö after all, itæs
  860. more expensive than Ovation. Iæm sure that, for schools who have yet to
  861. purchase a DTP package, Ovation would be a must better buy than
  862. Impression, for many reasons Ö perhaps most of all for the ease of use,
  863. and I guess it would be easier to learn than Impression.ò
  864. 6.2
  865. Tony goes on to list various features which he likes in Ovation, notably
  866. its wide range of effects such as word underline, small caps and
  867. tracking, and its system of basing font styles on one family name, so
  868. that changing the base family will also alter the italic and bold fonts.
  869. 6.2
  870. I would certainly agree with Tonyæs comments about the manual, which is
  871. indeed a very helpful document, although I think Impression is the
  872. easier of the two to learn, as Ovation has a quite unwieldy menu
  873. structure. Perhaps the quality of the manual really is the reason why we
  874. havenæt received more tips on using the program from readers. Anyway,
  875. things are set to change from this month in Archive, with the advent of
  876. Maurice Edmundsonæs dedicated Ovation column. (We also have a new DTP
  877. editor, Ray Dawson, whose first column will appear next month.) For
  878. further comments about Ovation, see my Ovation/Impression comparison
  879. article which follows on page 33.ááA
  880.  
  881. Hints and Tips
  882. 6.3
  883. Å   A3010 joystick ports Ö several A3010s have been returned to Acorn with
  884. complaints of faulty joystick ports. They are not faulty. The A3010 is
  885. the first Archimedes to have a built-in digital (i.e. Atari-style)
  886. joystick port and because of this, many of the games already available
  887. do not cater for digital joysticks. This is a fairly major problem and
  888. hopefully someone will soon produce some sort of patch (either hardware
  889. or software) which allows digital joysticks to be used in place of the
  890. more common proportional joysticks (such as the Voltmace Delta). Until
  891. then, two sources of information about digital joystick interfaces are
  892. The Leading Edge and Beebug.
  893. 6.3
  894. Å   A4 Portable Guide Ö on page 31 of this guide, the pin-out diagram for
  895. the AKF18 monitor is slightly incorrect. Pins 13 and 14 (horizontal and
  896. vertical sync) have been reversed.
  897. 6.3
  898. Å   Artworks & Impression dongles Ö There appears to be a clash between
  899. these two dongles when using an A5000 and a JP-150: printouts appear
  900. with spurious information across them. Computer Concepts say that the
  901. problem only occurs between A5000s and JP-150 printers and add that they
  902. are looking into the problem.
  903. 6.3
  904. Å   Banner-making Ö I have just seen, in Archive 6.1, a review of a
  905. program called Banner.
  906. 6.3
  907. If you own a printer which takes fanfold paper, there is an alternative
  908. way for making banners. (By the way, fanfold paper does not need
  909. sprocket holes if you are careful about the line-up and select friction
  910. feed, so normal paper rolls can be used. For example, the Colourjet 132
  911. users can print banners in this way.)
  912. 6.3
  913. The print margins on all the Acorn printer drivers are user-definable
  914. and as long as you want to print out banners shorter in length than A0,
  915. extending the appropriate print margin and setting Draw to A0 landscape
  916. will normally allow satisfactory banners to be produced. (Changing the
  917. print margins is described in the manuals; change only the height of the
  918. page to whatever you wish and leave the width alone.) If print margins
  919. are shown, keeping to these will ensure that none of the picture is
  920. lost.
  921. 6.3
  922. The additional flexibility of Draw, especially in conjunction with the
  923. drawfile utilities (!FontFX, !DrawBender, etc) would, in my opinion,
  924. offset most of the ease of use of Banner, except perhaps in primary
  925. schools.
  926. 6.3
  927. Note that the printer should not be set to skip perforations, or
  928. problems will result, but I have had no difficulty in printing banners
  929. on an Epson LX and even a Colourjet 132 in this manner.
  930. 6.3
  931. For those requiring longer banners, !Draw╜ and, I believe, !Draw+
  932. (Careware 13) allow an option to set the work area to the print margins,
  933. which will then enable them to use the longer pages which the printer
  934. driver can handle but, again, for a banner you should set the page to be
  935. much taller than normal in the printer driver and edit the display in
  936. landscape mode. I have used this to produce banners several metres long.
  937. 6.3
  938. I am sure Banner is a very useful package and I have not attempted to
  939. use it but I would be unwilling to spend ú15 when the same effect seems
  940. to be available from the software supplied with the machine and
  941. Careware.áá Andrew Garrard, Cambridge.
  942. 6.3
  943. Å   Banner-making again Ö Recently I needed to print up a large banner for
  944. a meeting, and wondered how I should go about it. Of course, I could
  945. always have bought ÉBanneræ for ú15 but, for a once off job, I thought
  946. this just a touch extravagant. This set me thinking... Impression can
  947. define master pages as big as you like... hmm... This is what I did, and
  948. it works!
  949. 6.3
  950. 1.   Open a new document in Impression
  951. 6.3
  952. 2.   Create a new Master Page (Custom Job) Ö Width: 1000 and Depth: 210
  953. 6.3
  954. 3.   Return to the document and set the Master Page in Alter Chapter
  955. 6.3
  956. 4.   Set the Font Size to 500
  957. 6.3
  958. 5.   Type in öHello World!ò or whatever
  959. 6.3
  960. 6.   Set the printer driver page size to Ö Height: 1000 and Width: 210
  961. 6.3
  962. 7.   Set the Impression Print Dialogue to print sideways, and fire away
  963. 6.3
  964. Warning Ö this is not Éprinter ribbon friendlyæ... in fact, it is
  965. positively Éprinter ribbon hostileæ!á Philip Lardner, Co. Wicklow,
  966. Ireland.
  967. 6.3
  968. Å   CC BJ10ex Turbo Driver Ö It seems that the only method of using the
  969. Turbo Driver with the PC Emulator is to load !BJ10e and quit it again
  970. before loading the emulator.á Chris McIntosh, Blackheath.
  971. 6.3
  972. Å   Programming the Serial Port (Vertical Twist) graphics board Ö On the
  973. monthly program disc is a series of programs which, in themselves, do
  974. nothing much. However, they show how the 65000 colour modes can be
  975. accessed from Basic and C.
  976. 6.3
  977. They mainly show how to draw lines, circles and fill shapes. Most do not
  978. need any interaction. Fill requires five mouse selections to create to
  979. outline Ö the sixth should be inside the box.
  980. 6.3
  981. Lines Ö just move the mouse and press <select> to change colour.
  982. 6.3
  983. 15_120ASM converts mode 15/21 sprites to mode 120. Copy the sprite image
  984. to the floppyæs root directory before running. Itæs not very fast. Jim
  985. Bailey, Sunderland.
  986. 6.3
  987. Å   Squirrel update Ö Digital Services have upgraded Squirrel from version
  988. 1.07. Currently, Squirrel is being supplied with the original V1.07 disc
  989. and manual and a V1.20 upgrade disc. A new manual is due out soon and
  990. Digital Services will send all existing Squirrel owners this new copy
  991. providing they have registered.
  992. 6.3
  993. Å   VIDC enhancer & RISC-OS 3.10 Ö There can be problems using very early
  994. Atomwide VIDC enhancer hardware with RISC-OS 3.10. It appears that if
  995. the enhancer is software switched, RISC-OS 3.10 will automatically
  996. switch it on which prevents the computer from starting up correctly. To
  997. solve the problem, you have two choices: (a) at the command line, type
  998. *FX 162,&BC,&80 and switch your machine off, then on again, to check
  999. that the command has worked (full details are on page 14 in the RISC OS
  1000. 3.10 release note) or (b) return the enhancer hardware to Atomwide with
  1001. ú5 and they will modify the hardware so that it works correctly.
  1002. 6.3
  1003. Å   Vision Digitiser. As I concluded in my review of the monochrome
  1004. version of this product (Archive 5.12.42), the package is amazing value
  1005. for money. However, the supplied software is a little basic. Further
  1006. more, Robert Golightly at HCCS tells me that the software module
  1007. (promised in the !ReadMe file) to provide * commands and SWIs for users
  1008. to write their own programs has a priority below that of the 512-line
  1009. upgrade, and is not likely to appear in the near future.
  1010. 6.3
  1011. All is not lost, for the software ù at least the monochrome version ù is
  1012. written using Basicæs in-line assembler, and so can be modified by the
  1013. careful user.
  1014. 6.3
  1015. For example, as it stands, the !Vision application always demands 450Kb
  1016. of memory. For those with 1M machines, or those who like to multi-task
  1017. it with other memory-demanding applications, it would be useful to be
  1018. able to reduce this. Examination of the code reveals that a 320Kb screen
  1019. buffer is reserved, whatever screen mode you are using. 320Kb will be
  1020. needed for mode 21, but only 160Kb for modes 15 and 20, and 80Kb for
  1021. mode 12. If you havenæt a multi-sync monitor and want to save 160Kb of
  1022. memory when using !Vision, change the following lines of a copy of
  1023. !RUNIMAGE, having first checked that the first line of the !Run file
  1024. shows that you have Version 1.0, dated March 1992.
  1025. 6.3
  1026.   130 DIM M% 210000
  1027. 6.3
  1028.  8650 BNE mode_error
  1029. 6.3
  1030. 23260 EQUD 163840
  1031. 6.3
  1032. 23460 FN_work (163840)
  1033. 6.3
  1034. Then amend line 2 of !Run to read:
  1035. 6.3
  1036. wimpslot -min 288K -max 288K
  1037. 6.3
  1038. Iæm working on other possible improvements to the software, such as mode
  1039. 67 compatibility, but it occurs to me that others might be doing the
  1040. same. If you are interested in participating in an informal user-group
  1041. for the Vision Digitiser, please send an SAE to Stuart Bell, 23 Ryecroft
  1042. Drive, Horsham, West Sussex RH12 2AW.ááA
  1043. 6.3
  1044. TechSoft
  1045. 6.3
  1046. From 6.2 page 19
  1047. 6.3
  1048. TechSoft
  1049. 6.3
  1050. From 6.2 page 15
  1051. 6.3
  1052. Risc Developments (2)
  1053. 6.3
  1054. New Artwork
  1055. 6.3
  1056. Using RISC-OS 3
  1057. 6.3
  1058. Hugh Eagle
  1059. 6.3
  1060. Many thanks to all those who have sent in material about RISC-OS 3.10.
  1061. Hugh has done a lot of work for us in collating all this information, so
  1062. read it carefully, check it out on your own systems and let us know if
  1063. you find solutions to some of the problems and/or see more problems.
  1064. This kind of information is very valuable indeed in terms of helping
  1065. other people who have to go through the same learning curve as you, with
  1066. the new operating system.
  1067. 6.3
  1068. I think it would also be good to send in a few ÉI hadnæt realised that
  1069. you could... ...but it makes life much easieræcomments.
  1070. 6.3
  1071. By the way, as at 28/11/92, N.C.S. actually has the ú50 upgrades in
  1072. stock although A5000 owners will still have to be patient, Iæm afraid.
  1073. Ed.
  1074. 6.3
  1075. (Throughout the column, references to RISC-OS 3 mean RISC-OS 3.10 unless
  1076. otherwise stated. HE)
  1077. 6.3
  1078. After ÉThe Long Waitæ and an acute dose of ÉBent Pin Anxietyæ, I had, to
  1079. cap it all, ÉThe Hunt For The Missing Apps 1 Discæ. After all that, I
  1080. was quite surprised to find that the machine actually worked when I
  1081. turned it on!
  1082. 6.3
  1083. Reconfiguring it so that it ran as well as it did before the upgrade,
  1084. was quite a fiddly process. The main hint I would give to anyone who
  1085. hasnæt yet done the upgrade is: watch your Fontmax settings!
  1086. 6.3
  1087. Å   In the Memory section of !Configure donæt be misled by the illustra
  1088. tion on page 94 of the manual. You can not safely leave the öFont cache
  1089. limitò setting at zero and expect the operating system to default to a
  1090. sensible limit as you can with most of the other memory settings. Unless
  1091. you set öFont cacheò to a reasonably large amount, you must set a larger
  1092. öFont cache limitò. (On a 4Mb machine, I have them set to 128Kb and
  1093. 512Kb respectively.)
  1094. 6.3
  1095. Å   If you have a multisync monitor, read the bit on page 119 (in the
  1096. section on screen modes!) when deciding what settings to use for anti-
  1097. aliasing and cached bitmaps in the Fonts section of !Configure.
  1098. 6.3
  1099. Å   Keith Lowe adds Ö Where the upgrade instructions tell you to hold down
  1100. the Delete key until the power-on self-test has been completed, they
  1101. mean donæt release the key until text has appeared on the screen!
  1102. Otherwise your old configuration will still be there and that can cause
  1103. no end of confusion!
  1104. 6.3
  1105. Å   Ed Harris encountered problems in installing the user fit ROM carrier
  1106. board from IFEL to his A310. IFEL were very helpful in providing advice
  1107. and when Keith was still unable to track down his mistake, they sorted
  1108. it out and returned it by return with only a nominal charge to cover
  1109. their costs. Many thanks to IFEL.
  1110. 6.3
  1111. Å   Mark Lambert reports problems trying to install RISC-OS 3 in an A310
  1112. fitted with a Watford 4Mb RAM upgrade (the second edition with a
  1113. vertical daughterboard holding the processor). Watford have told him
  1114. that a simple wire link is required on the RAM board but, as yet, they
  1115. have not told him the exact details. Does anyone happen to know the
  1116. details of the link required?
  1117. 6.3
  1118. Å   Steve Hutchinson writes: I was assured that it was quite simple to do
  1119. the necessary hardware upgrade to my old A440. In the event, I managed
  1120. it without hiccup but it was not quite so simple. I had to remove the
  1121. main circuit board from the case Ö which means unplugging loads of
  1122. things in my machine with all its upgrades. If you havenæt reasonable
  1123. electronic experience, think twice!
  1124. 6.3
  1125. And is the upgrade worth it? For 1Mb or floppy disc only users, the
  1126. answer must surely be yes. It must be a godsend to have the standard
  1127. applications, plus fonts, plus modules, all in ROM. For hard disc owners
  1128. .... well, what do you think? Some readers have no doubts.
  1129. 6.3
  1130. Ed Harris, for instance, writes: All in all, I have found RISC-OS 3.1 to
  1131. be a great improvement on an already excellent operating system (RISC-OS
  1132. 2) and well worth the cost of the upgrade. However, I wonder whether
  1133. others share my disappointment that the improvements were not more
  1134. dramatic? Perhaps now is the time for us to begin to compile a Wish List
  1135. of things we would like to see in RISC-OS 4.
  1136. 6.3
  1137. Why not send your thoughts either to Archive or to me at the address at
  1138. the end of this column?
  1139. 6.3
  1140. Most programs work well in RISC-OS 3
  1141. 6.3
  1142. Robert Macmillan of Colton Software has written to point out (further to
  1143. Gerald Fittonæs comments in the Pipeline Column of Archive 6.1) that not
  1144. only do all versions of Pipedream from 3.10 onwards work in RISC-OS 3,
  1145. they all work better with RISC-OS 3. This is because RISC-OS 3 has the
  1146. latest versions of system software built in and these perform better
  1147. than the old versions supplied with RISC-OS 2. In particular, the font
  1148. manager is much, much faster and the benefits of having the fonts built
  1149. in make it possible for floppy disc users to make good use of fonts
  1150. without inordinate disc swapping.
  1151. 6.3
  1152. Robert suggests that Archive should publish a table showing which of the
  1153. most popular software packages work, and which donæt work or need
  1154. upgrading. Judging by the number of needless phone calls he has been
  1155. receiving, this would be of great benefit to users considering the
  1156. upgrade to RISC-OS 3.
  1157. 6.3
  1158. I think the drawback with this idea is that although most people will
  1159. report that most programs work perfectly well (and the list could
  1160. potentially fill much of the magazine) some programs that do work well
  1161. for most people seem to cause problems for some others.
  1162. 6.3
  1163. However, I do agree that it is important to emphasise that most programs
  1164. do work and so, to set the ball rolling, I confirm that, from my limited
  1165. experience and that of my friends, the following generally seem to work
  1166. well:
  1167. 6.3
  1168.    all the standard Acorn applications
  1169.    Impression 2.17 (but see below)
  1170.    Poster 1.21
  1171.    Artworks (all versions)
  1172.    Vector
  1173.    TWO
  1174.    Squirrel
  1175.    Pacmania
  1176.    E-Type
  1177.    Twin World
  1178.    Lemmings
  1179.    Gods
  1180. 6.3
  1181. Programs that need minor modifications
  1182. 6.3
  1183. Å   Sigmasheet (Minerva) must have FPEmulator in the same directory, even
  1184. though that module is in ROM. (John Waddell)
  1185. 6.3
  1186. Å   First Word Plus release 1.1 Ö As my current word processor is First
  1187. Word Plus release 1, I was worried by the assertion in the release notes
  1188. that this was unuseable under RISC-OS 3.1. This happily proved not to be
  1189. the case. If colour 14 within the WIMP palette is redefined, the menus
  1190. become legible. I have created an obey file to invoke 1WP (on the
  1191. monthly program disc) which loads a modified palette on entry and
  1192. restores the default palette on exit. Using this, I have experienced no
  1193. problems running 1WP. (Ed Harris)
  1194. 6.3
  1195. Å   DiscTree does not work correctly under RISC-OS 3. Oak Solutions are
  1196. working on the problem.
  1197. 6.3
  1198. Å   InterWord ù My copy of InterWord has its own directory in the hard
  1199. disc root directory. It runs in 65Tube, which isnæt where it used to be
  1200. under RISC-OS 2, and appears under a different name. To get InterWord
  1201. going again, copy the new App2.!65Tube.!RunImage to the InterWord
  1202. directory and rename it as 65Tube; it should now be sitting alongside
  1203. !IWord in that directory. In the I/WORD.!IWORD.!RUN file, insert the
  1204. following line after Set Interword$Dir <Obey$Dir>:
  1205. 6.3
  1206. RMLoad ADFS::HD4.$.IWORD.65Tube
  1207. 6.3
  1208. (where HD4 is the name of the hard disc). Double click on !IWORD in the
  1209. usual way to start it.
  1210. 6.3
  1211. A similar method should apply to single floppy machines by substituting
  1212. the appropriate floppy name for that of the hard disc above. (Ken Cowap)
  1213. 6.3
  1214. Å   Holed Out ù I have a boot file on the hard disc which sets up the
  1215. machine with some applications on the iconbar and some more on the
  1216. pinboard. The golf game öHoled Outò finds this environment disagreeable
  1217. and wonæt start. The following gets it going:
  1218. 6.3
  1219. *CONFIGURE DRIVE 0
  1220. 6.3
  1221. *MOUNT :0
  1222. 6.3
  1223.    <shift-break> (machine re-boots to bare-bones iconbar)
  1224. 6.3
  1225.    Click Drive 0 icon to get öHoled Outò filer
  1226. 6.3
  1227.    Double click !Boot
  1228. 6.3
  1229. Terminate the game with:
  1230. 6.3
  1231.    Shift/Break
  1232. 6.3
  1233. *CONFIGURE DRIVE 4
  1234. 6.3
  1235. *MOUNT:4
  1236. 6.3
  1237.    <ctrl-break> (machine re-boots to populated iconbar, etc) (Ken Cowap)
  1238. 6.3
  1239. Å   Chocks Away ù The flight simulator Chocks Away isnæt quite so fussy
  1240. about a populated iconbar and will generally start normally. However, if
  1241. it does object, it may help to try a <ctrl-break> followed immediately
  1242. by <escape>, which re-boots to an unpopulated iconbar, then double click
  1243. on !Chocks. (Ken Cowap)
  1244. 6.3
  1245. Other program problems
  1246. 6.3
  1247. Mike Williams has supplied a list of programs that he has found donæt
  1248. work under RISC-OS 3.1:
  1249. 6.3
  1250.    Ground Control Teletext Adaptor (At the A.U. áááááShow, Ground Control
  1251. said they werenæt áááááaware of any problems. HE.)
  1252. 6.3
  1253.    Claresæ Arcade Games
  1254.    Quazer
  1255.    StarTrader
  1256.    Arcendium
  1257.    Corruption
  1258.    Terramex
  1259.    Boogie Buggy
  1260. 6.3
  1261. Ed Harris has found several public domain applications that have failed
  1262. to run:
  1263. 6.3
  1264.    Mandelplot (garbage on screen Ö machine ááááálocks)
  1265.    ChartDraw (öillegal window handleò error)
  1266.    Hyper (öillegal window handleò error)
  1267. 6.3
  1268. Å   Computer Concepts admit that ShowPage does not work with RISC-OS 3 and
  1269. say that they have no plans to get it working with RISC-OS 3. There just
  1270. is not the demand for this product to make it worthwhile doing the
  1271. upgrade which is more like a complete re-write for the new operating
  1272. system.
  1273. 6.3
  1274. Denis Fox reports problems with:
  1275. 6.3
  1276. Å   Impression (2.17) and LaserDirect (2.05) work much more slowly, even
  1277. with Fontsize set to 256Kb and Fontmax to 512Kb. There are regular poor
  1278. printouts, sometimes with patterned effects in what should be black
  1279. areas, hang ups when transferring lots of text between documents and
  1280. continual error messages when printing. (I have a similar setup but have
  1281. not noticed any deterioration in performance. HE.)
  1282. 6.3
  1283. To help the speed, I suggest you try NOT using the ROM fonts Ö then you
  1284. can have Quick Text switched on. To do this, add a FontRemove
  1285. Resources:$.Fonts. in the !Fonts.!Boot file before the FontInstall
  1286. <Obey$Dir>. command.
  1287. 6.3
  1288. I have once had the patterned effect in black areas but quitting and
  1289. restarting the printer driver cleared it. Ed
  1290. 6.3
  1291. Å   Multistore V11 not printing with a Star LC24-200. (At the AU Show,
  1292. Minerva said there may be problems with earlier versions and that users
  1293. experiencing such difficulties should contact them quoting their version
  1294. number. HE.)
  1295. 6.3
  1296. Å   Scanlight Plus 256 not working at all. (There are no known problems.
  1297. Are you sure you have a power supply connected to the board? You do need
  1298. the p.s.u. connected even on the A5000. Ed.)
  1299. 6.3
  1300. Å   A number of people have had problems (mainly öillegal window handleò
  1301. errors) with versions up to 1.07 of my PD application PickAPic. I found
  1302. that there was an error in the code that only occasionally caused
  1303. problems in RISC-OS 2, but caused the program to crash quite often in
  1304. RISC-OS 3, presumably because of a change in the way the window manager
  1305. numbers its windows. Anyone who wants an upgrade to the latest version
  1306. please write to me at the address at the bottom of this column. (Hugh
  1307. Eagle)
  1308. 6.3
  1309. Å   Droom ù I canæt get Droom to work. It reports öNot enough system
  1310. sprite memoryò whether I use Memalloc and the *Spritesize command (this
  1311. used to work in RISC-OS 2), or the new *ChangeDynamicArea command, or
  1312. whether I set the System sprites slider in the Task Manager window.
  1313. (Hugh Eagle)
  1314. 6.3
  1315. Å   Compression Ö Computer Concepts have informed me that the release note
  1316. for version 3.10 is slightly too pessimistic when it claims that
  1317. Compression (up to version 1.10) does not work on RISC_OS 3.10. What
  1318. apparently happens is that sometimes when you compress a directory with
  1319. several files, the last file, instead of being processed, produces an
  1320. error message. It can then be compressed singly. (In the first two weeks
  1321. of working with the new OS, I have had no trouble with Compression, so
  1322. the problem appears to be marginal. HE) (Jochen Konietzko)
  1323. 6.3
  1324. Å   Impression and the Pinboard Ö Can anyone tell me why the Pinboard has
  1325. such problems with Impression documents?
  1326. 6.3
  1327. When I drag a compressed document onto the desktop, the next reset will
  1328. produce an error message öSprite does not existò. Without Compression,
  1329. the document does appear on the desktop but the Impression icon is
  1330. replaced by the standard application icon. (Jochen Konietzko) (I seem to
  1331. have no difficulty with Impression icons on the Pinboard in my
  1332. Compression-less setup. HE)
  1333. 6.3
  1334. Å   PC Emulator (version 1.6) ù I applied the patch to my copy of the PC
  1335. Emulator (Version 1.6) and changed the filetype of the DOS partitions to
  1336. DOSDisc as recommended in the release notes. I then found that the
  1337. machine locked whenever I ran the emulator, even after a <ctrl-break>.
  1338. Things worked perfectly, however, after the machine had been powered off
  1339. and restarted. (Ed Harris)
  1340. 6.3
  1341. Å   Trouble with !FontFX Ö It has already been documented, at least twice,
  1342. that !FontFX will not run under RISC-OS 3 and the suggested öfixò is to
  1343. reset Font$Path using *SetMacro. Having done this, I still canæt get it
  1344. to use the Trinity and Homerton fonts supplied in ROM. To get round the
  1345. problem, I have renamed the original RISC-OS 2 versions OldTrinity and
  1346. OldHomertn and installed them in my !Fonts directory on disc. Now
  1347. choosing these from the fonts list in !FontFX works beautifully. So far
  1348. there have been no side effects!
  1349. 6.3
  1350. It occurs to me that the problem may be that !FontFX is looking for
  1351. files called IntMetric and Outlines (there are lots of references to
  1352. these names in the !RunImage) whereas the files in ResourcesFS are
  1353. stored as IntMetric() and Outlines(). The real answer would be for the
  1354. program to be amended to accept either version of the filenames. I shall
  1355. speak to DataStore to find out if they intend to make the necessary
  1356. alterations. (Tom Harkness)
  1357. 6.3
  1358. The release notes say that FontFX must be more recent than 4.31 to work.
  1359. My version, 4.08, works fine so long as you donæt use ROM fonts. If you
  1360. do try to, it reports ÉCanæt find outlinesæ and promptly exits from the
  1361. iconbar! All other fonts seem fine, even from multiple directories.
  1362. (Steve Hutchinson)
  1363. 6.3
  1364. Å   Ovation ù Ovation meets a problem or two with RISC-OS 3 despite its
  1365. recent update (version 1.35S). If text is indented (e.g. at the start of
  1366. a paragraph) and is also justified, the correct format is presented on
  1367. screen but when printed, the indented line projects to the right beyond
  1368. the text frame. It is understood that Risc Developments are working on
  1369. this. Also, if Ovation encounters a faulty outline font (e.g. containing
  1370. a zero-width character, not uncommon in some PD fonts) it puts out an
  1371. incorrect error message saying that the font cache is full. This bug is
  1372. more likely to be purely Ovationæs rather than in conjunction with RISC-
  1373. OS 3, but hasnæt been resolved as yet (except of course by ensuring that
  1374. outline fonts are fault-free). (Ken Cowap)
  1375. 6.3
  1376. Å   ArcDFS ù Since fitting the RISC-OS 3 upgrade, ArcDFS no longer works
  1377. correctly and consistently comes up with error messages. This causes me
  1378. great problems since, throughout our group of companies, we possess some
  1379. 50+ Acorn BBC units ranging from the old BBC Model Bæs (yes, theyære
  1380. still going strong after eight years of service) through to Master
  1381. 128æs.
  1382. 6.3
  1383. We are only just moving on to Archimedes and to maintain our wealth of
  1384. information accumulated on our Beebs, I am transferring files from DFS
  1385. to ADFS via a set of external 5╝ö disc drives I have had connected to my
  1386. A3000. This has worked perfectly in the past with complete surfaces of
  1387. DFS discs being transferred to ADFS in seconds. Without ArcDFS, I am
  1388. left with only one solution Ö to *MOVE individual DFS files to 640Kb
  1389. ADFS discs using a Master Series Computer and then transferring these
  1390. 640Kb discs to the Archimedes. Clearly, this is a retrograde step after
  1391. the convenience of ArcDFS.
  1392. 6.3
  1393. I have been in contact with Dabs Press and, although they are aware of
  1394. the problem, they could not tell me whether or not they were going to
  1395. make the necessary modifications to their software! I sincerely hope
  1396. they receive a large enough response from their users to persuade them
  1397. to produce an upgrade for this product. (S. J. Furnell)
  1398. 6.3
  1399. Å   !Alarm ù A couple of tricky little bugs exist in the new Alarm
  1400. application. Iæve already reported these to Risc User and trust they
  1401. will advise Acorn in turn. If the Repeating Alarm facility is used to
  1402. operate, say, every first Monday of every month, it malfunctions when
  1403. the next month comes up to December. It advances a year instead of a
  1404. month, going from November 1992 to December 1993.
  1405. 6.3
  1406. Perhaps less important, but still a nuisance if you want to use it, is
  1407. the bug in the automatic BST to GMT facility. It refuses to accept
  1408. entries for two different years such as were needed at the recent change
  1409. on 25th October. Before that date, it should have been in order to enter
  1410. 6.3
  1411.    BST starts on Sunday 28th March 1993 at 01:00
  1412. 6.3
  1413.    BST ends on Sunday 25th October 1992 at 01:00
  1414. 6.3
  1415. but Alarm invalidates such an entry by altering the östartsò date to be
  1416. earlier than the öendsò date. If one capitulates and enters the two real
  1417. changeover dates for 1992, (hoping that Alarm will calculate forward
  1418. into 1993) Alarm does indeed respond with a date in 1993 but only about
  1419. 11 months ahead, on 1st March 1993. There is a fundamental difficulty
  1420. for the programmer here. The changeover date doesnæt, as far as I know,
  1421. follow a properly defined rule and tends to be arbitrary. I suspect that
  1422. the programmer intended to issue a reminder to the operator 11 months
  1423. after the last change so that the true date, known by then, could be
  1424. entered. However, the algorithm obviously needs re-examination. (Ken
  1425. Cowap)
  1426. 6.3
  1427. Can readers (or the manufacturers) offer any advice on how to overcome
  1428. problems with these programs (or any others that have proved
  1429. troublesome)?
  1430. 6.3
  1431. Hardware problems
  1432. 6.3
  1433. Å   Oak SCSI öFree Spaceò display ù My Oak SCSI hard disc wonæt use the
  1434. new ÉFree Spaceæ window but uses the old RISC-OS 2 Éstop-everything-and
  1435. press-spaceæ window. The Release notes suggest that SCSIFiler will fix
  1436. this for the Acorn SCSI card, but it doesnæt appear to for my Oak
  1437. (v.1.16). Any thoughts? (Steve Hutchinson) (The solution to this was
  1438. explained in Archive 5.5 p40. Ed.)
  1439. 6.3
  1440. Å   Digitisers, SCSI and the RS232 port ù I managed to get RISC-OS 3
  1441. fitted to my faithful A440 only to discover that my Technomatic
  1442. (Brainsoft) Multipod Professional digitiser not only does not work with
  1443. RISC-OS 3.10 but the computer will not work with the podule fitted.
  1444. Richard Brain says that he was not aware of a problem and there are
  1445. currently no plans for an upgrade, but he will have a look when he gets
  1446. time to see if an upgrade is possible. In the meantime, I have no video
  1447. digitiser, no stereo digitiser and no extra RS232 ports.
  1448. 6.3
  1449. I mentioned the problem to Malcolm Banthorpe and he tells me that his
  1450. Pineapple digitiser is now öunwellò with RISC-OS 3.10. I wonder whether
  1451. there are some differences in the way that podules download their ROM
  1452. modules and initialise under RISC-OS 3.10?
  1453. 6.3
  1454. I also hear rumours that people are experiencing interrupt problems with
  1455. SCSI interfaces causing data loss on the RS232 port (interrupts not
  1456. returning quickly enough to avoid loss of incoming data on the port).
  1457. Apparently, uncached Morley cards may be particularly prone but I have
  1458. no first hand experience. It certainly fits in with Malcolm Banthorpeæs
  1459. experience on his digitiser which seems to be suffering from an overdose
  1460. of interrupts. (Tim Nicholson)
  1461. 6.3
  1462. Laser Direct RISC-OS 3 printer driver?
  1463. 6.3
  1464. It seems barely credible, but a whole year after RISC-OS 3 was first
  1465. released, the Rolls Royce of Archimedes printers still lacks a RISC-OS 3
  1466. printer driver. For many purposes this doesnæt matter, but rotated fonts
  1467. seem a bit pointless if you canæt print them out, and users with more
  1468. than one printer would like to be able to access their LD using the
  1469. Print Manager.
  1470. 6.3
  1471. Readers have been getting contradictory explanations from Computer
  1472. Concepts: one was told that theyæve been too busy writing Artworks,
  1473. while another was told that Acorn havenæt given them a printer driver
  1474. specification yet! (Thereæs an element of truth in both. Letæs just say
  1475. that it is a non-trivial task to write a printer driver to work with
  1476. Acornæs Print Manager. Ed.)
  1477. 6.3
  1478. Other printer problems
  1479. 6.3
  1480. Å   Epson MX100-III ù My printer is an ageing Epson MX100-III. Using the
  1481. standard settings provided by the Acorn printer driver, I find thin
  1482. lines can disappear. e.g. the staves in a Rhapsody score. Using the
  1483. highest resolution setting (120 x 216 dpi dithered) produces an
  1484. excellent standard of output but 1.5 to 2 times slower than the RISC-OS
  1485. 2 driver (at a resolution of 120 ╫ 144 dpi). (Ed Harris)
  1486. 6.3
  1487. Å   Print buffering ù I have an Archimedes 420/1 expanded to 4Mb memory,
  1488. with twin Cumana 5╝ö disc drives and recently equipped with ARM3 and
  1489. RISC-OS 3.1. Ever since I installed RISC-OS 3.1, I have had a problem
  1490. with printing. I use Impression most of the time but the same problem
  1491. arises with Draw, Acorn DTP, DrawPlus, etc, etc. I shall put the problem
  1492. in the form of a question: What is the point of a printer buffer that
  1493. does not release control of the machine back to the user until the print
  1494. job is finished?
  1495. 6.3
  1496. I wrote to Acorn as follows: Whatever setting I use for PrinterBuffer
  1497. Size, it just does not seem to make any difference. I have 4Mb of memory
  1498. and use Impression a great deal. Sometimes I set the PrinterBufferSize
  1499. as high as 512Kb but the computer does not return control to the desktop
  1500. until the document is completely printed. Under RISC-OS 2, I used a
  1501. printer buffer program and found that I was able to work on a new
  1502. document within a minute or two of sending the previous one to the
  1503. printer provided the buffer was set high enough to accommodate all of
  1504. the data being sent to the printer. Now the machine is always tied up
  1505. until the printing is complete. How does one get the printer buffer to
  1506. work? I use *Configure PrinterBufferSize to set the size of the buffer.
  1507. Is there another command that I can use to make it operational and is it
  1508. possible to turn it off (*Configure PrinterBufferSize 0Kb sets it to the
  1509. default of 1Kb) and use one of the many printer buffer programs that are
  1510. available?
  1511. 6.3
  1512. Acorn (Peter Dunn) replied: öAlthough the printer buffer does work in
  1513. that data is passed into the buffer, control is not released back to the
  1514. user until the print job is finished.ò
  1515. 6.3
  1516. I have tried RMKilling the BufferManager but that stops all data being
  1517. sent to the printer.
  1518. 6.3
  1519. I have devised a work-around but it is a little long-winded:
  1520. 6.3
  1521. 1. Have two versions of the chosen printer driver on the iconbar and
  1522. make them active.
  1523. 6.3
  1524. 2. Set one (F) to send the data for the printer to a file on the hard
  1525. disc and set the other (P) to send the data to the parallel or serial
  1526. printer.
  1527. 6.3
  1528. 3. Select (F) by clicking on it and Éprintæ the document. A file called
  1529. Printout will appear on the hard disc.
  1530. 6.3
  1531. 4. Change the name of the file called Printout to, say, Printoutx.
  1532. 6.3
  1533. 5. Select (P) by clicking on it and drag Printoutx onto the Printer icon
  1534. that is yellow.
  1535. 6.3
  1536. The file will now print in the background and control is instantly
  1537. returned to the user. Step 4 is not strictly necessary but is useful if
  1538. you are printing longish documents and wish to, as it were, stack them
  1539. ready for sending to the printer. If one does not change the name to
  1540. something unique, there is a danger of overprinting one file with
  1541. another. Instead of the hard disc one may, of course, use a floppy or
  1542. RAMFS.
  1543. 6.3
  1544. This is quite a laborious work-around when one has a printer buffer
  1545. built in (so one would think) to RISC-OS 3.1. A better arrangement must
  1546. be possible and so I should be grateful for any hints or tips the
  1547. readers can give. (M. P. Ireland)
  1548. 6.3
  1549. Å   Epson FX-105 ù The driver for the Epson FX-85 does not work with the
  1550. Epson FX-105 even though the printer manual suggests that they are
  1551. virtually identical apart from the carriage width. The printout is
  1552. always aligned along the left hand side even when it is supposed to be
  1553. centered, etc. Furthermore, large letters, being sent in several
  1554. separate lines, are often incorrectly aligned from top to bottom. When I
  1555. raised this in my letter to Acorn, they replied as follows:
  1556. 6.3
  1557. öThe Epson FX-105 does not support the ESC $ (remove leading white
  1558. space) options supported by the FX-85 but does however support NLQ text
  1559. printing. The decision by Epson not to support ESC $ in its newer
  1560. printers has only recently come to light when testing the Epson LX-100.
  1561. We have written a driver for the LX-100 which I am sure you will find
  1562. works correctly with your printer.ò
  1563. 6.3
  1564. A copy was sent to me and I can confirm that it does indeed work. (M. P.
  1565. Ireland)
  1566. 6.3
  1567. Å   Bug in !Printers Ö If you configure two printers of the same type
  1568. (e.g. a 300dpi HPLJ-2 and a 150dpi HPLJ-2) then delete the first one,
  1569. !Printers crashes with an address error. (Mike Williams)
  1570. 6.3
  1571. Å   LaserJetII printer driver and Qume Crystalprint Series II ù My problem
  1572. concerns the LaserJet II printer driver. Quite simply, I always get an
  1573. extra blank sheet for every page printed. Also stray characters appear
  1574. in the left margin. The Qume CrystalPrint Series II printer is very
  1575. similar to that used initially by Computer Concepts for their Laser
  1576. Direct series, but mine isnæt a Laser Direct model.
  1577. 6.3
  1578. In the early days of RISC-OS 2, I vaguely remember I had a similar
  1579. problem that was solved only when Acorn (fairly quickly) brought out
  1580. another printer driver.
  1581. 6.3
  1582. In my efforts to solve the problem, Iæve tried lots of things ù like
  1583. changing margins, etc, etc. Iæve had long discussions with Gerald
  1584. Fitton, too. From him, I know that others have plenty of problems,
  1585. though perhaps not quite like mine. The silly thing is that all was OK
  1586. with the RISC-OS 2 driver but, despite the impression given in Risc
  1587. User, neither of us thinks that RISC-OS 2 drivers can be used with RISC-
  1588. OS 3. Is this correct, I wonder? If they can be used, that would be a
  1589. good temporary solution. (John Jordan)
  1590. 6.3
  1591. Å   Getting the page length right ù After quite a number of abortive
  1592. attempts to set the page length for 12 inch fanfold paper, I finally
  1593. found out that any changes I make become effective (at least on my
  1594. combination of machines) only after I have saved all changes, quit and
  1595. then reloaded the printer driver. (By the way, the correct setting for
  1596. my Fujitsu DL1100 printer, using the Epson LQ860 emulation is, for some
  1597. inscrutable reason, 12.309 inches, 72 lines). (Jochen Konietzko)
  1598. 6.3
  1599. Å   Panasonic KX-P1124 ù Probably my most difficult problem was with the
  1600. printer drivers. The old RISC-OS 2 drivers just have to be abandoned Ö
  1601. they merely generate an error message. My printer happens to be a
  1602. Panasonic KX-P1124 (24-pin dot matrix, monochrome) but Acorn havenæt
  1603. seen fit to include any Panasonic printers at all. Though they blandly
  1604. say that one of the others will probably be near enough, in fact, it
  1605. requires a considerable amount of research to be confident that the
  1606. range of control codes is (a) sufficient to fully exploit the machineæs
  1607. capabilities and (b) doesnæt contain any alien codes to cause unwanted
  1608. results. At the end of the day (or several!) I reduced the probables to
  1609. two, the Epson LQ860 and the NEC P6+ (despite the fact that both
  1610. machines are colour printers). I had misgivings about the NEC which
  1611. includes, in its control code repertoire, some which started with 28
  1612. instead of the old familiar 27 (Escape). The matter was finally clinched
  1613. when I was able to question an Acorn representative at the Acorn User
  1614. Show. He told me that quite definitely I should use the Epson LQ860. So
  1615. this I do, and without any problems so far. I havenæt even edited out
  1616. the control codes for the colours Ö the driver is used, unmodified. (Ken
  1617. Cowap)
  1618. 6.3
  1619. Where are the hare and the tortoise?
  1620. 6.3
  1621. Can I get the hare and tortoise icons that came with my ARM3 back on the
  1622. iconbar? Or do I have to tell people that if they want E-Type to go at a
  1623. playable pace they have to press <F12> then type öCache offò then press
  1624. <return> twice before running it?! (I just use
  1625. 6.3
  1626. RMEnsure Arm3Icon 0.9 Run scsi::4 .$.<leafname>.!Arm3
  1627. 6.3
  1628.  in my !boot file and... hare presto! Ed.)
  1629. 6.3
  1630. Programmersæ Reference Manual
  1631. 6.3
  1632. At the Acorn User Show, a öbetaò copy of the new PRM was on sale in
  1633. photocopy form for ú120. The final version will apparently be available
  1634. öin the first quarterò of 1993. It is about 50% bigger than the RISC-OS
  1635. 2 manual and will fill six volumes. From my brief inspection, it looks
  1636. as if it contains quite a lot more explanatory material than its
  1637. predecessor. I was told that neither the price of the final version nor
  1638. details of the trade-in arrangements (if any!) have yet been fixed.
  1639. 6.3
  1640. Various hints and tips:
  1641. 6.3
  1642. Å   Problem with Impression dongle Ö You canæt write to a printer when the
  1643. Impression dongle is fitted unless you have run the Impression appli
  1644. cation first. (Mike Williams)
  1645. 6.3
  1646. Å   Summer time blues Ö Some C programs (e.g. PVray) get the time wildly
  1647. wrong when *BST is configured. (Mike Williams)
  1648. 6.3
  1649. Å   Bug in !SciCalc Ö It gives wildly inaccurate results to the <▒>
  1650. function for some values, e.g. if you enter ö1<Exp>56ò then press <1/x>
  1651. to give ö10EÖ57ò then press <▒> you get the surprising result: ö10EÖ58ò.
  1652. If you press <▒> again, you get ö10EÖ41ò. (Mike Williams)
  1653. 6.3
  1654. Å   Where did this file come from? Ö There are quite a few ways in which
  1655. <adjust> clicking can be very helpful. Iæm sure you all know that
  1656. <adjust> double-clicking a directory opens it and closes the parent and
  1657. that using <adjust> to close the directory opens up the parent. You may
  1658. even know that clicking the close icon with <adjust> while holding down
  1659. <shift> actually opens the parent without closing the directory. What
  1660. you may not have noticed is that you can do the same with (some)
  1661. applications. With most applications, it seems, <adjust> double-clicking
  1662. a file loads the file and closes the directory from which it came. (I
  1663. think this is a function of the Filer and is therefore true for all
  1664. applications and files. HE.) Then, if you click in the close box with
  1665. <adjust>, holding <shift> at the same time, the directory from which the
  1666. file came appears on screen without the file disappearing from view.
  1667. With Impression, however, there is no need to hold <shift> as well Ö
  1668. just using <adjust> on the close box brings up the directory viewer in
  1669. which the file is saved.
  1670. 6.3
  1671. Oh, and Iæve only just discovered that if you draw a windowæs scroll bar
  1672. with <adjust>, you can move about in both x and y directions! (Paul
  1673. Beverley)
  1674. 6.3
  1675. Å   Rubber-banding Ö Those who have gone straight to RISC-OS 3 without
  1676. reading the manual (like Ed!) may not have noticed that you can use
  1677. rubber-banding to select a group of files. So instead of <adjust>
  1678. clicking every individual file you want to select, you can click
  1679. <select> in the space between two file icons and, as you drag, a red
  1680. bounding box appears which you can release when it is over the files you
  1681. want. Using <adjust> instead of <select> simply adds files to those
  1682. already selected but note that if you go over a file that is already
  1683. selected, it is then de-selected. (Paul Beverley)
  1684. 6.3
  1685. Å   SerialDeviceDriver module Ö On an A5000, never unplug the module
  1686. called öSerialDevice Driverò, as the following strange things will
  1687. happen. After a power off/on the machine will boot up but, during
  1688. booting, an error message öError from Task Managerò will appear and
  1689. there is only a öCancelò button to click on. Then the boot up is
  1690. finished correctly but no Taskmanager is present! It will only reappear
  1691. if you double-click on any file with the new Desktop filetype (&FEA),
  1692. even if this is 0 bytes long! In addition, the Taskmanager will not
  1693. function correctly in all cases: try to get an ö!Edit Task Windowò now.
  1694. Bug or not? (Carsten Bussman)
  1695. 6.3
  1696. Å   Double-clicking into Basic Ö On my first machine (which was killed by
  1697. my dealer while trying to fit a SCSI hard drive) I was able to enter BBC
  1698. Basic V directly by double-clicking into the systemæs start-up message
  1699. window (öRISC-OS ... initialisingò). This does not work with my current
  1700. machine (Serial no. 1009939); I donæt know why. This was a nice feature
  1701. which Iæm missing now, so why isnæt it implemented in all RISC-OS 3
  1702. ROMs? (Carsten Bussman)
  1703. 6.3
  1704. Å   Inserting path names into !Edit Ö Try dragging any file or directory
  1705. into an !Edit window while pressing the Shift key. This will give the
  1706. fileæs pathname. (Carsten Bussman)
  1707. 6.3
  1708. Å   öMenu Area Fullò error in FormEd ù Captain K.áJ.áTompkins reports the
  1709. error öMenu Area Full (Internal code 6560,1)ò from his version of
  1710. !FormEd. This is probably because he has one of the earlier versions of
  1711. this program which only allows limited space for building its menus and
  1712. is defeated if there are too many fonts installed. If so, it is fairly
  1713. easy to cure: in the Basic program called !RunImage inside the !FormEd
  1714. directory there is a line that reads something like:
  1715. 6.3
  1716. DIM menufree% &1800: menuend% = menufree%+&1800
  1717. 6.3
  1718. (this is at line 790 in the version Iæm now looking at). If each of the
  1719. two &1800æs is replaced by &2000, so that the line reads:
  1720. 6.3
  1721. DIM menufree% &2000: menuend% = menufree%+&2000
  1722. 6.3
  1723.  the program should work.
  1724. 6.3
  1725. (Note: this hint does not apply to all versions of FormEd) (Hugh Eagle)
  1726. 6.3
  1727. Å   Filer_Run syntax Ö it seems that the command
  1728. 6.3
  1729. *Filer_Run <App$Dir>
  1730. 6.3
  1731. (where App$Dir is a system variable set to the name of an application)
  1732. doesnæt run the application as you might expect. What it does is to open
  1733. a filer window on the applicationæs directory with ö<App$Dir>ò (not the
  1734. actual pathname) in the title bar.
  1735. 6.3
  1736. The following syntax, however, does seem to work:
  1737. 6.3
  1738. *Set Alias$FR Filer_Run <App$Dir>
  1739. 6.3
  1740. *FR
  1741. 6.3
  1742. *UnSet Alias$FR
  1743. 6.3
  1744. (this is equivalent to the old trick that used to be needed in RISC-OS 2
  1745. to open a directory viewer with *Filer_OpenDir). (Hugh Eagle)
  1746. 6.3
  1747. Å   *FontRemove syntax Ö The FontRemove star command seems to be very
  1748. fussy. You have to tell it the name of the directory that you want to
  1749. remove in exactly the form in which it is included in the Font$Path
  1750. system variable. For instance, if you want to remove
  1751. RAM::RamDisc0.$.!Fonts. from Font$Path you must type
  1752. 6.3
  1753. *FontRemoveáRAM::RamDisc0.$. !Fonts.
  1754. 6.3
  1755. including both the disc name (RamDisc0) and the full stop at the end.
  1756. (Robert Chrismas has sent in a handy application called !FontsCut which
  1757. lists the directories currently included in Font$Path with numbers
  1758. beside them and all you have to do is type in the number corresponding
  1759. to the directory you want to remove. This is included on the monthly
  1760. program disc.) (Hugh Eagle)
  1761. 6.3
  1762. Å   Configuring Shift Caps Ö In the Caps lock section of the Keyboard
  1763. window of !Configure, the effects of öCaps lock onò and öShift capsò
  1764. seem to be reversed. In other words, selecting öCaps lock onò means that
  1765. holding down <shift> reverts to lower case whereas selecting öShift
  1766. capsò means that you get upper case regardless of whether <shift> is
  1767. held down or not. (Hugh Eagle)
  1768. 6.3
  1769. Å   Mouse button codes ù If you enter and run the following simple Basic
  1770. program:
  1771. 6.3
  1772. REPEAT
  1773.   MOUSE X,Y,B
  1774.   PRINT TAB(10,10)B
  1775. UNTIL FALSE
  1776. 6.3
  1777. then watch what number is displayed on the screen as you press the
  1778. various mouse buttons you will see:
  1779. 6.3
  1780. no button   0
  1781. 6.3
  1782. Select      4
  1783. 6.3
  1784. Menu        2 for an instant, followed by 0
  1785. 6.3
  1786. Adjust      1
  1787. 6.3
  1788. The behaviour of the menu button has changed from RISC-OS 2, I think.
  1789. Those programs that are interested only in detecting whether the button
  1790. has been clicked wonæt be affected, but the change can cause problems
  1791. for programs that want to detect whether the Menu button remains held
  1792. down. Luckily, there is a simple solution: the function
  1793. 6.3
  1794. INKEY(-11)
  1795. 6.3
  1796. will return the value TRUE however long the Menu button is held. (Hugh
  1797. Eagle)
  1798. 6.3
  1799. Å   Getting Art Nouveau to run ù Hands up those who remember Art Nouveau?
  1800. Well, this excellent old program has one quirk, namely that you have to
  1801. hold down the menu button while you move round the menu tree until you
  1802. make your selection. So, because of the changed functioning of the mouse
  1803. button (see above), it doesnæt work in RISC-OS 3.1 unless you make a
  1804. slight modification. In the Basic program called ArtNouveau from the
  1805. directory ANfiles at line 30950 in my version there is a line that
  1806. reads:
  1807. 6.3
  1808. WHILE stayopen AND mbut=2
  1809. 6.3
  1810. I have found that altering this to:
  1811. 6.3
  1812. WHILE stayopen AND INKEY-11
  1813. 6.3
  1814. restores the program to health. (Hugh Eagle)
  1815. 6.3
  1816. Å   Using a TaskObey file to display a message ù The new filetype
  1817. öTaskObeyò is useful if you want the !Run file of an application to pop
  1818. up a message in a window without halting the whole system. You might use
  1819. this for instance to display a warning to change the setting of your
  1820. printer. Thus, to display öThis is a messageò in a window, create a file
  1821. called, say, Message containing:
  1822. 6.3
  1823. Echo This is a message
  1824. 6.3
  1825. set the filetype to TaskObey and include, in the applicationæs !Run
  1826. file, the line
  1827. 6.3
  1828. Filer_Run <Obey$Dir>.Message
  1829. 6.3
  1830. If you had set the filetype to Obey, the message would pop up moment
  1831. arily then disappear before the application loaded. (Hugh Eagle)
  1832. 6.3
  1833. Å   Deskboot files and the Pinboard ù The User Guide explains how to
  1834. create a !Boot file to boot the computer in your desired configuration.
  1835. It adds that, when saving the !Boot file, information to start up
  1836. applications produced before RISC-OS 3 is not saved automatically. To
  1837. get round this, it explains how to rename the !Boot file as Deskboot and
  1838. to incorporate it in a !Boot application. It goes on to explain how to
  1839. edit the Deskboot file, either to remove or to add lines as necessary.
  1840. 6.3
  1841. If you use the Pinboard as I do, some icons will be changed on a regular
  1842. basis. For example, I have regularly used files which change each month.
  1843. If the Deskboot file is saved each time the Pinboard is changed, a
  1844. certain amount of what the User Guide calls öhand editingò would have to
  1845. be done each time a change is made, to remove or add relevant
  1846. instructions.
  1847. 6.3
  1848. There is an easy solution. Set up your Desktop once and save the
  1849. Deskboot file. Then click <menu> over an empty space on the desktop and
  1850. save the Pinboard settings in the Pinboard file in your root directory.
  1851. Now drag your Deskboot file into !Edit (or Shift-double-click on it) and
  1852. delete all the lines which begin öPinò. Alter the line öPinboardò or
  1853. öPinboard -Gridò to read öRun Pinboardò or öRun Pinboard -Gridò.
  1854. 6.3
  1855. Future changes to the Pinboard setting now need be saved only to the
  1856. Pinboard file in your root directory. (John Waddell)
  1857. 6.3
  1858. Ken Cowap warns that a DeskBoot file can easily be unnecessarily
  1859. cluttered if, for instance, there are a number of unwanted items on the
  1860. screen when it is made. This will incur a penalty in the time taken to
  1861. boot up Ö his started at two and a half minutes before he trimmed it
  1862. ruthlessly.
  1863. 6.3
  1864. Å   ADFS buffers Ö According to Acornæs telephone help line, the bug which
  1865. made it advisable to configure the adfs buffers to zero has been fixed!
  1866. (According to Computer Concepts, unless the buffers are configured to
  1867. zero, it is vital to dismount disks before removing them for good from
  1868. the machine, because otherwise there may be trouble later.) (Jochen
  1869. Konietzko)
  1870. 6.3
  1871. Å   OS_Byte calls and the serial port ù I use my A3000 for many purposes,
  1872. one of the more important being as a terminal to our mainframe computer.
  1873. The software for this I have written myself in Basic. After the upgrade,
  1874. my terminal program wouldnæt work. It would not accept characters from
  1875. the serial port. I tried using the serial port utility module supplied
  1876. with the upgrade, but this did not help.
  1877. 6.3
  1878. After a lot of experimenting, we finally discovered that if we changed
  1879. all the *FX calls for SYS öOS_Byteò calls, then the program would work.
  1880. It still puzzles me why two supposedly similar commands should give
  1881. different results! (S.áJ.áFurnell)
  1882. 6.3
  1883. Å   Z88 Filers ù The Release Note says that the !Z88 filer supplied with
  1884. Pipedream requires interactive filing to be off. Youæll be pleased to
  1885. know that David Holdenæs !Z88 filer (Careware 7) suffers from no such
  1886. problems. (Steve Hutchinson)
  1887. 6.3
  1888. Å   Programs that call machine code from Basic ù An application I used a
  1889. lot, !BPrint (Risc User) wouldnæt run with RISC-OS 3, and the cure for
  1890. this may well apply to other applications organised in a similar layout,
  1891. i.e. using a central Basic program calling a separate piece of machine
  1892. code. The cure was to re-assemble the code under RISC-OS 3; obviously
  1893. there is some small difference between its assembler and that of RISC-OS
  1894. 2. In this particular application, its öancestorò (the program developed
  1895. over a period of time), a program called FileList from vol.2 issue 5 was
  1896. rerun to produce the assembled file BLIST which was substituted for the
  1897. original. (Ken Cowap)
  1898. 6.3
  1899. Å   Mode number conflicts ù A program for plotting Mandelbrot diagrams
  1900. failed with RISC-OS 3 and the manner of its failure may indicate a cure
  1901. for others. This particular program called a Mode 40 which didnæt exist
  1902. under RISC-OS 2 but which was specially designed and provided with the
  1903. program. RISC-OS 3 of course does have a native Mode 40 and a clash
  1904. between it and the öspecialò gave rise to the error report. The cure was
  1905. to rename the öspecialò to a mode number outside the range provided with
  1906. RISC-OS 3, in this case Mode 50. (Ken Cowap)
  1907. 6.3
  1908. Å   Setting !Alarm options ù This is a minor matter, unless you are trying
  1909. to set your own !Alarm display format in a !Boot file. This you do with
  1910. a Set Alarm$Options line (p136 App Guide). The quotes are omitted. This
  1911. is my (working) line:
  1912. 6.3
  1913. Set Alarm$Options -format ö%z24:%mi %zdy.%zmn.%zyrò
  1914. 6.3
  1915. If you use a !Boot file and !Alarm, put it in to see my favourite
  1916. display format! (Steve Hutchinson)
  1917. 6.3
  1918. Miscellaneous comments
  1919. 6.3
  1920. Å   Surely a Égrown upæ operating system shouldnæt say, öDisc error 10 at
  1921. :0/00000000ò when you try to read an unformatted disc?
  1922. 6.3
  1923. Å   It seems strange that !Configure requires you to press <return> after
  1924. typing into a writable icon. This is not normal RISC-OS convention.
  1925. 6.3
  1926. Å   Itæs a shame that they didnæt manage to squeeze some suitable backdrop
  1927. sprites onto one of the RISC-OS 3 discs. Those who have access to
  1928. Windows 3 might like to know that its wallpaper bitmaps seem to work
  1929. very well on the RISC-OS 3 Pinboard, and it is very easy to transfer
  1930. them from an MS-DOS floppy, via !ChangeFSI (on the Support disc), into
  1931. sprite format on an Archimedes disc. The file called öleaves.bmpò makes
  1932. an excellent seasonal backdrop (Iæm writing this in October!).
  1933. 6.3
  1934. Alt-key combinations
  1935. 6.3
  1936. The last couple of issues of Archive have contained lists of Alt-Key
  1937. combinations in RISC-OS 3.1. To complete the picture I would add:
  1938. 6.3
  1939. To get accents ( ┤ ` ¿ ^ ░ ╕ ) on their own, press the appropriate Alt-
  1940. key combination (e.g. Alt-[ for aá┤á) then the space bar.
  1941. 6.3
  1942. Alt-Spacebar gives a öhard spaceò or önon-breaking spaceò (the sort you
  1943. put between öNR2ò and ö2SDò if you donæt want Archiveæs postcode
  1944. öNR2á2SDò to be split over two lines.)
  1945. 6.3
  1946. I have put a diagram of the keyboard showing the Alt-key combinations
  1947. below, and I hope that Paul will put the drawfile on the monthly program
  1948. disc.
  1949. 6.3
  1950. Incidentally, I am a bit puzzled about the character (code 173) that is
  1951. produced by the Alt-hyphen combination. Whatæs it for? I thought at
  1952. first that it was the ösoft hyphenò that is described on page 109 of the
  1953. Impression 2 manual, but I now see that this is produced by Ctrl-hyphen
  1954. (this character ù code 31 ù is normally invisible but indicates a
  1955. preferred place for breaking a word with a hyphen at the end of a line;
  1956. it works even if the hyphenation module is not present). By contrast,
  1957. character 173 is, so far as I can see, always visible (as a hyphen if
  1958. the font follows the Acorn standard) but its effect is to prevent a word
  1959. into which it is inserted ever being broken over the end of a line even
  1960. if hyphenation is switched on. Am I correct in describing it as a öhard
  1961. hyphenò? (Well, I can think of one application. Suppose you want to use
  1962. a word like öpray¡ersò where you deliberately hyphenate the word to
  1963. refer to the people doing the praying. In that case, if it were an
  1964. ordinary hyphen, the word might get split at the end of a line. Using a
  1965. Éhard hyphenæ avoids the split. Ed)
  1966. 6.3
  1967. The upgrade again
  1968. 6.3
  1969. Finally, I thought it would be good to take a slightly light-hearted
  1970. look at the subject as we hear the experiences that Rob Wears had in
  1971. fitting and using RISC-OS 3 on an A310...
  1972. 6.3
  1973. I finally managed to get my grubby mitts on the RISC-OS 3 upgrade at the
  1974. Acorn User show, and arrived back home with that odd mixture of terror
  1975. and excitement that comes from having to take the lid off the machine.
  1976. Iæve fitted one or two things in the past, like the soldered 4MByte RAM
  1977. upgrade, but no matter how many times I do it, itæs still a bit like
  1978. performing neurosurgery on a close friend. Will Archie pull through,
  1979. Doc? Actually, fitting was a lot easier than Iæd thought. I used the
  1980. IFEL carrier board, as their memory upgrade has proven so reliable. My
  1981. only source of concern was the discrepancy between their fitting
  1982. instructions and the ones supplied by Acorn which alluded to changing
  1983. links on the mother board. I followed the IFEL guidelines, which had the
  1984. link changes on their board, and waited anxiously for the machine to
  1985. explode when I switched it on. No problem, apart from the fact that I
  1986. bypassed the desktop and ended up at the command line. Still, the
  1987. desktop was easily accessible with a simple ö*ò command.
  1988. 6.3
  1989. The hard drive icon was where it should be (and no longer jumped around
  1990. when I mounted or dismounted the disc!) and I am pleased to say that I
  1991. encountered no problems with the Oak SCSI board (version 1.16 of SCSI
  1992. driver).
  1993. 6.3
  1994. I couldnæt resist the urge to delve into the Apps directory, and here I
  1995. encountered my first problem. Initially, I couldnæt get !Edit to load
  1996. from Apps and was greeted with the wonderfully informative message ÉFile
  1997. öBasicò not foundæ. Fighting the sudden tide of panic (öIt wouldnæt work
  1998. at all if the ROM legs were snapped off, idiot!ò) I checked the module
  1999. list via the command line and found that I was apparently the lucky
  2000. owner of the one set of chips which Acorn had shipped without putting
  2001. Basic on board first. I was about to fall on my soldering iron in
  2002. despair when I thought of checking the status of the system modules
  2003. using *ROMModules and found that the Basic module was unplugged. I
  2004. reinitialised the module, and !Edit worked fine. There, that wasnæt too
  2005. bad Ö the hair will probably grow back and nobody will notice the
  2006. teethmarks on the manual....
  2007. 6.3
  2008. Incidentally, the ARM3Support module was also unplugged and therefore
  2009. the *Cache command wouldnæt work, but Iæd got the hang of things by now,
  2010. and pressed on happily. I then UNPLUGged the modules that I thought I
  2011. wouldnæt need (old habits die hard) like the Econet and NetFS modules Ö
  2012. each unplug command was greeted with the comment öxxxx module not foundò
  2013. yet a subsequent check revealed that the module had been unplugged
  2014. correctly Ö odd! Archie hadnæt behaved like this before his lobotomy. It
  2015. was a bit unnerving, like suddenly finding the Queen Mother skateboard
  2016. ing down your front drive.
  2017. 6.3
  2018. I then set about gingerly reconstructing the !Boot option for the hard
  2019. disc, feeding the bits to my new Archie in small, digestible chunks.
  2020. Compression (version 1.10) and !Spark both worked fine, after I
  2021. remembered not to set the öNewerò option for copying. However, Archie no
  2022. longer likes the öOS_UpdateMEMCò call which I had used to speed up the
  2023. ROMs. This is now treated with the same degree of horror as if Iæd just
  2024. offered it deep-fried weevil for tea, and the machine has to be kicked
  2025. out of its sulk with a hard reset. I initially and unjustly blamed the
  2026. old OSSys module, but this actually seems to be fine and is the only
  2027. real survivor from my old collection of useful bits and pieces Ö have
  2028. they STILL forgotten to put a *SYS command in?
  2029. 6.3
  2030. The next little gem was the öChangeDynamic Areaò calls which are
  2031. automatically saved in the desktop !Boot file Ö these override the CMOS
  2032. RAM settings and I couldnæt work out why the system sprite area remained
  2033. so large despite all my efforts to shrink it. And remember, Gentle
  2034. Reader, not to save the !Boot file in a Compression directory because,
  2035. despite what they all say, those teethmarks in the manual do show! On
  2036. the brighter side, I found that the configured startup language was not
  2037. the desktop, which explained Archieæs new enthusiasm for the command
  2038. line. The number for the configured language of your choice is now
  2039. obtained by counting down the list of modules Ö how simple. Not a
  2040. mention of alchemy or the Black Arts. Good grief, if itæs that simple,
  2041. anybody will be able to do it...
  2042. 6.3
  2043. The !FontsPlus application caused some frontal headaches (actually,
  2044. these may have been caused by sudden and repeated violent contact
  2045. between the forehead and the monitor) as I could not persuade it to
  2046. recognise the ROM based fonts. Off it went to the great filestore in the
  2047. sky, and back I went to using multiple directories with original names
  2048. (!Fonts, !Fonts2, !Fonts3, !Fonts4, etc.). How quaint!
  2049. 6.3
  2050. On to some serious computing. Impression works! (Actually, I cheated. I
  2051. got the upgrade from those nice CC people at the show). And there are
  2052. more screen modes available from startup, and a *WimpMode command to
  2053. simplify my DTP !Boot sequence. On the down side, I have found printing
  2054. to be a bit of a pain Ö my old !PBuffer application doesnæt work anymore
  2055. and even making the PrinterBufferSize HUGE using *CONFIGURE doesnæt seem
  2056. to do anything. However, there are many more options available for
  2057. printed output. I can even get 360╫360 dpi on the Panasonic and it only
  2058. takes about 30 minutes a page!
  2059. 6.3
  2060. I seem to have more space on the hard disc now. I used to have lots of
  2061. little applications that Iæd collected over the years which now have
  2062. their functions in ROM, such as SetType, FileFind, StickyBD and
  2063. ShutDown. Being ruthless, and having no more need for them, I erased
  2064. them completely. Who knows, one day, I might even erase the backups of
  2065. the backups.
  2066. 6.3
  2067. So am I sorry to have upgraded? Not at all. It was just that the scale
  2068. of the change surprised me. I suppose that the change was more compli
  2069. cated because I had my system set up exactly the way I wanted it, and
  2070. had to restructure virtually the whole hard disc. It was just as
  2071. traumatic as upgrading from Arthur to RISC-OS2 had been, but Iæm very
  2072. pleased with my new machine. Of course, 3.1 goes into 310, and it may
  2073. even be 100 times better!
  2074. 6.3
  2075. (Actually, this has an important moral Ö if Rob had followed Acornæs
  2076. instructions and done a <delete-power-up> in the first place, he
  2077. wouldnæt have had half the problems he did. Ed.)
  2078. 6.3
  2079. And finally ...
  2080. 6.3
  2081. Send your comments, suggestions, queries, complaints, hints and tips
  2082. either to me, Hugh Eagle, at 48 Smithbarn, Horsham, Sussexá RH13 6DX.ááA
  2083. 6.3
  2084.  
  2085. Hints and Tips
  2086. 6.4
  2087. Å   Refilling BJ300/330 Ink Cartridges Ö The cartridges have a ösoak upò
  2088. pad in them as well as the ink sachet so if the pad is black and full of
  2089. waste ink you canæt refill them! or can you? This is how to do it.
  2090. 6.4
  2091. Split the cartridge along the seam and lift off the top. It is only
  2092. lightly tacked together so its quite easy to prise apart.
  2093. 6.4
  2094. (The next bit is messy so use disposable gloves so you do not get ink
  2095. over your hands.)
  2096. 6.4
  2097. Lift out the ink sachet (keep it the same way up) and then the pad and
  2098. wipe clean the cartridge. Dispose of the pad in a plastic bag, trying
  2099. not to get too messy.
  2100. 6.4
  2101. I used kitchen roll for the new pad. Cut about 12 pieces to the size and
  2102. shape of the pad then place in the cartridge, now place the sachet on
  2103. top. Keep it the same way round to make sure the needle hole lines up
  2104. with the needle in the printer.
  2105. 6.4
  2106. Thatæs what the safety flap is for that drops down when you remove the
  2107. cartridge so you donæt jab yourself.
  2108. 6.4
  2109. Replace the top of the cartridge, securing it with just a couple of
  2110. drops of glue so it can be removed again, it is now ready to be filled.
  2111. 6.4
  2112. I took the advice of Stuart Bell (Archive 4.5 page 7) and used Quink
  2113. Permanent Black @ ú1.70p for 54ml. The sachet takes 40ml, so donæt over-
  2114. fill it. Obtain a 20ml syringe and 21 gauge needle from your chemist. (A
  2115. 20ml syringe is about the best as larger ones tend to be very
  2116. expensive.)
  2117. 6.4
  2118. Carefully fill the sachet making sure the needle goes in the same hole.
  2119. If you make another hole, air can get in and cause problems.
  2120. 6.4
  2121. Donæt forget to wash out the syringe and needle afterwards.
  2122. 6.4
  2123. So, at the cost of approx ú1.70p plus the syringe and a few sheets of
  2124. kitchen roll, you now have a refilled ink cartridge which would normally
  2125. cost about ú10 to refill and between ú15 Ö ú20 for a new one.
  2126. 6.4
  2127. If any of you wonder what the soak up pad is for, when the printer is
  2128. switched on, ink is jettisoned through the nozzles to clean them and
  2129. this then runs down into the cartridge.
  2130. 6.4
  2131. Å   D-type connector problems Ö In Archive 4.8 p7, there was a tip about
  2132. taking the washers from under the hexagonal pillars of the D-type
  2133. connectors. I think it is worth re-stating it for those readers who
  2134. missed it. My A310 was in a Énot workingæ state the other day Ö it
  2135. refused to produce any green. I checked that the two screws holding the
  2136. D-plug into the socket were tight and checked out the monitor and lead
  2137. which worked fine, but still no green. A few days later, I remembered
  2138. the tip, removed the washers and the green returned.á Les May,
  2139. Rochdale
  2140.  
  2141. Using RISC-OSá3
  2142. 6.4
  2143. Hugh Eagle
  2144. 6.4
  2145. I hope that all who have ordered RISC-OSá3 upgrades will have received
  2146. them by the time this issue is published and that those who have been
  2147. waiting to make up their minds about upgrading will have been suffi
  2148. ciently encouraged by now to go ahead. There will be considerable
  2149. advantages to all Archimedes users if we all use the same operating
  2150. system: above all programmers will be able to use the new improved
  2151. features without having to worry about backwards compatibility.
  2152. Inevitably, this column will tend to contain quite a lot of negative
  2153. material about difficulties that some people have had, but it is
  2154. important to appreciate that most upgraders have had very little real
  2155. trouble (some inconvenience, perhaps, but not insuperable problems).
  2156. There are genuine advantages in RISC-OSá3, most programs work well and I
  2157. believe that most users are pleased with it.
  2158. 6.4
  2159. The deadlines for the December and January editions of Archive have been
  2160. concertinaæd close together (because of Christmas, etc) so there has
  2161. been no time for any reactions to the first RISC-OSá3 column. However,
  2162. contributions have continued to arrive in response to the original
  2163. request ù several more problems, criticisms, etc but also some interest
  2164. ing hints & tips.
  2165. 6.4
  2166. Please send anything that you think may be relevant either to Archive or
  2167. to me, Hugh Eagle at 48áSmithbarn, Horsham, Sussex  RH13á6DX.
  2168. 6.4
  2169. Fitting the chips to an A310
  2170. 6.4
  2171. The upgrade to my A310 with an IFEL carrier board was quite straightfor
  2172. ward, with the help of good instructions. IFEL recommend that you remove
  2173. the motherboard, as a fairly good pressure is required to insert the
  2174. carrier board. I encountered no problems but the soldering of three
  2175. wires from the carrier board on to the legs of a chip, is not for the
  2176. faint hearted. (Memories of my Beeb days came flooding back). (Roger
  2177. Power.)
  2178. 6.4
  2179. Configuring for a SCSI hard drive
  2180. 6.4
  2181. The configure application is OK apart from the settings appertaining to
  2182. my Oak SCSI filing system. I have overcome this by a separate !Config
  2183. Obey file that I run as well as Configure and which reads as follows:
  2184. 6.4
  2185. *configure drive 4
  2186. 6.4
  2187. *configure filesystem SCSI
  2188. 6.4
  2189. *SCSI
  2190. 6.4
  2191. *configure SCSIDrive 4
  2192. 6.4
  2193. *OPT 4,2
  2194. 6.4
  2195. This is obviously only needed after a factory reset which shouldnæt be
  2196. very often. Unfortunately, at the moment it is, as further problems have
  2197. now occurred. Namely my Impression doesnæt read the Dongle all the time
  2198. and appears to require a factory reset. This is only since the arrival
  2199. of RISC-OS 3.1 and I have yet to find out whether or not the Dongle (or
  2200. maybe even RISC-OS 3.1) is at fault. Obviously I have checked all the
  2201. connections over and over again. (Roger Power.)
  2202. 6.4
  2203. (Roger, I suspect itæs more likely to be a hardware problem on the
  2204. p.c.b. after fitting the I.F.E.L. ROM upgrade in your A310. There are no
  2205. problems, that we know of, with dongles. Ed.)
  2206. 6.4
  2207. 5╝ö floppy drive
  2208. 6.4
  2209. My external 5╝ö floppy drive is too slow for my Archimedes, with the
  2210. result of the heads chattering alarmingly. I had previously got round
  2211. this problem with the command *Configure STEP 3 6. However, RISC-OS 3.1
  2212. does not appear to accept this, only STEP 3 3. Can anyone help, please?
  2213. (Roger Power.)
  2214. 6.4
  2215. LaserDirect printer driver
  2216. 6.4
  2217. (Incidentally, Computer Concepts have told me that öRISC-OSá3 compatible
  2218. printer drivers should be available around the middle of next year. This
  2219. will cover TurboDrivers, FaxPack and LaserDirectò HE)
  2220. 6.4
  2221. In RISC-OS 2, I solved the problems of using a LaserDirect printer on a
  2222. machine to which a parallel printer is also attached, by including a
  2223. simple driver in an application which resides on the iconbar and does
  2224. lots of idiosyncratic things which suit my personal use of the machine.
  2225. The driver stores data dragged to it in a buffer and outputs it to the
  2226. dot-matrix line by line on each Wimp_Poll with reason code 0. This
  2227. enables me to leave the LaserDirect on the iconbar. If I want to print
  2228. some text or Basic, the data is dragged with <shift> held down,
  2229. otherwise the data is presumed to represent an address, which is
  2230. formatted for the 9-line labels with which, by default, the printer is
  2231. loaded. This is very handy, because I can drag the address directly out
  2232. of a DeskEdit or Impression window. My beef is that my routine orig
  2233. inally tested for a connected printer, thus:
  2234. 6.4
  2235. DEFPROCChPr:*FX5,1
  2236. 6.4
  2237. VDU2,1,0,3
  2238. 6.4
  2239. SYSöOS_Byteò,152,3 TO ;f%: f%=f%AND2
  2240. 6.4
  2241. IFf%=0SYSöOS_Byteò,145,3
  2242. 6.4
  2243. *FX5,5
  2244. 6.4
  2245. ENDPROC
  2246. 6.4
  2247. Thus, if the 0 byte inserted into the printer buffer is still there, the
  2248. printer is not on and the data are output to screen via a command
  2249. window; otherwise, they go to the printer; f% being the determining
  2250. flag. Now, I can understand that it is an enhancement to RISC-OS to wait
  2251. if the printer is off, but I find it is wholly unacceptable that the
  2252. machine is locked up by so simple an event. The OS_Byte no longer works,
  2253. since presumably the machine is stuck at the end of line 3200! Now, the
  2254. RISC-OS driver is not stopped by such an event, but multitasks happily
  2255. waiting for the printer to be switched on. Clearly some routine is
  2256. available to deal with the situation; why could the release documenta
  2257. tion not give a clue?
  2258. 6.4
  2259. I have had to abandon the routine temporarily because, if I wished to
  2260. display a file on screen, the printer was incidentally tested first.
  2261. This is no longer possible, unless I validate <escape> with *FX229
  2262. before calling the routine and reset on exit; this means exiting via the
  2263. error handler, however, and is one of the more difficult parts of Wimp
  2264. programming, I find! Any suggestions? (Mick Day.)
  2265. 6.4
  2266. LaserDirect and ROM fonts
  2267. 6.4
  2268. As mentioned last month, the current version of the Computer Conceptsæ
  2269. LaserDirect printer drivers are not fully RISC-OS 3 compatible. Thus
  2270. they will not cope with the extra features of Draw such as rotated text
  2271. or sprites. Furthermore, they will not find all of the fonts in the ROM-
  2272. based resources filing system. In particular, the italic versions of
  2273. both Homerton and Corpus are not seen. It is necessary to have the old
  2274. copies of the Homerton and Corpus fonts installed in the disc !Fonts
  2275. directory. (Brian Cowan.)
  2276. 6.4
  2277. (I find that if I try to print these fonts from Impression, it refuses
  2278. to print but does allow me to carry on, whereas Draw locks up the
  2279. machine. If this is a printer driver problem it makes Computer Conceptsæ
  2280. apparent lack of interest in bringing out new drivers all the more
  2281. frustrating. If they do appear in öthe middle of next yearò that will be
  2282. about 20 months after the original release of RISC-OSá3! HE)
  2283. 6.4
  2284. Dot matrix printers: formfeeds
  2285. 6.4
  2286. I have yet to find a way of stopping the RISC-OS dot-matrix printer
  2287. driver from issuing a concluding formfeed when a short piece of text is
  2288. dropped on the icon and printed. I prefer to control such things myself;
  2289. any ideas? or am I, after all, an idiot? (Mick Day.)
  2290. 6.4
  2291. DFS discs: donæt try öfreeò space
  2292. 6.4
  2293. Put a DFS disc in drive 0 and click; the error window tells you it is an
  2294. unrecognised format. However, if you put a DFS disc in drive 0 and click
  2295. on ÉFreeæ you will crash the machine with ÉFile core in useæ rearing its
  2296. ugly head! Couldnæt the existing disc checking routines have been
  2297. invoked before plunging into the ÉFreeæ sequence? (Mick Day.)
  2298. 6.4
  2299. Naming the RAM disc
  2300. 6.4
  2301. RISC-OS 2 used RAM:$ as the prefix on the RAMdisc filer window and
  2302. Filer_OpenDir worked with it quite happily. However, you had to find out
  2303. by trial and error what discname to use in order to get sense out of,
  2304. e.g.
  2305. 6.4
  2306. SYS öRamFS_FreeSpaceò,öRamDisc0ò TO room% : IFroom%>X% room%=0 : ENDPROC
  2307. 6.4
  2308. Acorn could have detailed this irritating time-waster somewhere (like
  2309. the PRM). Now, I appreciate that RAM::RamDisc0.$ is generically the
  2310. correct format to use in the Acorn file system protocols and clicking on
  2311. the icon in RISC-OS 3 opens a window with that title. For backwards
  2312. compatibility, *Filer_OpenDir RAM:$ still works; jolly good. However, if
  2313. your software issues the command and you have already opened a window,
  2314. RAM::RamDisc0.$, from the iconbar, you get a second window identical in
  2315. all save the title, RAM:$! (Mick Day.)
  2316. 6.4
  2317. Operating system version
  2318. 6.4
  2319. The PRM tells us that SYSöXOS_Byteò,0,0 prints the version string: so it
  2320. does. However, SYSöOS_Byteò,0,1 TO ,A is supposed to return the OS
  2321. version number in A but it does not seem to do so. RISC-OS 2 and RISC-OS
  2322. 3 on my machines both return 6 (the SYS number for OS_Byte)! However,
  2323. SYSöXOS_Byteò,0,0 TO A does return, in (A+4), the address of the version
  2324. string, so it can be extracted in the time-honoured manner. (Mick Day.)
  2325. 6.4
  2326. MS-DOS: file extensions and formatting
  2327. 6.4
  2328. The MultiFS utility is not required in RISC-OS 3; DOS discs and DOS
  2329. partitions on hard discs may be read directly with the new operating
  2330. system. I think that what Acorn have done is to integrate MultiFS into
  2331. the machineæs filers as an Image filing system. However, I cannot obtain
  2332. all the old facilities of MultiFS. In particular, it is not clear
  2333. whether the hierarchical method of dealing with file extensions can be
  2334. used; this was particularly useful. Also, I see that you can copy the
  2335. boot sectors from one DOS disc to another from the command line using
  2336. *CopyBoot, but I donæt know if this can be done from the desktop as an
  2337. option while formatting. Does anyone know? (Brian Cowan.)
  2338. 6.4
  2339. Compression
  2340. 6.4
  2341. CC have told me that there is a bug in version 1.10 of Compression which
  2342. can cause a corruption if a file is dragged between a CFS window and the
  2343. corresponding uncompressed filer window. If this is not done, Compres
  2344. sion should work OK. (Brian Cowan.) (See also the comment by Jochen
  2345. Konietzko in last monthæs column.)
  2346. 6.4
  2347. Wish list for RISC-OSá4 (R. W. Darlington)
  2348. 6.4
  2349. Å   When I use Name Disc from desktop, I want to see it display the
  2350. present disc name in the writable icon. (With my setup it does display
  2351. the name of the hard disc but not that of a floppy! HE)
  2352. 6.4
  2353. Å   When I copy across a group of files from one directory to another, I
  2354. want to see the Filer check that there is sufficient disc space for the
  2355. copied files to fit before it starts to copy them. (Also, in the case of
  2356. D format discs, that the disc wonæt need compacting.)
  2357. 6.4
  2358. Å   I want to see it copy a group of files from one disc to another a
  2359. little more intelligently than it does at the moment. I wish to see it
  2360. write all the directory information in one go, then write all the files,
  2361. instead of continually moving the heads across the surface of the disc
  2362. for each little file it writes to disc, which takes it an age!
  2363. 6.4
  2364. Å   When I Set Type from Desktop, I want to see a list of possible
  2365. options, along with their icons, like !SetType by Emmet Spier.
  2366. 6.4
  2367. Å   In !Edit, I want to see an option to ÉSelect Allæ.
  2368. 6.4
  2369. Å   In !SciCalc, which uses BASIC64, I want to see it display figures to
  2370. the full precision of the Basic, 18 significant figures or so and not
  2371. the 10 displayed at present. Also, I want to see it display exponents
  2372. like this ö╫1018ò and NOT öE18ò. I also want to see an option to select
  2373. engineering or scientific notation.
  2374. 6.4
  2375. Å   When deleting columns at the far right hand edge of a sprite, it
  2376. deletes too many columns.
  2377. 6.4
  2378. Å   If I save a sprite (using !Paint) of just one pixel in height (any
  2379. length?) and colour it a different colour than desktop grey, then when I
  2380. use this sprite to create a backdrop using the !Pinboard, not only does
  2381. it take an incredible amount of time to draw the backdrop, it also uses
  2382. the wrong colour. It comes out in desktop grey! Is this a problem with
  2383. !Paint or !Pinboard? (Or is the user making unreasonable demands? HE)
  2384. 6.4
  2385. Å   In the Set Copy Options, I want to see an option whereby it can be
  2386. made to ask for confirmation only if a deletion is being made, rather
  2387. than just an access request or a copy command.
  2388. 6.4
  2389. Å   Now that some fonts are inside RISC-OSá3 itself, I want to see a
  2390. configure option to set the desktop default font to other than the
  2391. system font.
  2392. 6.4
  2393. Å   I also want to see a new MODE equivalent to MODE 31 in every way
  2394. except that the pixel units are set such that all icons and everything
  2395. on screen appears half the size. Or, do the same for MODEs 18, 19, 20,
  2396. and 21.
  2397. 6.4
  2398. Å   When I insert a disc with a foreign format, e.g. an IBM formatted
  2399. disc, into the drives, I want to see a little more obviously that it is
  2400. a foreign format. Why not have the window header in a different colour,
  2401. e.g. red! Or do it some other way if you must, but make it immediately
  2402. obvious that it is not a native format disc.
  2403. 6.4
  2404. Å   When a window now goes off screen and the bottom right-hand Ésizeæ
  2405. control is grabbed, the window increases in size upwards when it should
  2406. not. (Isnæt this one of the intended improvements in RISC-OSá3? HE)
  2407. 6.4
  2408. Pinboard backdrop sprites
  2409. 6.4
  2410. R. W. Darlington has also sent in a collection of 74 sprites suitable
  2411. for tiling the backdrop, a voice module (which sounds to me as if it
  2412. might have been generated not a billion light years from the Sirius
  2413. Cybernetics Corporation) and some suggested modifications to the !Boot
  2414. file which will sound the voice module and display a different backdrop
  2415. each time the computer is re-booted.
  2416. 6.4
  2417. The modifications to the !Boot file read as follows:
  2418. 6.4
  2419. RMEnsure PinVoice 0 RMLoad PinVoice
  2420. 6.4
  2421. CHANNELVOICE 1 10
  2422. 6.4
  2423. SOUND 1 &FFF1 60 160
  2424. 6.4
  2425. WimpMode 31 :REM to suite my sprites
  2426. 6.4
  2427. Run ADFS::HD4.$.PinSp.RenSprites
  2428. 6.4
  2429. Pinboard
  2430. 6.4
  2431. Backdrop -T ADFS::HD4.$.PinSp .Sprit01
  2432. 6.4
  2433. This assumes that the PinSp directory contains the backdrop sprites and
  2434. an Obey file called RenSprites which simply cycles the sprite names and
  2435. reads as follows:
  2436. 6.4
  2437. Rename ADFS::HD4.$.PinSp.Sprit01 ADFS::HD4.$.PinSp.Sprit00
  2438. 6.4
  2439. Rename ADFS::HD4.$.PinSp.Sprit02 ADFS::HD4.$.PinSp.Sprit01
  2440. 6.4
  2441. ......
  2442. 6.4
  2443. Rename ADFS::HD4.$.PinSp.Sprit00 ADFS::HD4.$.PinSp.Sprit74
  2444. 6.4
  2445. Screen blanker configuration
  2446. 6.4
  2447. Does anyone know which *configuration command sets the blank out time,
  2448. or where this appears in the *Status data. I can set it using Acorns
  2449. !Configure program in the Apps directory, but cannot find it elsewhere
  2450. for use by a star command. (Roger Darlington.)
  2451. 6.4
  2452. *Filer_Run syntax
  2453. 6.4
  2454. My tip last month about using *Filer_Run with a variable application
  2455. name was unnecessarily convoluted. Although *Filer_Run <App$Dir> doesnæt
  2456. work, *Filer_Run <App$Dir>.!Run does.
  2457. 6.4
  2458. Fitting RISC-OS 3.1 to Computerware/Avie/Atomwide RAM upgrades
  2459. 6.4
  2460. The new RISC-OS ROMs are easily fitted into the four sockets provided on
  2461. the main RAM board. The ROMs should be fitted as described in the
  2462. instructions supplied with the RISC-OS upgrade.
  2463. 6.4
  2464. Locate the two links on the RAM board and swap the jumper to position B
  2465. for both.
  2466. 6.4
  2467. Locate LK12 on the main PCB, this is just under the RAM PCB where the
  2468. cable enters from the left. There should be two links placed in the
  2469. east-west postion. Remove these links and replace them in the north-
  2470. south position.
  2471. 6.4
  2472. LK12 is not always fitted and exists as a pair of PCB tracks on the
  2473. topside of the main PCB. These can be cut using a small sharp knife. The
  2474. new links can then be made on the underside of the PCB using tinned
  2475. copper wire and a soldering iron Ö as shown below.
  2476. 6.4
  2477. A310 Issue 1 PCBæs do not have LK12 fitted at all and require more
  2478. difficult modification. Please contact Avie for assistance.
  2479. 6.4
  2480. The fitting of RISC-OS 3 will be performed by Avie for ú6.50 + VAT Ö
  2481. this charge is simply to cover return carriage.ááA
  2482. 6.4
  2483. Å   ABC Compiler Ö Iæve followed the discussions in Archive about the
  2484. relative merits of the RiscBasic and ABC compilers with interest
  2485. (Archive 6.1 p49). I donæt feel that there is much weight to the
  2486. argument that ABC is compiling a language different from Basic V. The
  2487. differences are quite small. The evening I received the ABC package, I
  2488. got a program of over a thousand lines running with the compiler in
  2489. about an hour which included writing some code to initialise several
  2490. arrays and removing some redundant code. When I write programs under the
  2491. Basic V interpreter, I just take the differences into account.
  2492. 6.4
  2493. My major grumble is that even when I bought the ABC package a year ago,
  2494. it had a minor bug which shows itself sometimes when the object code
  2495. icon is dragged to a directory Ö it requires the machine to be reini
  2496. tialised. An upgrade to the latest version, which presumably will have
  2497. corrected this bug, will cost me ú40, which I think is a bit steep if
  2498. itæs only the bug fix that is any help to me.á Les May, Rochdale
  2499. 6.4
  2500. Å   EasiWord 2 up(?)grade Ö I did have version 1.07 of Minervaæs EasiWord
  2501. and, after seeing the adverts for the WYSIWYG version, EasiWord2, I
  2502. decided to go for the upgrade.
  2503. 6.4
  2504. Now, I do not know anything about 1st Word Plus, so the fact that
  2505. EasiWord2 was similar conveyed nothing to me. However, when I tried this
  2506. new version, I was niggled to find that I couldnæt print without a RISC-
  2507. OS printer driver being installed.
  2508. 6.4
  2509. What was much worse was the fact that I could no longer send control
  2510. codes to my printer! Horror of horrors Ö I had lost the ability to print
  2511. in double height and in a choice of seven colours on my old Epson
  2512. LQ2500+. Let readers be warned!
  2513. 6.4
  2514. I wrote to Minerva and expressed my dismay about their new package. They
  2515. very kindly invited me to return version 2 for a refund or part
  2516. exchange. I took up their offer and they even gave me a new package of
  2517. their old EasiWord 1.07. Well done, Minerva!
  2518. 6.4
  2519. So, before you upgrade, be sure that it actually is an UPgrade for your
  2520. purposes.á Keith Lowe, Pickering
  2521. 6.4
  2522. Å   Scheme Ö If Sue Lawley asks me which book I want to take to a desert
  2523. island, without hesitation I will have to say ÉStructure and Interpreta
  2524. tion of Computer Programsæ by Abelson and Sussman. I reckon that after a
  2525. few years of studying it without any distractions, I would know how to
  2526. set about programming a computer. The language used by these authors is
  2527. Scheme, a stripped down, elegant and refined version of Lisp.
  2528. 6.4
  2529. If you think Lisp is just an acronym for ÉLots of Irritating Single
  2530. Parenthesesæ, think again. With even a simple parentheses-matching text
  2531. editor as supplied with EdScheme, that bogey disappears and you quickly
  2532. come to realise that the apparently strange syntax of Lisp-like
  2533. languages such as Scheme is in fact a very consistent and clear way of
  2534. expressing a computer program. Indeed, just as we in Britain are used to
  2535. seeing a Pascal-like pseudo-code used to express a fragment of code, US
  2536. books aimed at the academic community often use Lisp for the same
  2537. purpose.
  2538. 6.4
  2539. I had read about the first third of the Abelson book before taking the
  2540. plunge and buying EdScheme. What arrived was the Scheme optimising
  2541. incremental compiler and associated editor on a single disc, a thinnish,
  2542. 100 pages plus, User Guide and Reference Manual, and a thick, 300 pages
  2543. plus, Schemeræs Guide. This package is, in fact, a complete programming
  2544. course at a total cost of ú60 plus p&p.
  2545. 6.4
  2546. The guide is aimed rather firmly at the late secondary school market and
  2547. starts with a deceptively simple approach to programming by asking the
  2548. programmer to construct pencil and paper machines capable of performing
  2549. given tasks. Even when programming has been introduced, the guide
  2550. continues to use the Émachineæ diagrams alongside the Scheme code.
  2551. 6.4
  2552. This approach has much to commend it. We are familiar with the idea of a
  2553. machine which carries out some operation on the raw materials fed into
  2554. it. Cans of beans are constructed from a supply of beans and empty cans.
  2555. The filled cans are transported as a package but, to make use of them,
  2556. we need another machine, a can opener, to open the package and get at
  2557. the contents. Much of Scheme programming is concerned with building the
  2558. machines to construct packages of data, machines to check their contents
  2559. and machines to open up the packages and make use of the contents.
  2560. 6.4
  2561. One quickly comes to realise that within those intimidating parentheses
  2562. is the name of a machine which carries out some operation and the names
  2563. of items upon which it operates. That applies to arithmetic operations
  2564. too, so the label for the operation comes before the operands, so called
  2565. Polish or pre-fix notation.
  2566. 6.4
  2567. By chapter 3, you are being asked to write an interpreter to add
  2568. fractions (try that in Basic!) and have been introduced to the concepts
  2569. of data abstraction and recursion. On the way, you have visited some
  2570. slightly eccentric ways of representing numbers in Lisp which, though
  2571. really of historical interest only, do force you to sharpen up your
  2572. programming skills. Gradually, a mental tool box is built up containing
  2573. procedures for selecting, removing, counting, substituting and reversing
  2574. elements in lists. The inner workings of the interpreter, ÉThe Scheme
  2575. Machineæ, are explained in chapter 5.
  2576. 6.4
  2577. The machine analogy is explored further in chapter 6 and the problems of
  2578. handling infinitely large objects in chapter 7. As a finale, a game is
  2579. developed in the last chapter which embraces topics like artificial
  2580. intelligence and object-oriented programming.
  2581. 6.4
  2582. Scheme seems to me to be one of the best kept secrets of the computing
  2583. world. This implementation is inexpensive and, though not multitasking,
  2584. can be entered from the desktop and cleanly exits back to it. It is
  2585. hoped that a RISC-OS compliant version will be released during 1993
  2586. though the cost will be slightly higher. This will enable Scheme to run
  2587. at the same time as other applications and allow code to be dragged into
  2588. a Scheme window and compiled. At present, there do not seem to be any
  2589. plans for a version which enables the user to create, close or resize
  2590. windows from Scheme, though the Macintosh version allows this to be
  2591. done.
  2592. 6.4
  2593. I have learned a lot from my experiences with Scheme. Even when
  2594. programming in Basic, it has forced me to ask questions like, ÉIf I
  2595. store data in this way, how much of the code which accesses this data
  2596. will I have to rewrite if I decide I want to store my data in a
  2597. different way?æ My appreciation of the virtues of a highly consistent
  2598. syntax, with few exceptions, has made me more critical of other
  2599. languages to which I have access. It has also made me realise just how
  2600. much code I have to write which has nothing to do with expressing how I
  2601. want the data to be operated on (my model) but is necessary just to tell
  2602. the machine how to do it. I think Iæm a better programmer for having
  2603. taken the time to study Scheme.
  2604. 6.4
  2605. It has also left me with a profound sense of despair. When I was
  2606. involved in education, I consoled myself with the notion that, for all
  2607. its faults, the A level system produced students who were much better
  2608. educated than a High School student in the USA, where the EdScheme
  2609. package has its origins. Yet Scheme seems to have made a negligible
  2610. impact in this country, probably because those who control education
  2611. believe that so long as we can produce GKOs (pronounced Geckos) Ö
  2612. Glorified Keyboard Operators Ö everything will be all right. With that
  2613. in mind, the decision has been taken to ignore the discipline of
  2614. programming and concentrate on IT Ö whatever that is. I think we are
  2615. making a big mistake.
  2616. 6.4
  2617. EDScheme is available from Lambda Publications at a cost of ú60 plus
  2618. ú2.50 p&p. A 300 page copyable Resources Pack and a Teacheræs Guide is
  2619. also available at additional cost.
  2620. 6.4
  2621.  Les May, Rochdale.ááA
  2622. 6.4
  2623.   
  2624. Hints and Tips
  2625. 6.05
  2626. Å   A4 pointer loss Ö Using Impression on an A4, it is very easy to lose
  2627. the text pointer. If the pointer is somewhere over the text, it takes
  2628. the form of a caret and is very difficult to see. The simple solution is
  2629. to click <adjust>. This marks a block of text and your pointer is at one
  2630. or other end of the block! Ed.
  2631. 6.05
  2632. Å   Ace printer drivers Ö Many people have asked about the differences
  2633. between Risc Developmentsæ printer drivers and the Ace Computing drivers
  2634. (including the Pro-Drivers.) In practice, the standard Ace drivers (ú17)
  2635. and Risc Developmentsæ drivers (ú23) are the same. However, the Pro-
  2636. Drivers (ú44) are somewhat enhanced: they support full background
  2637. printing, true 24-bit colour, half-toning, dithering and colour
  2638. separations. Ace Computing have also recently upgraded their DJ500C
  2639. driver to include facilities for the DJ550C. Simon Moy, Archive.
  2640. 6.05
  2641. Å   Background printing with RISC-OS printer drivers Ö Yes it is possible!
  2642. RISC-OS printer drivers are capable of printing in the background far
  2643. better than third party software due to the fact that the ROM printing
  2644. routines are designed to multitask. However, this is not documented and
  2645. requires a particular way of printing. Set your printer driver to print
  2646. to a file (choose Connection from the Printer Control menu, select File
  2647. and enter a pathname to a temporary file). Print the file in question by
  2648. the normal method for the application in question Ö this bit doesnæt
  2649. multitask! When it has finished, reset the driver to print to the
  2650. parallel (or serial) port. Find the temporary printout file and drag it
  2651. on to the printer icon on the iconbar. The printer will begin printing
  2652. and you will have full control of the machine. If you are using a RAM
  2653. disc or a hard disc, you shouldnæt notice any slowing down at all. Simon
  2654. Moy, Archive.
  2655. 6.05
  2656. Å   Dating Ö I can never remember what the time is and so, in common with
  2657. a lot of others, I used to have the date and time on the iconbar. This
  2658. was not completely satisfactory as it was frequently obscured by
  2659. windows. Browsing in the User Guide, I discovered that you could alter
  2660. the format of the command line prompt and have the date and or time
  2661. displayed before the *. You can do this with:
  2662. 6.05
  2663. SetMacro CLI$Prompt <Sys$Time>, <Sys$Date> *
  2664. 6.05
  2665. This went in my boot file. Now whenever I want the date or time all I do
  2666. is, <f12>, read the date and time and press <return>.á Edward Naish,
  2667. Gwynedd.
  2668. 6.05
  2669. (On RISC-OS 3, all you do is press <shift-f12> to bring the iconbar
  2670. forwards and then <shift-f12> to put it back again. Ed.)
  2671. 6.05
  2672. Å   Draw to sprite conversion Ö In answer to Roger Darlingtonæs plea in
  2673. Archive 6.3, several people gave us the öobviousò way of converting
  2674. drawfiles to sprites Ö you display the drawfile on screen and use the
  2675. screen grab facility within Paint to create a sprite. (This emphasises
  2676. again the need for a ÉThis is Obvious But...æ column, as mentioned in
  2677. the Help!!! Column this month. None of the Éexpertsæ at N.C.S. thought
  2678. of it. Ed.)
  2679. 6.05
  2680. One other solution was mentioned... Drawfile to sprite conversion can be
  2681. done with the program Revxtra which is supplied with the Revelation
  2682. package. However, this is a copyright program and I donæt know of any PD
  2683. equivalent.á Ted Lacey, Southampton.
  2684. 6.05
  2685. To add to that... If you have Revelation ImagePro, you can just drop
  2686. drawfiles onto a Revelation picture and save it out again as a sprite Ö
  2687. no need for a separate program.á Gabriel Swords, Norwich.
  2688. 6.05
  2689. Å   Easiword Ö The printed effects (bold, italics, etc) only start working
  2690. if you go into !Printers configuration window and, in the OptionsÖText
  2691. Quality, select NLQ rather than No Highlights which is the default.á
  2692. Steve Hutchinson, Gloucester.
  2693. 6.05
  2694. Å Filename dragging Ö If you have version 1.21 of Edit, you can shift-
  2695. drag any object into an edit window and the pathname of the object
  2696. appears at the cursor position. This is just the job for constructing
  2697. command files. Avoid all those typing errors!
  2698. 6.05
  2699. I read in another magazine that this facility is only available in OS3.
  2700. This is not the case, although it does not work with version 1 of Edit.á
  2701. Edward Naish, Gwynedd.
  2702. 6.05
  2703. Å   Fun School Ö All of the Fun School series (3 and 4) have now been
  2704. upgraded to work with RISC-OS 3.10 although some tweaks are still
  2705. necessary. For the Fun School 3 range, it is necessary to start in mode
  2706. 15 before running the programs. In the Fun School 4 range, you will need
  2707. to RMKill any VIDC enhancer modules that are running as these cause the
  2708. music and graphics to work too fast. Simon Moy.
  2709. 6.05
  2710. Å   Inserting RISC-OS (or any other) chips Ö With the recent introduction
  2711. of RISC-OS 3, many Archimedes computers are being returned to dealers
  2712. with the pins of the ROM chips damaged. Here is how to avoid that!
  2713. Usually, ROM chips are delivered with the pins looking like this...
  2714. 6.05
  2715.  
  2716. 6.05
  2717. They will not go into the computeræs ROM sockets with the pins splayed
  2718. out like this.
  2719. 6.05
  2720. Before handling the ROM chips, make sure that you are not carrying a
  2721. static charge. This is easily accomplished by touching an earthed metal
  2722. object. You will need a flat area to work on Ö a formica-topped table is
  2723. ideal. Grasp each end of the ROM chip with finger and thumb of both
  2724. hands, so that the sharp ends of the ROM pins are facing you horizon
  2725. tally. Place the bottom row of pins onto the formica table top and press
  2726. down gently but firmly and move the body of the ROM slightly towards
  2727. you. Repeat this operation until the pins are exactly at right angles to
  2728. the chip body. Turn the ROM over and repeat the above exercise. You
  2729. should now have a ROM with the pin layout like this...
  2730. 6.05
  2731.  
  2732. 6.05
  2733. With the chip just above its socket and the chip notch orientated with
  2734. the diagram supplied with your computer, insert one side of the chip
  2735. pins slightly into the corresponding side of the socket. Once you are
  2736. sure that all pins on that side do align correctly then lower the other
  2737. row of pins into the other side of the socket. Again make sure that all
  2738. the pins are aligned and then press the chip completely home.
  2739. 6.05
  2740. If you have been unfortunate enough to have broken a pin off of a ROM
  2741. chip, there is a solution providing that a small amount of pin is left
  2742. on the chip. You will need a öturned pinò, wire-wrap header socket with
  2743. the same number of pins as the damaged ROM. Before inserting the damaged
  2744. chip into this socket, cut down each pin of the header socket to about
  2745. 4mm length. Insert the damaged ROM into this socket, and with a very
  2746. fine-tipped soldering iron solder a jumper wire from the damaged pin
  2747. directly to the empty socket on the header. Once this has been achieved
  2748. do not ever remove the ROM from this socket. The completed assembly may
  2749. be mounted with care into the original ROM socket. I have repaired
  2750. several ROMs by this method.á Mike King, Guernsey.
  2751. 6.05
  2752. Å   JPEG Ö Under RISC-OS 3, JPEG only works providing the hourglass is
  2753. switched off. This can be carried out by inserting the SWI call SYS
  2754. "Hourglass_Off" at the appropriate place.á Marc Evans.
  2755. 6.05
  2756. Å   Paper for inkjets Ö Daler Superline paper produces excellent results
  2757. on my Canon BJ10ex Ö I bought it a long time ago, so I hope itæs still
  2758. available.á S Freeman, Middlewich.
  2759. 6.05
  2760. Å   Printer drivers Ö RISC-OS 3 printer drivers assume that there is
  2761. enough öscrapò space on a disc to store any temporary files during a
  2762. printing operation. In practice, a hard disc is assumed. If you have a
  2763. system without a hard disc, then !Scrap can be either on a floppy disc
  2764. or a RAM disc. If there is not enough space for the temporary printout
  2765. file, !Printers will crash with no warning. To avoid this, keep !System
  2766. and !Scrap on a separate disc on their own. Simon Moy, Archive.
  2767. 6.05
  2768. Å   Standard crest in Impression letters Ö In Archive 6.3 p28, Brian Cowan
  2769. asks how he can save floppy disc space with his Impression letters where
  2770. he has a college crest, the drawfile of which  takes up 10Kb of memory
  2771. per letter Ö much more than the text Ö and he fills a floppy disc with
  2772. such multiple copies of the crest.
  2773. 6.05
  2774. Surely the answer is to have an empty frame in the standard letter file
  2775. into which he drags the drawfile of the crest. All he has to do is to
  2776. remember to drag the drawfile whenever he starts a new letter and drop
  2777. into the frame a simple dummy drawfile Ö a single square or circle will
  2778. do Ö that will occupy far less space, before saving to disc. If he needs
  2779. to re-load and re-print the document, all he has to do is drop a copy of
  2780. the crest in again Ö surely not a fag. The crest and dummy drawfiles can
  2781. be held on the pinboard.á Steve Kirkby, Sutton. (Well, it was his idea
  2782. modified by Ed.)ááA
  2783. 6.05
  2784.  
  2785. 6.05
  2786. Using RISC-OSá3
  2787. 6.05
  2788. Hugh Eagle
  2789. 6.05
  2790. Iæve received such a flood of letters in response to my first column
  2791. that I probably wonæt have time to refer to them all. I apologise in
  2792. advance if I donæt use your contribution; I am very grateful for them
  2793. all and will try to use them next month. In the meantime, please keep
  2794. the hints, tips, comments, suggestions, etc flowing.
  2795. 6.05
  2796. A number of the problems mentioned only seem to affect a few users and
  2797. may result from unusual combinations of circumstances which could be
  2798. difficult to diagnose. If you think you might be able to help by talking
  2799. directly to the people affected, please let me know and I will put you
  2800. in contact.
  2801. 6.05
  2802. Fitting the Upgrade
  2803. 6.05
  2804. Several people have commented favourably on the service they have
  2805. received from dealers. IFEL has been mentioned a number of times. Nik
  2806. Kelly was specially impressed by Simtecæs facilities.
  2807. 6.05
  2808. G÷tz Kohlberg received his upgrade surprisingly quickly but then had to
  2809. wait several weeks for the fitting instructions for his carrier board.
  2810. When the instructions arrived, he found the IFEL carrier board very easy
  2811. to fit, taking only about 20 minutes. He didnæt have to remove the
  2812. backplane or take out the main board.
  2813. 6.05
  2814. Programs That Do Work
  2815. 6.05
  2816. Microdrive ù A number of people have noticed that, while the new version
  2817. requires you to keep the program disc in the floppy drive while you play
  2818. the game, the new courses work with the original program which will run
  2819. properly from a hard disc.
  2820. 6.05
  2821. Others ù various people have reported that the following work without
  2822. any problems:
  2823. 6.05
  2824. FontFX 5.05 (latest upgrade, free from Data Store, recognises the ROM
  2825. fonts)
  2826. 6.05
  2827. Flexifile 1.04
  2828. 6.05
  2829. Eureka (has someone found it?)
  2830. 6.05
  2831. Home Accounts
  2832. 6.05
  2833. SigmaSheet
  2834. 6.05
  2835. Arcendium (R.áE.áLeo says he finds it works, contrary to the report from
  2836. Mike Williams in December)
  2837. 6.05
  2838. ArcScan III
  2839. 6.05
  2840. DiscTree 2.30
  2841. 6.05
  2842. Art Nouveau (Tim Nicholson says he uses it a lot, and doesnæt need the
  2843. fix I gave two months ago.)
  2844. 6.05
  2845. Investigator 2 works on an A310, but not an A5000.
  2846. 6.05
  2847. Elite (although Raymond Wright says that it did once seize up after
  2848. about an houræs play, which had never happened in RISC¡OSá2.)
  2849. 6.05
  2850. Arc-Comm
  2851. 6.05
  2852. Fortran 77 (Acorn)
  2853. 6.05
  2854. Acorn DTP
  2855. 6.05
  2856. Speech!
  2857. 6.05
  2858. Frances Obee is keen to know whether her most used programs will work:
  2859. Pendown Plus, Atelier, Prime Art, Chocks Away and Extra Missions, Elite,
  2860. Saloon Cars, and Man Utd. Europe. (I can vouch for two on her list: Draw
  2861. Plus v2.12 and Lemmings.)
  2862. 6.05
  2863. Richard Burnell says that a small modification will make version 1.00 of
  2864. !Define (the Watford VIDC screen mode definer) work: add to line 17760
  2865. of !RunImage ELSE tk%=FALSE so that it reads:
  2866. 6.05
  2867. IF INKEY(Ö256)=162 THEN tk%=TRUE ELSE tk%=FALSE
  2868. 6.05
  2869. Rob Brown says that the original version of Quazer supplied by the
  2870. author Julian Rockey, not Impact Software or Fourth Dimension, needs the
  2871. screen memory to be set to exactly 160Kb.
  2872. 6.05
  2873. He also says that Corruption and Jinxter will only work with the very
  2874. old version of the Shared C Library supplied with the games. You need to
  2875. RMKill the RISC¡OSá3 version and RMLoad the old version from disc. (He
  2876. recommends that you quit any application that uses the Shared C Library
  2877. first!)
  2878. 6.05
  2879. He adds that you can run Terramex by first ensuring that öFreeò memory
  2880. is at least 400Kb then using the command *Run Terracode.
  2881. 6.05
  2882. Programs that May Need to be Upgraded
  2883. 6.05
  2884. From the hints I have received, the general message seems to be that if
  2885. a program doesnæt work (and this is more likely to apply to older
  2886. programs, especially games) it is worth contacting the supplier or the
  2887. manufacturer because they can often supply upgrades (sometimes for quite
  2888. nominal sums).
  2889. 6.05
  2890. Among those that have been mentioned are:
  2891. 6.05
  2892. Arcade 3 games compilation from Clares
  2893. 6.05
  2894. Artisan, Artisan 2 and ProArtisan
  2895. 6.05
  2896. Interdictor
  2897. 6.05
  2898. a number of Fourth Dimension games (but Boogie Buggy is apparently
  2899. incompatible with an A5000, according to Rob Brown.)
  2900. 6.05
  2901. Droom
  2902. 6.05
  2903. Avon/Murdac (adventure compilation from Topologika)
  2904. 6.05
  2905. ChartDraw, GraphDraw and KeyStrip (excellent PD applications from Chris
  2906. Johnson).
  2907. 6.05
  2908. Fonts
  2909. 6.05
  2910. Colin Singleton points out that, although Electronic Font Foundry are
  2911. selling (more expensive) öRISC¡OSá3ò fonts, the old ones work perfectly
  2912. well. The only difference is that the new ones have automatic kerning
  2913. information built in (for the use of programs that know how to use it).
  2914. 6.05
  2915. Alan Gentle warns that the way FontMax settings are defined has changed.
  2916. They used, in RISC¡OSá2 to be quoted in pixels, but in RISC¡OSá3 are now
  2917. quoted in points. The maximum point size for anti-aliasing seems to
  2918. refer to the apparent point size on the screen. Thus to make sure that,
  2919. say, 15 point text displayed at 130% is anti-aliased he has to set the
  2920. appropriate FontMax to 15╫1.3, i.e. at least 20.
  2921. 6.05
  2922. David Shepherdson reports that DrawPlus version 2.00 cannot convert
  2923. Trinity, Homerton or Corpus to paths and suggests using Draw to do the
  2924. conversion and ösavingò the result into DrawPlus. (The same seems to be
  2925. true of version 2.12. A possible alternative would be to ignore the ROM
  2926. fonts and load those you want into a disc !Fonts directory.)
  2927. 6.05
  2928. Marc Evans recommends, contrary to Acornæs instructions, keeping the
  2929. !Fonts directory in a sub-directory, not the root, to save memory and
  2930. time if you are not using the disc fonts. (I would suggest you only do
  2931. this if you are sufficiently experienced to understand the
  2932. implications.)
  2933. 6.05
  2934. John Winter says that Impression (2.17) and LaserDirect (2.05) work as
  2935. well ù if not faster ù with FontSize set to 128Kb.
  2936. 6.05
  2937. (For more on fonts and LaserDirect see the section headed LaserDirect
  2938. further on in this column!)
  2939. 6.05
  2940. Filing Systems
  2941. 6.05
  2942. IDE drives
  2943. 6.05
  2944. R.áD.áAttwood noticed that the hard disc icon on his iconbar had öIDEá4ò
  2945. underneath it rather than öIDEDisc4ò. On trying to access the disc, he
  2946. got an error box with öBad free space mapò. Watford Electronics have
  2947. advised him that he needs another chip (cost ú16) for the hard disc
  2948. podule.
  2949. 6.05
  2950. D. T. Software recommended alternative courses of action for one
  2951. customer whose IDEFS wouldnæt work with RISC¡OSá3.10: either (a)
  2952. reformat the hard disc using the formatter supplied with the system or
  2953. (b) fit a replacement EPROM incorporating a work-around for a ömarginal
  2954. infelicity in the way RISC¡OSá3 mounts discs.ò
  2955. 6.05
  2956. SCSI drives
  2957. 6.05
  2958. C. Purvis has an A3000 with an external 5╝" floppy drive and an Oak SCSI
  2959. external interface (fairly old). When he turns his computer on, the SCSI
  2960. icon is to the right of the RAM discæs and when clicked on gives a öBad
  2961. driveò error. He then runs the following file from a floppy:
  2962. 6.05
  2963. *Mount 4
  2964. 6.05
  2965. *RMLoad $.!System.Modules. SCSIFiler
  2966. 6.05
  2967. *RMReinit SCSI
  2968. 6.05
  2969. *RMREINIT SCSIFiler
  2970. 6.05
  2971. *RMReinit SCSIFS
  2972. 6.05
  2973. *ADFS
  2974. 6.05
  2975. after which the SCSI icon disappears from the iconbar. If he then
  2976. presses <shift-break> to reset the computer, SCSIDisc4 appears at the
  2977. left end of the iconbar and all is well.
  2978. 6.05
  2979. It has been suggested to me that he needs a new ROM on his SCSI
  2980. interface. Can anyone confirm this?
  2981. 6.05
  2982. (One thing we have noticed with the Oak SCSI interfaces is that after a
  2983. <delete-power-up>, the SCSIdrive configuration is set to 0 and not 4.
  2984. What then happens is that the first time you click the hard drive icon,
  2985. it says öBad driveò but then if you click again, it works OK. The
  2986. solution is simple: press <f12> and type Configure SCSIDrive 4 <return>
  2987. and then do a <ctrl-break>. I think you will find that all is well after
  2988. that. Ed.)
  2989. 6.05
  2990. Mike Williams says the Shutdown routine wonæt complete unless he has all
  2991. his various SCSI drives mounted, so he has to put a disc into his
  2992. removable disc drive and spin it up just so that the system can dismount
  2993. it for him! He therefore ignores Shutdown, but asks whether there is a
  2994. recommended way of safely shutting down a system such as his?
  2995. 6.05
  2996. Mike has also found that if, after switching off, he changes his mind
  2997. and switches on again his computer gets stuck half-way through its
  2998. initialisation sequence. Is this a RISC¡OSá3 feature, a hardware fault,
  2999. or just because he didnæt shut down nicely?
  3000. 6.05
  3001. Using öFree spaceò viewer on SCSI drives
  3002. 6.05
  3003. (This hint from David Lenthall was originally published in Archive 5.5.)
  3004. 6.05
  3005. If choosing the öFreeò option from a SCSI drive icon gives an old RISC-
  3006. OSá2 style textual report and you would prefer to get the new RISC-OSá3
  3007. window with sliders, include the following line in your boot file:
  3008. 6.05
  3009. Set Alias$Free ShowFree -FS scsi %0
  3010. 6.05
  3011. SΘan Kellyæs alternative solution (which works beautifully with his A440
  3012. and Oak SCSI interface, driver version 1.16) is to copy the SCSIFiler
  3013. module from Applications Disc 1 into his !System.Modules directory and
  3014. to add the following line to his !Boot file:
  3015. 6.05
  3016. RMLoad SCSI::SCSIDisc4.$.!System .Modules.SCSIFiler
  3017. 6.05
  3018. ArcDFS / DFSReader
  3019. 6.05
  3020. In response to S. J. Furnellæs problem with ArcDFS mentioned in Archive
  3021. 6.3 p14, Keith Raven recommends !DFSReader on Archive Shareware 31. This
  3022. needs one slight adjustment: in line 210 of the !RunImage Basic program,
  3023. there is a SYS call that is expected to return 0, 1 or 2 to indicate
  3024. whether large or small icons or full directory information are selected
  3025. for directory windows. Under RISC¡OSá3 this actually returns 64, 65 or
  3026. 66. If the next three lines of the program are adjusted to reflect this,
  3027. it seems to run perfectly. (Richard Burnell suggests adding a new line
  3028. instead:
  3029. 6.05
  3030. 215 a=a MOD 64
  3031. 6.05
  3032. to achieve the same effect.) (Keith wonders how many similar minor
  3033. changes between RISC¡OSá2 and RISC¡OSá3 will come to light.)
  3034. 6.05
  3035. The Wakefield Acorn Computer Group writes:
  3036. 6.05
  3037. Regarding S.áJ.áFurnellæs problem with ArcDFS there is some good news
  3038. here. (These errors are liable to occur when you click on the drive icon
  3039. to display a directory window.) The most common error is ÉBad driveæ and
  3040. you can overcome this simply by Naming the disc with a blank name, i.e.
  3041. press <space> and then <return>. The ArcDFS Name option is selected via
  3042. the ÉMiscæ menu option, followed by ÉName discæ.
  3043. 6.05
  3044. This doesnæt cure the other (less common) error which is ÉBuffer
  3045. overflowæ. In that case, the only option seems to be to use the command
  3046. line, i.e, press <f12> to get a É*æ prompt or bring up a task window
  3047. with <ctrl-f12> and type DIRáDFS: (not *DISC as you might expect),
  3048. followed by DIRá:1 to select drive 1, (if required), then CAT for a
  3049. directory listing, etc. You can then use the manual *COPY command to
  3050. move files around, e.g.
  3051. 6.05
  3052. Copy DFS::1.$.Index ADFS::HardDisc4.$.Junk.MyIndex
  3053. 6.05
  3054. copies a file called $.Index on the DFS drive 1 into the $.Junk
  3055. directory of an ADFS hard disc, renaming it MyIndex in the process.
  3056. 6.05
  3057. You can just as easily copy onto SCSI, IDE and RAM discs of course. Note
  3058. that you should use *COPY and not *CopyDFS. The very good news is that
  3059. operations such as Format, Backup and Verify work fine, as they donæt
  3060. need to display a directory!
  3061. 6.05
  3062. 5╝" discs
  3063. 6.05
  3064. Peter Prewett has been horrified to find that since upgrading to RISC-
  3065. OSá3 he can no longer read any of his 5╝" discs (which he uses for
  3066. backing up his hard disc) via his Watford interface. He has tried
  3067. resetting the step rate to 6 without success. Luckily, he can still read
  3068. discs from his BBC via a DFS to ADFS file transfer.
  3069. 6.05
  3070. Gordon Lindsay-Jones also reports problems with his Watford buffer which
  3071. used to work well under RISC¡OSá2. Can anyone help? (Have you asked
  3072. Watford?)
  3073. 6.05
  3074. Richard Wells initially found that the Beebug DFS Reader refused to work
  3075. under RISC¡OSá3, but he has now found that if he runs the Commands
  3076. utility from the Support disc first then it will run.
  3077. 6.05
  3078. Richard also says he configures his 40-track 5╝" drive (drive 1) with
  3079. 6.05
  3080. *Configure Step 12 1
  3081. 6.05
  3082. and comments that perhaps
  3083. 6.05
  3084. *Configure Step 6 1
  3085. 6.05
  3086. would work for 80-track discs. He says that to restore normal step delay
  3087. you should use
  3088. 6.05
  3089. *Configure Step 3
  3090. 6.05
  3091. In response to Roger Poweræs query last month, Howard Snow points out
  3092. that the syntax is
  3093. 6.05
  3094. *Configure <Step delay> [<drive>]
  3095. 6.05
  3096. Rather confusingly, the information on the step delay given by *Status
  3097. is just the step delay for each of the drives, so if drive 0 is
  3098. configured to the normal delay of 3, after typing *Configure Step 6 1
  3099. *Status would give Step 3 6.
  3100. 6.05
  3101. W.áN.áRodger has written with a similar hint and also suggests that
  3102. perhaps all floppy drives on a system have to be set if any one is to be
  3103. changed.
  3104. 6.05
  3105. Mr Rodger has also noted that he has to leave his Cumana switchable 40/
  3106. 80 track drive switched to 80-track before selecting Format DOS 360Kb to
  3107. format a 40-track MS-DOS disc. When he then runs the PC Emulator, he has
  3108. to switch the drive to 40-track to read the disc he has just formatted!
  3109. 6.05
  3110. Compression
  3111. 6.05
  3112. S.áR.áFreeman reports that, when using Compression version 1.10 with his
  3113. A400/1, if he launches an application from CFS and subsequently quits
  3114. CFS without first quitting the application, the computer can hang.
  3115. Otherwise he has no problems with it.
  3116. 6.05
  3117. Mike Kinghan says that his system hangs when he tries to kill any CFS
  3118. filesystem from the iconbar. He only has to do this, however, in order
  3119. to free up the Filecore when shutting his machine down. Now he uses the
  3120. operating system Shutdown routine (via <shift-ctrl-f12>) instead and has
  3121. no problems.
  3122. 6.05
  3123. Mike also observes that öit is not a clever wheezeò to compress CFS
  3124. files using the !Squash application supplied with RISC-OSá3. This will
  3125. report a gratifying reduction in the logical byte count but when the
  3126. actual size of the new file is checked, it will usually be found that
  3127. the file has got larger. (Has anyone found a use for !Squash?)
  3128. 6.05
  3129. Dave Livsey has been told by Computer Concepts, in response to a query
  3130. about CFSæs use of a temporary file as an intermediate step in the
  3131. decompression process, that they ö ... are working on an upgrade to deal
  3132. with this ... ò
  3133. 6.05
  3134. Marc Evans says CFS version 1.10 has problems with large jobs ù 10
  3135. Mbytes, for example ù and suggests turning off interactive filer
  3136. operations during a large compression, otherwise you may lose files.
  3137. 6.05
  3138. He also writes: Filer_Run can be used in an alias to run CFSæd files
  3139. directly from the normal Filer window. To perform this trick, issue the
  3140. command:
  3141. 6.05
  3142. Set Alias$@Runtype D96 !Filer_Run CFS#%0
  3143. 6.05
  3144. and just double click on the file to load it.
  3145. 6.05
  3146. Confusing MS-DOS and ADFS discs
  3147. 6.05
  3148. Marc Evans warns that if you regularly use both DOS and ADFS floppy
  3149. discs, it is easy to get confused about which is which. You can easily
  3150. find yourself copying to a DOS disc thinking it is ADFS; file and
  3151. application icons appear in the destination window just as normal and
  3152. you can be none the wiser (apart from the copying being rather slower)
  3153. until you run out of space after 720Kb.
  3154. 6.05
  3155. Disc corruption
  3156. 6.05
  3157. Keith Raven has experienced two strange floppy disc faults since
  3158. upgrading. After deleting the font manager from a PD fonts disc (E
  3159. format), he found that three letters from one font had disappeared
  3160. although the disc was otherwise intact and verified OK. He was able to
  3161. load the font into !FontEd successfully for patching. The other problem
  3162. was a öbroken directoryò on a D format disc, just after deleting a
  3163. couple of redundant items (including a !System directory) left over from
  3164. RISC¡OSá2. The disc verified properly, but a disc sector editor showed
  3165. two chunks of continuous Ns in sector 1 (on track 0 head 0). He has
  3166. noticed that ADFS buffers is set to 8 (the default?) and wonders whether
  3167. there is still a bug there.
  3168. 6.05
  3169. (We reported two months ago Acornæs telephone help line comment that the
  3170. bug which made it advisable to configure the ADFS buffers to zero had
  3171. been fixed. We also reported Computer Conceptsæ claim that, unless the
  3172. buffers are configured to zero, it is vital to dismount disks before
  3173. removing them for good from the machine because, otherwise, there may be
  3174. trouble later. Does anyone have any proof either way?)
  3175. 6.05
  3176. XOB Remote Logon
  3177. 6.05
  3178. Raymond Wright says that XOB Remote Logon, which allows a BBC Micro or
  3179. another Archimedes to access a hard disc attached to an Archimedes via
  3180. Econet, is in trouble. He thinks that it is not loading binary files to
  3181. the correct locations in the BBCæs memory.
  3182. 6.05
  3183. Printing!!!
  3184. 6.05
  3185. (This seems to be the area that is causing the greatest grief. If anyone
  3186. thinks he knows the answers, please get in touch! A number of people
  3187. have commented favourably on the Ace drivers. Perhaps, if the people at
  3188. Ace think they have got printing sussed, they might be able to help with
  3189. some of these problems.)
  3190. 6.05
  3191. (Funnily enough, Tony Cheal of Ace Computing was hoping to write us an
  3192. article about printer drivers. As I well know, when you are running your
  3193. own business, things can get very hectic. Anyway, if you do get time,
  3194. Tony, your fans are waiting in eager anticipation! Ed.)
  3195. 6.05
  3196. Printer buffer
  3197. 6.05
  3198. Several people have commented that the printer buffer doesnæt work
  3199. properly. Can this be true or is it that we donæt understand how to use
  3200. it properly?
  3201. 6.05
  3202. Richard Burnell says that if he configures the buffer to, say, 300Kb and
  3203. tries to print a draw file with lots of text, the computer hangs and not
  3204. even the escape key works. (He owns a KX-P1081 dot matrix printer.)
  3205. 6.05
  3206. Mike Kinghan writes: The RISC-OS 3 feature that I had longed for most
  3207. was background printing. Running off a manual on my LaserJet II under
  3208. RISC-OS 2 could monopolise the computer for half a day. How annoying
  3209. then to discover that prints executed from familiar applications are not
  3210. automatically run in background under the new OS. A partial remedy,
  3211. however, is to use the new Print Manageræs capability to substitute a
  3212. file for any installed printer. First take the Printer Control option
  3213. from your printeræs iconbar menu. Then select the Connection dialogue
  3214. and nominate a file of your choice in place of the installed printer.
  3215. This will make applications write to that file when they think they are
  3216. printing, and they will do this much more speedily. At your convenience,
  3217. redirect the printer connection to your physical printer and drag your
  3218. print files to the printer icon. Now they will be printed in background,
  3219. allowing you to get on with your work. (But what a palaver! Surely there
  3220. must be a simpler way?)
  3221. 6.05
  3222. Change in printer initialisation behaviour
  3223. 6.05
  3224. T. J. Bennett uses First Word Plus version 1 with an A3000 and a Citizen
  3225. Swift 24. In order to make best use of this combination, he has written
  3226. a !Boot file which redefines screen characters using VDU23 and also
  3227. defines some characters not available in the standard printer character
  3228. set as download characters to the printer. He has also modified his
  3229. printer driver. This all worked in RISC¡OSá2, the printer buffer
  3230. allowing the booting process to continue to completion whether the
  3231. printer was on line or not. In RISC¡OSá3, however, the !Boot will not
  3232. finish until the printer is connected, switched on and on line. (öA
  3233. giant step towards the Neanderthal,ò Mr Bennett comments.) He has tried
  3234. setting PrinterBufferSize to ridiculous sizes with no discernable
  3235. effect, also RMASize and SystemSize. Does anyone have any suggestions?
  3236. (I wonder if this problem is related to that described by Mick Day last
  3237. month ù see Archive 6.4 p9.)
  3238. 6.05
  3239. Mr Bennett has noticed that there is a limit to the amount of data in
  3240. the printer driver for defining each character (contrary to what the
  3241. manual says) so this cannot be used as the source of download character
  3242. data.
  3243. 6.05
  3244. Disc swapping
  3245. 6.05
  3246. Peter Prewett reports that, after loading the !Printer application on
  3247. the iconbar and then loading Impression Junior, whenever he tries to
  3248. print, he is required to insert the floppy disc from which he loaded the
  3249. original printer application. He says he ötried loading system and scrap
  3250. from the printer and other discs, none of which makes any difference.ò
  3251. (My suggestion is that the problem is a misunderstanding of the purpose
  3252. of the !Scrap application: the result of running this is simply to tell
  3253. the computer that the disc it is on is the place to store temporary
  3254. öscrapò files. Thus by öloadingò !Scrap from a floppy you tell the
  3255. computer to use that floppy for temporary storage during operations like
  3256. printing. If you have a hard disc, it is best to copy !Scrap onto its
  3257. root directory and to ensure that the first thing you do each time you
  3258. turn the computer on or reset it is to open a Filer window on that root
  3259. directory so that the location of !Scrap will be öseen.ò)
  3260. 6.05
  3261. Peter goes on to comment that system and scrap files are difficult to
  3262. use and must be made totally transparent to the end user. öNobody should
  3263. have to set up the computer with these files as it is certainly not
  3264. user-friendly.ò Does anyone want to volunteer to write a user-friendly
  3265. article about system and scrap files? Does anyone have any ideas about
  3266. how these might be better organised in a future version of the operating
  3267. system?
  3268. 6.05
  3269. Mono greyscales (!?)
  3270. 6.05
  3271. A number of people have noticed that the so-called ömonoò option in the
  3272. RISC-OSá3 printer drivers actually produces grey scales when rendering
  3273. drawfiles (although sprites are printed in black and white as might be
  3274. expected).
  3275. 6.05
  3276. LaserDirect
  3277. 6.05
  3278. I may have given the impression in the December column that it is
  3279. impossible to print rotated text out of a LaserDirect. John Winter has
  3280. pointed out that this can be done fairly easily by creating the text in
  3281. Draw and using the Convert to path menu option; this will then print
  3282. like any drawfile. Furthermore, the rotated text can be imported into
  3283. Impression, again just like any drawfile.
  3284. 6.05
  3285. John Winter has also found that in order to run the RISC¡OSá3 !Printers
  3286. application after using a Computer Concepts RISC¡OSá2 driver, you have
  3287. to run the following * commands (either at the command line or in a Task
  3288. window or in an Obey or Command file):
  3289. 6.05
  3290. *RMKill PDriver
  3291. 6.05
  3292. *RMReinit PDriver
  3293. 6.05
  3294. Several more people have reported problems with the quality of print
  3295. from LaserDirect printers. Michael Lowe says he has considerable
  3296. problems printing sprites, mostly incorporated into Impression docu
  3297. ments: black areas are often patterned, grey areas sometimes donæt print
  3298. and occasionally the whole of the text area breaks up giving a granular
  3299. appearance. However, the worst thing, he says, is the unpredictability
  3300. of the behaviour.
  3301. 6.05
  3302. There may, however, be an answer to this (but no solution until the new
  3303. drivers appear sometime this year, with luck): Computer Concepts have
  3304. written to Tim Powys-Lybbe saying: öWe are now(!) aware of a problem
  3305. with the combination of our LaserDirect drivers 2.05 and RISC¡OSá3.1.
  3306. The first Landscape page will print correctly, but on subsequent prints,
  3307. black output will be speckled. This only occurs when QuickText is off.
  3308. 6.05
  3309. öI would recommend that you turn on QuickText. If necessary, you should
  3310. install RISC¡OSá2 versions of Corpus and Homerton into your !Fonts
  3311. application on disc. If you get a speckled output, changing printing
  3312. resolution or reloading the driver will restore a black image.
  3313. 6.05
  3314. öThe next release of our drivers should clear up this problem.ò
  3315. 6.05
  3316. Timæs comment is that the output and the problem is a little worse than
  3317. their letter concedes.
  3318. 6.05
  3319. (And the problem also occurs fairly predictably on the BJ10 Turbo
  3320. Driver. Ed.)
  3321. 6.05
  3322. Alan Gentle recommends inserting a FontRemove statement in the !Boot
  3323. file, removing the ROM fonts, and to add Corpus, Homerton and Trinity to
  3324. the !Fonts directory on disc, i.e. the boot file should end:
  3325. 6.05
  3326. FontRemove Resources:$.Fonts.
  3327. 6.05
  3328. FontInstall <Obey$Dir>.
  3329. 6.05
  3330. (N.B. the dots at the end of each line are significant.)
  3331. 6.05
  3332. Alan also says Computer Concepts have sent him an update of PrinterLD,
  3333. version 2.05s (10-Aug-1992) which seems to work OK!
  3334. 6.05
  3335. When I started printing from Artworks, I found that the greyscales at
  3336. 600 dpi were rather distinctly graduated. At 300 dpi, the gradation is
  3337. much smoother but the individual colours have a much dottier appearance.
  3338. On CCæs recommendation, I have found that 600╫300 using Screen 2 gives a
  3339. good compromise.
  3340. 6.05
  3341. On the question of how long the upgraded printer drivers are taking to
  3342. produce, CC said (in a letter dated 17th December 1992): öWe have only
  3343. just received the source code (weæd have preferred proper documentation,
  3344. but there isnæt any) from Acorn. All our drivers require significant
  3345. changes to allow full RISC¡OSá3 compatibility. Since the RISC¡OSá2
  3346. drivers work with RISC¡OSá3, their conversion is not a priority.ò
  3347. 6.05
  3348. Printing after Artworks
  3349. 6.05
  3350. Roger King has found that, after printing from Artworks, computers need
  3351. to be switched off (<ctrl-reset> is not enough) before using new
  3352. applications that need to print hard copy. If this is not done, spurious
  3353. fine horizontal lines of about 4mm length are scattered throughout the
  3354. printed page. Has anyone any clues about this?
  3355. 6.05
  3356. Unwanted form feeds
  3357. 6.05
  3358. G. T. Smithæs means of preventing his Brother (Epson FX80 compatible
  3359. printer) from spewing out extra pieces of blank paper was to load the
  3360. driver into !PrintEdit, delete the formfeed code ö12ò from the End of
  3361. Text Job and to add ESCö8ò (öignore paper emptyò) in the Start of Job
  3362. line.
  3363. 6.05
  3364. Unwanted line feeds in First Word Plus
  3365. 6.05
  3366. Dave Livsey suggests that the printer driver needs doctoring to remove
  3367. the extra line feed that it sends to the printer. Can anyone give
  3368. details?
  3369. 6.05
  3370. Editing printer drivers
  3371. 6.05
  3372. G. T. Smith says that he made the mistake of assuming that, having
  3373. copied his modified printer driver onto his hard disc, !Printers would
  3374. find it and the modification would take effect, but it didnæt. He says
  3375. you need to load !Printers onto the iconbar and re-install the driver by
  3376. dragging it into the Printer Control window from the !Printers menu.
  3377. 6.05
  3378. Tim Nicholson says that if you change the configuration settings of a
  3379. printer which is not the currently selected one (i.e. its icon is greyed
  3380. out), then the next time you print, the print manager uses the driver
  3381. you have reconfigured not the selected one.
  3382. 6.05
  3383.  
  3384. 6.05
  3385. PC Emulator
  3386. 6.05
  3387. Mike Small has found that PC programs such as Tetris run first time but
  3388. when they get to the point where they ought to re-load, i.e. when he
  3389. ödiesò, he gets the messages:
  3390. 6.05
  3391. M2ExHandle abort - Bad Entry Sequence
  3392. 6.05
  3393. *CD \Tetris
  3394. 6.05
  3395. FileCore in use (Error number &108A0)
  3396. 6.05
  3397. *Tetris
  3398. 6.05
  3399. He is using version 1.34 of the emulator, patched in accordance with the
  3400. Support instructions. (He assumes that the altering of the filetype of
  3401. the DOS partition to DOSDisc doesnæt apply to him because he uses
  3402. floppies.) He has a user port and MIDI on a basic A3000. Does anyone
  3403. have any ideas?
  3404. 6.05
  3405. Nik Kelly finds that his Quick Basic editor scrolls at a useful speed
  3406. now that he has an ARM3 and RISC¡OSá3, but has found that the freebie,
  3407. QB, that comes with MS-DOSá5, does not read his .BAS files.
  3408. 6.05
  3409. He also says that his real-time clock is now always wrong (using PC
  3410. emulator 1.6 and MS-DOS 3.3) and asks why?
  3411. 6.05
  3412. Richard Burnell says that version 1.81 of the emulator wonæt read Atari
  3413. format discs with RISC¡OSá3.10 and asks when the new version of the
  3414. emulator is due for release.
  3415. 6.05
  3416. Miscellaneous Hardware Tips
  3417. 6.05
  3418. Ground Control teletext adaptor
  3419. 6.05
  3420. Mike Williams found that his problem with this was a hardware problem
  3421. and nothing to do with RISC¡OSá3. He had changed to an A5000 and there
  3422. is a subtle difference in the hardware of the printer port. Ground
  3423. Control are offering an upgrade to a podule version Ö but he doesnæt
  3424. know where he is going to find a fifth podule slot!
  3425. 6.05
  3426. SCSI podule and MIDI board conflict
  3427. 6.05
  3428. Richard Burnell found that his Vertical Twist A3000 Econet MIDI/sampler
  3429. board would not work with his 8-bit Lingenuity SCSI podule because they
  3430. were competing for use of fast interrupts. Version 2.45 of the SCSI
  3431. firmware is now available and the MIDI port now works fine. (This
  3432. doesnæt sound like a RISC-OSá3 problem to me, but I will include it
  3433. anyway!)
  3434. 6.05
  3435. Pineapple digitiser
  3436. 6.05
  3437. The problem Tim Nicholson mentioned in Archive 6.3 p15 was cured by the
  3438. addition of an öextra decoupling capacitorò.
  3439. 6.05
  3440. Brainsoft expansion card
  3441. 6.05
  3442. Tim Nicholson reported (Archive 6.3 p15) that this didnæt work. Raymond
  3443. Wright says he thinks his works OK, but he has had problems with the
  3444. software in RISC¡OSá2, some of which have righted themselves in
  3445. RISC¡OSá3! (The sound module still seems to want to hog all available
  3446. memory, though.)
  3447. 6.05
  3448. Maths co-processor
  3449. 6.05
  3450. Raymond Wright says there is no built-in support in RISC¡OSá3 for the
  3451. maths co-processor card so he still has to load FPEmulator 3.2 from
  3452. disc.
  3453. 6.05
  3454. Impression dongle
  3455. 6.05
  3456. Roger Poweræs problem mentioned last month turned out to be a defective
  3457. dongle (apparently it was one of the very early ones), which CC have
  3458. replaced.
  3459. 6.05
  3460. G. T. Smith had a similar problem and while he was waiting for a
  3461. replacement dongle it was suggested that he should try öshorting all the
  3462. pins of the dongle with a piece of earthed kitchen foil.ò Apparently it
  3463. worked! (I suggest you only try this if you are confident you know what
  3464. you are doing.)
  3465. 6.05
  3466. Roger King reports that he had a problem with both laser printers and a
  3467. Deskjet 500 ejecting blank sheets of paper with spurious characters on
  3468. the first line of the new page, especially when printing from PipeDream
  3469. 4 documents. When the Impression dongles were removed the problem went
  3470. away.
  3471. 6.05
  3472. Keith Raven agrees that there is something strange. Once, after
  3473. switching off the computer and restarting, he tried printing from Basic
  3474. using <ctrl-B> but the computer locked up as if the printer wasnæt on
  3475. line. Loading !Printers and trying to print from !Edit caused the system
  3476. disc to run and the iconbar to flash but no output. Loading Impression
  3477. then caused most, but not all, of the previously öprintedò output from
  3478. !Edit to arrive at the printer. However, he could not repeat this. Since
  3479. he had previously used the printer successfully in similar circums
  3480. tances, he wonders if the problem might be something to do with printer
  3481. initialisation.
  3482. 6.05
  3483. Miscellaneous Hints & Tips
  3484. 6.05
  3485. Screen modes
  3486. 6.05
  3487. Peter Prewett says that mode 31 öflashes fastò on his A440/1 with an
  3488. Eizo 9060s Multiscan. He also says that mode 27 will not run on an A310
  3489. with an NEC Multiscan. (I also find that mode 31 is unusably flickery on
  3490. my Taxan 770 Plus, but surely one of the purposes in giving us such a
  3491. wide variety of modes is to give each user a greater chance of finding
  3492. some that suit his own particular monitor.)
  3493. 6.05
  3494. Marc Evans recommends non-multisync users to use mode 35 as their
  3495. configured mode because it gives a bit more room to work in without
  3496. decreasing resolution in the way mode 16 does.
  3497. 6.05
  3498. Desktop Boot files
  3499. 6.05
  3500. Colin Singleton has been puzzled to find that, after creating a Boot
  3501. file and rebooting, a number of applications that were running at the
  3502. time he created the Boot file failed to start up. The reason for this is
  3503. that only öRISC¡OSá3 awareò applications will be inserted automatically
  3504. into a !Boot file. (Apart from any other reason, the operating system
  3505. needs to be able to find out where on disc each application was loaded
  3506. from and it canæt do this unless the application is programmed to be
  3507. able to tell the operating system when asked. Originally, RISC¡OSá3
  3508. applications werenæt programmed to behave in this way.)
  3509. 6.05
  3510. If you want your Boot file to run an older application (including, for
  3511. instance, current versions of Impression) you have to edit !Boot and add
  3512. the appropriate instructions by hand. To do this (assuming you have
  3513. already created a Desktop Boot file), load !Boot into !Edit (the quick
  3514. way is to <shift-double-click> on it) and you will probably find a
  3515. number of lines reading öFiler_Boot ... ò followed by some reading
  3516. öFiler_Run ... ò. Immediately after these, add another line reading
  3517. öFiler_Run ò followed by the full path name of the application, and
  3518. repeat for each application you want to run. The process is described in
  3519. more detail in the User Guide starting at page 112.
  3520. 6.05
  3521. Colin Singleton has also tried, as the manual suggests, creating two
  3522. !Boot files so that he can switch at will from one öworldò to another.
  3523. However, when he tries to run them he gets a message öYou cannot have
  3524. two copies of !Alarm at once.ò Does anyone have any suggestions?
  3525. 6.05
  3526. When G÷tz Kohlberg had created a Boot file and tried rebooting, he got
  3527. an error message: önot enough memory or not within desktop worldò.
  3528. (Could this happen if the configured ölanguageò is not Desktop? (Number
  3529. 10 in RISC-OS 3.))
  3530. 6.05
  3531. Control of ARM3 cache
  3532. 6.05
  3533. G÷tz Kohlberg found that the *Cache on command turned the cache off and
  3534. *Cache off turned it on! He also found that when he installed the Aleph
  3535. One hare and tortoise module, the effect of clicking on the iconbar
  3536. icons was also reversed. His work-around for this problem is to include
  3537. *Cache on as the very first command in his !Boot file and to include the
  3538. command *Cache off immediately before the line that runs the !Arm3
  3539. application.
  3540. 6.05
  3541. ROM modules
  3542. 6.05
  3543. R. D. Attwood asks how he can find out which modules are in ROM so that
  3544. he doesnæt duplicate them in the system directory on disc. Simple: press
  3545. <ctrl-f12> to open a Task window and type RomModules at the star command
  3546. prompt. A list of modules in the system ROM and in the ROMS on any
  3547. podules installed on the machine will scroll past. To read the list and
  3548. print it or save it: bring up the Task window menu and choose the
  3549. öSuspendò option then treat the contents of the window just like any
  3550. other Edit window.
  3551. 6.05
  3552. To see what else is in ROM ...
  3553. 6.05
  3554. ... bring up the menu over the Apps icon on the iconbar and choose the
  3555. öOpen É$æò option. You can now explore all the resources stored in ROM.
  3556. 6.05
  3557. Toolsprites
  3558. 6.05
  3559. Several months ago, the Archive monthly disc included a nice collection
  3560. of ötoolò sprites designed to smarten up the appearance of window icons
  3561. (including things like 3D-effect sliders that look pushed-in when you
  3562. drag them). I found that the original set didnæt quite work properly,
  3563. but that simply by adding one extra sprite (öblicon22ò) copied from a
  3564. similar set on a recent Acorn User disc, I got a set which seems to work
  3565. fine. This set is on this monthæs program disc in a file called
  3566. öWin3Toolsò. To use it, I suggest you copy it into your !System
  3567. directory and include the command
  3568. 6.05
  3569. ToolSprites System:Win3Tools
  3570. 6.05
  3571. in your !Boot file. (Note: this file only includes ö22ò definitions for
  3572. ösquare-pixelò high resolution modes.)
  3573. 6.05
  3574. Shift key behaviour
  3575. 6.05
  3576. R. D. Attwood has found his left shift key giving a ñ symbol. On
  3577. investigation, he has found that under the key there are two contacts:
  3578. one gives ñ, the other ú. The !IntKey module on the Support disc seems
  3579. to solve the problem but, as he says, it should not be necessary to run
  3580. this. Has anyone any ideas?
  3581. 6.05
  3582. Shift-double-clicking into editors
  3583. 6.05
  3584. Marc Evans says that if you shift-double-click on a file to load it into
  3585. an editor, the editor can be confused about what filetype it is and can
  3586. save an Obey file as Text. (This doesnæt seem to happen with !Edit, but
  3587. it does with !StrongEd II. Without the PRM, I canæt be sure but I would
  3588. guess that what is happening is that a shift-double-click causes the
  3589. Filer to broadcast a message inviting applications to load the file as
  3590. if it were a text file. If !Edit picks it up, it presumably then reads
  3591. the directory information to find out what the filetype is, whereas
  3592. !StrongEd carries on assuming it is a text file. I wonder what other
  3593. editors like DeskEdit do?)
  3594. 6.05
  3595. Fix for SciCalc
  3596. 6.05
  3597. Colin Dean, one of the authors of SciCalc, has written in with a fix for
  3598. the bug in the +/Ö operator mentioned in Archive 6.3 p18.
  3599. 6.05
  3600. The +/Ö operator should always change the sign of the currently
  3601. displayed value, unless you are in the middle of entering an exponent,
  3602. in which case it should change the sign of the exponent. In practice, it
  3603. can produce bizarre results: e.g.
  3604. 6.05
  3605. enter    display
  3606. 6.05
  3607. 1E13   1E13
  3608. 6.05
  3609. +/Ö   1E-13
  3610. 6.05
  3611. =   1E-13
  3612. 6.05
  3613. +/Ö   3E-30
  3614. 6.05
  3615. The last displayed result should be Ö1EÖ13!
  3616. 6.05
  3617. To fix this alter the lines that read:
  3618. 6.05
  3619. 5340 IF entry$=ö0ò THEN entry$= FNtobase(dreg)
  3620. 6.05
  3621. 5350 IF base%=1 THEN
  3622. 6.05
  3623. 5360 IF (INSTR(entry$,öEò)=0) OR (F%=TRUE) THEN
  3624. 6.05
  3625. to read, instead:
  3626. 6.05
  3627. 5340 IF F%=TRUE THEN entry$= FNtobase(dreg)
  3628. 6.05
  3629. 5350 IF base%=1 AND F%=FALSE THEN
  3630. 6.05
  3631. 5360 IF (INSTR(entry$,öEò)=0)THEN
  3632. 6.05
  3633. Copying a directory into itself
  3634. 6.05
  3635. You canæt any more! (Marc Evans says.) (For those who donæt remember the
  3636. heady days when RISC¡OSá2 was young, one of its features was that it was
  3637. quite easy to fill a disc by recursively copying a directory into
  3638. itself!)
  3639. 6.05
  3640. Unplugging !Configure
  3641. 6.05
  3642. !Configure can be unplugged if you do not want the machine altered Ö
  3643. useful in a school situation! (Marc Evans)
  3644. 6.05
  3645. Bug in BASIC64
  3646. 6.05
  3647. A. G. Rimmer reports that there is a fault in BASIC64 in that the format
  3648. specification given by @% frequently behaves incorrectly for fixed
  3649. format (but not for E or G format). This is illustrated by the following
  3650. program:
  3651. 6.05
  3652. 10 REM >Double precision test
  3653. 6.05
  3654. 20 @%=öF30.2ò
  3655. 6.05
  3656. 30 PRINT; öWith @% = &ò;STR$~(@%);ö:òÉ
  3657. 6.05
  3658. 40 REPEAT
  3659. 6.05
  3660. 50 INPUT öNumber input: ò x
  3661. 6.05
  3662. 60 PRINT ö prints as ò x
  3663. 6.05
  3664. 70 UNTIL FALSE
  3665. 6.05
  3666. This produces the following output:
  3667. 6.05
  3668. Number input: 102.63
  3669. 6.05
  3670. prints as 1.03E2
  3671. 6.05
  3672. Number input: 1234.5678
  3673. 6.05
  3674. prints as 1.23E3
  3675. 6.05
  3676. Number input: 12.25
  3677. 6.05
  3678. prints as 12.25
  3679. 6.05
  3680. Number input: 0.16
  3681. 6.05
  3682. prints as 1.60E-1
  3683. 6.05
  3684. Acorn have acknowledged the fault and have told Mr Rimmer that there is
  3685. no work-around or fix for this problem at the moment.
  3686. 6.05
  3687. Limited precision of SciCalcæs display
  3688. 6.05
  3689. Mr Rimmer also observes that, whereas SciCalc calculates using floating
  3690. point numbers with 52 binary digits, which are equivalent to 15.7
  3691. decimal digits, you can only input decimal numbers with up to 10 digits
  3692. plus a two digit exponent and the program can only display results with
  3693. 10 significant figures (and 3-digit exponents up to the maximum possible
  3694. 308). What is wanted is a display for both input and results of a 15 or
  3695. 16 digit mantissa plus an exponent of up to 3 digits (up to the limit of
  3696. 308).
  3697. 6.05
  3698. Again Acorn has acknowledged the limitation but has said that a version
  3699. with extended display is not available. (I wonder whether Colin Dean
  3700. might be able to help?)
  3701. 6.05
  3702. Legible menus in 1st Word Plus
  3703. 6.05
  3704. In Archive 6.3 p12 there was a hint on altering the palette for First
  3705. Word Plus release 1.1 so that the menus are legible. This involved a
  3706. special Obey file. Gordon Lindsay-Jones suggests a different solution.
  3707. He first changed colour 14 to black and saved the altered palette in the
  3708. Library directory on the 1wp disc. Before he runs 1wp, he opens the
  3709. Library window and double-clicks on this palette, then when he finishes,
  3710. he opens the menu on the iconbar palette icon and selects Default to
  3711. restore the palette.
  3712. 6.05
  3713. (Mike Williams says version 0.01 of First Word Plus works fine!)
  3714. 6.05
  3715. Using RMFaster
  3716. 6.05
  3717. Mike Williams points out that C programs run much faster if you perform
  3718. *RMFaster SharedCLibrary and, similarly, programs that use the FPE a lot
  3719. (e.g. ray tracers) will benefit from *RMFaster FPEmulator. Under
  3720. RISC¡OSá2, these modules were loaded from disc so always ran in RAM. In
  3721. RISC¡OSá3, we can choose whether to put them in RAM for speed or leave
  3722. them in ROM to save memory.
  3723. 6.05
  3724. Draw crashing
  3725. 6.05
  3726. A number of people have had !Draw crash out on them but luckily it saves
  3727. work in progress as a valid drawfile in the Scrap directory before it
  3728. exits. Therefore, you should be able to recover your work by opening
  3729. !Scrap (shift-double-click on its icon), then opening the directory
  3730. called ScrapDir inside it.
  3731. 6.05
  3732. Wimp drag and double-click defaults
  3733. 6.05
  3734. Mike Williams finds that settings of 5 for WimpDoubleClickDelay and 10
  3735. for WimpDoubleClickMove make detailed work in !Draw much more manage
  3736. able. He wonders if anyone knows how to set them exactly like they were
  3737. in RISC¡OSá2.
  3738. 6.05
  3739. Mouse menu button behaviour
  3740. 6.05
  3741. In response to my tip in Archive 6.3 p19, Tim Nicholson says his mouse
  3742. menu button still returns a continuous 2. I then wondered if it was my
  3743. tracker ball that was at fault so plugged in my clapped out mouse, but
  3744. no: both mouse and tracker ball still return 2 for a moment then 0 when
  3745. the menu button is held down. Tim wonders if the mouse response is
  3746. configurable.
  3747. 6.05
  3748. Opening a root directory without running all the !Boot files (and
  3749. avoiding viruses)
  3750. 6.05
  3751. Tim Nicholson points out that just as control-double-clicking on a
  3752. directory icon opens a filer window on the directory without running the
  3753. boot files of all the applications in the directory, control-double-
  3754. clicking on a drive icon does the same for a root directory. As he says,
  3755. this is jolly useful for inspecting discs of unknown origin if you
  3756. suspect they might contain viruses.
  3757. 6.05
  3758. Keys that donæt work
  3759. 6.05
  3760. Tim Nicholson says that he ökeeps losing his Caps Lock buttonò and
  3761. occasionally <ctrl-shift-f12> doesnæt work. Is this a problem with an
  3762. application? (Or has he been dropping his porridge into the keyboard,
  3763. again?)
  3764. 6.05
  3765. Task manager
  3766. 6.05
  3767. (Tim Nicholson warns: before trying this save all your work!) Try
  3768. clicking <menu> over the Task Manager and choosing the Info option, then
  3769. click <menu> in the grey area where it says NAME: VERSION: AUTHOR:.
  3770. (Donæt get too excited.)
  3771. 6.05
  3772. Alarm
  3773. 6.05
  3774. Colin Singleton writes, in response to Ken Cowapæs comments on !Alarm
  3775. (Archive 6.3 p15): öI think he is wrong in claiming that it contains a
  3776. malfunction, but it is certainly less friendly than it might be. It does
  3777. indeed appear to insist that the start and finish dates are in the same
  3778. year when setting summertime, so you cannot set Off Oct 1992 and On
  3779. March 1993. Since we have now finished with BST for 1992, this is not
  3780. now a problem.ò
  3781. 6.05
  3782. He has found that after setting the two dates for 1993, the Alarm file
  3783. contains three dates, the third date being 7th February 1994. He
  3784. presumes that at 1 a.m. on that day, an alarm will go off to remind him
  3785. to set the summertime dates for that year! Does anyone know what the
  3786. date is for?
  3787. 6.05
  3788. Change in behaviour of !Boot files
  3789. 6.05
  3790. Under RISC¡OSá2, J.áLageu used to protect directories using the
  3791. principle that, whenever a directory was opened, all the boot files in
  3792. it were actioned (unless, I think, a sprite with the name of the
  3793. application had been loaded into the Wimp sprite pool). He finds that
  3794. RISC¡OSá3.10 on an A5000 only sees the !Boot file the first time it
  3795. öseesò the application. I wonder whether it is possible to tell the
  3796. operating system to forget that it has seen the application?
  3797. 6.05
  3798. JPEG
  3799. 6.05
  3800. Steve Dommett has written, in response to Roger Darlingtonæs query in
  3801. Archive 6.3 p28, to point out that there is a very useful implementation
  3802. of JPEG included in !ChangeFSI on the Support Disc. The required files
  3803. are cjpeg, djpeg and JPEGinfo (which provides instructions). !ChangeFSI
  3804. will read JPEG files in the same way as other file types but will need
  3805. plenty of spare space on the !Scrap disc. He has converted many sprites,
  3806. saving megabytes of disc space, with no appreciable loss of quality.
  3807. 6.05
  3808. Peter Sturdy adds that if you want to use JPEG from the command line, it
  3809. is helpful to add the following lines to your !Boot file:
  3810. 6.05
  3811. Set Alias$cjpeg <Obey$Dir>.cjpeg %%*0
  3812. 6.05
  3813. Set Alias$djpeg <Obey$Dir>.djpeg %%*0
  3814. 6.05
  3815. JPEG files can then be manipulated from a Task window without changing
  3816. directory or moving the files into the Library directory.
  3817. 6.05
  3818. (The point of JPEG is that it gives much greater savings in filing space
  3819. but the compression process is not completely reversible so the
  3820. decompressed image will not be identical to the original. For sprites
  3821. this doesnæt normally matter.)
  3822. 6.05
  3823. Directory catalogue display
  3824. 6.05
  3825. Raymond Wright has found an irritating change in the display of a
  3826. catalogue listing (outside the Desktop): on an 80 column screen you only
  3827. get three columns of files instead of 4 and in a 40 column mode you only
  3828. get one. Can there be a good reason for the change, he
  3829. asks?ááááááááááááááááááááá áááááááááááááááááááááá
  3830. 6.05
  3831. Two Questions
  3832. 6.05
  3833. Backup and the önextò slot
  3834. 6.05
  3835. If you back up an 800Kb floppy with the öNextò slot set to the standard
  3836. 640Kb, the backup will take two passes. In order to make the computer
  3837. copy the whole disc in one go, you have to set the Next slot to more
  3838. than 800Kb. Can it be told to use more than the current Next slot if the
  3839. memory is available?
  3840. 6.05
  3841. Icon dragging from filer windows
  3842. 6.05
  3843. There is a configuration option (which I canæt find now that I want it!)
  3844. that instructs RISC¡OSá3 öawareò applications to drag the whole icon
  3845. rather than just an empty square box when saving a file. Why on earth
  3846. isnæt the Filer programmed to do the same when you drag an icon from a
  3847. Filer window? ááááááááááááááááááááááááááááááááááááá    
  3848. áááááááááááááááááááááá á
  3849. 6.05
  3850. Improvements over RISC¡OSá3.0
  3851. 6.05
  3852. Paul Skirrow lists the following improvements:
  3853. 6.05
  3854. Å   after a Shutdown the Restart button works properly and restarts the
  3855. Pinboard correctly
  3856. 6.05
  3857. Å   the ADFSBuffers configuration now works correctly and speeds up disc
  3858. access significantly (although there may still be a problem in 1Mb
  3859. machines).
  3860. 6.05
  3861. Å   Paint handles 256 grey scale sprites correctly and also 256 colour
  3862. sprites can have any of their colours changed independently (Iæd
  3863. appreciate an article on the changes in colour handling in RISC¡OSá3 ù
  3864. starting with the basics like the points mentioned here.)
  3865. 6.05
  3866. Å   an HP Laserjet / Deskjet bug has been cured.
  3867. 6.05
  3868. Å   there is a new X, Y offset facility in the printer driver system,
  3869. separated from the öpaper marginsò (which now specify which area the
  3870. printer driver should allow printing in, although it would make more
  3871. sense to set the top left values to be the same). Paul says this could
  3872. have some other benefits: you should be able to specify negative offsets
  3873. to indicate that the printer must move the print head some distance to
  3874. actually reach the paper, which might be useful when printing on labels.
  3875. Unfortunately, there is a bug: the X, Y origin is not stored and always
  3876. defaults to zero! (My mind goes numb when I read this sort of descrip
  3877. tion. Can anyone help with an idiotsæ guide to printer margins?) (Gerald
  3878. Fitton, in Archive 6.4 p39, admitted to not really understanding how it
  3879. all worked but gave an empirical approach in his PipeLine column. Ed.)
  3880.  
  3881. 6.05
  3882. Å   Printer drivers now set the page length from the önumber of text
  3883. linesò specification, and a number of other printer problems have been
  3884. cured.
  3885. 6.05
  3886. Å   Starting up is quicker (10 seconds quicker on an A5000).
  3887. 6.05
  3888. Å   Some useful extra screen modes are provided.ááA
  3889.  
  3890. Hints and Tips
  3891. 6.6
  3892. Å   Applications launcher Ö When working on various tasks on my
  3893. Archimedes, I often find that I need to launch more than one
  3894. application. For example, I have a wide selection of regularly used
  3895. clipart stored in Library format within Draw Plus. These clipart items
  3896. form regular input while using Ovation or Impressions. Therefore, when
  3897. working on DTP materials I will, on most occasions, be running Draw Plus
  3898. as well. The following ÉPseudo Applicationæ was therefore devised to
  3899. automate the launch of the required cluster of applications (in this
  3900. case Ovation & Draw Plus).
  3901. 6.6
  3902. Begin by creating an application directory (i.e. one where the name
  3903. begins with a !) with a name to suite the task cluster (e.g. !DTP).
  3904. Within this you need to create a !Boot and a !Run file, both Obey files,
  3905. using !Edit. The !Boot file only needs to contain the single line ....
  3906. 6.6
  3907. IconSprites <Obey$Dir>.!Sprites
  3908. 6.6
  3909. while the !Run file should contain the following...
  3910. 6.6
  3911. IconSprites <Obey$Dir>.!Sprites
  3912. 6.6
  3913. Desktop -FILE <Obey$Dir>.
  3914. 6.6
  3915. FileLaunch
  3916. 6.6
  3917. In each case, the IconSprites command directs the system to the !Sprites
  3918. file for the pseudo-application while the Desktop command in the !Run
  3919. file instructs the system to execute a series of commands held within
  3920. the file called ÉFileLaunchæ.
  3921. 6.6
  3922. Again within !Edit, create a new textfile, to be called ÉFileLaunchæ. It
  3923. is the contents of this file that will determine which applications are
  3924. to be launched by your pseudo-application. For example, the following
  3925. will launch both Ovation and Draw Plus as well as opening the directory
  3926. viewer to my ÉFilesæ folder and my Draw Plus Library folder. The exact
  3927. contents being dependent on the organisation of your own system.
  3928. 6.6
  3929. Filer_CloseDir ADFS::4
  3930. 6.6
  3931. ADFS::4.$.MoreApps.!Ovation
  3932. 6.6
  3933. ADFS::4.$.!DrawPlus
  3934. 6.6
  3935. Filer_OpenDir ADFS::4.$.Files
  3936. 6.6
  3937. Filer_OpenDir ADFS::4.$.Files. DrawLibs
  3938. 6.6
  3939. Save this as ÉFileLaunchæ within the pseudo-application.
  3940. 6.6
  3941. The final job is to create an appropriate sprite to represent your new
  3942. pseudo-application. This should be 34 ╫ 17 units in size. For mine, I
  3943. have merged the small display icons from Ovation and Draw Plus. Once all
  3944. is completed, double clicking on the application will, as if it were a
  3945. normal application, launch the specified applications and open the
  3946. required directory viewers.
  3947. 6.6
  3948. Although this was initially developed on a hard disc based system, it
  3949. can be just as useful to floppy based systems. For example, it can be
  3950. set up to launch an application along with an appropriate printer driver
  3951. or launch a collection of floppy disc based utilities. For users still
  3952. working with Risc-OS 2, if the application is given the name !Boot and
  3953. placed on the root directory, with the drive set to *OPT 4 2, it gives
  3954. many of the same basic facilities as the new Desktop Boot of RISC-OS
  3955. 3.10.
  3956. 6.6
  3957. NOTE: This system does not effect the normal action when you double
  3958. click on an applications file. This will, as always, launch its own
  3959. application and load in the file clicked on.á Mike McNamara, Dunstable.
  3960. 6.6
  3961. Å   ArcLaser 1.68 and PipeDream Ö With ArcLaser installed, PipeDream
  3962. (3.14) wonæt print using its own driver. It is necessary not only to
  3963. quit ArcLaser but to RMkill the LQEmulator module.á Richard Torrens,
  3964. Cambridgeshire.
  3965. 6.6
  3966. Å   BJ10e/ex with CC Turbo Driver Ö Under Risc-OS 3/3.10 there is a
  3967. conflict between the Turbo Driver and the new !Printers system. If you
  3968. contact CC, they will tell you to issue the following from the * prompt
  3969. ....
  3970. 6.6
  3971. RMKill PDriver
  3972. 6.6
  3973. RMREInit PDriver
  3974. 6.6
  3975. A far more elegant way is to place these two commands within the !Run
  3976. file of the !Printers application. They should be added immediately
  3977. before the line which reads ....
  3978. 6.6
  3979. RMEnsure PDriver 3.16 Error etc
  3980. 6.6
  3981. You will now be able to switch between the two systems without further
  3982. problems!
  3983. 6.6
  3984. Mike McNamara, Dunstable.
  3985. 6.6
  3986. Å   Dongle problems Ö Various people have found that, on occasion, they
  3987. cannot print from other applications when using an Impression or
  3988. Artworks dongle. The situation seems to be worse under RISC-OS 3. The
  3989. (temporary) solution is to run Impression or Artworks and quit it. All
  3990. should then work OK. (Hint offered by various readers.) (For more
  3991. discussion, see the Comment Column on page 18.)
  3992. 6.6
  3993. Å   FoxPro version2 Ö Anyone who has tried to run FoxPro version2 under
  3994. version 1.8 of the PC Emulator will have found that it does not work. If
  3995. you still have an earlier version of the Emulator, try using that
  3996. because it is said to run under some of the earlier versions.á David
  3997. Wild, Hemel Hempstead.
  3998. 6.6
  3999. Å   Pocket Book power supply Ö Maplin sell a 300mA regulated transformer
  4000. for ú8.95 (+ú1.20 p&p) which will do the same job as the Pocket Book
  4001. mains adaptor and more besides. Maplinæs code is YB23A and the
  4002. polarisation should be negative at the tip at 9V.
  4003. 6.6
  4004. You cannot format Flash SSDs above 256Kb unless the Pocket Book is
  4005. connected to an adaptor.  Apparently, the Flash SSDs require 12-15V when
  4006. formatting.á Mark Goodwin, Worcester.
  4007. 6.6
  4008. (N.B. You canæt just use any old transformer for the PocketBook and we
  4009. canæt, of course, be held responsible for any damage which occurs if a
  4010. particular power supply does not work. We still cannot get the Acorn
  4011. Pocket Book mains adaptors but are buying some Psion ones which we will
  4012. be able to sell at the same price Ö ú15 inclusive. Ed)
  4013. 6.6
  4014. Å Printers, margins, etc Ö I disagree with the statement in Archive 6.5
  4015. p37 that the X Y origin is not stored. There seems to be a fundamental
  4016. lack of understanding in this area. If you want a full explanation, I
  4017. will do one but, in brief, the offsets should be set using the technique
  4018. described in the readme file in the Printers directory using the TopLeft
  4019. printer file. Paper margins should then be set to be at least as big as
  4020. the X Y values, then when the printer tries to print, it says to itself,
  4021. öleft margin 20mm (say) so I have to move the printer head 20mm before I
  4022. start printing. Ah, but wait a minute, the print head is already Xmm
  4023. from the edge, so I only need to move another (20 Ö X)mm before I start
  4024. printing.ò
  4025. 6.6
  4026. The same is true for Y. None of the default definitions I have looked at
  4027. are anywhere near right which doesnæt help. BJ330 printers auto sense
  4028. the left hand edge of the paper so goodness knows what happens then! á
  4029. Tim Nicholson, Cranleigh.
  4030. 6.6
  4031. Å   Scrap file Ö Floppy disc users may be pleased to know that the
  4032. Wimp$Scrap file, used for in-memory transfer, does not have to be on a
  4033. physical medium. I have included the line:
  4034. 6.6
  4035. Set Wimp$Scrap RAM::RamDisc0.$ .ScrapFile
  4036. 6.6
  4037. in my !System.!Boot file. I have configured the machine to automatically
  4038. create a RAM disc on switching on and have since avoided much disc
  4039. swapping. The !Scrap folder can be avoided, though the Printers (RISC-OS
  4040. 3) application needs to see it. It can be placed inside the Printers
  4041. directory, and the line:
  4042. 6.6
  4043. Obey <Obey$Dir>.!Scrap.!Boot
  4044. 6.6
  4045. included near the beginning of the !Printers.!Run file.á Robert Fuller,
  4046. Basingstoke.
  4047. 6.6
  4048. Å   !Squash Ö This program is a side product of the new printer drivers Ö
  4049. the printer definition files are held in squash format. If you change
  4050. the filetype of a printer definition file to Squash (filetype_FCA) and
  4051. drag it into Squash, it will be unsquashed. Loading into Edit will
  4052. reveal a file not unlike the old OS2 PrDataSrc files, although the
  4053. graphics data is held differently. RISC-OS 3 requires the definition
  4054. files in the unsquashed format. PrintEdit will happily edit files in
  4055. either format but always produce Squashed output.
  4056. 6.6
  4057. Å   Squirrel and Compression Ö If, like me, you routinely run your
  4058. Squirrel tables from a Compression window, you may eventually get an
  4059. error message, öBad File Formatò. If you then open the tableæs
  4060. directory, you will find that some of the files inside show the white
  4061. File_xxx icon.
  4062. 6.6
  4063. Setting the filetype to Squirrelæs DB7 format, will still result in an
  4064. error message.
  4065. 6.6
  4066. Here is what Digital Services told me: There is Ö they think Ö a bug in
  4067. Compression, which causes this effect very intermittently. The thing to
  4068. do then is to set the filetype to CFSlzw and then uncompress those
  4069. files.á Jochen Konietzko, K÷ln.
  4070. 6.6
  4071. Å   Symbolic links Ö If you want to have a program in more than one
  4072. folder, it is easy enough to store the program once and then create a
  4073. link to this program in other folders. In RISC OS 3.1: load !Edit and
  4074. create a new Obey file. Shift-drag the program into this window. Save
  4075. the Obey file where you want to have the link. Then a double click on
  4076. the link-Obey file executes the original program. This works with any
  4077. filetype Ö not just applications.á Thomas Goseberg, Germany.ááA
  4078.  
  4079. 6.6
  4080. Using RISC¡OSá3.1
  4081. 6.6
  4082. Hugh Eagle
  4083. 6.6
  4084. öDonæt blame it all on RISC-OS 3!ò Archive staff have, on a number of
  4085. occasions recently, given this advice to Archimedes users. öBut it has
  4086. only happened since I changed to RISC-OS 3...ò Yes, but that doesnæt
  4087. mean itæs the fault of RISC-OS 3. Often itæs a hardware fault that was
  4088. set off by fiddling with the p.c.b. of an old computer Ö or, as in some
  4089. of the cases in Hughæs column this month, it is caused by a change in
  4090. configuration that occurred when you did a <delete-powerup> (or because
  4091. you didnæt do one!). The final reason is that you havenæt read the
  4092. manual Ö if I had a pound for every time I have had to give advice that
  4093. was basically, öRead the manualò... Ed.
  4094. 6.6
  4095. Once again Iæve been nearly overwhelmed by the flood of correspondence.
  4096. However, do keep the letters coming, please; Iæll try to use them all in
  4097. due course, I promise! My address remains: 48áSmithbarn, Horsham,
  4098. Sussex, RH13á6DX.
  4099. 6.6
  4100. Paul says, öTry to be briefò, so Iæll get started.
  4101. 6.6
  4102. Programmersæ Reference Manual
  4103. 6.6
  4104. I was told at the BETT show in January that the new PRM will be ready in
  4105. öthe second quarterò of 1993.
  4106. 6.6
  4107. Programs and hardware that work
  4108. 6.6
  4109. Some additions to the lists of previous months:
  4110. 6.6
  4111. Ö Chocks Away
  4112. 6.6
  4113. Ö Conqueror
  4114. 6.6
  4115. Ö DrawBender
  4116. 6.6
  4117. Ö öMost 4Mation softwareò
  4118. 6.6
  4119. ÖáTaskAnsi (from David Pilling) (However, Tord Eriksson adds that you
  4120. may want to upgrade it anyway to take advantage of enhancements.)
  4121. 6.6
  4122. ÖáScanlight Junior 256 (it öseems to thriveò)
  4123. 6.6
  4124. Ö Pendown and Pendown+
  4125. 6.6
  4126. Ö PC emulator (öthe oldestò version)
  4127. 6.6
  4128. ÖáPineapple Digitiser (another confirmation that it works, contrary to
  4129. the report in Archive 6.3 p15)
  4130. 6.6
  4131. ÖáXOB Remote Logon (Correction!) Ray Wright has found that the problem
  4132. he reported last month (Archive 6.5 p29) was in fact a fault in his BBC
  4133. Micro, and that Remote Logon works fine. Apologies to XOB.
  4134. 6.6
  4135. ÖáAcorn DTP (Needs to be patched using the Patch from the Support disc.)
  4136. 6.6
  4137. Problem programs
  4138. 6.6
  4139. ShowPage Ö Tord Eriksson says this öworks fine so long as there is no
  4140. on-screen text! Not much use for ShowPage therefore, you might say, but
  4141. some stunning graphics are possible as shown by the examples supplied
  4142. with the program.ò
  4143. 6.6
  4144. Atelier Ö Andrew Campbell has found that Atelier causes his A5000 to
  4145. hang whether he uses RISC¡OSá3.0 or RISC¡OSá3.10. (The sequencer loads
  4146. but not the main program. He has tried old modules to no effect.)
  4147. However, Atelier does still run on his A3000 after the upgrade to
  4148. RISC¡OSá3.10.
  4149. 6.6
  4150. The following have been reported as not working:
  4151. 6.6
  4152. Fun School 4 (Under 5æs)
  4153. 6.6
  4154. Satfoot (a satellite tracker from AMSAT-UK)
  4155. 6.6
  4156. Copy Opts (öa handy little utilityò) Ö Tord Eriksson has problems using
  4157. his version of ArcFS and the Pinboard: if he glues an arcæd directory to
  4158. the Pinboard then tries to open it, the computer freezes! (Perhaps this
  4159. is a problem that has been solved in a more recent version of ArcFS.)
  4160. 6.6
  4161. Tord has also found that Ballarena works perfectly but messes up all the
  4162. configuration settings (so see the section below called öSaving the
  4163. configurationò before you run it!)
  4164. 6.6
  4165. Tord says that he made Powerband work by öediting out lines 430 and
  4166. following setting up the voices, and a line further on checking the
  4167. voices.ò
  4168. 6.6
  4169. Some games, like 4th Dimensionæs Saloon Cars, crash with a
  4170. öWindowManager:Sprites24ò error. What is a öSprites24ò anyway?
  4171. 6.6
  4172. !Psion
  4173. 6.6
  4174. Chris Dawson says that the Psion to Archimedes data transfer program by
  4175. Mark Taylor (v 1.65) no longer works with his Psion II. He has tried
  4176. everything he can think of, even three different re-wiring
  4177. configurations that he has seen. Can anyone help?
  4178. 6.6
  4179. Interrupt (Archive Shareware disc no. 6)
  4180. 6.6
  4181. M. P. Sawle has, up to now, made good use of the Interrupt module, with
  4182. the commands *RMLoad Intmodule and *Interrupt 0 in a loading file to
  4183. enable subsequent access to the command line with <ctrl-@> from within
  4184. both Basic programs and the original version of First Word Plus.
  4185. 6.6
  4186. Having installed RISC¡OSá3.10 he finds that:
  4187. 6.6
  4188. Å   within Basic programs: <ctrl-@> still works, but <Esc> has the same
  4189. effect and this takes priority over the normal programmed effect of the
  4190. Escape key at the time.
  4191. 6.6
  4192. Å   within First Word Plus: <ctrl-@> works but he cannot return to 1wp
  4193. properly (sometimes the current document is lost), also two presses of
  4194. <Esc> take him to the command line but the document is always totally
  4195. lost.
  4196. 6.6
  4197. Å   Lemmings wonæt run unless he RMKills the Interrupt module first.
  4198. 6.6
  4199. Can anyone help?
  4200. 6.6
  4201. Investigator II works on the older machines, but not on the A3010/A3020/
  4202. A4000/A5000 (presumably because the hardware is different).
  4203. 6.6
  4204. LaserDirect and ROM fonts
  4205. 6.6
  4206. The reason why LaserDirect (and presumably the Turbo Drivers) have
  4207. problems with the Corpus and Homerton Oblique fonts in ROM is that the
  4208. Outlines files for these fonts do not contain full descriptions of the
  4209. letters but simply contain cross-references to the related upright
  4210. fonts. (Because these two fonts are simply slanted versions of the
  4211. upright fonts, not proper öitalicò fonts, all the new font manager needs
  4212. to know is where to find the outlines of the upright fonts and what
  4213. angle to slant them at.)
  4214. 6.6
  4215. So far as I can tell, it is not necessary to disable the ROM fonts (with
  4216. a FontRemove command in the !Boot and/or !Run files of !Fonts) and
  4217. include full descriptions of Corpus, Homerton and Trinity on disc (they
  4218. would need about 250Kb); I have found that Impression and LaserDirect
  4219. manage perfectly well if I just include the following sub-directories in
  4220. my !Fonts directory on disc:
  4221. 6.6
  4222. Corpus.Bold.Oblique
  4223. 6.6
  4224. Corpus.Medium.Oblique
  4225. 6.6
  4226. Homerton.Bold.Oblique
  4227. 6.6
  4228. Homerton.Medium.Oblique
  4229. 6.6
  4230. (the files add up to 108924 bytes).
  4231. 6.6
  4232. Turning anti-aliasing off
  4233. 6.6
  4234. Tord Eriksson finds that a, Σ and σ are rather difficult to distinguish
  4235. with anti-aliasing on, so he turns it off by setting FontMax1 to
  4236. FontMax5 all to 0, except FontMax 3, which determines the maximum size
  4237. of font that is cached and which he sets to 200.
  4238. 6.6
  4239. Replacing the system font
  4240. 6.6
  4241. R. W. Darlingtonæs prayer in Archive 6.4 p11 has been answered! Rob
  4242. Davison has sent in an application (included on this monthæs program
  4243. disc) called !DeskFonts, which will allow you to replace the system font
  4244. on the desktop with an outline font of your choice.
  4245. 6.6
  4246. Electronic Font Foundry RISC¡OSá3 fonts
  4247. 6.6
  4248. Colin Singleton thinks that last monthæs comment may have been a bit
  4249. unfair to EFF in referring to their new fonts as ömore expensiveò. He
  4250. suspects that the old fonts have been reduced in price and the new ones
  4251. introduced at the previous price of the old.
  4252. 6.6
  4253. What is ökerning dataò?
  4254. 6.6
  4255. Colin Singleton says that he had read about this several times before he
  4256. found out what it meant. Kerning is the process of adjusting the space
  4257. between letters so that they look more natural. A common example is the
  4258. word AWAY. When printed like that, the letters appear too widely spread,
  4259. but with kerning the word can be made to look like AWAY. (I have
  4260. exaggerated the kerning to make it more obvious.) This can be done
  4261. manually in applications like Impression.
  4262. 6.6
  4263. The RISC¡OSá3 font manager provides the facility for automatic
  4264. adjustment of the spacing between any pair of letters, but in order for
  4265. this to work firstly the font has to contain a ökerning tableò
  4266. indicating the preferred spacing for each possible pair of letters and
  4267. secondly the application has to be aware of this facility and to make
  4268. the appropriate calls to the font manager. (Archive 5.11 pp5/6 give
  4269. details of the font manager calls, showing how you can use them in your
  4270. programs.)
  4271. 6.6
  4272. Kerning tables are built into the ROM fonts as well as the newer fonts
  4273. from EFF (and other suppliers?) I donæt know which applications use
  4274. them; presumably newer versions of Impression, etc. will.
  4275. 6.6
  4276. Filing systems: SCSI
  4277. 6.6
  4278. C. Purvisæs problems (icon in wrong place, öbad driveò error, etc ù see
  4279. 6.5 p26) have been solved by a new ROM for his SCSI podule, supplied
  4280. free of charge by Oak.
  4281. 6.6
  4282. Tord Eriksson at first had problems that sounded similar to C. Purvisæs,
  4283. then happened to find that his SCSI drive had been öset to 0ò and after
  4284. öresetting to 4ò everything worked perfectly. (I explained this last
  4285. month, p27. Ed.)
  4286. 6.6
  4287. Philip Lardner, who has a Brainsoft SCSI podule, is having great
  4288. difficulties in copying, moving or deleting files to, from or in the
  4289. root directory. It generates all sorts of error messages such as: öCanæt
  4290. create ÉSCSI::SCSI.$æ ... ò. Philip has found that he can get round the
  4291. problem by copying via the RAM disc and deleting using a trash-can
  4292. application but he would obviously be interested in a proper öfixò. (I
  4293. donæt know whether it might be relevant but he has put öSet Alias$Free
  4294. ShowFree -FS scsi %0ò, as recommended last month, in his !Boot file in
  4295. order to activate the free space window.)
  4296. 6.6
  4297. Philip has also found that his PC Emulator 1.8 sometimes suddenly hangs
  4298. the machine either during or shortly after booting up, or after quitting
  4299. the emulator.
  4300. 6.6
  4301. HCCS HardCard 45
  4302. 6.6
  4303. Barry Thompson says this needs a ROM and PAL change by HCCS costing ú10
  4304. plus VAT.
  4305. 6.6
  4306. IDE
  4307. 6.6
  4308. John Birchenough was initially unable to access his Risc Developments
  4309. IDE disc drive. However, with a third (free) replacement ROM fitted in
  4310. his podule, it is now working!
  4311. 6.6
  4312. Allan Woods says that the tip given last month for getting the Free
  4313. Space window to work with SCSI drives doesnæt work with his Risc
  4314. Developments IDE drive. Bernard Perry says he knows someone with an ICS
  4315. IDE drive with the same problem. Has anyone got any ideas?
  4316. 6.6
  4317. Barry Thompson says the early Orion IDE drives do not function and
  4318. wonders whether the new proprietors at Orion are going to support them.
  4319. 6.6
  4320. Watford 5╝ö drive interface
  4321. 6.6
  4322. Gordon Lindsay-Jones has found that his problem is not with his Watford
  4323. buffer, as reported last month. The buffer worked properly with another
  4324. disc drive. However, he is still trying to find out what is wrong with
  4325. his drive.
  4326. 6.6
  4327. Printing Ö HP Paintjet, Draw and Poster
  4328. 6.6
  4329. Christopher Price (Sidcup) is having constant problems trying to print
  4330. from the RISC¡OSá3.10 version of Draw and Poster 1.21 via an Ace printer
  4331. driver (he doesnæt know which version) to an HP Paintjet on his A420.
  4332. The printer appears not even to acknowledge Draw and refuses to output.
  4333. With Poster he gets output sometimes, though white text generally
  4334. appears black and the printer öseems to bug out if the artwork involves
  4335. clipartò imported from elsewhere. Can anyone help?
  4336. 6.6
  4337. Carriage returns and linefeeds
  4338. 6.6
  4339. Philip Woodward uses a bubblejet printer and often prints direct (i.e.
  4340. not via a RISC¡OSádriver). He finds that if he makes the slightest
  4341. error, such as trying to print a non-existent file, when he next tries
  4342. to print, everything gets printed on one line. Does anyone have any
  4343. suggestions?
  4344. 6.6
  4345. BJ-330
  4346. 6.6
  4347. Tord Eriksson has had numerous difficulties printing on his Canon BJ330.
  4348. Using the LQ-860 driver is agonisingly slow (it makes four passes for
  4349. each line) and it sometimes gives stripes in graphics areas. He also had
  4350. a printer head (costing ú200!) written off as a result of a öprintout
  4351. crashing.ò Also he finds that printing can abort before the job is
  4352. finished ù if he uses 180╫180 dpi there are no problems but with 180╫360
  4353. or higher just part of the page gets printed. He comments that the
  4354. printer driver seems to work differently in that it now seems to
  4355. calculate the entire bitmap before starting printing and he wonders if
  4356. he now needs more than 4 Mbytes just to print an A4 page. Any hints or
  4357. tips would be very welcome indeed!
  4358. 6.6
  4359. Tord asks if there is any Archive reader who has tested the plotter
  4360. version of the BJ-330.
  4361. 6.6
  4362. Non direct drive laser printers
  4363. 6.6
  4364. Tord also asks for suggestions about laser printers that work well with
  4365. RISC¡OSá3. Direct drive lasers are out of the question because all his
  4366. podule slots are full! What printer drivers exist for Canon laser
  4367. printers that use Canonæs own page description language? (How about the
  4368. Ace Pro-Driver for LBP4/8 at ú44 through Archive?)
  4369. 6.6
  4370. Printing in the background
  4371. 6.6
  4372. Tord Eriksson says that the tip in Archive 6.3 p16 about having two
  4373. printer drivers loaded is impossible: if he loads a second !Printers the
  4374. first is erased. However, I think he has misunderstood the point: you
  4375. should only run !Printers once, but within that application you should
  4376. have two drivers loaded and active. (See p62 of the RISC¡OSá3 User Guide
  4377. for details.)
  4378. 6.6
  4379. Keith Matthews spells out the procedure in more detail: you should drag
  4380. two copies of the appropriate printer driver into the Printer control
  4381. window of !Printers. Then click <menu> over the Printer control window,
  4382. choose the Connection option and connect the first driver to a suitable
  4383. file, then give the driver a name ending in Éfæ. The second copy should
  4384. be connected to the printer and named with a Épæ. When the printer
  4385. manager is subsequently loaded, two icons appear: the first is selected
  4386. by default, so applications will öprintò to the file. To produce hard
  4387. copy as a background task, just drag the file icon onto the ö......pò
  4388. icon (you donæt need to select it first.) (I still maintain this is a
  4389. ridiculous palaver: why isnæt there a setup option whereby you can tell
  4390. the print manager to print first to a file and then automatically send
  4391. it to the printer?)
  4392. 6.6
  4393. Keith points out that (although he hasnæt tried queueing printouts) the
  4394. printer queue window provides one queue for each printer icon.
  4395. Obviously, print image files would have to be created under different
  4396. file names and you would need a hard disc to accommodate them all.
  4397. 6.6
  4398. LaserDirect and Turbo Driver news
  4399. 6.6
  4400. Michael Lowe has received a copy of version 2.09 of the LaserDirect
  4401. driver which has fixed the speckling problem (see Archive 6.5 pp30/31).
  4402. 6.6
  4403. Computer Concepts have also told both him and Dave Leckie that RISC¡OSá3
  4404. drivers öare under development and might be available as early as April
  4405. but the amount of work involved shouldnæt be underestimated.ò Presumably
  4406. these will handle rotated text and sprites and work under the RISC¡OSá3
  4407. printer manager. (Dave Leckie notes, however, that CC have said that
  4408. they will not support RISC¡OSá3.0.)
  4409. 6.6
  4410. Using a RISC¡OSá3 driver after LaserDirect, etc.
  4411. 6.6
  4412. In Archive 6.5 p30 there was a tip that, in order to use a RISC¡OSá3
  4413. driver after using a RISC¡OSá2 driver such as LaserDirect, ArcLaser or
  4414. the Turbo drivers you should use the two * commands:
  4415. 6.6
  4416. RMKill PDriver
  4417. 6.6
  4418. RMReinit PDriver
  4419. 6.6
  4420. Maurice Edmundson has pointed out that a convenient place to put these
  4421. commands is in the !Run file of !Printers before the first of the
  4422. RMEnsure commands.
  4423. 6.6
  4424. Saving paper size settings
  4425. 6.6
  4426. Acorn have advised that there is a fault in RISC¡OSá3.0 whereby, if you
  4427. alter the page sizes and save them, the new settings are not saved. The
  4428. work-around is to <shift-double-click> on !Printers then load the file
  4429. PaperRW into !Edit, manually change the settings then save the altered
  4430. file. This bug has been fixed in RISC¡OSá3.10.
  4431. 6.6
  4432. First Word Plus driver for Deskjet 550C?
  4433. 6.6
  4434. Can anyone supply a printer definition file (Barry Thompson asks)?
  4435. 6.6
  4436. PC Emulator
  4437. 6.6
  4438. John Birchenoughæs emulator, version 1.7, will only access the internal
  4439. drive A. Even when he makes the default drive B or C, the computer
  4440. insists on having a disc in drive A and then operates on the contents of
  4441. that drive. Also, it always asks for a disc to be inserted in B even
  4442. though it means A. He tried the patch supplied on the Support disc, but
  4443. that refused to work with a version higher than 1.6. He has also tried
  4444. changing his Config.sys file with variations of the Driver.sys and
  4445. Drivparm commands but to no effect. Can anyone help?
  4446. 6.6
  4447. Is RISC¡OSá3 faster or slower?
  4448. 6.6
  4449. Some think one, some the other! A number of people have commented that
  4450. the machine seems to take longer to redraw the desktop screen or to go
  4451. through its initialisation routine. Relying on memory, it is obviously
  4452. difficult to tell. Raymond Wright says Pipedream 3.1 appears to take
  4453. longer to get spreadsheets loaded. He finds that, initially, he gets a
  4454. screen full of zeros which are slowly replaced by real data. (I wonder
  4455. if this is because of the way he has got it set up? Robert Macmillan
  4456. from Colton said ù see Archive 6.3 p12 ù that all versions from 3.10 on
  4457. work better in RISC¡OSá3.) Raymond is sure that RISC¡OSá2 was quicker
  4458. but heæs not going to reinstall it just to find out.
  4459. 6.6
  4460. Ken Gardner has, however, done just that. He did some controlled timings
  4461. before updating to RISC¡OSá3.10 and reverted back to RISC¡OSá2 to
  4462. confirm the anomaly that he found. The timings are as shown below
  4463. 6.6
  4464. For the tests, ADFS buffers were set to zero for both RISC¡OSá2 and
  4465. RISC¡OSá3.10. When Ken changed ADFSBuffers to 2K the time to read the
  4466. serial file fell from 48 secs to 19 secs but the Multistore random
  4467. access read only dropped from 176 secs. to 170ásecs. This is a logical
  4468. result but it prompts Ken to ask why we have been instructed to set
  4469. ADFSBuffers to zero when this gives so much slower a result than in
  4470. RISC¡OSá2. Can anyone tell us for sure whether there is a bug or not?
  4471. (Is there a danger of losing data if the Buffers are set to a non-zero
  4472. value?) (Yes, but only on a 1Mb machine. In 3.11, this has been improved
  4473. over 3.10. Ed.)
  4474. 6.6
  4475. Miscellaneous Hints & Tips
  4476. 6.6
  4477. How to avoid continual disc swapping,
  4478. 6.6
  4479. and more on !Scrap files
  4480. 6.6
  4481. Philip Woodward recommends that, on a floppy-disc only system, if you
  4482. have several discs for different classes of work and include a !Scrap
  4483. file on each, donæt forget to click on the !Scrap icon when you insert a
  4484. new disc. If you do forget, you will find that whenever you load a
  4485. printer driver, or try to print a drawing, the operating system will ask
  4486. you to insert some other disc which has no apparent relevance.
  4487. 6.6
  4488. Draw crashing
  4489. 6.6
  4490. Philip Woodward finds, like a number of others, that Draw crashes quite
  4491. frequently reporting an öaddress exceptionò error. Does anyone know if
  4492. there is anything he can do to avoid this? The error message goes on to
  4493. say:
  4494. 6.6
  4495. preserving files in <Wimp$ScrapDir>.Draw before exiting.
  4496. 6.6
  4497. This means that !Draw will attempt to save the work-in-progress as a
  4498. file called Draw in the scrap directory. (If it is successful, you will
  4499. be able to retrieve the file by opening that directory and double-
  4500. clicking on the drawfile icon to run !Draw again and load the file in ù
  4501. after first making a backup copy of the file if it is important. To find
  4502. where the scrap directory is, press <ctrl-f12> to open a Task window and
  4503. type the command *Show Wimp$ScrapDir)
  4504. 6.6
  4505. Positioning drawings imported into Draw
  4506. 6.6
  4507. Philip Woodward has also found that, whereas in the RISC¡OSá2 version of
  4508. Draw, one could superimpose a previous drawing (e.g. one saved on a RAM
  4509. disc) in exactly the position it originally occupied in the window by
  4510. setting the grid lock on and dragging the file onto the new drawing and
  4511. positioning the pointer at the bottom left of the window, this no longer
  4512. works. The minimum bounding frame of the old drawing is placed with its
  4513. bottom left corner at the mouse position, regardless of the original
  4514. position in the old drawing. To reproduce the RISC¡OSá2 behaviour, you
  4515. have to put something, such as a dummy rectangle, at the bottom left
  4516. corner of the old drawingæs window.
  4517. 6.6
  4518. Alarm options
  4519. 6.6
  4520. Philip Woodward has pointed out that, if you include a line in your
  4521. !Boot file to set Alarm$Options, you must include % in front of each of
  4522. the -format parameters (see Applications Guide p137 for details). Also,
  4523. you must put the format string in quotes (which is not, perhaps,
  4524. emphasised sufficiently strongly in the Manual.) In both these respects,
  4525. it differs from Edit$Options, Draw$Options, etc.
  4526. 6.6
  4527. To illustrate the point, consecutive lines in !Boot might read:
  4528. 6.6
  4529. Set Alarm$Options -format ö%w3 %z12:%mi %m3 %zdyò
  4530. 6.6
  4531. Set Edit$Options B12 M99 L1 D
  4532. 6.6
  4533. To get the Alarm$Options to take effect, you also have to choose the
  4534. öUser definedò option in the Alarm setup window (choose the Setup...
  4535. option from the iconbar menu.) Itæs not clear from the manual but I
  4536. assume that the choice of this option is saved in the CMOS RAM so
  4537. doesnæt have to be included in the !Boot file. Itæs all a bit confusing,
  4538. isnæt it?
  4539. 6.6
  4540. Arm3 hare and tortoise icons
  4541. 6.6
  4542. I didnæt have enough time last month to try out G÷tz Kohlbergæs tip
  4543. (Archive 6.5 p33) about the hare and tortoise module. Now I have, and
  4544. Iæm totally confused! Whatever combination of commands I use, I seem to
  4545. be unable to get the machine to boot up with the cache on without the
  4546. hare and tortoise swapping jobs. One thought Iæve had is that I might
  4547. swap the names of the hare and tortoise icons inside the !Arm3.!Sprites
  4548. file. (Another thought is that perhaps youære meant to click on the hare
  4549. to get the machine to go faster, and that this never worked properly in
  4550. RISC¡OSá2!) Help!
  4551. 6.6
  4552. Faster filer operations
  4553. 6.6
  4554. If you click <menu> over a filer operation window (e.g. the window that
  4555. pops up when you copy files which keeps you informed of progress) and
  4556. choose öFasterò, screen update will be less frequent and the filer
  4557. operation will be faster. (Marc Evans)
  4558. 6.6
  4559. Copying a large directory to floppy
  4560. 6.6
  4561. If you run out of space when copying a directory or application to a
  4562. floppy, insert a new disc, rename it with the same name as the full disc
  4563. and click on öRetryò. (Marc Evans) (Someone else has already suggested
  4564. that but when I tried it, it said öambiguous filenameò. Ed.)
  4565. 6.6
  4566. <Shift-select> on toggle size icon
  4567. 6.6
  4568. If you click <shift-select> on the toggle size icon, the window will
  4569. open as far as it can without obscuring the icon bar. (Marc Evans) (This
  4570. seems to depend on the application. Draw windows behave as described,
  4571. but Impression windows donæt.)
  4572. 6.6
  4573. False sprites on the Pinboard
  4574. 6.6
  4575. Marc Evansæ Pinboard seems to get confused over icon sizes and sprites
  4576. under certain conditions. For instance, it sometimes makes icons three
  4577. times bigger and uses the wrong sprites. Tord Eriksson says that in mode
  4578. 78 (from Computer Concepts NewModes?) some icons disappear, some hide
  4579. behind others and some appear twice; a single click on each one restores
  4580. peace, but should he have to? Has anyone else found this?
  4581. 6.6
  4582. Configured modes
  4583. 6.6
  4584. Marc Evans has found that *Configure Mode and *Configure Wimpmode seem
  4585. to be interlinked ù whatever one is configured to the other one follows.
  4586. He used to have Mode configured to 0 to save memory when outside the
  4587. Desktop, but canæt anymore.
  4588. 6.6
  4589. Tord Eriksson had great problems until he discovered that you canæt
  4590. öconfigureò a non-standard mode. If you want to start up in, say, mode
  4591. 78 from the Computer Concepts Newmodes module, you have to include in
  4592. your !Boot file first a command to load the NewModes module then a
  4593. *WimpMode 78 command.
  4594. 6.6
  4595. Icon button types
  4596. 6.6
  4597. A comment for WIMP programmers is that when icons have the double click
  4598. flag set, they invert at the first click and group with adjust (like
  4599. Filer icons). To get around this, your program must trap for any icon
  4600. clicked on and unset the selected bit. (Marc Evans)
  4601. 6.6
  4602. Saving the configuration
  4603. 6.6
  4604. Mike Williams finds that the configuration file saved by !Configure
  4605. doesnæt cover all the things he needs to restore after having attempted
  4606. to run a rogue program that changes the configuration. He has therefore
  4607. built himself a command file containing all the *Configure commands
  4608. required to get back to normal plus *RMReinit commands for all the
  4609. modules. He created it by doing
  4610. 6.6
  4611. *Spool cfgfile
  4612. 6.6
  4613. *Status
  4614. 6.6
  4615. *ROMModules
  4616. 6.6
  4617. *Spool
  4618. 6.6
  4619. then editing the resulting file into the correct syntax and changing the
  4620. filetype to öCommandò. (The pukka way of creating such a file is not to
  4621. use the pre-RISC-OS *Spool command, but to press <ctrl-f12> to open a
  4622. Task window, type Status, <return>, ROMModules and <return>, then press
  4623. <menu>, choose the öUnlinkò option and save the contents of the Task
  4624. window.)
  4625. 6.6
  4626. Several years ago, Risc User published a program called !CMOS_Edit which
  4627. allows easy saving and reloading of all the CMOS settings. This seems to
  4628. work fine.
  4629. 6.6
  4630. Opening sub-menus automatically
  4631. 6.6
  4632. Richard Hallas has noticed that, if you choose the öOpen submenus
  4633. automaticallyò configuration option, then if the pointer is resting to
  4634. the left of the öparentò menu item (in the space where a tick would
  4635. appear) when the submenu opens it appears on top of the parent menu
  4636. rather than to its right. Also, moving around a single menu with several
  4637. submenu pointers can have some peculiar effects: sometimes the submenu
  4638. pointers are ignored, and it is even possible to have two copies of the
  4639. same submenu open.
  4640. 6.6
  4641. Preventing access to !Configure and !Alarm
  4642. 6.6
  4643. Last month we gave the hint that you can prevent users from interfering
  4644. with the configuration by unplugging the !Configure module so that they
  4645. canæt access the !Configure application. In Acornæs education newsletter
  4646. Arc, there is a hint that you can do the same with !Alarm.
  4647. 6.6
  4648. Opening a directory without booting
  4649. 6.6
  4650. Richard Hallas reports that, if you open a directory with <ctrl> held
  4651. down to stop the Filer executing all the !Boot files inside the
  4652. applications within the directory, then copying, renaming or deleting
  4653. files will cause the directory to be booted unless you remember to press
  4654. <ctrl> again.
  4655. 6.6
  4656. Also, if you open a directory with <ctrl> held down and then copy an
  4657. application out of it to another directory, then (assuming the Filer has
  4658. not already seen the !Sprites file for the application) a ö!Sprites not
  4659. foundò error will be reported. This doesnæt have any ill effects: itæs
  4660. just a nuisance.
  4661. 6.6
  4662. Various Matters Arising
  4663. 6.6
  4664. Screen blanker (Archive 6.4 p12)
  4665. 6.6
  4666. Keith Raven has found (in p163 of the User Guide) that *Blanktime sets
  4667. the time (in seconds) before the screen goes blank. *Blanktime 0 turns
  4668. the screen blanker off. (What I would like to know is: does the
  4669. operating system provide any easy means of firing up a graphical routine
  4670. as an alternative to the blank screen?)
  4671. 6.6
  4672. Shift key behaviour (Archive 6.5 p34)
  4673. 6.6
  4674. John Woodgate suggests that the ú/ñ key may be acting as if it were
  4675. pressed as well as the <shift> key. He suggests cleaning with iso propyl
  4676. alcohol or proprietary switch cleaner. (For details on how to clean a
  4677. keyboard, see 5.1 p25. Ed.)
  4678. 6.6
  4679. Solid sprite dragging (Archive 6.5 p36)
  4680. 6.6
  4681. Barry Thompson writes that the way to turn this on is to use the *
  4682. command *FX162,28,3 (It seems really weird to me that a feature like
  4683. this, quite a selling point one would have thought, has been implemented
  4684. in such a half-hearted way!)
  4685. 6.6
  4686. Spaces in *Set commands
  4687. 6.6
  4688. Brian Fielding has found that whereas in RISC¡OSá2 you could use spaces
  4689. in *Set or *SetMacro, RISC¡OSá3.10 does not allow you to do so:
  4690. 6.6
  4691. SET PipeDream$Path ADFS::Dream_ file.$.,<PipeDream$Dir>.
  4692. 6.6
  4693. was permissible in RISC¡OSá2 but you must use
  4694. 6.6
  4695. SET PipeDream$Path ADFS::Dream_ file.$.,<PipeDream$Dir>.
  4696. 6.6
  4697. in RISC¡OSá3.10.
  4698. 6.6
  4699. Locked directories in ROM/RAM podule
  4700. 6.6
  4701. Brian Fielding also reports that if you create a New directory in
  4702. Computer Conceptæs ROM/RAM podule, it creates the directory with a lock.
  4703. This lock cannot be removed and the directory can never be deleted
  4704. except by re-initialising the Podule.Other problems occur when copying
  4705. files into directories on the Podule but these can be ÉSKIPedæ. He has
  4706. written to CC about this but they have no plans to alter the podule
  4707. software to work fully with RISC-OS3.ááA
  4708.  
  4709. 6.6
  4710. Timings for various operations (RISC-OS 2 v RISC-OS 3.10)
  4711. 6.6
  4712.  
  4713. 6.6
  4714.       RISC-OS 2   RISC-OS 3.10   relative
  4715. speed
  4716. 6.6
  4717.       (secs)   (secs)   RO3.1 : RO2
  4718. 6.6
  4719. Read a serial file to a string array (50,000 items)   25.4
  4720.    48.4   half as fast
  4721. 6.6
  4722. Sort 50,000 strings (using Armsort)   8.0
  4723.    8.0   same
  4724. 6.6
  4725. load and sort a Multistore file (2,400 items):
  4726. 6.6
  4727.    load   166   176   slightly slower
  4728. 6.6
  4729.    sort   221   214   slightly faster
  4730. 6.6
  4731.    total   387   390   same
  4732. 6.6
  4733. Print a Draw file (with 32Kb buffer in printer)
  4734. 6.6
  4735.    release computer   500   239
  4736.    twice as fast
  4737. 6.6
  4738.    release printer   533   289
  4739.    twice as fast
  4740. 6.6
  4741. Mandelbrot (recalculate Clessidra)   90.3
  4742.    90.5   same
  4743. 6.6
  4744.  
  4745. Using RISC¡OSá3.1
  4746. 6.7
  4747. Hugh Eagle
  4748. 6.7
  4749. I know that RISC¡OSá3 has caused some problems, but to claim, as one of
  4750. my correspondents does, that the upgrade from RISC¡OSá2 to RISC¡OSá3 has
  4751. caused ömore incompatibilities than the upgrade from 8-bit to 32-bit
  4752. machinesò is taking things just a teeny bit too far. People will be
  4753. blaming Acorn for the performance of the England cricket team next!
  4754. 6.7
  4755. I have recently set up an A4000 from scratch. It comes with the
  4756. operating system and the RISC¡OSá3 Apps already installed, and
  4757. everything is beautifully logical and straightforward. If you stick to
  4758. up-to-date software and use a standard printer in a straightforward way,
  4759. everything is perfectly simple to use. On the strength of this
  4760. experience, I have no doubt that, for new machines and new users,
  4761. RISC¡OSá3 is a considerable step forward. (The A4000 Home Office also
  4762. comes with a good wordprocessor, Easiwriter, and with the very easy-to-
  4763. use Desktop Database installed and ready to run. Itæs a very far cry
  4764. from my A310, which was configured to start up on the command line and
  4765. it took me two hours to find out how to get to the ödesktopò!)
  4766. 6.7
  4767. As for us hardened upgraders, the question whether it was worth the
  4768. hassle is harder to answer. Perhaps Acorn should have waited until the
  4769. new operating system was more thoroughly tested before they released it,
  4770. but then they would have been criticised for keeping us waiting. Perhaps
  4771. they should have incorporated more radical improvements, but then the
  4772. incompatibility problems would doubtless have been far greater. In this
  4773. situation, they couldnæt win!
  4774. 6.7
  4775. Anyhow, rather than complaining, we should direct our thoughts towards
  4776. the changes we would like to see next time round. I am accumulating a
  4777. number of suggestions for the RISC¡OSá4 wish list which I hope to come
  4778. back to in a future column; please let me know if you have any to add.
  4779. 6.7
  4780. Enough of the waffle, and on with the business ...
  4781. 6.7
  4782. I am afraid that, again, I havenæt had time or space to use all your
  4783. contributions. I will in due course. Many thanks for them all.
  4784. 6.7
  4785. Printing
  4786. 6.7
  4787. Paper X and Y offsets and margins
  4788. 6.7
  4789. This subject seems to have caused a lot of confusion, not least, I
  4790. imagine, because there is no reference to the Paper X and Y offsets in
  4791. the manual. (These were added after RISC¡OSá3.0, I think, and seem to
  4792. postdate the manual, although they are mentioned briefly on page 20 of
  4793. the RISC¡OSá3.10 Release Note.)
  4794. 6.7
  4795. Before I go any further, I feel I should point out that this is a
  4796. technical area that the vast majority of users (who are happy to use the
  4797. supplied drivers and page settings) never need bother about.
  4798. 6.7
  4799. The following explanation is based on contributions from Bruce Brown and
  4800. Tom Hughes and on some of the Read_Me files inside !Printers. It is also
  4801. based mainly on experience with HP Laserjets, although most of the
  4802. principles should apply equally to most other printers. I hope I have
  4803. got it right ...
  4804. 6.7
  4805. The purpose of the Paper X and Y Offsets is to tell the printer driver
  4806. which part of the paper the printer is physically capable of printing on
  4807. or, in other words, to define where the printer will print if it is told
  4808. to print at the top left corner of the paper. These are set via the
  4809. !PrintEdit application. The Top and Left Margins, by contrast, define in
  4810. which part of the paper the user wants graphics to be printed. These are
  4811. set via the Paper Size window in the !Printers application. (It is these
  4812. that determine where the grey border appears when you choose the öShow
  4813. paper limitsò or öShow print bordersò option in Draw, Impression, etc.)
  4814. 6.7
  4815. When the printer driver is asked to start printing at the top left
  4816. corner of the area defined by the margins: (1) first a printer reset
  4817. code is sent, then (2) the start of job codes are sent to the printer,
  4818. (3) the printhead (or the imaginary cursor in the case of a laser
  4819. printer) is told to move to the top left of the printable area (which,
  4820. if the X and Y offsets have been properly defined for the particular
  4821. printer, will be the same as the place which they define ù i.e. point A
  4822. in the diagram below), (4)áthe printhead will then be moved down by
  4823. (TopámargináÖáYáoffset) and towards the right by
  4824. (LeftámargináÖáXáoffset) to point B, (5) the page will be printed.
  4825. 6.7
  4826. If either of the margins has been incorrectly defined to be less than
  4827. the equivalent offset, i.e. so that the formula in (4) gives a negative
  4828. result, it will be ignored and the cursor will not be moved at all in
  4829. that direction.
  4830. 6.7
  4831. How do you find out what the X and Y offsets should be? If itæs not
  4832. clear from your printer manual, the file called TopLeft in the Printers
  4833. directory on Applications disc 2 (together with the instructions in the
  4834. Read_Me file) might help. Alternatively, you could try deliberately
  4835. setting X and Y greater than the margins, so that the cursor movement in
  4836. (4) defaults to zero (as explained) and the top left of the image will
  4837. be printed at the default printhead position.
  4838. 6.7
  4839. Under RISC¡OSá2 only the ömarginsò could be defined and, for practical
  4840. purposes, these had to be set to match the physically printable area.
  4841. One of the advantages of the new approach is that if you only want to
  4842. print on a small part of the page you can set very wide margins and the
  4843. printer driver wonæt waste time trying to print nothing (i.e. lots of
  4844. white space) in the unused area.
  4845. 6.7
  4846. According to Archive 6.5 p37, Paul Skirrow has suggested setting
  4847. negative offsets to force the printer to start printing near the middle
  4848. of the page when, for instance, printing labels. Arithmetically this
  4849. will achieve the right effect, but not in the intended way! What you are
  4850. supposed to do is leave the X and Y offsets unchanged and increase the
  4851. margins.
  4852. 6.7
  4853. What will happen if you try to set the margins to less than the paper
  4854. offsets? Bruce Brown says you must not do so, because this will cause
  4855. the driver to send more data to the printer than it can handle on one
  4856. page. The Printers.Read_Me file says that if you do, and if you then try
  4857. to print something right up to the top left of the margins, the image on
  4858. the paper will be shifted down and to the right of where it is supposed
  4859. to be, since you have tried to get the printer to print on the section
  4860. of the paper that it physically cannot print on.
  4861. 6.7
  4862. The Printers.Read_Me file also notes that the paper offsets can be
  4863. negative. Apparently, the natural print position of some printers is
  4864. above the top and/or to the left of the top corner of the paper.
  4865. 6.7
  4866. Contrary to what has been said in this column before, you can apparently
  4867. set the X and Y offsets to zero.
  4868. 6.7
  4869. Owen Smith says: öYou may be caught out by the way !PrintEdit stores the
  4870. paper offsets. Having changed the offsets in the main window, you then
  4871. have to open up every graphics resolution one by one and click OK in
  4872. each of them and then save the new printer definition file. This is
  4873. because the paper offsets are stored in the per graphics resolution data
  4874. (in pixels) and the graphics resolution data is encoded when OK is
  4875. clicked in the graphics window.ò
  4876. 6.7
  4877. Background printing
  4878. 6.7
  4879. It doesnæt work ù and thatæs official!... Iæve been sent a copy of a
  4880. Technical Information news sheet from Acorn, which says: öThe printer
  4881. buffer module supplied as part of RISC¡OSá3 does not work correctly.
  4882. Even though the buffer has been configured to a large size, e.g. 2
  4883. Mbytes, the buffer module waits for the printer to complete its print
  4884. job before returning control to the user. Acorn is currently looking
  4885. into this problem and details will be made available if a fix is
  4886. produced.ò
  4887. 6.7
  4888. Jochen Konietzko, however, wonders what all the fuss is about. He
  4889. writes: öOn my machine, an A410/1 (ARM 3), with the Ace ProDriver and
  4890. the HP DeskJet 500C, there is no problem at all! All I have to do is
  4891. configure a sufficiently large printer buffer. Iæve just tried it again
  4892. and, with a buffer of 1Mb, I can work in a database with just a slight
  4893. reduction in speed.ò
  4894. 6.7
  4895. The only reason I donæt use this option is that, unlike the font cache,
  4896. it is not possible to drag the task manager slider for the system heap/
  4897. stack below the limit set by the configuration of the buffer, so that
  4898. the memory is lost completely until a reset.
  4899. 6.7
  4900. My standard setting for the printer buffer is 128 Kb, because that does
  4901. not slow printing down (with a 1024 Kb buffer, printing takes about 25%
  4902. longer than at 4 Kb, even if I donæt touch the keyboard at all) and yet
  4903. I have a kind of öemergency multitaskingò; at least, when I decide to
  4904. cancel an Impression printout, the button responds almost instantly.
  4905. 6.7
  4906. If I have to print several copies of a text, the print from a file is
  4907. better, anyway, because then the printer doesnæt try to hog all
  4908. available RAM.ò
  4909. 6.7
  4910. Perhaps the reason he has no problems is that the Ace ProDriver doesnæt
  4911. use the Acorn buffer module.
  4912. 6.7
  4913. LaserDirect and TurboDrivers
  4914. 6.7
  4915. Computer Concepts say that version 2.09b is now available as a free
  4916. upgrade to registered owners, as an interim measure. This fixes a few
  4917. minor problems (e.g. the patterning effects and the problems with
  4918. sprites with palettes attached) but is not a full RISC¡OSá3 version. öCC
  4919. have a team working on the printer drivers but the amount of work
  4920. involved should not be underestimated ù itæs going to take a couple of
  4921. months yet.ò (This was written on 11th February.)
  4922. 6.7
  4923. Printer driver space requirement
  4924. 6.7
  4925. Acorn advises that you can reduce the amount of disc space taken up by
  4926. !Printers by removing (if you have a dot matrix printer) the following
  4927. directories from within the !Printers directory: lj, ps and PDumpers.
  4928. 6.7
  4929. Checking if a printer is online
  4930. 6.7
  4931. Acorn also warns of a problem that sometimes affects programs originally
  4932. written for the BBC micro. If these use the command ADVAL(-4) to check
  4933. if a printer is on- or off-line, this can cause the computer to crash
  4934. because the program will not be able to understand the information
  4935. returned by the command.
  4936. 6.7
  4937. Problems with VDU2 printing
  4938. 6.7
  4939. Roger Power has used a Basic program for years, which now refuses to
  4940. print, causing the computer to hang as if the printer had not been
  4941. switched on. The program just has a VDU2 command to cause the screen
  4942. output to be sent to the printer and doesnæt use any printer driver. (I
  4943. wonder if this problem might be connected to the one mentioned in the
  4944. previous paragraph?)
  4945. 6.7
  4946. He then successfully printed a listing from Basic, using <Ctrl-B>, but
  4947. when he entered the command:
  4948. 6.7
  4949. VDU2:PRINT TAB(10,5)öArchiveò :VDU3
  4950. 6.7
  4951. the word öArchiveò was printed on the next line down in the first
  4952. column. In other words, the TAB was ignored.
  4953. 6.7
  4954. He has an HP Deskjet 500C. (He normally uses a ProDriver and has no
  4955. problems with that.)
  4956. 6.7
  4957. Richard Torrens uses Calligraphæs ArcLaser so doesnæt have a RISC¡OSá3
  4958. driver installed. He also has a Basic program which uses VDU2 and worked
  4959. OK under RISC¡OSá2, but now gives an error. He says the solution is to
  4960. type
  4961. 6.7
  4962. Unset PrinterType$1
  4963. 6.7
  4964. before entering the program (which doesnæt run in the desktop) and reset
  4965. on exit from the program.
  4966. 6.7
  4967. 1st Word Plus driver for Deskjet 550C
  4968. 6.7
  4969. Barry Thompson has an answer from Acorn to the question he posed last
  4970. month: since the Acorn JP150 printer is an HP Deskjet compatible, use
  4971. the 1st Word Plus driver supplied on the JP150 support disc. This driver
  4972. also works with Laserjets. This driver supports all the printing effects
  4973. from 1st Word Plus but will not support the printing of graphics.
  4974. 6.7
  4975. Programs That Work
  4976. 6.7
  4977. The following programs have been reported as working without any
  4978. problems:
  4979. 6.7
  4980. Fun School 4 (Under 5æs) ù a new version works with RISC¡OSá3
  4981. 6.7
  4982. Manchester United Europe (Peter Youngæs son thinks the football plays
  4983. faster)
  4984. 6.7
  4985. Intersheet II
  4986. 6.7
  4987. Wordwise A Plus
  4988. 6.7
  4989. Mah Jong, The Game (the latest version ù but Peter Young found that it
  4990. needed deleting from his hard disc and reloading before it would accept
  4991. keyboard input)
  4992. 6.7
  4993. Hard Disc Companion from Risc Developments (but Peter Young has found it
  4994. to be much slower)
  4995. 6.7
  4996. Thesaurus from Risc Developments
  4997. 6.7
  4998. Chess, CrossStar and Spell from David Pilling.
  4999. 6.7
  5000. It is interesting to observe that all but two of the programs that
  5001. Frances Obee asked about (Archive 6.5 p25) have been reported as working
  5002. fine. Of the other two: some problems with Atelier were mentioned last
  5003. month but I imagine that the publishers of a leading program such as
  5004. this must be able to supply a fix if one is needed; and Prime Art hasnæt
  5005. been mentioned at all and I imagine no news is good news.
  5006. 6.7
  5007. Dave Wilcox has sent in a huge list of games that work, which serves to
  5008. illustrate two points: first, that most programs do work and second,
  5009. that lists of this kind are likely to lead to contradictions since he
  5010. reports some programs as working which have previously been reported as
  5011. giving trouble.
  5012. 6.7
  5013. Rob Brown has begun compiling a database showing which programs work
  5014. (showing version numbers) and reporting compatibility problems that he
  5015. is aware of. So far, he has only included programs that he is familiar
  5016. with, and already the list is far too long to include in the magazine so
  5017. Paul is going to include it on the monthly magazine disc. If you have
  5018. anything to add to his database, his address is öValtaneeò, Brighton
  5019. Road, Lower Kingswood, Tadworth, Surrey, KT20 6UP.
  5020. 6.7
  5021. Program Problems
  5022. 6.7
  5023. David Holden has offered a couple of tips which may help you to get
  5024. programs working, especially demos Ö which seem to be the biggest
  5025. offenders.
  5026. 6.7
  5027. Many demos speed up the system ROMs so that they can run faster. If itæs
  5028. a Basic demo, try looking for:
  5029. 6.7
  5030. SYS öUpdate_MemCò,64,64
  5031. 6.7
  5032. If you find it, either remove it or ÉREMæ it out. This call wonæt work
  5033. with RISC-OS 3 and will make the computer hang. Symptoms are a complete
  5034. lock-up Ö even the mouse pointer wonæt move.
  5035. 6.7
  5036. Another is that the old minimum abbreviation for *CHANNELVOICE was
  5037. É*CHA.æ and for *BASIC É*BA.æ. These no longer work and require more
  5038. letters to be properly identified. There is a utility on one of the
  5039. RISC-OS 3 Applications discs which is supposed to cure these problems
  5040. but his experience is that this doesnæt always work, so you might need
  5041. to actually change the program.
  5042. 6.7
  5043. David adds that RISC-OS 3 is also less tolerant of sloppy disc
  5044. identifiers, so filenames should always have a full filing system/path
  5045. name.
  5046. 6.7
  5047. He also says that many programs give problems when Acornæs !Alarm
  5048. application is running. This seems to be denied by everyone at Acorn but
  5049. it is a fact that he has verified for himself. This applies to a lot of
  5050. commercial software as well, so it isnæt just a PD problem but something
  5051. that !Alarm is doing. If you normally use !Alarm then try again without
  5052. it. If that solves the problem there are plenty of PD equivalents.
  5053. 6.7
  5054. David also points out that many PD programs appear to be written in
  5055. machine code because, when you look in the application directory, you
  5056. see the ÉApplication Codeæ icon instead of a ÉBasic Codeæ icon. However,
  5057. these programs are quite often not written in machine code or a compiled
  5058. language but have been disguised by a PD utility and are in fact Basic.
  5059. This doesnæt matter unless you want to make one of the changes described
  5060. above.
  5061. 6.7
  5062. To restore this type of code to normal Basic, first load it into Edit.
  5063. If you have RISC-OS 3 Edit, you just need to hold down SHIFT and double-
  5064. click on the program icon to do this, if not you will need to drag the
  5065. program icon to the Edit icon. Donæt do anything to the original, but
  5066. work on a backup copy in case anything goes wrong. Now look at the first
  5067. line of the program. If it is disguised Basic, you will see the words
  5068. ÉBasic -quitæ somewhere in this line. To change it back to normal Basic,
  5069. look for the first [0d] in the file Ö this will normally be at the end
  5070. of the first line. Delete everything up to but not including the [0d] so
  5071. that it becomes the first character in the file. Now re-save the file
  5072. and change its filetype to Basic (&FFB). If you now try reloading the
  5073. program into Edit (assuming you have the RISC-OS 3 version) you should
  5074. find that you have a normal Basic program to which you can make the
  5075. required changes.
  5076. 6.7
  5077. One cause of compatibility problems that I have found is that !SparkFS
  5078. is, by default, configured to use the system sprite area for workspace.
  5079. Some older programs expect to have this all to themselves. In these
  5080. cases, a simple *SNEW command can help to get the program running.
  5081. (Obviously you must first make sure that SparkFS has saved any work-in-
  5082. progress!)
  5083. 6.7
  5084. Dave Wilcox writes: öThis is probably stating the obvious but, if you
  5085. have a hard disc system and normally boot up on the hard disc, it may
  5086. help to get games working properly if you configure the machine to Drive
  5087. 0 instead of the Hard Disc and press <reset>. Also, before starting to
  5088. play a game, it is a good practice to open the drive holding the !System
  5089. directory, so that it enters the !System path into memory. Also, with
  5090. some games, it may be necessary to switch off the cache for ARM 3.ò
  5091. 6.7
  5092. Dave Wilcox also says that the following will NOT work under RISC-OS
  5093. 3.10:
  5094. 6.7
  5095. Powerband Mk2   (4th Dimension)
  5096. 6.7
  5097. Saloon Cars      (4th Dimension)
  5098. 6.7
  5099. Rotor      (Arcana)
  5100. 6.7
  5101. Fireball      (C.I.S.)
  5102. 6.7
  5103. Interdictor I (ver 1.01)   (Clares)
  5104. 6.7
  5105. Corruption      (Magic Scrolls)
  5106. 6.7
  5107. Thundermonk   (Minerva)
  5108. 6.7
  5109. Ibix the Viking   (Minerva)
  5110. 6.7
  5111. Brain Drain      (Minerva)
  5112. 6.7
  5113. Grid Lock      (Minerva)
  5114. 6.7
  5115. Freddyæs Folly   (Minerva)
  5116. 6.7
  5117. Superior Golf & Const. Set   (Superior
  5118. Software)
  5119. 6.7
  5120. Filing Systems
  5121. 6.7
  5122. No floppy or hard drive icons?
  5123. 6.7
  5124. Acorn advise: first of all, check that you have the correct number of
  5125. drives configured! Secondly, newer machines (A5000 onwards), on startup,
  5126. check to ensure that the configured drives are connected and if a drive
  5127. is not connected properly its icon may not be displayed Ö so check the
  5128. cable connections to the floppy drive.
  5129. 6.7
  5130. ICS IDE hard drive
  5131. 6.7
  5132. David Shepherdson found that, after he upgraded his A3000, his hard
  5133. drive didnæt work. Baildon Electronics, who are the service centre for
  5134. ICS, quickly fixed it. He adds, öIn fact, as I also have a Calligraph
  5135. Laser Podule fitted, this also messed up my hard disc and Baildon fixed
  5136. that as well.ò
  5137. 6.7
  5138. Watford 5╝ö interface
  5139. 6.7
  5140. Gordon Lindsay-Jones wrote to Watford (as Paul Beverley suggested) about
  5141. his problems with their buffer and has had no reply. He has come to the
  5142. conclusion that it does not work with RISC¡OSá3.10! Can any readers help
  5143. by telling him which buffer(s) do work, please?
  5144. 6.7
  5145. SCSI filer
  5146. 6.7
  5147. Seßn Kelly has discovered that his tip (Archive 6.5 p27) does not always
  5148. work. He writes: öPlease allow me to apologise and to explain a proper
  5149. way to make the free space window work with SCSIFS.
  5150. 6.7
  5151. öOriginally, I advised adding a command to load the new SCSIFiler module
  5152. to the desktop boot file. This did work, but only Ö I have since
  5153. discovered Ö because my desktop boot file was also creating a RAMFS
  5154. disc. This forced the initialisation of the replacement module.ò He
  5155. suggests that the answer is to split the boot process into two stages so
  5156. that the SCSI filer is initialised before the desktop is entered. (Tim
  5157. Nicholson confirms this.)
  5158. 6.7
  5159. To do this first, rename the existing !Boot file as Deskboot, say, and
  5160. create an application directory called !Boot in the root directory and
  5161. move the Deskboot file into it. Then create an obey file called !Run
  5162. inside !Boot containing the following commands:
  5163. 6.7
  5164. RMLoad SCSI::4.$.!System.
  5165. 6.7
  5166. Modules.SCSIFiler
  5167. 6.7
  5168. Desktop -file <obey$Dir>. Deskboot
  5169. 6.7
  5170. (replacing 4 by the appropriate disc name).
  5171. 6.7
  5172. If you want to smarten up the appearance of the !Boot application, you
  5173. can copy the sprites file_fea and small_fea from Resources:$.Wimp.
  5174. Sprites into a !Sprites file inside !Boot and rename the sprites !boot
  5175. and sm!boot.
  5176. 6.7
  5177. The above is the approach which is also recommended on page 16 of the
  5178. RISC¡OSá3.10 Release Note. An alternative way of achieving the same end
  5179. is (1) to rename the existing !Boot file (the one that contains all the
  5180. Filer_Boot and Filer_Run commands, etc) DeskBoot, say, (2) to copy it to
  5181. a safe place like the !System directory, (3) to create a new !Boot file
  5182. in the root directory, (4) to move into this new file the command to
  5183. RMLoad the SCSIFiler module and to add the command:
  5184. 6.7
  5185. *Desktop -file SCSI::4.$.!System.DeskBoot
  5186. 6.7
  5187. (replacing 4 by the appropriate disc name). To my mind, this way is
  5188. simpler because it avoids the necessity for creating sprite files,
  5189. renaming sprites, etc.
  5190. 6.7
  5191. The $.!Boot.!Run file (under the Kelly/Acorn approach) or the !Boot file
  5192. (under mine) can now also be used to load or initialise all sorts of
  5193. things before the desktop is started Ö e.g. extra mode modules, virus
  5194. protection, ROM speed up programs, etc.
  5195. 6.7
  5196. Miscellaneous Hints & Tips
  5197. 6.7
  5198. Newlines in !Run files
  5199. 6.7
  5200. P N Cousins says that if there is more than one linefeed at the end of
  5201. the !Run file of an application, if he tries öto use the menu button on
  5202. the iconò the machine locks up. I presume that he means that, if you
  5203. choose the Quit option on the iconbar menu, the application wonæt quit.
  5204. This is something that I have noticed from time to time. (Invariably,
  5205. when it has happened to me, simply pressing <escape> has put things to
  5206. rights.) However, I have tried adding newlines galore to the ends of
  5207. !Run files without being able to repeat the phenomenon. Can anyone tell
  5208. us what is happening?
  5209. 6.7
  5210. On page 16 of the RISC¡OSá3.10 Release Note there is a cryptic
  5211. instruction that you should not enter any newlines after the second line
  5212. in a particular two-line !Run file. I wonder if this is connected.
  5213. 6.7
  5214. Ian Hamilton says that, according to Acorn, Obey files with blank lines
  5215. aggravate what he calls a bug which can cause applications not to return
  5216. from their Obey files. He suspects that this may be the cause of the
  5217. problem that was blamed on Compression in Archive 6.5 p28.
  5218. 6.7
  5219. Newlines at the end of !Boot files
  5220. 6.7
  5221. P N Cousins also says that you must have a newline at the end of a !Boot
  5222. file or else the last line will be ignored. So, if you find that an
  5223. application which ought to be run by your !Boot file but isnæt, this
  5224. might be the answer.
  5225. 6.7
  5226. Hiding the Apps in Resources
  5227. 6.7
  5228. We have mentioned in a previous month that you can hide !Configure and
  5229. other ROM-based applications from prying eyes by typing *Unplug
  5230. !Configure (or whatever). Acorn advise that, if you do not want users to
  5231. see the Resources filing system, you can remove it from the iconbar by:
  5232. 6.7
  5233. *Unplug ResourceFiler
  5234. 6.7
  5235. Setting up an application
  5236. 6.7
  5237. Tim Powys-Lybbe offers the following hints based on how he sets up
  5238. applications (using Impression as an example).
  5239. 6.7
  5240. The technique I use is to construct an outer directory to hold (a) the
  5241. filer of work for the application and into which outer directory I also
  5242. place (b) the application as delivered from the supplier. I copy (c) the
  5243. !Sprite file from the application, give the outer directory the same
  5244. name as the application and make the !Run file do various things
  5245. including opening up the directory of working documents, the application
  5246. itself and then back up the working documents on exiting the
  5247. application. The !Boot file is more or less copied from the application
  5248. though you do need to choose a different system variable name for this
  5249. outer directory. (I just add Top to the applicationæs system variable
  5250. name for its directory.)
  5251. 6.7
  5252. I have had several problems getting this working on RISC-OS 3, though
  5253. the end result is far better as I now have control over where the
  5254. directories open on the desktop and I get a nice clean view of the
  5255. Impression start-up picture.
  5256. 6.7
  5257. 1. Extension of Filer_OpenDir command
  5258. 6.7
  5259. This command, which opens up a directory on the desktop, otherwise known
  5260. to Acorn as a filer, has been extended in RISC-OS 3 to allow you to
  5261. decide both where you want to place the filer on the desktop and how
  5262. large it is to be (the user guide gives details). For example, in the
  5263. !Run file, to open up Impression:
  5264. 6.7
  5265. Filer_OpenDir <ImpressTop$Dir>. Templates 1000 700
  5266. 6.7
  5267. This places the Templates filer with its top left at 1000 OS units
  5268. across the desktop from the left and 700 OS units up from the base line.
  5269. Acorn define 180 OS units as 1 inch on the screen though this must
  5270. presumably depend on the size of the monitor. You will have to
  5271. experiment with values for the directory position to get it where you
  5272. want on your desktop.
  5273. 6.7
  5274. You can add information about the width and height of the directory by
  5275. adding two more numbers:
  5276. 6.7
  5277. Filer_OpenDir <ImpressTop$Dir>. Templates 1000 700 1200 130
  5278. 6.7
  5279. The third number is the width of the directory and the fourth number is
  5280. its height. In mode 39, 130 OS units high just accommodates a single row
  5281. of the large icon size. (Isnæt the height of an icon, in screen units,
  5282. mode-independent?)
  5283. 6.7
  5284. 2. Opening an ArcFS directory
  5285. 6.7
  5286. I have had some correspondence with Mark Smith, the ever-helpful author
  5287. of this excellent package, and have at last found how to make ArcFS
  5288. directories open up from within the !Run file. It is done in two stages,
  5289. first:
  5290. 6.7
  5291. OpenArchive <ImpressTop$Dir>. Documents
  5292. 6.7
  5293. Documents is the name of an ArcFS archive that is stored within the
  5294. Impression outer directory. Note that ArcFS should already be on the
  5295. iconbar for this Open_Archive command to work as it is an ArcFS module
  5296. command; you can of course start up ArcFS from within this same !Run
  5297. file.
  5298. 6.7
  5299. The second command is:
  5300. 6.7
  5301. Filer_OpenDir ArcFS#Documents:$ 600 1400 1800 260
  5302. 6.7
  5303. The syntax is fairly obvious if you look at the top of the directory for
  5304. your archive once it is open!
  5305. 6.7
  5306. 3. Backing up to a floppy
  5307. 6.7
  5308. I have a little application tagged on to the end of the Impression !Run
  5309. file to cause a back up of the Documents archive after exiting
  5310. Impression (or any other application I hasten to add). With RISC-OS 2 it
  5311. would work with:
  5312. 6.7
  5313. *COPY <ImpressTop$Dir>.Docu-
  5314. 6.7
  5315. ments :0.Documents
  5316. 6.7
  5317. In RISC-OS 3 this produces an error and one must use instead:
  5318. 6.7
  5319. *COPY <ImpressTop$Dir>.Docu-
  5320. 6.7
  5321. ments ADFS::0.Documents
  5322. 6.7
  5323. Setting up Pinboard without a hard disc
  5324. 6.7
  5325. Brian Fielding has developed an interesting use of the Pinboard, which
  5326. he says is especially useful for those without a hard disc:
  5327. 6.7
  5328. After Éplayingæ with RISC-OS 3 for a few days and realising some of the
  5329. benefits of the PinBoard, which are obviously more beneficial if you
  5330. have a Hard Disc, I worked out a mechanism to fully utilise the PinBoard
  5331. so that, when the system was first booted, it would contain all the
  5332. applications I would want to access.
  5333. 6.7
  5334. The mechanism described below will display the Applications and when an
  5335. icon is double-clicked the appropriate disc will be requested and the
  5336. application will be loaded.
  5337. 6.7
  5338. This should be read in conjunction with Chapter 7 of the RISC-OS 3 User
  5339. Guide, öDesktop Boot Filesò.
  5340. 6.7
  5341. Setting up pseudo-applications
  5342. 6.7
  5343. For each application you wish pinned to or loaded onto your pinboard,
  5344. set up a pseudo-application as follows:
  5345. 6.7
  5346. Copy the application, say !AppName, to an empty disc and, using <shift>
  5347. and double-click <select>, display the contents of the application.
  5348. 6.7
  5349. Delete all files and directories except !Boot, !Run and !Sprites.
  5350. 6.7
  5351. Edit !Boot to contain the four lines, in the order given:
  5352. 6.7
  5353. IconSprites <Obey$Dir>.!Sprites
  5354. 6.7
  5355. Set AppName$Dir ADFS::DiscName. $.!AppName
  5356. 6.7
  5357. Set Alias$@RunType_fff Run <AppName$Dir>.!Run %%*0
  5358. 6.7
  5359. Set File$Type_fff FileName
  5360. 6.7
  5361. AppName is the name of your application e.g. PipeDream
  5362. 6.7
  5363. DiscName is the name of the disc containing the original application.
  5364. 6.7
  5365. fff is the applicationæs FileType. (This line should be present in the
  5366. original !boot file. There may be other Alias$@RunType_fff lines and
  5367. these should also be left.)
  5368. 6.7
  5369. FileName is the Filetype name, e.g. PDream. (This is not essential.
  5370. Again there may be others and should be left if desired.)
  5371. 6.7
  5372. Note: <Obey$Dir> must only be used as a pathname to !Sprites. The full
  5373. pathname to the original Application must be established, including the
  5374. disc name.
  5375. 6.7
  5376. Edit !Run to contain (or create an Obey file):
  5377. 6.7
  5378. Run <AppName$Dir>.!Run
  5379. 6.7
  5380. Do not alter !Sprites. Copy !AppName to your Desktop Boot Disc. Add the
  5381. following lines to the !Boot file on your Desktop Boot Disc
  5382. ÉDskTopBootæ. (See note below if using a RAM disc.):
  5383. 6.7
  5384. Filer_Boot ADFS::DskTopBoot.$. !AppName
  5385. 6.7
  5386. Pin ADFS::DskTopBoot.$.!AppName 100 300
  5387. 6.7
  5388. 100 300 represents the position on the PinBoard. With the origin at the
  5389. bottom left of your screen, this represents 100 units to the right and
  5390. 300 units up. Your next application should be placed at 300 300. You
  5391. can, of course, pin your applications anywhere on the board.
  5392. 6.7
  5393. If you wish your application to be ready for use, use ÉRun ...æ instead
  5394. of ÉPin ...æ.
  5395. 6.7
  5396. RAM disc available
  5397. 6.7
  5398. Unfortunately, the above will require you to load the Boot disc each
  5399. time you load any application.
  5400. 6.7
  5401. If you have sufficient space available in memory, create a RAM disc of
  5402. at least 64Kb. You need, on average, 7 Kb per application.
  5403. 6.7
  5404. Prepare as above but copy your pseudo-applications to a directory, say,
  5405. PseudoApps, on your Boot Disc.
  5406. 6.7
  5407. You will then need to modify your !Boot file as follows:
  5408. 6.7
  5409. Ensure you have a large enough RAM disc.
  5410. 6.7
  5411. Change DynamicArea -RamFsSize 64K.
  5412. 6.7
  5413. Add the line
  5414. 6.7
  5415. COPY ADFS::DskTopBoot.$. PseudoApps.* RAM::RamDisc0. $.* ~CQR~V
  5416. 6.7
  5417. Modify both the Filer_Boot and the Pin (or Run) lines from
  5418. ÉADFS::DskTopBootæ to read ÉRAM::RamDisc0æ.
  5419. 6.7
  5420. Notes
  5421. 6.7
  5422. Ensure that you have configured the system to boot from Disc by loading
  5423. your Boot disc and executing *Opt4,2 in command line mode.
  5424. 6.7
  5425. Some applications, e.g. Lemmings, are set up to delete RAM disc on
  5426. startup and tidy up when QUITed, e.g. UnSet Directories. These should be
  5427. altered:
  5428. 6.7
  5429. For Lemmings, the file !Lemmings.!Run should add | at the start of the
  5430. line TequeMen and Unset Lem$Dir.
  5431. 6.7
  5432. If memory is a problem, the amount of RAM space can be reduced by adding
  5433. a line Delete RAM::RamDisc0.!AppName.!Sprites after the corresponding
  5434. Filer_Boot line. This will approximately halve the required space.
  5435. 6.7
  5436. If you have sufficient RAM disc space, it would be helpful to place
  5437. !Scrap in it.
  5438. 6.7
  5439. ROM/RAM podule available
  5440. 6.7
  5441. If you have a ROM/RAM podule, with battery backup, then setting up the
  5442. pseudo-applications onto the RAM will make application selection much
  5443. more user-friendly.
  5444. 6.7
  5445. If you have a ROM/RAM podule, make this your Boot system. Simply follow
  5446. the above but change ÉADFS::DskTopBoot.æ to ÉRFS:æ and remember, in
  5447. Command Line mode, to:
  5448. 6.7
  5449. *Configure FileSystem RFS
  5450. 6.7
  5451. *RFS
  5452. 6.7
  5453. *OPT4,2
  5454. 6.7
  5455. *ADFS
  5456. 6.7
  5457. Examples
  5458. 6.7
  5459. The monthly program disc has examples for disc, RAMDisc and for the ROM/
  5460. RAM podule.
  5461. 6.7
  5462. Matters Arising
  5463. 6.7
  5464. Backing up in one pass (Archive 6.5 p36)
  5465. 6.7
  5466. Put the following command in your !Boot file:
  5467. 6.7
  5468. Wimpslot -next 800K
  5469. 6.7
  5470. Solid sprite dragging (Archive 6.6 p61)
  5471. 6.7
  5472. (This gets even more bizarre!) Would you believe that, to turn sprite
  5473. dragging off, your new friendly operating system requires you to issue
  5474. the following commands?
  5475. 6.7
  5476. SYS öOS_Byteò,161,28 TO ,,R2
  5477. 6.7
  5478. R2=R2 AND 253
  5479. 6.7
  5480. SYS öOS_Byteò,162,28,R2
  5481. 6.7
  5482. (Thanks to David Shepherdson for that!)
  5483. 6.7
  5484. !CMOS_Edit: WARNING!
  5485. 6.7
  5486. Bruce Brown warns that, although !CMOS_Edit can be used as I mentioned
  5487. last month (Archive 6.6 p60) to save, load and view the CMOS RAM
  5488. effectively, if you use the Edit and Update feature, you will be in
  5489. trouble. This is because Acorn have now implemented the (previously
  5490. reserved) checksum byte at the end of the CMOS RAM. When you öUpdateò,
  5491. !CMOS_Edit will overwrite the correct value with the old incorrect
  5492. value. Since the checksum routine is relative, it will then always be
  5493. wrong until the power on/delete routine is performed. Until then,
  5494. whenever you startup, the operating system will find that the checksum
  5495. is wrong and will use default settings rather than those stored in the
  5496. CMOS.
  5497. 6.7
  5498. !CMOS_Edit is easily fixed to overcome this: look in the !RunImage
  5499. (Basic) file for the loop which writes the values to CMOS RAM and change
  5500. the loop counter from 0áTOá239 to 0áTOá238. Leave the loops for saving
  5501. and loading alone Ö they obviously must load and save everything as
  5502. previously.ááA
  5503. 6.7
  5504. Hints and Tips
  5505. 6.7
  5506. Å   Configuring the main Edit window Ö The RISC-OSá3 version of Edit makes
  5507. no provision for preferences concerning the size and the place on the
  5508. screen of a newly opened Edit window.
  5509. 6.7
  5510. However, this can easily be rectified. If you run Edit from your hard
  5511. disc, the Templates file can be edited according to taste. The nice
  5512. thing is that, even from the hard disc, Edit still occupies the same RAM
  5513. space (64 Kb on a 4 Mb machine).
  5514. 6.7
  5515. Here is what you do: drag the Edit application from the Apps directory
  5516. to your hard disc, click <menu> on the Apps icon, then <select> to open
  5517. the root directory, open the Resources directory and copy the three
  5518. files inside the Edit subdirectory into your new Edit application. (For
  5519. Acorn newcomers, you open an application directory by double clicking
  5520. while holding down <shift>.)
  5521. 6.7
  5522. Then drag the Templates file on to the iconbar icon of FormEd (an
  5523. application available from N.C.S. on Sharewareá20) and drag the Text
  5524. window (the one which is filled with a web of diagonal lines) into the
  5525. desired position. Save the edited Template file.
  5526. 6.7
  5527. If you always use Edit, donæt forget to change your configuration so
  5528. that, after power-on, the correct version of Edit is loaded.
  5529. 6.7
  5530. Jochen Konietzko, K÷ln, Germany
  5531. 6.7
  5532. Å   Faxpack Ö Did you know that if you manually dial 0336Ö400Ö445 and
  5533. then, at the prompt, select ÉReceive Faxæ, you will receive a 24 Hour
  5534. Surface Forecast Chart from The Met. Office. It is very useful if you
  5535. want to know what the weather is going to do. Dial 0336Ö400Ö401 for the
  5536. Marine Index Page of all the forecasts and charts that are available.
  5537. Although it is a bit expensive (calls are charged at 36p per minute
  5538. cheap rate and 48p per minute at all others times) I find them
  5539. invaluable. This only works with FaxPack v2.00 Ö with earlier versions,
  5540. it causes öA Line Error occurredò fault. Steve Monks, Tobermory.ááA
  5541. 6.7
  5542.  
  5543. Using RISCáOSá3.10
  5544. 6.8
  5545. Hugh Eagle
  5546. 6.8
  5547. Encouragement for the faint-hearted!
  5548. 6.8
  5549. Peter Young says that he is not only electronically illiterate but also
  5550. notoriously clumsy and so he left fitting the upgrade for over three
  5551. months. When he finally did dare to do it, he found it a lot easier than
  5552. he had dreaded Ö he broke nothing and it all worked first time. The only
  5553. worrying bit was changing the links, because the diagram was not clear
  5554. but a quick call to the suppliers (Beebug) soon put him right. So his
  5555. advice for others is: donæt be scared!
  5556. 6.8
  5557. RISC OSá3.11
  5558. 6.8
  5559. Newer machines and upgrades are now being shipped with version 3.11 of
  5560. the operating system. Barry Thompson says that this clears up a NetUtils
  5561. problem which occurs when computers equipped with RISCáOSá3.10 are used
  5562. on a network. The problem was that if you opened or extended a file
  5563. longer than 64Kb, anything beyond 64Kb was filled with null characters.
  5564. Existing network users can obtain a module (NetUtils) from their local
  5565. Acorn dealer.
  5566. 6.8
  5567. Comparing the 3.11 and 3.10 Release Notes, the only other differences I
  5568. could find were the following brief notes:
  5569. 6.8
  5570. Å    DOS partition size ù DOSFS cannot be used with DOS partitions of 32Mb
  5571. or larger.
  5572. 6.8
  5573. Å    Acorn Lisp ù you must issue a *FXá13,11 command before loading Acorn
  5574. LISP.
  5575. 6.8
  5576. Å    Inspiration ù versions of Inspiration up to 1.03 will not run with
  5577. RISCáOSá3.10 or later.
  5578. 6.8
  5579. (I gather that 3.11 also improves the situation with the ADFSbuffers
  5580. problem. On a 1Mb machine with 3.10, you are still advised to set
  5581. ADFSbuffers to 0. This is no longer necessary with 3.11. Ed.)
  5582. 6.8
  5583. Programs that work
  5584. 6.8
  5585. Mah Jong, The Game: Peter Young reports that the problem he mentioned
  5586. last month was caused by an inappropriate *FX call which he had inserted
  5587. in the !Run file ù so there seems to be nothing wrong with Mah Jong
  5588. itself.
  5589. 6.8
  5590. Hard Disc Companion: Peter Young says that setting an IDEFS cache (see
  5591. below) has speeded this up considerably.
  5592. 6.8
  5593. Ovation: In Archive 6.3 p14, we reported a problem with the printing of
  5594. indented lines from Ovation. Ken Cowap has now received a new version of
  5595. the program (version 1.37S) which, amongst other things, specifically
  5596. cures this particular problem. He says the problem turned out to be due
  5597. not to Ovation but to the RISCáOSá3 printer drivers. Although Acorn
  5598. acknowledged this, they saw no immediate possibility of a fix, and Risc
  5599. Developments very commendably undertook to rewrite part of Ovation.
  5600. 6.8
  5601. Program problems
  5602. 6.8
  5603. Aldebaran: Atle Mjelde Bσrdholt says that you must quit all application
  5604. tasks first (enter the Task display and Quit all tasks including
  5605. Pinboard), then run the game and it will install itself on the iconbar.
  5606. He says another solution is to exit the desktop and then type
  5607. *!Aldebaran at the command prompt. (Surely, Aldebaran is one of the most
  5608. recent games. Can it be true that it doesnæt run from the desktop?)
  5609. 6.8
  5610. Atle Mjelde Bσrdholt also says that old Minerva games generally
  5611. reconfigure your machine. To avoid this, skip the !Boot file and click
  5612. on the next file in the sequence (e.g. in Hoverbod BS1 and in Missile
  5613. Control Title).
  5614. 6.8
  5615. Ralph Gibbons finds that Break147 doesnæt work and would like to know if
  5616. there is a fix.
  5617. 6.8
  5618. Mike Cook of Musbury Consultants repeats the point made by David Holden
  5619. last month: one reason older programs may not work is that the
  5620. abbreviations for some * commands have changed (e.g. *CHA. used to be
  5621. *ChannelVoice but is now *ChangeDynamicArea). Running the Obey file
  5622. Commands on the RISCáOSá3 support disc is supposed to help but if that
  5623. doesnæt, he suggests editing the program. This affects the PD sample
  5624. player !DSedit and his own !Sample.
  5625. 6.8
  5626. Mike Cook also says that another change in the new operating system
  5627. resulted in the sampling part of his software not working. This also
  5628. affected the real time sound manipulator !Echo and the !Scope storage
  5629. oscilloscope. Any readers with the original programs can send him a disc
  5630. for a free upgrade. His address is 5áHelmshoreáRoad, Haslingden,
  5631. Rossendale, Lancashire, BB4á4BG.
  5632. 6.8
  5633. Last month, we listed Powerband and Saloon Cars as not working. Rob
  5634. Brown says that Fourth Dimension can supply RISCáOSá3 compatible
  5635. replacements (for ú2 per program, he thinks).
  5636. 6.8
  5637. Donæt forget that Rob Brown would welcome any contributions to his
  5638. compatibility chart, periodic updates of which will be included on the
  5639. Archive monthly program disc. His address is öValtaneeò, BrightonáRoad,
  5640. LoweráKingswood, Tadworth, Surrey, KT20á6UP.
  5641. 6.8
  5642. Printing
  5643. 6.8
  5644. öVDU 2ò printing
  5645. 6.8
  5646. David Holden says that, although VDU 2 printing still works with
  5647. RISCáOSá3, it appears to monopolise the computer until printing is
  5648. finished. He has noticed that a couple of his programs that used to
  5649. multi-task, no longer do so and BBC emulator programs take a lot longer
  5650. to return control to the operator, even if using a printer buffer.
  5651. 6.8
  5652. Printer buffering
  5653. 6.8
  5654. Are the points in the previous paragraph perhaps connected to the non-
  5655. functioning of the RISCáOSá3 printer buffer mentioned last month? Or are
  5656. there further problems? Has anyone got a fix for it or them? The
  5657. questions seem endless!
  5658. 6.8
  5659. Ralph Gibbons used to find a printer buffer routine (written by Anton
  5660. Calver and on Careware 5 & 7) very useful under RISCáOSá2. Does Anton
  5661. read Archive? Has he updated his routine to run under RISCáOSá3?
  5662. 6.8
  5663. BJ330
  5664. 6.8
  5665. In answer to Tord Erikssonæs plea (Archive 6.6 p56), Brian Cocksedge
  5666. recommends the Computer Concepts Turbo Driver (ú53 through Archive).
  5667. This produces much quicker printouts. The printer should be set to IBM
  5668. emulation (he understands this gives a better quality printout). The
  5669. stripes in graphics areas are a feature of the BJ printers due to minor
  5670. mechanical errors in the feed mechanism and the momentum of the print
  5671. head.
  5672. 6.8
  5673. To print A3, as well as setting the paper size in the printer
  5674. preferences window, you have to tell the printer the size. Brian does
  5675. this by sending öEsc,C,99ò to the printer via a small Obey file
  5676. containing the commands:
  5677. 6.8
  5678. *FX 138,27
  5679. 6.8
  5680. *FX 138,67
  5681. 6.8
  5682. *FX 138,99
  5683. 6.8
  5684. LaserDirect
  5685. 6.8
  5686. Steve Hutchinson experienced the same spurious lines that Roger King
  5687. reported in Archive 6.5 p31. He was told by CC that this was due to the
  5688. LaserDirect card not being happy in its podule slot. Rearranging podules
  5689. solved it for him.
  5690. 6.8
  5691. Photocopying via LaserDirect
  5692. 6.8
  5693. Tim Powys-Lybbe received version 2.09b of the LaserDirect software,
  5694. which cleared up the problems with print quality. However, his scanner
  5695. will now not do a photocopy at all, reporting (even with 3 Mb free) that
  5696. there is not enough free memory to do a photocopy. If he reverts to
  5697. version 2.05a, photocopying continues to work fine.
  5698. 6.8
  5699. Disc drives
  5700. 6.8
  5701. Speeding up an IDE drive
  5702. 6.8
  5703. After he upgraded to RISCáOSá3, Peter Young initially found his IDE
  5704. drive (with a Beebug interface) to be very slow but eventually
  5705. discovered that setting an IDE cache speeded things up considerably. The
  5706. command to set it is:
  5707. 6.8
  5708. *Configure IDEFSDirCache 16k
  5709. 6.8
  5710. Before he created the cache, Peter was getting strange messages like dir
  5711. ö@ò not found when he specified directories at the command line with
  5712. references like $.xxx... rather than IDEFS:: IDEDisc4.$.xxx.... Since he
  5713. is now religiously using full pathnames, he doesnæt know whether
  5714. creating the cache might have solved the problem.
  5715. 6.8
  5716. Peter says he still doesnæt really know whether what he wants is a cache
  5717. or a buffer. Can anyone throw any light on exactly what they do and what
  5718. the optimum sizes are for each in different circumstances? (Since
  5719. configuration options are provided, presumably one is expected to use
  5720. them, but when and how?)
  5721. 6.8
  5722. SCSI discs
  5723. 6.8
  5724. Andrew Shell encountered the same problems as Philip Lardner (Archive
  5725. 6.6 p56) with copying, moving or deleting files to, from, or in the root
  5726. directory. By resetting his configuration so that *Status reads:
  5727. 6.8
  5728.     SCSIFSDirCache     16k
  5729. 6.8
  5730.     SCSFSdisks         1
  5731. 6.8
  5732.     SCSIFSDrive        4
  5733. 6.8
  5734.     File System    SCSI
  5735. 6.8
  5736. (and using !Configure to set öSCSI hard discsò toá1) he thought he had
  5737. solved the problem. All now seems to work correctly so far as saving,
  5738. copying and deleting are concerned. However, when he tried the Find
  5739. command on the !FONTS directory he got a sequence of finds reading
  5740. ö...!Boot.!FONTSò, ö...!Boot.!FONTS.!FONTSò, ... ,
  5741. ö.....!FONTS.!FONTS,!FONTSò, etc. He also had a similar problem with the
  5742. Stamp command. Does anyone have any solutions?
  5743. 6.8
  5744. SCSIFiler and Set Alias$Free
  5745. 6.8
  5746. Following the hints in past months involving these, P. N. Cousins would
  5747. like to know: what is the SCSIFiler module for and how does the Set
  5748. Alias$Free hint (Archive 6.5 p27) work?
  5749. 6.8
  5750. Tim Nicholson has noted that using the SCSIFiler module (as recommended
  5751. in Archive 6.7 p44 and elsewhere) has the added advantage that it gives
  5752. the interactive window for Verify and reads the disc name at start-up
  5753. and shows the name under the iconbar icon.
  5754. 6.8
  5755. 5╝ö drive interfaces
  5756. 6.8
  5757. Gordon Lindsay-Jones has found, with the help of his dealer, a
  5758. replacement for his Watford interface: the one from Risc Developments
  5759. works and is, he feels, a superior product. Apart from other advantages,
  5760. it has seven switches with which to set the external drive
  5761. configurations and comes with instructions on the settings required.
  5762. 6.8
  5763. D. S. Allen and Philip Foster have both written to say that the Watford
  5764. interface can be fixed by cutting some wires! D. S. Allen knows of ötwo
  5765. people that have cut the right hand two wires (as viewed facing the
  5766. computer front) of the cables from the Watford board to the computer
  5767. board and also the one from the Watford board to the internal disc
  5768. drive. Both drives work all right after this.ò Philip Foster describes
  5769. the solution as öcutting through the two end wires (furthest from the
  5770. red marker wire and next to the 20ápin removable PAL ROM) of the ribbon
  5771. cable running from the mother board to the interface board.ò He adds
  5772. that öas this is clearly a somewhat irreversible actò he would suggest
  5773. ringing Watford to confirm before you do it.
  5774. 6.8
  5775. Miscellaneous hints and tips
  5776. 6.8
  5777. Use of the Copy key
  5778. 6.8
  5779. Richard Torrens writes: öWe all know that, in a writable icon, <Copy>
  5780. deletes the character to the right of the caret. Did you know that
  5781. <Shift-Copy> deletes to the end of the current word and <Ctrl-Copy>
  5782. deletes to the end of the current line?ò
  5783. 6.8
  5784. How much space for a desktop program?
  5785. 6.8
  5786. P. N. Cousins would like to know how you know how much memory you need
  5787. to use when writing programs that run under the desktop. In my
  5788. experience, allocating too small a WimpSlot can lead to some most
  5789. perplexing error messages, so I would certainly like to know if there is
  5790. a foolproof answer. My solution is trial and error: first I estimate how
  5791. much space is needed for the program code plus variables and workspace
  5792. for sprites, etc, then I set the WimpSlot somewhat larger than my
  5793. estimate and repeatedly reduce it (32Kb at a time) until the program
  5794. crashes. Not very scientific, but it generally works.
  5795. 6.8
  5796. Miscellaneous
  5797. 6.8
  5798. All these hints are from Rob Davison:
  5799. 6.8
  5800. I have a couple of lines in my application !Run files like this...
  5801. 6.8
  5802. SET Titler$RiscOs3 yep
  5803. 6.8
  5804. RMENSURE UtilityModule 3.10 SET Titler$RiscOs3 nope
  5805. 6.8
  5806. ...and near the start of !RunImage, something like the following:
  5807. 6.8
  5808. DIM block% &C00
  5809. 6.8
  5810. SYS öXOS_GSTransò,ö<Titler$RiscOs3>ò,block% ,&C00 TO,,l%
  5811. 6.8
  5812. block%?l%=&0D
  5813. 6.8
  5814. IF $block%=öyepò THEN newos%= TRUE ELSE newos%=FALSE
  5815. 6.8
  5816. SYSöXOS_CLIò,öUNSET Titler$RiscOs3ò
  5817. 6.8
  5818. Å    There are several other configuration options which are not accessible
  5819. in !Configure that allow you to setup your system more exactly in the
  5820. area of double-click delays, etc.
  5821. 6.8
  5822. One of the more interesting ones which may be useful to those people who
  5823. are new to RISCáOS, is WimpMenuDragDelay which sets the time in 1/10
  5824. second units for which menu activity is disabled after a menu has been
  5825. automatically opened. This enables the pointer to move over other menu
  5826. entries without cancelling the submenu. To change it, you need to use
  5827. the command line (remember that thing?) Syntax:
  5828. 6.8
  5829. *Configure WimpMenuDragDelay <delay>
  5830. 6.8
  5831. Å    There is an in-built rolling credit list of all the people involved in
  5832. the creation of the Operating System. It is accessed by bringing up the
  5833. Éinfoæ dialog box for the operating system (accessible from the task
  5834. manager menu) and clicking with <menu> on the characters Étæ Éeæ ÉAæ and
  5835. Émæ in that order in the string É⌐ Acorn Computers Ltd 1992.æ If nothing
  5836. happens after a couple of seconds, re-open the menu and try again.
  5837. 6.8
  5838. (Click with <menu>? Ö thatæs against Acornæs guidelines surely?!)
  5839. 6.8
  5840. However, if you just bring up the dialog box and click <menu> off any of
  5841. the icons (e.g. on the grey window background) then the Task Manager
  5842. aborts and the only way to recover a normal machine is to press <ctrl-
  5843. reset>. (Oops!)
  5844. 6.8
  5845. Boot-up options
  5846. 6.8
  5847. An item on Peter Youngæs wish list for RISCáOSá4 is the ability to call
  5848. different !Boot sequences by pressing user-defined keys at power-on. I
  5849. agree that it would be useful to have this built into the operating
  5850. system. However, it is already quite easy to achieve a similar result. I
  5851. know that some people find Ian Copestakeæs !TWO very useful for this
  5852. purpose. Alternatively, you can ödo it yourselfò without too much
  5853. difficulty. Assume, for example, that you have saved two Desktop boot
  5854. files called Plain and Fancy in a directory called BootFiles. Then
  5855. create a Basic file in the root directory called !Boot reading as
  5856. follows:
  5857. 6.8
  5858. CLS
  5859. 6.8
  5860. PRINTÉæöChoose one of the
  5861. 6.8
  5862. following sets of
  5863. 6.8
  5864. Boot-up preferencesöÉæ
  5865. 6.8
  5866. PRINTö   1.  Plainò
  5867. 6.8
  5868. PRINTö   2.  Fancyò
  5869. 6.8
  5870. PRINTÉæöType 1 or 2ò
  5871. 6.8
  5872. A$=GET$
  5873. 6.8
  5874. CASE A$ OF
  5875. 6.8
  5876.  WHEN ö1ò:OSCLI(öDesktop -File $.BootFiles.Plainò)
  5877. 6.8
  5878.  WHEN ö2ò:OSCLI(öDesktop -File $.BootFiles.Fancyò)
  5879. 6.8
  5880.  OTHERWISE: OSCLI(öDesktopò)
  5881. 6.8
  5882. ENDCASE
  5883. 6.8
  5884. There are numerous variations on this theme. You can use negative INKEY
  5885. values to test for a key being held down rather than waiting for a
  5886. keypress with GET$. If you like, you can put Plain and Fancy in, say,
  5887. the !System directory instead of creating a new directory, or you can
  5888. rename the Basic file !Run, create a directory called !Boot and move
  5889. !Run into it along with Plain and Fancy.
  5890. 6.8
  5891. Obviously, you can adapt this idea to suit your purposes, but beware of
  5892. pressing R or <Delete> when you switch the computer on, since these will
  5893. reset your configuration!
  5894. 6.8
  5895. Splitting the boot sequence into two parts like this was recommended
  5896. last month for making sure that the SCSIFiler module is properly
  5897. installed before the desktop is initialised.  It also opens up a number
  5898. of other possibilities....
  5899. 6.8
  5900. It has always seemed to me that the usefulness of the facility for
  5901. automatic saving of desktop boot files is limited (a) because they tend
  5902. to get cluttered up with unnecessarily opened directories and booted
  5903. applications, and (b) because they omit necessary things like virus
  5904. protection modules, extra screen modes, etc. Problem (a) can be reduced
  5905. by making sure that you only open those directories that you want open
  5906. and boot those directories that you want booted before you save the
  5907. desktop boot file (the equivalent of Plain or Fancy in the above
  5908. example); (b) can be solved by following the two-stage approach and
  5909. putting the more technical bits in a hand-crafted pre-desktop !Boot
  5910. file, which you will probably not want to change very often, while the
  5911. desktop boot file is left simply to run applications, open directories
  5912. and fire up the pinboard.
  5913. 6.8
  5914. So far as I can see, you will still need to do some hand-editing of the
  5915. desktop boot file if you want a nonö-RISCáOSá3 awareò application to be
  5916. booted or run automatically. Alternatively, you can get an application
  5917. to auto-boot by having the desktop boot file automatically open the
  5918. directory that the application is in. Furthermore, you can get the
  5919. application to run automatically by editing its own !Boot file to run
  5920. the !Run file.
  5921. 6.8
  5922. Tim Nicholson notes that you must also split the boot sequence into two
  5923. parts if you want to follow the suggestion in the March Acorn User for
  5924. altering the desktop initialisation banner.
  5925. 6.8
  5926. In Archive 6.5 p33, Colin Singleton reported problems with trying to
  5927. switch from one öworldò to another by double-clicking on a second boot
  5928. file. He has concluded that you must reset the computer first, since
  5929. running the second boot file doesnæt clear memory first: it simply tries
  5930. to add the applications listed in it to those that are already running.
  5931. 6.8
  5932. Finally, to end this section on boot files, a quote from Colin
  5933. Singleton, with whom I have a lot of sympathy: öThe autoboot facility is
  5934. not much use if it does only half the job. I need to be able to
  5935. understand what it has produced and to patch it up accordingly. I might
  5936. as well carry on using my old boot file, which is what I am doing. The
  5937. new feature is useless (and very confusing) for those users who do not
  5938. know how to build a boot file. Perhaps in time all software will be
  5939. Éawareæ of boot files, then the feature will be useful.ò
  5940. 6.8
  5941. ARM3 too fast for Watford scanner (?)
  5942. 6.8
  5943. Mr A. Shell found that, after he upgraded to RISCáOSá3 and installed an
  5944. ARM3, his Watford Electronics Hand Scanner 1990, Issue 2 (using a Geni
  5945. Scan-4500) stopped working. However, he has found that after entering
  5946. the command *Cacheáoff, the scanner works perfectly. When the scanning
  5947. is finished, *Cacheáon  speeds the processing up.
  5948. 6.8
  5949. Zooming in Draw
  5950. 6.8
  5951. When I acquired Artworks, I thought one of its neatest features was the
  5952. ability to use the mouse to mark the area into which you want to zoom.
  5953. Now, I have found while reading the manual (Applications Guide p48) that
  5954. Draw does just the same ù in fact, it goes one better, because you donæt
  5955. need to select a zoom tool first, you just hold down <shift> and drag
  5956. with <adjust>. To return to your previous scaling you use <Ctrl-R>; the
  5957. manual also describes various other hot-key combinations to adjust the
  5958. scaling.
  5959. 6.8
  5960. Turning CapsLock off
  5961. 6.8
  5962. Peter Young has a few old, and some not so old, programs which will only
  5963. take upper case input, and putting *FX202,1 into the !Run file meant,
  5964. with RISCáOSá2, that he didnæt have to remember to press capslock first.
  5965. In RISCáOSá3, this call seems to turn off keyboard input entirely,
  5966. though it occasionally produces input different from what is typed for a
  5967. couple of presses before it crashes the machine.
  5968. 6.8
  5969. I think, if I have interpreted the Programmersæ Reference Manual
  5970. correctly (pages 511-512 in the RISCáOSá2 manual), that the correct code
  5971. to turn capslock off while leaving the other keyboard settings unaltered
  5972. is *FX 202,16,239; the command *FX 202,16 will turn capslock off but may
  5973. alter some of the other settings.
  5974. 6.8
  5975. What *FX 202 does is to alter the ökeyboard status byteò. If the command
  5976. is given in the form *FXá202,R1,R2 then R2 controls which bits of the
  5977. status byte are changed and R1 supplies the new bits. In technical
  5978. terms, the new value of the status byte is made equal to
  5979. 6.8
  5980. (the old value AND R2) EOR R1
  5981. 6.8
  5982. Therefore, to force a particular bit in the status byte to adopt value n
  5983. (either 0 or 1) you leave that bit unset in R2 and made equal to n in
  5984. R1; to leave a bit unchanged you set it in R2 and unset it in R1.
  5985. 6.8
  5986. Capslock is controlled by bit 4 (the one with value 16), so to set it
  5987. (thus turning capslock off) you use the values 239 (= 255 minus 16) and
  5988. 16 for R2 and R1 respectively.
  5989. 6.8
  5990. The shortened form of the command, *FX 202,R1 has the same effect as *FX
  5991. 202,R1,0
  5992. 6.8
  5993. (Itæs not clear to me why *FX 202,1 should have worked either in
  5994. RISC¡OSá2 or on the BBC.)
  5995. 6.8
  5996. Editing !Run files
  5997. 6.8
  5998. Peter Young asks if one is allowed to amend the !Run files of commercial
  5999. programs. My answer is that there is no reason at all why you shouldnæt,
  6000. so long as you know what you are doing. You could, for instance, include
  6001. a command to turn capslock off (see above) or a command to run a printer
  6002. driver automatically. Some programs allow you to change preferences by
  6003. setting up system variables in the !Run file. In RISCáOSá2, some people
  6004. even amended the !Run file of Acornæs !Edit to make it run on a system
  6005. with lots of fonts.
  6006. 6.8
  6007. ROM Speed
  6008. 6.8
  6009. Seßn Kelly writes that the old ROM speed up trick still works on some
  6010. computers with RISCáOS 3.1. On an Archimedes, the ROM speed can be read
  6011. with the following Basic lines:
  6012. 6.8
  6013. SYS öOS_UpdateMEMCò,0,0 TO R%
  6014. 6.8
  6015. PRINT (R% AND &C0) DIV &40
  6016. 6.8
  6017. The lowest speed is 0, the highest 2 Ö the MEMC data sheet defines a
  6018. value of 3 as Énot meaningfulæ although it appears to have the same
  6019. effect as 2. The speeds are not absolute, but depend on the computeræs
  6020. memory clock speed. On old A440, RISCáOS 3.1 selects a value of 2, so no
  6021. speed up is possible, but on an A5000, a value of 1 is set by RISCáOS
  6022. 3.1 and changing this to 2 increases the machineæs speed by about 5%.
  6023. 6.8
  6024. The ROM speeds can be set by using:
  6025. 6.8
  6026. SYS öOS_UpdateMEMCò,&00,&C0: REM slowest, speed 0
  6027. 6.8
  6028. SYS öOS_UpdateMEMCò,&40,&C0: REM speed 1
  6029. 6.8
  6030. SYS öOS_UpdateMEMCò,&80,&C0: REM fastest, speed 2
  6031. 6.8
  6032. These lines are included as programs on the monthly program disc,
  6033. together with the short program called ACK which, on Seßnæs un-sped-up
  6034. A5000, executes in about 1 second. Double-clicking on one of the speed
  6035. changers followed by ACK will show how the different speeds affect your
  6036. computer. An A5000 appears to run at speed 2 with no problems. Program
  6037. Speed2 can be automatically run by !Boot, providing a slight performance
  6038. boost to A5000s.
  6039. 6.8
  6040. RMFaster-ing
  6041. 6.8
  6042. Seßn Kelly also reports that *RMFaster on certain modules, such as
  6043. Basic, can produce a useful increase in speed for applications that read
  6044. the ROM a lot. Without an ARM3, the speed increase can be very large Ö
  6045. with the cache off, he has found Basic programs that run over 30% faster
  6046. with Basic in RAM. With the cache on, the increase tends to be about 5%,
  6047. so RMFaster-ing on an ARM3 machine is really a waste of memory unless
  6048. time is really important.
  6049. 6.8
  6050. Interestingly, both ROM speed-ups and RMFaster-ing only produce a slight
  6051. speed increase, typically 5%, on an ARM3 machine. This appears to show
  6052. that the cacheæs hit rate is very high.
  6053. 6.8
  6054. Also on the program disc ...
  6055. 6.8
  6056. Also on the monthly program disc are a number of utilities from Rob
  6057. Davison: SmoothM ù a relocatable module which averages mouse coordinates
  6058. and is ideal for use in pixel-based art packages such as Paint or
  6059. Artisan. To use it, double click on the module and enable averaging with
  6060. the command *SmoothON. To restore normal use, enter the command
  6061. *SmoothOFF. This module is public domain and is, in fact, based on an
  6062. article which appeared in Archive 1.5 (February 1988) by Malcom
  6063. Banthorpe.
  6064. 6.8
  6065. SolDrag and NormDrag are short programs to turn solid sprite dragging on
  6066. and off.
  6067. 6.8
  6068. Tools and 22Sprites are modified toolsprites and high resolution icon
  6069. sprites.
  6070. 6.8
  6071. Some Bugs
  6072. 6.8
  6073. First, from Rob Davison:
  6074. 6.8
  6075. There are quite a number still in the operating system. Most are very
  6076. obscure, but some are quite serious and one may be slightly embarrassing
  6077. to Acorn! Hopefully, they will do a ÉRISCáOS 3 Extras discæ to fix the
  6078. more important ones.
  6079. 6.8
  6080. Å    Impression style icons Ö There is a serious bug in this part of the
  6081. window manager. If the application you are writing uses a dialog box
  6082. similar to the in-built applications (e.g. Edit) when quitting, but
  6083. including the new style icons, the operating system reports an abort on
  6084. Data transfer after the application has quit. The solution is to close
  6085. and delete all windows yourself and call Wimp_Poll enough times to
  6086. ensure that they have all gone before quitting.
  6087. 6.8
  6088. Å    Paint Ö Load the application and repeatedly create 256 colour sprites
  6089. of 128x64 pixels. Paint bombs (usually) when the sixth sprite is created
  6090. with an ÉUnrecoverable internal error SpriteExtend: Bad pixel
  6091. translation tableæ.
  6092. 6.8
  6093. The only good point is that your file is preserved in Wimp$ScrapDir
  6094. before Paint dies.
  6095. 6.8
  6096. The problem mentioned in Archive, where the name in the save dialog box
  6097. is corrupted in some circumstances, still exists.
  6098. 6.8
  6099. Å    !Edit Ö This is a fairly worrying one (R.áW.áDarlington has found
  6100. similar problems). Edit has had the same bug since its first release in
  6101. RISCáOS 2.00. Sometimes, the text window is not redrawn properly and the
  6102. caret can appear to be on a different line. Text is deleted or inserted
  6103. at the wrong place and it can sometimes be quite a while before you
  6104. realise what is going on. I encounter this problem much more now because
  6105. of the excellent facilities for editing Basic programs. If Acorn canæt
  6106. get windows to redraw correctly in all circumstances, what chance do the
  6107. rest of us have? (Quick fix: press <f12>, <return>, <return> before
  6108. doing any major editing.)
  6109. 6.8
  6110. Å    Operating system bugs Ö I have one (and only one) 800Kb ÉEæ format
  6111. disc which works and verifies fine on RISCáOS 2.00 whereas RISCáOS 3.00
  6112. and 3.10 absolutely refuse to look at it and tell me ÉDisc not
  6113. formattedæ.
  6114. 6.8
  6115. I have managed to get the dreaded ÉAbort on Data transferæ while using
  6116. interactive file copying but only under extreme provocation. It was much
  6117. more common in 3.00!
  6118. 6.8
  6119. There is another problem where, if you set the MOUSE RECTANGLE to allow
  6120. the pointer off the left of the screen and then record button clicks,
  6121. the y-coordinate is set to Ö1 with the first returned button click. E.g.
  6122. 6.8
  6123. *POINTER 1
  6124. 6.8
  6125. MOUSE RECTANGLE -1000,-1000,2000 ,2000
  6126. 6.8
  6127. MOUSE TO 100,500
  6128. 6.8
  6129. REPEAT
  6130. 6.8
  6131. MOUSE x%,y%,b%
  6132. 6.8
  6133. PRINTTAB(0,0);öx=ò;x%;ö  ò
  6134. 6.8
  6135. PRINTTAB(0,1);öy=ò;y%;ö  ò
  6136. 6.8
  6137. PRINTTAB(0,2);öb=ò;b%;ö  ò
  6138. 6.8
  6139. UNTIL b%<>0
  6140. 6.8
  6141. END
  6142. 6.8
  6143. Run this and move the pointer off the left of the screen. Click a button
  6144. and the displayed y coordinate changes to Ö1 regardless of the last
  6145. position. (The solution is to do another mouse read immediately after
  6146. the UNTIL and use the values returned from that.)
  6147. 6.8
  6148. Next, from Seßn Kelly:
  6149. 6.8
  6150. !Paint has two bugs related to deleting rows and columns in sprites. The
  6151. first is that when columns to delete are selected by dragging right with
  6152. the mouse, it is not possible to delete the rightmost column of the
  6153. sprite (no matter how far it is zoomed in). The second is that, when
  6154. dragging rows to delete downwards, the topmost row (where the operation
  6155. was started) is not deleted.
  6156. 6.8
  6157. If there is data in the RAM filing system, RISCáOS 3.1 complains if you
  6158. attempt to leave the desktop by selecting EXIT from the task manager
  6159. menu, although the RAMFS is not affected.
  6160. 6.8
  6161. Sometimes, a RAMFS filer window stays on screen when the RAMFS has been
  6162. killed.
  6163. 6.8
  6164. Finally, from R. W. Darlington:
  6165. 6.8
  6166. When I load so many items on the iconbar that it has to scroll to reach
  6167. opposite ends and I then delete an item from the middle of the list, I
  6168. sometimes finds that as well as the deleted one disappearing, other
  6169. icons disappear leaving only their names. Also, all the directory icons
  6170. and application icons disappear from directory viewers leaving only
  6171. their names as reminders as to what is there.
  6172. 6.8
  6173. In !Paint, when I try to x-scale or y-scale a sprite, I find that it
  6174. takes one column off the right hand edge and puts it at the left hand
  6175. edge.
  6176. 6.8
  6177. Has anyone else experienced these or other bugs?
  6178. 6.8
  6179. Matters Arising
  6180. 6.8
  6181. Alarm (switching between GMT and BST)
  6182. 6.8
  6183. (Archive 6.3p15 / 6.5p35) Colin Singleton confirms that the alarm set
  6184. for 1áa.m. on 7th Februaryá1994 is to remind you to set the BST on and
  6185. off dates in 1994.
  6186. 6.8
  6187. Donæt worry: you donæt have to stay up to catch this alarm: it will come
  6188. up when you next switch the computer on.
  6189. 6.8
  6190. Ken Cowap has sent in a description which he hopes will complement the
  6191. rather brief instructions in the Applications Guide (p132) on this
  6192. rather convoluted facility:
  6193. 6.8
  6194. When this option is selected, Alarm will automatically switch between
  6195. GMT and BST times on the dates you specify. Click on the arrows to
  6196. change the time, day, month and year.
  6197. 6.8
  6198. Entries must be for one calendar year only even though the öBST starts
  6199. on:ò date may already have passed. Any such past date will be ignored
  6200. but must be entered nevertheless.
  6201. 6.8
  6202. As the changeover dates are liable to undefined variation from year to
  6203. year, Alarm will issue a warning during the month prior to that of the
  6204. next yearæs first expected changeover.
  6205. 6.8
  6206. The warning will be recorded in the Alarm Browser Window as öApplication
  6207. alarm set by Alarmò, and the dates/times of valid changeover(s) will
  6208. still be activated. These alarms appear in dark grey and cannot be
  6209. selected. When the warning is activated, a message appears saying: öThe
  6210. dates for entering and leaving BST are no longer valid and should be
  6211. reset as soon as possible.ò and two options are offered: öReset them
  6212. laterò and öReset them now.ò The warning will be repeated automatically
  6213. at 24 hour intervals until öReset them nowò is selected and the dates
  6214. and times are reset.
  6215. 6.8
  6216. Ken warns that anyone wanting to experiment by setting the system clock
  6217. into the future should take care to back up their alarms first, since a
  6218. ömove into the futureò will activate and lose all alarms set to go off
  6219. before that date. Also note that there is a long delay accompanied by
  6220. unexplained hourglass activity before the warning notice appears.
  6221. 6.8
  6222. Impression dongle
  6223. 6.8
  6224. (Archive 6.5 p32) Colin Singleton has been assured by Computer Concepts
  6225. that shorting the pins of the Impression dongle can do no harm.
  6226. Switching the computer off while Impression is running can cause
  6227. problems. Apparently, the reason is that Impression continually checks
  6228. that its dongle is present and, if it happens to be checking when power
  6229. is lost, the dongle is liable to receive a burst of static which renders
  6230. it inoperable. This will drain away if you leave it for a time (perhaps
  6231. a few hours) but the quick cure, according to CC, is to short the lines
  6232. to each other using a small coin rubbed against the rows of male pins.
  6233. Colin recommends removing the dongle from both the machine and the
  6234. printer first.
  6235. 6.8
  6236. Getting the hare and tortoise into step
  6237. 6.8
  6238. (Archive 6.6 p59) Jim Nottingham has written in response to my plea...
  6239. öthe solution is to fire up the computer in slow mode with a *Configure
  6240. Cache off command and run the !Arm3 application in the Boot file. This
  6241. brings up the computer with the cache on and the hare on the iconbar. If
  6242. you want the computer to boot up with the Arm3 cache off, add *Cache off
  6243. to his Boot file after running the Arm3 application.ò
  6244. 6.8
  6245. Well! I must be completely dense. Iæve tried to follow these
  6246. instructions to the letter. I have typed *Configure Cache off at the
  6247. command line (and *Status confirms that the cache configuration is
  6248. öoffò) and I have a !Boot file (file type öDesktopò) the first two lines
  6249. of which read:
  6250. 6.8
  6251. Filer_Boot ADFS::Four.$.!System
  6252. 6.8
  6253. RUN system:!Arm3
  6254. 6.8
  6255. When I boot up, the cache is off and the tortoise on the iconbar. When I
  6256. click once on the tortoise, the cache is turned on, but the tortoise
  6257. stays. When I click a second time, the hare appears but the cache is
  6258. turned off. Adding Cache on as the next line of the !Boot file doesnæt
  6259. seem to help. What do I do next (apart from swapping the names of the
  6260. two icons as Iæve suggested before!)?
  6261. 6.8
  6262. Pinboard backdrop sprites
  6263. 6.8
  6264. In Archive 6.4 p12, R. W. Darlington gave a suggested modification to
  6265. the !Boot file which results in a different backdrop being shown each
  6266. time the computer is reset. His method causes the available sprites to
  6267. be chosen in strict rotation. Geoffrey Rimmer has suggested a variation
  6268. of the same idea which would choose one of the sprites at random.
  6269. 6.8
  6270. Assuming, as before, that there are 75 sprites called Sprit00 to Sprit74
  6271. in the directory PinSp, his suggested code is:
  6272. 6.8
  6273. Set S$ <Sys$Time>
  6274. 6.8
  6275. SetEval S$ S$ RIGHT5
  6276. 6.8
  6277. SetEval NN STR(VAL(S$ RIGHT2 + S$ LEFT2)MOD 75)
  6278. 6.8
  6279. If LEN(NN)=1 Then SetEval NN ö0ò +NN
  6280. 6.8
  6281. SetEval Tile$Name öSpritò+NN
  6282. 6.8
  6283. Pinboard
  6284. 6.8
  6285. Backdrop -T ADFS::4.$.PinSp. <Tile$Name>
  6286. 6.8
  6287. Finally ...
  6288. 6.8
  6289. Page 140 of the User Guide says that the example commands to set
  6290. Alias$@PrintType and Alias$@RunType variables must have trailing spaces.
  6291. Does anyone know why?ááA
  6292. 6.8
  6293. Supermarket Ö In Four Languages
  6294. 6.8
  6295. Alex Thomas
  6296. 6.8
  6297. This review is a language teacheræs perspective on the ÉSupermarketæ
  6298. language programs produced by New Era Software in four languages
  6299. (English, French, German and Spanish).
  6300. 6.8
  6301. Surely, I thought, this must be every modern language teacheræs dream
  6302. software for the Archimedes. Just think of the realistic situations set
  6303. against the background of shopping in a supermarket which could meet the
  6304. demands of the National Curriculum (Modern Languages and IT) and the
  6305. GCSE syllabuses. This disc must, I thought, deal with asking for
  6306. particular items, quantities, containers, problems at the checkout,
  6307. queries about the bill, breakages, complaints, special offers, coupons,
  6308. shoplifting, advertising, job vacancies Ö the potential is tremendous.
  6309. 6.8
  6310. With my mind buzzing with such expectations, I was eager to try out this
  6311. program with a class, so I sat down after school to run through it and
  6312. plan some meaningful tasks. I was hoping to use the German version, so
  6313. that was where I started. I needed to enter the shop name and a message
  6314. to go on the till receipts Ö everything was in German, so I was feeling
  6315. very positive about the program. (The function keys are used for accents
  6316. in all the languages.) The next screen asked for information about what
  6317. is bought, the price, the amount tendered, method of payment Ö still all
  6318. in German, as are the print commands, etc.
  6319. 6.8
  6320. Having entered some information, I printed it out Ö a very basic till
  6321. receipt with my list of items and prices, which are totalled with the
  6322. amount of change calculated and my message from the first screen (thank
  6323. you). It was much the same as all those till receipts I have brought
  6324. back from various trips in recent years, except that at least the pupil
  6325. has to enter the items bought and understand approximately twenty items
  6326. of vocabulary which appear on the screen for each öcustomerò.
  6327. 6.8
  6328. I began to plan tasks for my beginners using the printouts. One pupil
  6329. could produce one and the others ask questions to find out the prices.
  6330. We could produce them for different shops and compare prices.... but
  6331. then, I have a cupboard full of attractive, colourful supermarket
  6332. advertising leaflets from Germany, in class sets, surely it would be
  6333. better to use them!
  6334. 6.8
  6335. I decided to go back to the program to see what else it has to offer
  6336. which the GCSE sets could use. I pressed öclearò to see what happened Ö
  6337. the chance to enter another list of items and prices! Since the computer
  6338. totals the prices and works out the change, you canæt even work on
  6339. complaints at the checkout, except by pretending that the wrong price
  6340. was entered.
  6341. 6.8
  6342. There is no list of acceptable items, so there is no spellcheck, it
  6343. accepts complete nonsense Ö an item is any set of letters, a price any
  6344. number. There are no graphics, no variations on the basic layout and
  6345. content, nothing which will interest the pupils or give them a sense of
  6346. achievement, unless the teacher spends hours devising speaking tasks
  6347. based on till receipts.
  6348. 6.8
  6349. Is it worth taking the whole class to the computer room to produce a
  6350. till receipt, or devising a flexible learning lesson with a variety of
  6351. small group activities so that this program can be used on the one
  6352. computer in my room? No, definitely not. I have some much better ideas
  6353. based on my wide selection of realia!
  6354. 6.8
  6355. The programæs handbook suggests many sophisticated possibilities using
  6356. product files and bar codes which may be valid for teachers of
  6357. Technology, etc to develop. However, as a language teacher, I have not
  6358. yet found the time to work on these areas which seem to have little to
  6359. do with communication, verbal or written. In case I was too hasty in my
  6360. rejection of this program, I decided to use it with a class anyway. The
  6361. first pupil (below average year 9) got to the printing stage and said
  6362. öNow what?ò Ö öThatæs all it doesò, I replied. He returned to his group
  6363. to do the structured oral tasks I had set up, showed them his till
  6364. receipt and the rest asked, öWouldnæt it be quicker if we just wrote one
  6365. out miss?òááA
  6366. 6.8
  6367. Hints and Tips
  6368. 6.8
  6369. Å    A5000 serial port problems Ö Several of you will have experienced
  6370. problems with dead or dying serial ports on their A5000s. Acorn are
  6371. aware of problems on early A5000 p.c.b.s and have a fix for them.
  6372. However, there are still some problems with static. Until Acorn find a
  6373. solution, the best we can do is take suitable precautions. (1) Use
  6374. braid-screened cable and connect the braid to the connector shells at
  6375. both ends. Also, never connect a cable when the machine at either end is
  6376. switched on. Always switch on both devices after the cable has been
  6377. connected.
  6378. 6.8
  6379. Å    Filer_CloseDir Ö On my 4Mb A3000, I like to open Érelatedæ windows to
  6380. various programs and then close them again when finished, by using
  6381. Filer_OpenDir <pathname> <position> and Filer_ CloseDir <pathname>
  6382. respectively. I put these commands in the !Run file of !BJ10e Turbo
  6383. Drivers, one before the command to run !Runimage and the other after.
  6384. Readers should be warned that the command Filer_CloseDir clashes with
  6385. CCæs Turbo Driver (v2.09b) when using their Compression filing system
  6386. (CFS) (v1.17). If the Turbo driver is loaded first and then CFS, you
  6387. will find that, when trying to quit the Turbo Driver, it goes into an
  6388. error loop with SWI &43303 not known and only a <ctrl-break> or <reset>
  6389. will release the computer so you lose all unsaved files, etc. No problem
  6390. occurs when they are loaded in reverse order or when Filer_ CloseDir is
  6391. deleted from the !Run file of !BJ10e.
  6392. 6.8
  6393. Does anyone know whether any other programs clash with Filer_CloseDir?á
  6394. Brian Cocksedge, Midhurst.
  6395. 6.8
  6396. Å    Filofax printing Ö We had a letter printed on a piece of Filofax paper
  6397. which proved that you can do so with a Canon BJ200 with CCæs Turbo
  6398. Driver software using a custom page size of 95 ╫ 165 mm. If you use
  6399. Impression (II or Junior), it shows the print area so it is easy then to
  6400. create a suitable frame and choose a small typeface (say, 8 pt) and view
  6401. the page at 200%.á Brian Stewart, Nairn.
  6402. 6.8
  6403. Å    Inkjet printing Ö When inkjet/bubblejet printouts need a relatively
  6404. large amount of ink, the paper can become a little wrinkled. To remove
  6405. the wrinkles, pass the paper through a laser printer by printing a blank
  6406. page. This calendars the paper to its original smooth finish.á George
  6407. Foot, Oxted.
  6408. 6.8
  6409. Å    Laser toner cartridges Ö The first sign you get that a laser toner
  6410. cartridge is about to run out is a line down the paper which is
  6411. obviously very low on toner. If you örock the cartridge gentlyò, you may
  6412. be able to spread the toner out sufficiently to get a few more sheets
  6413. out of it. Try rocking first but then eventually, try shaking. Beware,
  6414. if you shake too soon, you can end up with toner all over the place!á
  6415. Colin Singleton, Sheffield.
  6416. 6.8
  6417. Å    ShowPage confusion Ö It has been said within the pages of Archive that
  6418. öShowPage does not work with RISCáOS 3ò. This is not entirely correct.
  6419. It will not work with RISCáOS 3 fonts, i.e. those which have their own
  6420. kerning tables, and it will not work with RISCáOS 3æs ROM fonts.
  6421. However, if you want to use ShowPage, all you need to do is to replace
  6422. the in-built fonts (Corpus, Homerton and Trinity) with ones within your
  6423. own font folder and included a FontRemove command to remove the ROM
  6424. fonts.ááA
  6425. 6.8
  6426.  
  6427. Hints and Tips
  6428. 6.9
  6429. Å    Anti-aliased fonts Ö I find that anti-aliasing on a standard
  6430. resolution monitor gives a far too blurred image. My hint is to use the
  6431. outline version of the System font at an unexpanded point size. A bit of
  6432. experimentation is needed to get it right if you habitually use the
  6433. screen at some scale other than one to one but when you get it right,
  6434. the result is a nice fast, clean and clear font on any DTP or
  6435. wordprocessing package while you work on the text. Remember to change
  6436. the font to your preferred version for the final print. I am afraid I
  6437. canæt remember where I obtained the Outline System font.
  6438. 6.9
  6439. On my Pentoms game, I changed the transfer coefficients to sharpen up
  6440. the edges of my fancy fonts but that does not work well/at all on
  6441. RISCáOS 3. Is there a way of getting a program to automatically check
  6442. which OS it is running under so that I can disable this facility where
  6443. it wonæt work? Or is there another way of sharpening RISCáOS 3 fonts?
  6444. Yes I know about turning off anti-aliasing but that is not quite the
  6445. same thing at all Ö bits of the letters are missed if you do that.á
  6446. Simon Anthony, Nottingham.
  6447. 6.9
  6448. Å Backing up in one pass Ö The öNextò slot in the Task Manager can be
  6449. set from a !Boot file in RISC OS 3 to make backing up and copying of
  6450. full 800Kb discs occur in a single pass. Use the command
  6451. 6.9
  6452. WimpSlot -next 864K
  6453. 6.9
  6454. inside your !Boot file.á Barry Thompson,
  6455. 6.9
  6456. Alternatively (for RISC OS 2 owners) you can allocate more memory to the
  6457. Next Task slot by issuing the Wimp_SlotSize SWI call from Basic. All
  6458. that you need is a Basic program containing the line:
  6459. 6.9
  6460. SYS öWimp_SlotSizeò,-1,<slotsize>
  6461. 6.9
  6462. where <slotsize> is in bytes (e.g. use 65536 for 64Kb.)
  6463. 6.9
  6464. Simon Moy, NCS.
  6465. 6.9
  6466. Å    !Boot files are not strictly necessary within applications. They use
  6467. up disc space and slow down the opening of windows (especially over a
  6468. network). If an applicationæs !Boot file only contains the IconSprites
  6469. command, then this can be moved to the !Run file, and the !Boot file can
  6470. be deleted. The only effect is that the application will not show the
  6471. correct icon in the filer window until the application is actually run.á
  6472. Keith Harja, Derby.
  6473. 6.9
  6474. Å    Gods passwords Ö On this monthæs program disc is all you need for
  6475. getting the passwords for Gods. Andrew Ferguson, London N15.
  6476. 6.9
  6477. Å    Mono TIFF files Ö In reply to help for Ray Dawson in Archive 6.5 p18
  6478. for producing mono TIFF files from B&W scanned sprites. I have used
  6479. !MakeTiff version 2.00 by John Kortink to do exactly that. I examined
  6480. the resulting Tiff file using Graphics Workshop (under the emulator) and
  6481. Translator, and they both showed the converted sprite as a B&W image.á
  6482. Chris Bass, Grimsby.
  6483. 6.9
  6484. Å    Symbols for Impression Ö When using Impression, or even more so
  6485. Junior, it can sometimes be tedious to find a desired symbol from a font
  6486. such as Dingbats. Therefore, I have created a number of text files which
  6487. can be dragged into any Impression document. The format for such files
  6488. is ö« ò, without the quotes. This returns the type to its default size,
  6489. selects the desired font, inserts the character with ASCII code 174 and
  6490. resets the font to its default. N.B. The space at the end is essential.
  6491. This is so that one can do a <ctrl-right> to end of text. Without this
  6492. space, the font is not reset. I have given a number of pre-prepared ones
  6493. to Paul for inclusion on this monthæs program disc.á Neil Walker,
  6494. Norwich.
  6495. 6.9
  6496. You need to be very careful with this one. I tried it on Impression 2.19
  6497. and it gave an internal error and Impression bombed out! This was
  6498. because I didnæt have the symbol font in my system. I tried it on
  6499. version 2.17 and it complained politely that it didnæt have Symbol font
  6500. and let me carry on. I presume that the difference is because
  6501. Impression, from 2.18 onwards, has no limit to the number of fonts it
  6502. can handle so that part of the code must have been changed. Donæt say we
  6503. didnæt warn you! Ed.
  6504. 6.9
  6505. Å    Testing printersæ on-line status Ö Here is a way of testing whether
  6506. the printer is on- or off-line:
  6507. 6.9
  6508.  10 *FX 3,10
  6509. 6.9
  6510.  20 PRINT CHR$(0);
  6511. 6.9
  6512.  30 a = INKEY(20)
  6513. 6.9
  6514.  40 a = ADVAL(-4)
  6515. 6.9
  6516.  50 *FX 3,0
  6517. 6.9
  6518.  60 *FX 21,3
  6519. 6.9
  6520.  70 IF a <> 1023 THEN
  6521. 6.9
  6522.  80    PRINT öPrinter not on lineò
  6523. 6.9
  6524.  90 ELSE
  6525. 6.9
  6526. 100   PRINT öPrinter on lineò
  6527. 6.9
  6528. 110 ENDIF
  6529. 6.9
  6530. 120 END
  6531. 6.9
  6532. Paul Ribworth, Gloucester
  6533. 6.9
  6534. Å    Using high density discs Ö Until the advent of the A5000, all
  6535. Archimedes computers had an 800Kb 3╜ö disc drive so the problems of
  6536. different disc densities didnæt really arise. With the introduction of
  6537. the new A3000 and A4000 series, 1.6Mb drives are becoming more common
  6538. and some users are trying to save a few pence by formatting normal
  6539. density discs to 1.6Mb.
  6540. 6.9
  6541. Users of BBC and Master computers learned that there is no point in
  6542. paying extra for 80 track discs as the cheaper 40 track were actually
  6543. identical. The same is NOT true of 800Kb and 1.6Mb discs. The magnetic
  6544. coating on high density discs uses finer particles than the coating used
  6545. on standard (double density) types. This is designed to accept higher
  6546. signal levels without distortion. When the higher capacity format is
  6547. used, the drive automatically uses a stronger magnetic field to imprint
  6548. the data on the discs surface.
  6549. 6.9
  6550. Sometimes, good quality normal density discs can accept this level but
  6551. it does represent a severe overload. Even if all appears well at the
  6552. time, the larger particles used in the normal density coating are
  6553. frequently unable to retain the high level of magnetism required so it
  6554. can leak away in time making part of the data unreadable.
  6555. 6.9
  6556. Also, you should not use high density discs in a normal density drive if
  6557. they have previously been formatted to 1.44 or 1.6Mb. The lower flux
  6558. levels used for the normal format may not be able to completely erase
  6559. the earlier data. This can then Ébreak throughæ and corrupt data saved
  6560. later at the lower flux levels used with the smaller format. It may
  6561. sometimes take more than a month for this to happen. So donæt be fooled
  6562. into thinking that everything is OK just because all seems to be well
  6563. when you first format the disc. Many Archimedes users who have
  6564. Éborrowedæ preformatted 1.44Mb discs from work to use in their 800Kb
  6565. drives have experienced this problem.
  6566. 6.9
  6567. There is no reason why you cannot use a NEW high density disc at 800Kb,
  6568. it will just be more expensive.
  6569. 6.9
  6570. Because of this, it is obviously useless to do what used to be common
  6571. practice with the old 40/80 track discs, namely try to format them to 80
  6572. tracks and if it didnæt work use them for 40 track. Once you have
  6573. attempted to format an 800Kb disc to 1.6 or 1.44 Mb there is no going
  6574. back. I have had some success using a tape head demagnetiser to
  6575. completely wipe out data on 800Kb discs which had been formatted to
  6576. 1.6Mb so that they could be reformatted to 800Kb, but not everyone has
  6577. one of these.
  6578. 6.9
  6579. PC drives all have a sensor which detects the extra hole in a high
  6580. density disc and wonæt allow you to specify the wrong format. For some
  6581. reason, Acorn didnæt implement this feature on the Archimedes although
  6582. the detector is present on all high density drives. It is therefore
  6583. possible, by accident, to format a normal density disc to 1.6Mb. On a
  6584. PC, to do this you need to drill a hole in the case of the disc so it
  6585. canæt happen unintentionally.
  6586. 6.9
  6587. The most pernicious thing about this problem is that it can lead you
  6588. into a false sense of security. A normal density disc may format
  6589. perfectly to 1.6Mb and, for months, everything will appear to be well.
  6590. Then suddenly some of the data may become slightly corrupt, although the
  6591. disc may not actually appear to have any errors.
  6592. 6.9
  6593. If your data is precious enough to be worth saving, itæs worth the extra
  6594. few pence that the proper discs cost. The only time that I have known
  6595. people use normal density discs successfully as high density was with
  6596. expensive branded discs costing about ú1.30 each. As this is
  6597. considerably more than the price of unbranded high density discs, it
  6598. seems a foolish risk to take.á David Holden, Sydenham.ááA
  6599. 6.9
  6600. Hints and Tips
  6601. 6.9
  6602. Å    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.
  6603. 6.9
  6604. 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.
  6605. 6.9
  6606. Å 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
  6607. 6.9
  6608. WimpSlot -next 864K
  6609. 6.9
  6610. inside your !Boot file.á Barry Thompson,
  6611. 6.9
  6612. 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:
  6613. 6.9
  6614. SYS öWimp_SlotSizeò,-1,<slotsize>
  6615. 6.9
  6616. where <slotsize> is in bytes (e.g. use 65536 for 64Kb.)
  6617. 6.9
  6618. Simon Moy, NCS.
  6619. 6.9
  6620. Å    !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.
  6621. 6.9
  6622. Å    Gods passwords Ö On this monthæs program disc is all you need for getting the passwords for Gods. Andrew Ferguson, London N15.
  6623. 6.9
  6624. Å    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.
  6625. 6.9
  6626. Å    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.
  6627. 6.9
  6628. 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.
  6629. 6.9
  6630. Å    Testing printersæ on-line status Ö Here is a way of testing whether the printer is on- or off-line:
  6631. 6.9
  6632.  10 *FX 3,10
  6633. 6.9
  6634.  20 PRINT CHR$(0);
  6635. 6.9
  6636.  30 a = INKEY(20)
  6637. 6.9
  6638.  40 a = ADVAL(-4)
  6639. 6.9
  6640.  50 *FX 3,0
  6641. 6.9
  6642.  60 *FX 21,3
  6643. 6.9
  6644.  70 IF a <> 1023 THEN
  6645. 6.9
  6646.  80    PRINT öPrinter not on lineò
  6647. 6.9
  6648.  90 ELSE
  6649. 6.9
  6650. 100   PRINT öPrinter on lineò
  6651. 6.9
  6652. 110 ENDIF
  6653. 6.9
  6654. 120 END
  6655. 6.9
  6656. Paul Ribworth, Gloucester
  6657. 6.9
  6658. Å    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.
  6659. 6.9
  6660. 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.
  6661. 6.9
  6662. 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.
  6663. 6.9
  6664. 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.
  6665. 6.9
  6666. There is no reason why you cannot use a NEW high density disc at 800Kb, it will just be more expensive.
  6667. 6.9
  6668. 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.
  6669. 6.9
  6670. 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.
  6671. 6.9
  6672. 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.
  6673. 6.9
  6674. 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
  6675. 6.9
  6676. Using RISCáOSá3.10
  6677. 6.9
  6678. Hugh Eagle
  6679. 6.9
  6680. More encouragement for the faint-hearted!
  6681. 6.9
  6682. 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.
  6683. 6.9
  6684. ö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.
  6685. 6.9
  6686. ö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.ò
  6687. 6.9
  6688. Å 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:
  6689. 6.9
  6690. 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.
  6691. 6.9
  6692. 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.
  6693. 6.9
  6694. Hardware problems
  6695. 6.9
  6696. 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.
  6697. 6.9
  6698. 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.)
  6699. 6.9
  6700. Program problems
  6701. 6.9
  6702. 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.
  6703. 6.9
  6704. !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?ò
  6705. 6.9
  6706. 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.
  6707. 6.9
  6708. Freddy Teddy ù Topologika supplied a new version to Tom Rank on the spot at BETT!
  6709. 6.9
  6710. 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>).
  6711. 6.9
  6712. 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!
  6713. 6.9
  6714. 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
  6715. 6.9
  6716.  90SYSá26,64,64.
  6717. 6.9
  6718. A REM statement in front of the SYS will cure the problem and the program will then run under RISCáOSá3.1.
  6719. 6.9
  6720. ö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.
  6721. 6.9
  6722. ö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.)
  6723. 6.9
  6724. 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.
  6725. 6.9
  6726. 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:
  6727. 6.9
  6728. RMKill SharedCLibrary
  6729. 6.9
  6730. and then add at the end of the file the following two lines:
  6731. 6.9
  6732. RMKill SharedCLibrary
  6733. 6.9
  6734. RMLoad SharedCLibrary
  6735. 6.9
  6736. 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.
  6737. 6.9
  6738. 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:
  6739. 6.9
  6740.     Drive 0
  6741. 6.9
  6742. 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.
  6743. 6.9
  6744. 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.
  6745. 6.9
  6746. 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!ò
  6747. 6.9
  6748. Printing
  6749. 6.9
  6750. Printing to file
  6751. 6.9
  6752. 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.)
  6753. 6.9
  6754. Using fanfold paper
  6755. 6.9
  6756. 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.ò
  6757. 6.9
  6758. Filing Systems
  6759. 6.9
  6760. Beebug 5╝ö disc interface
  6761. 6.9
  6762. 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.ò
  6763. 6.9
  6764. Dismounting between filing systems
  6765. 6.9
  6766. 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.
  6767. 6.9
  6768. Miscellaneous Hints & Tips
  6769. 6.9
  6770. Å    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æ.
  6771. 6.9
  6772. Å    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?
  6773. 6.9
  6774. Å    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.
  6775. 6.9
  6776. Å    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....
  6777. 6.9
  6778. ö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.ò
  6779. 6.9
  6780. Å    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?
  6781. 6.9
  6782. Å    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.
  6783. 6.9
  6784. The !Fonts.!Boot file should be amended as follows:
  6785. 6.9
  6786. | Boot file for !Fonts.
  6787. 6.9
  6788. | Nothing happens if you put this in | a RISCáOS 2 machine except that
  6789. 6.9
  6790. | the !Fonts sprite is set up Ö this | means that, when a RISCáOS2 !Fonts
  6791. 6.9
  6792. | directory is seen the !Boot file
  6793. 6.9
  6794. | will not be run; double clicking
  6795. 6.9
  6796. | on the appropriate !Fonts will
  6797. 6.9
  6798. | force installation.
  6799. 6.9
  6800. |
  6801. 6.9
  6802. | Take care when merging RISCáOS 2
  6803. 6.9
  6804. | fonts with these (RISCáOS 3) fonts
  6805. 6.9
  6806. | - many fonts are contained in the
  6807. 6.9
  6808. | RISCáOS 3 ROM and thus do not
  6809. 6.9
  6810. | appear in !Fonts; normally you
  6811. 6.9
  6812. | should not copy the corresponding
  6813. 6.9
  6814. | RISCáOS 2 fonts!
  6815. 6.9
  6816. Iconsprites <Obey$Dir>.!Sprites
  6817. 6.9
  6818. RMEnsure FontManager 2.89 Obey
  6819. 6.9
  6820. | The next command boots up your
  6821. 6.9
  6822. | normal font directory
  6823. 6.9
  6824. FontInstall <Obey$Dir>.
  6825. 6.9
  6826. SetEval MoreFonts 0
  6827. 6.9
  6828. The !Fonts.!Run file should be amended as follows:
  6829. 6.9
  6830. | !Run file for !Fonts,
  6831. 6.9
  6832. | version 1.05 (20-Aug-91)
  6833. 6.9
  6834. RMEnsure FontManager 2.89 Error These fonts are for use with
  6835. 6.9
  6836.  RISCáOS 2.12 or later
  6837. 6.9
  6838. |Obey <Obey$Dir>.!Boot
  6839. 6.9
  6840. | The extra *FontInstall means that,
  6841. 6.9
  6842. | if you double-click the Fonts
  6843. 6.9
  6844. | directory, all such directories
  6845. 6.9
  6846. | will be re-searched for any new
  6847. 6.9
  6848. | fonts.
  6849. 6.9
  6850. SetEval MoreFonts MoreFonts EOR 1
  6851. 6.9
  6852. IF MoreFonts=1 THEN FontInstall <Obey$Dir>. ELSE FontRemove <Obey$Dir>.
  6853. 6.9
  6854. |FontInstall
  6855. 6.9
  6856. 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:
  6857. 6.9
  6858. SetEval MoreFonts MoreFonts EOR 1
  6859. 6.9
  6860. 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.
  6861. 6.9
  6862. If you require more than one spare directory, you will need to use different variables, such as MoreFonts2 or FancyFonts.
  6863. 6.9
  6864. 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
  6865. 6.9
  6866. FontInstall <Obey$Dir>.fonts.
  6867. 6.9
  6868. and the IF...THEN statement in the !Run file has <Obey$Dir>.spare. in place of the two occurrences of <Obey$Dir>. .
  6869. 6.9
  6870. Miscellaneous Comments
  6871. 6.9
  6872. FontEd
  6873. 6.9
  6874. 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.
  6875. 6.9
  6876. 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.)
  6877. 6.9
  6878. Screen blanking during floppy disc access
  6879. 6.9
  6880. 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.ò
  6881. 6.9
  6882. Basic program compaction errors
  6883. 6.9
  6884. R. W. Darlington writes: öI am writing on a matter of utmost urgency.
  6885. 6.9
  6886. ö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.
  6887. 6.9
  6888. ö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.
  6889. 6.9
  6890. öFor instance, if the program contained the line
  6891. 6.9
  6892. 10 IF TRUE THEN VDU7
  6893. 6.9
  6894. which when compacted becomes
  6895. 6.9
  6896. 10IFTRUETHENVDU7
  6897. 6.9
  6898. the lack of space between TRUE and THEN will generate an error.
  6899. 6.9
  6900. öThe same is true for any line containing a floating point variable:
  6901. 6.9
  6902. 10 ha=TRUE
  6903. 6.9
  6904. 20 IF    ha    THEN    VDU7
  6905. 6.9
  6906. will crash when compacted because of a lack of space between ha and THEN.
  6907. 6.9
  6908. ö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.
  6909. 6.9
  6910. ö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?ò
  6911. 6.9
  6912. Matters Arising
  6913. 6.9
  6914. Setting Caps Lock (*FX 202)
  6915. 6.9
  6916. 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.
  6917. 6.9
  6918. The shortened form *FXá202,32 should turn Caps Lock on, but may have side effects.
  6919. 6.9
  6920. 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.
  6921. 6.9
  6922. The bits of the keyboard status byte have the following meanings:
  6923. 6.9
  6924.     bit    value    meaning
  6925. 6.9
  6926.     0 (1)    0    Alt off
  6927. 6.9
  6928.         1    Alt on
  6929. 6.9
  6930.     1 (2)    0    Scroll Lock off
  6931. 6.9
  6932.         1    Scroll Lock on
  6933. 6.9
  6934.     2 (4)    0    Num Lock on
  6935. 6.9
  6936.         1    Num Lock off
  6937. 6.9
  6938.     3 (8)    0    Shift off
  6939. 6.9
  6940.         1    Shift on
  6941. 6.9
  6942.     4 (16)    0    Caps Lock on
  6943. 6.9
  6944.         1    Caps Lock off
  6945. 6.9
  6946.     5 (32)        (öNormally setò)
  6947. 6.9
  6948.     6 (64)    0    Ctrl off
  6949. 6.9
  6950.         1    Ctrl on
  6951. 6.9
  6952.     7 (128)    0    Shift enable off
  6953. 6.9
  6954.         1    Shift enable on
  6955. 6.9
  6956. (This information is taken from the RISC¡OSá2 Programmersæ Reference Manual.)
  6957. 6.9
  6958. Boot-up options (Archive 6.8 p26)
  6959. 6.9
  6960. 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.
  6961. 6.9
  6962. Unexpected messages from IDE filing system (Archive 6.8 p24)
  6963. 6.9
  6964. 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
  6965. 6.9
  6966. *DIR IDEFS::IDEDisc4.$.BASIC.B
  6967. 6.9
  6968. *CAT
  6969. 6.9
  6970. he gets a catalogue of the subdirectory ÉBæ as expected. However, if he uses the abbreviated pathname instead:
  6971. 6.9
  6972. *DIR $.BASIC.B
  6973. 6.9
  6974. *CAT
  6975. 6.9
  6976. 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:
  6977. 6.9
  6978. *DIR ^
  6979. 6.9
  6980. *CAT
  6981. 6.9
  6982. it replies Directory É@æ not found.
  6983. 6.9
  6984. ÉInterruptæ module (Archive 6.6 p55)
  6985. 6.9
  6986. 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?
  6987. 6.9
  6988. Using RISCáOSá3.10
  6989. 6.9
  6990. Hugh Eagle
  6991. 6.9
  6992. More encouragement for the faint-hearted!
  6993. 6.9
  6994. Stuart Bell says: öHaving read the RISCáOS Column for the past few
  6995. months, I approached the upgrade with caution, afraid of all sorts of
  6996. installation and compatibility problems. I guess that by the nature of
  6997. the things, itæs those people who encounter problems who write in,
  6998. thereby giving a false impression of the true situation. So, if youære
  6999. still with RISCáOS 2 and thinking about upgrading, be encouraged.
  7000. Installing RISCáOS 3 on my A310, including removing the main board and
  7001. installing the IFEL ROM carrier board took about an hour from start to
  7002. finish, and I experienced no unforeseen problems.
  7003. 6.9
  7004. öHaving been warned of problems with Compression 1.1, I de-compressed
  7005. all files first. I await the free upgrade from CC. There is the reported
  7006. problem with early versions of Font-FX and thatæs in hand.
  7007. 6.9
  7008. öA couple of warnings, though: As well as powering up with <Delete>
  7009. depressed, also make sure that youæve re-connected the keyboard first.
  7010. (Donæt laugh ù it could have been you! That cost me several minutes of
  7011. panic.) Secondly, alter the Font Size figure before loading your first
  7012. Impression document, which otherwise can take several minutes to load
  7013. with a 32Kb buffer.ò
  7014. 6.9
  7015. Å Avie Electronics 4Mb A310 upgrade Ö The following information has come
  7016. from Avie: LK12 should be altered to 1-3 and 2-4. Issue 1 PCBs do not
  7017. have LK12 and require modification as follows:
  7018. 6.9
  7019. Option 1: pins 2 and 24 on all of the ROMs are to be swapped. Remove
  7020. pins 2 and 24 from each ROM socket by bending them up. Join pin 24 on
  7021. all ROMs to GND. Join pin 2 on all ROMs to LA18 on IC28, pin 18.
  7022. 6.9
  7023. Option 2: remove pin 2 from each stamped socket on PCB and strap a wire
  7024. between the pins and LA18. Likewise, pin 24 can be strapped to GND after
  7025. removing the pins in the stamped sockets.
  7026. 6.9
  7027. Hardware problems
  7028. 6.9
  7029. Watford Electronics ARM3 Ö When Colin Wood fitted a Watford Electronics
  7030. ARM3 upgrade to his A410 it didnæt work. öThe screen flashed red/blue,
  7031. but no beep. Just dead.ò As he had recently fitted RISCáOSá3, he decided
  7032. to replace the RISCáOSá2 chips and everything seemed OK, but when he put
  7033. the RISCáOSá3 chips back, again it didnæt work. Watfordæs help line
  7034. couldnæt help, so he returned the ARM3 and since they were (again) out
  7035. of stock he cancelled his order and got most (but not all, apparently)
  7036. of his money back. Another ARM3, from CJE Microæs, worked first time.
  7037. 6.9
  7038. Watford A310 RAM upgrades Ö Watford Electronics say that they are aware
  7039. that their early A305/310 RAM upgrades do not work with RISCáOS 3 but
  7040. they do not have any solution. They simply recommend that you buy one of
  7041. their newer RAM upgrades instead because they do work with RISCáOS 3.
  7042. Fortunately, IFEL have stepped into the breach. They can offer new PAL
  7043. chips to plug into the Watford boards that will solve the problem. These
  7044. PAL chips are ú3 +VAT each from IFEL and you need to state whether you
  7045. have the 2Mb or the 4Mb version. (This refers to the upgrades that
  7046. consisted of two PCBs with a ribbon cable along the RHS of the machine.)
  7047. 6.9
  7048. Program problems
  7049. 6.9
  7050. QuicKey clash Ö J. Nichols reports that, if QuicKey is loaded from
  7051. within a !Boot file, it can remove the *Opt 4,2 status from the booted
  7052. disc resulting in a disc which no longer runs a !Boot file.
  7053. 6.9
  7054. !Edit ù Following last monthæs reports of a öbugò in Edit we now have
  7055. the following from Tom Rank: öThere seemed to be a rare problem with
  7056. Edit the other day; my text (exported from Ovation) was displayed in a
  7057. most corrupted way, with a large amount of blank screen to start with
  7058. and then disintegrating words. I thought it was a problem with Ovation.
  7059. However, when I tried to show it to John Wallace of Risc Developments at
  7060. BETT, the file displayed without problems, as it did back on my own
  7061. machine the next day. Any idea why?ò
  7062. 6.9
  7063. Fun School 4 (for the under 5s) ù Tom Rank found that this ran under
  7064. RISCáOSá3.00 but not 3.10, but Europress Software supplied an updated
  7065. disc very promptly which now works.
  7066. 6.9
  7067. Freddy Teddy ù Topologika supplied a new version to Tom Rank on the spot
  7068. at BETT!
  7069. 6.9
  7070. Ovation ù Tom Rank says you are urged to obtain 1.37S (dated 17 January
  7071. 1993). This overcomes the saving with <F3> problem ù which really was a
  7072. problem, so do upgrade. They have also restored the Éselect allæ
  7073. shortcut Ö but only if you use the right-hand <Ctrl> key along with A
  7074. (to avoid the problem of catching <Ctrl-A> instead of <Ctrl-S> or just
  7075. <A>).
  7076. 6.9
  7077. This version also contains three new printing options, not documented:
  7078. Fit, Centre and Registration marks. These should be self explanatory,
  7079. but Tom is not quite sure about them!
  7080. 6.9
  7081. Break147 and SuperPool ù D. S. Allen got these to work using the
  7082. information provided by David Holden in the April column. He writes: öIn
  7083. Break147 there is one Basic program called !Snook which contains the
  7084. line
  7085. 6.9
  7086.  90SYSá26,64,64.
  7087. 6.9
  7088. A REM statement in front of the SYS will cure the problem and the
  7089. program will then run under RISCáOSá3.1.
  7090. 6.9
  7091. öSimilarly, in SuperPool there is a Basic program !Pool in the Data
  7092. directory in which line 60 has the same SYSá26,64,64 statement.
  7093. 6.9
  7094. öNote that to make these changes, people will require the read/write
  7095. version of Mark Smithæs excellent ArcFS program.ò (Or, presumably, an
  7096. equivalent utility such as SparkFS.)
  7097. 6.9
  7098. Superior Golf / Construction Set ù We reported in Archive 6.7 p43 that
  7099. Dave Wilcox had found that these did not work in RISCáOSá3.10. Rob
  7100. Brown, however, says he has had no problems with them.
  7101. 6.9
  7102. Corruption ù Rob Brown says that this can be made to work by modifying
  7103. its !Run file to kill the RISCáOSá3 Shared C Library module and load the
  7104. very old version of the module supplied with the game. To do this,
  7105. include at the beginning of the !Run file the line:
  7106. 6.9
  7107. RMKill SharedCLibrary
  7108. 6.9
  7109. and then add at the end of the file the following two lines:
  7110. 6.9
  7111. RMKill SharedCLibrary
  7112. 6.9
  7113. RMLoad SharedCLibrary
  7114. 6.9
  7115. to remove the old version and reload the RISCáOSá3 version of the
  7116. module. He points out that it may well be advisable to Quit any other
  7117. applications that may be using the RISCáOSá3 Shared C Library module
  7118. before running the game.
  7119. 6.9
  7120. Freddyæs Folly ù Rob Brown advises that this game contains a !Run file
  7121. (in Basic) which includes an automatic Éauto-configurationæ of the
  7122. computeræs memory as well as setting up a number of initial program
  7123. parameters. The various auto-configuration elements should be deleted
  7124. from this file. A further complication is that the disc is copy
  7125. protected, but it should be possible to rename the original !Run file
  7126. (to say !RunOLD) and re-save a new !Run file containing only the initial
  7127. program parameters. He also advises that the game assumes that the
  7128. default disc drive is 0. For users with a hard disc this can easily be
  7129. set by typing:
  7130. 6.9
  7131.     Drive 0
  7132. 6.9
  7133. at the command line (accessed by pressing function key <F12>) before
  7134. starting the game. Alternatively, the gameæs !Run file can be
  7135. appropriately amended by including the ö<Obey$Dir>ò command.
  7136. 6.9
  7137. NOTE: the advice on Corruption and Freddyæs Folly is included in the
  7138. program compatibility chart which Rob Brown has compiled and which has
  7139. been included on the Archive monthly program disc. He will welcome any
  7140. information which will help him to make the chart as comprehensive and
  7141. up-to-date as possible. His address is öValtaneeò, Brighton Road, Lower
  7142. Kingswood, Tadworth, Surrey, KT20 6UP.
  7143. 6.9
  7144. Aldebaran ù (see Archive 6.8 p23) Atle Mjelde Bσrdholt has contacted the
  7145. author and has learned that, on his A310 with IFELæs 2Mb upgrade, he has
  7146. to add 8Kb to the WimpSlot values in the !Aldebaran.!Run file (from
  7147. 624Kb to 632Kb). Then everything works fine. He says this might be due
  7148. to the RAM upgrade: Aldebaran seems to work fine on any other Archimedes
  7149. with RISCáOSá3.1. He adds a final bit of advice: öGet a copy!ò
  7150. 6.9
  7151. Printing
  7152. 6.9
  7153. Printing to file
  7154. 6.9
  7155. Tom Rank has found that the hint from Simon Moy in Archive 6.2.7 about
  7156. editing the number of text lines seems redundant under RISCáOSá3.10, and
  7157. that printing to a file (at least with the Epson LQ-860 driver) resulted
  7158. in a printout which aborted with an öaddress exception at &038B5BE0ò, a
  7159. frozen printer and an incomplete document (the last few millimetres were
  7160. lost). This is particularly irritating as printing to a file is the only
  7161. way, apart from buying a direct laser printer or a CC Turbo Driver, to
  7162. avoid the long wait for print out. (How about using the PROdriver shell
  7163. for use with Acorn drivers? See the review on page 43. Ed.)
  7164. 6.9
  7165. Using fanfold paper
  7166. 6.9
  7167. Tom Rank comments: öFeeding single sheets into a printer soon becomes a
  7168. pain, but sheetfeeders come expensive, so A4 fanfold paper seemed a good
  7169. idea (even though itæs about four or five times more expensive than
  7170. better quality photocopy paper at a discount stationer!). However, with
  7171. RISCáOS 3.00, I could never get the settings right, so the print always
  7172. crept up or down the page until it crossed the fold. With RISCáOS 3.10,
  7173. Iæve finally got it to work, whether by fluke Iæm not sure. Using the
  7174. LQ-860 printer driver with my Epson LQ-550 printer, the correct settings
  7175. from the paper sizes menu are: top margin 8mm and bottom margin 15mm;
  7176. save these with a name like ÉA4 Fanfoldæ and the margins can be
  7177. automatically set each time. These settings seem to work OK with single
  7178. sheets too.ò
  7179. 6.9
  7180. Filing Systems
  7181. 6.9
  7182. Beebug 5╝ö disc interface
  7183. 6.9
  7184. Stuart Bell writes: öI got my Beebug 5╝ö disc interface (date 1989) to
  7185. work by setting the step rate for an 80 track double-sided drive to 12ms
  7186. (lower values may well work; Iæm just cautious), and whereas RISCáOSá2
  7187. worked with öReadyò (switch 6 on the interface) supplied by the on-board
  7188. PAL, RISCáOSá3 works more reliably with it passed through from the
  7189. drive.ò
  7190. 6.9
  7191. Dismounting between filing systems
  7192. 6.9
  7193. According to Mike Sawle, applications which frequently switch between
  7194. filing systems seem to require the *DISMOUNT command before selecting an
  7195. alternative filing system in order to ensure correct execution. Common
  7196. error messages are Ambiguous Disc Name and Bad Error Block.
  7197. 6.9
  7198. Miscellaneous Hints & Tips
  7199. 6.9
  7200. Å    Faster copying, etc. ù Rob Davison recommends that if there is nothing
  7201. else you want to do when copying files, then click <Menu> over the filer
  7202. action window and choose ÉFasteræ.
  7203. 6.9
  7204. Å    In the midnight hour ù Atle Mjelde Bσrdholt found that, whenever he
  7205. switched his computer on between midnight and 1áa.m., a day was added to
  7206. the internal clock. He then found that this seemed to be caused by the
  7207. presence in his !Boot file of the command *SetáSys$Yeará1993 (which he
  7208. had included because he has some programs that set the year back to
  7209. 1988). When this command is removed, the midnight hour problem goes
  7210. away. Does anyone know the reason?
  7211. 6.9
  7212. Å    Fan filters and the A5000 ù Tom Rank found that, although magazines
  7213. mention the need to change the filter from time to time, there was no
  7214. mention of how to do this and on fitting the RISCáOS 3.10 upgrade he
  7215. could see no filter anyway. Is there one, he asks? The Acorn
  7216. representative at BETT told him that the design of the machine made it
  7217. superfluous; he couldnæt quite follow why, but it was something to do
  7218. with the direction of airflow.
  7219. 6.9
  7220. Å    Flippinæ objects in Draw ù Having travelled all the way from
  7221. Derbyshire to the Acorn User Show, Tom Rank öasked the man on one of the
  7222. other magazinesæ stall if there was an equivalent in Draw to the Éflipæ
  7223. option in Paint, as itæs sometimes useful to turn a picture round to
  7224. face the other way. The expert, although helpful about other items,
  7225. couldnæt tell me, but my son revealed the following tip, which he said
  7226. he thought was obvious. Must talk to him more often....
  7227. 6.9
  7228. öTo flip an object in Draw, select it and, from the Étransformæ menu
  7229. (RISCáOS 3), set x scale (or y scale or both) to Ö1 (minus 1). This also
  7230. works in the RISCáOS 2 version of Draw but there the Étransformæ option
  7231. is chosen from the Select menu.ò
  7232. 6.9
  7233. Å    Lost lines in Edit Ö Eric Ayers has found that double-clicking on
  7234. large text files to load them into Edit has caused several lines to be
  7235. missing from the middle of the text. Apparently, this does not happen if
  7236. he drags the files to the Edit icon on the icon bar. Any ideas?
  7237. 6.9
  7238. Å    More fonts in RISC-OS 3 Ö Gary Atkinson of KudlianSoft recommends the
  7239. following additions to the !Fonts.!Boot and !Fonts.!Run files to enable
  7240. one or more separate font directories to be added to and removed from
  7241. the font path simply by double-clicking on the fonts application
  7242. directory.
  7243. 6.9
  7244. The !Fonts.!Boot file should be amended as follows:
  7245. 6.9
  7246. | Boot file for !Fonts.
  7247. 6.9
  7248. | Nothing happens if you put this in | a RISCáOS 2 machine except that
  7249. 6.9
  7250. | the !Fonts sprite is set up Ö this | means that, when a RISCáOS2
  7251. !Fonts
  7252. 6.9
  7253. | directory is seen the !Boot file
  7254. 6.9
  7255. | will not be run; double clicking
  7256. 6.9
  7257. | on the appropriate !Fonts will
  7258. 6.9
  7259. | force installation.
  7260. 6.9
  7261. |
  7262. 6.9
  7263. | Take care when merging RISCáOS 2
  7264. 6.9
  7265. | fonts with these (RISCáOS 3) fonts
  7266. 6.9
  7267. | - many fonts are contained in the
  7268. 6.9
  7269. | RISCáOS 3 ROM and thus do not
  7270. 6.9
  7271. | appear in !Fonts; normally you
  7272. 6.9
  7273. | should not copy the corresponding
  7274. 6.9
  7275. | RISCáOS 2 fonts!
  7276. 6.9
  7277. Iconsprites <Obey$Dir>.!Sprites
  7278. 6.9
  7279. RMEnsure FontManager 2.89 Obey
  7280. 6.9
  7281. | The next command boots up your
  7282. 6.9
  7283. | normal font directory
  7284. 6.9
  7285. FontInstall <Obey$Dir>.
  7286. 6.9
  7287. SetEval MoreFonts 0
  7288. 6.9
  7289. The !Fonts.!Run file should be amended as follows:
  7290. 6.9
  7291. | !Run file for !Fonts,
  7292. 6.9
  7293. | version 1.05 (20-Aug-91)
  7294. 6.9
  7295. RMEnsure FontManager 2.89 Error These fonts are for use with
  7296. 6.9
  7297.  RISCáOS 2.12 or later
  7298. 6.9
  7299. |Obey <Obey$Dir>.!Boot
  7300. 6.9
  7301. | The extra *FontInstall means that,
  7302. 6.9
  7303. | if you double-click the Fonts
  7304. 6.9
  7305. | directory, all such directories
  7306. 6.9
  7307. | will be re-searched for any new
  7308. 6.9
  7309. | fonts.
  7310. 6.9
  7311. SetEval MoreFonts MoreFonts EOR 1
  7312. 6.9
  7313. IF MoreFonts=1 THEN FontInstall <Obey$Dir>. ELSE FontRemove <Obey$Dir>.
  7314. 6.9
  7315. |FontInstall
  7316. 6.9
  7317. The !Boot file is only run on the first time that the filer sees the
  7318. !Fonts application, hence the initialisation of MoreFonts to zero. Every
  7319. time the directory is double-clicked, the !Run file will toggle the
  7320. value of this variable between 0 and 1. This is done in the line:
  7321. 6.9
  7322. SetEval MoreFonts MoreFonts EOR 1
  7323. 6.9
  7324. If the value is 1, the FontInstall command adds the new directory to the
  7325. font path and initialises all of the fonts. If the value is 0, the
  7326. FontRemove command removes the temporary font directory from the font
  7327. path.
  7328. 6.9
  7329. If you require more than one spare directory, you will need to use
  7330. different variables, such as MoreFonts2 or FancyFonts.
  7331. 6.9
  7332. In practice, it is better to have a directory called fonts inside your
  7333. !Fonts application which contains your preferred normal fonts at switch-
  7334. on, and a directory called spare (for example) which contains the set of
  7335. fonts that you wish to switch in and out. Then in your !Boot file, the
  7336. FontInstall command becomes
  7337. 6.9
  7338. FontInstall <Obey$Dir>.fonts.
  7339. 6.9
  7340. and the IF...THEN statement in the !Run file has <Obey$Dir>.spare. in
  7341. place of the two occurrences of <Obey$Dir>. .
  7342. 6.9
  7343. Miscellaneous Comments
  7344. 6.9
  7345. FontEd
  7346. 6.9
  7347. When Tom Rank spoke to an Acorn representative he was told that they
  7348. were not contemplating the release of FontEd and that it is NOT public
  7349. domain. An early version got there by mistake via SID and it really
  7350. ought not, he said, to be distributed by PD libraries.
  7351. 6.9
  7352. The Acorn representative acknowledged that Acorn were unlikely to do
  7353. anything about this situation, as it was öonly an early version and
  7354. wonæt work on RISCáOS 3ò. According to Tom this is partially true; a
  7355. friend of his has had problems with version 0.28, but at least some of
  7356. the time it runs on an A5000. However, he observes that it is a pity
  7357. that Acorn actually seem to be discouraging anyone else from working on
  7358. fonts. (There is a version of FontEd on Careware 7, released in May
  7359. 1990, but it has been updated since then. Acorn havenæt objected,
  7360. presumably because of the charitable aspect. Ed.)
  7361. 6.9
  7362. Screen blanking during floppy disc access
  7363. 6.9
  7364. Stuart Bell writes: öMany things are very much more elegant in RISCáOS 3
  7365. but with one notable exception. I couldnæt believe my eyes when I saw
  7366. what happens to the screen during floppy disc accessing. Whether my ARM3
  7367. cache is dis- or enabled, in mode 24 the screen either flashes or is
  7368. blanked when loading, saving or formatting. If RISCáOS 2 didnæt need to
  7369. do this, why is it allowed now? (It did, in fact, happen in mode 21
  7370. under RISCáOSá2 ù HE.) Some re-coding is needed, even if the resultant
  7371. code is a little slower. More significantly, who was the Acorn person in
  7372. authority who thought that it is acceptable in 1993 to produce a
  7373. computer which professes to be a Éworld-beateræ which, when using floppy
  7374. discs, looks like the Sinclair Spectrum (or was it the ZX81?) reading
  7375. from cassette tape circa 1983? This just looks so tacky. I know that
  7376. serious use demands a hard disc, but first impressions count for a lot,
  7377. and a lot of demonstrations will be on floppy-based A3010æs. This is not
  7378. good enough, Acorn.ò
  7379. 6.9
  7380. Basic program compaction errors
  7381. 6.9
  7382. R. W. Darlington writes: öI am writing on a matter of utmost urgency.
  7383. 6.9
  7384. öThere seems to be a growing urge amongst programmers to use a program
  7385. compactor on Basic RunImage files. Unfortunately, I know of no Basic
  7386. compactor program that does not exhibit a certain disastrous fault.
  7387. 6.9
  7388. öIf, for instance, a Basic program contains any floating point or pseudo
  7389. variables followed by a Basic keyword or statement, then when it is
  7390. compacted and the space between the variable and the keyword is removed,
  7391. that line will generate an error.
  7392. 6.9
  7393. öFor instance, if the program contained the line
  7394. 6.9
  7395. 10 IF TRUE THEN VDU7
  7396. 6.9
  7397. which when compacted becomes
  7398. 6.9
  7399. 10IFTRUETHENVDU7
  7400. 6.9
  7401. the lack of space between TRUE and THEN will generate an error.
  7402. 6.9
  7403. öThe same is true for any line containing a floating point variable:
  7404. 6.9
  7405. 10 ha=TRUE
  7406. 6.9
  7407. 20 IF    ha    THEN    VDU7
  7408. 6.9
  7409. will crash when compacted because of a lack of space between ha and
  7410. THEN.
  7411. 6.9
  7412. öI have come across numerous examples of RunImage files which have these
  7413. errors in them. One of them is Acornæs new RISCáOS 3 !SciCalc. Others
  7414. are new versions of Translator and Creator.
  7415. 6.9
  7416. öPlease can you draw Archive readersæ attention to these problems as
  7417. soon as possible? Or, if any reader knows of a Basic compactor that does
  7418. not produce these errors, please can they let us know where it may be
  7419. obtained?ò
  7420. 6.9
  7421. Matters Arising
  7422. 6.9
  7423. Setting Caps Lock (*FX 202)
  7424. 6.9
  7425. Unfortunately, the advice I gave last month about using *FX 202 may have
  7426. been a bit confusing because, after explaining that Peter Young wanted a
  7427. command to turn Caps Lock on, I then described how to turn it off! The
  7428. command to turn Caps Lock on, leaving the other settings unchanged, is
  7429. *FXá202,0,239.
  7430. 6.9
  7431. The shortened form *FXá202,32 should turn Caps Lock on, but may have
  7432. side effects.
  7433. 6.9
  7434. Note also that, to make sure that the LED indicators are correctly
  7435. updated after a *FXá202 command, it is a good idea to follow it with the
  7436. simple command *FXá118.
  7437. 6.9
  7438. The bits of the keyboard status byte have the following meanings:
  7439. 6.9
  7440.     bit    value    meaning
  7441. 6.9
  7442.     0 (1)    0    Alt off
  7443. 6.9
  7444.         1    Alt on
  7445. 6.9
  7446.     1 (2)    0    Scroll Lock off
  7447. 6.9
  7448.         1    Scroll Lock on
  7449. 6.9
  7450.     2 (4)    0    Num Lock on
  7451. 6.9
  7452.         1    Num Lock off
  7453. 6.9
  7454.     3 (8)    0    Shift off
  7455. 6.9
  7456.         1    Shift on
  7457. 6.9
  7458.     4 (16)    0    Caps Lock on
  7459. 6.9
  7460.         1    Caps Lock off
  7461. 6.9
  7462.     5 (32)        (öNormally setò)
  7463. 6.9
  7464.     6 (64)    0    Ctrl off
  7465. 6.9
  7466.         1    Ctrl on
  7467. 6.9
  7468.     7 (128)    0    Shift enable off
  7469. 6.9
  7470.         1    Shift enable on
  7471. 6.9
  7472. (This information is taken from the RISC¡OSá2 Programmersæ Reference
  7473. Manual.)
  7474. 6.9
  7475. Boot-up options (Archive 6.8 p26)
  7476. 6.9
  7477. Peter Young has suggested that it might be better to use INKEY$ with a
  7478. delay of, say, 5 to 10 seconds instead of GET$ so that, if nobody
  7479. presses a key, the computer will continue with the boot file after a
  7480. short delay.
  7481. 6.9
  7482. Unexpected messages from IDE filing system (Archive 6.8 p24)
  7483. 6.9
  7484. Peter Young (who has a Beebug IDE interface) has confirmed that, even
  7485. after creating space for a directory cache, he still gets unexpected
  7486. messages unless he uses full pathnames. For instance, if he starts with
  7487. the commands
  7488. 6.9
  7489. *DIR IDEFS::IDEDisc4.$.BASIC.B
  7490. 6.9
  7491. *CAT
  7492. 6.9
  7493. he gets a catalogue of the subdirectory ÉBæ as expected. However, if he
  7494. uses the abbreviated pathname instead:
  7495. 6.9
  7496. *DIR $.BASIC.B
  7497. 6.9
  7498. *CAT
  7499. 6.9
  7500. he gets a catalogue of the directory ÉBASICæ even though the heading of
  7501. the directory listing correctly says that the CSD is IDEFS::IDEDisc4.$.
  7502. BASIC.B. The computeræs confusion is further demonstrated by the fact
  7503. that if he then enters:
  7504. 6.9
  7505. *DIR ^
  7506. 6.9
  7507. *CAT
  7508. 6.9
  7509. it replies Directory É@æ not found.
  7510. 6.9
  7511. ÉInterruptæ module (Archive 6.6 p55)
  7512. 6.9
  7513. In March, we reported M. P. Sawleæs request for help in getting the
  7514. Interrupt module (Archive Shareware disc 6) working under RISCáOSá3, but
  7515. since then neither he nor we have heard anything. Does no-one else use
  7516. this module? Can its author help?
  7517. 6.9
  7518.  
  7519. Using RISC OS 3
  7520. 6.10
  7521. Program points
  7522. 6.10
  7523. Å    QuicKey ù Last month (Archive 6.9 p 61), we reported a problem with
  7524. this program. Ian Copestake has written to say that this problem was
  7525. cured by an update released in April 1992 ù over a year ago! ù and was
  7526. caused by a bug in RISCáOSá3. He says that customers can always obtain
  7527. minor updates like this by returning their original disc plus ú1 worth
  7528. of postage stamps (or a reasonable overseas equivalent). He also asks if
  7529. contributors can check that they have up-to-date versions before
  7530. reporting problems.
  7531. 6.10
  7532. Å    Fourth Dimension games ù A. H. Hunt had a problem with Black Angel
  7533. (öone of the casket segments was missing at the Planet Valve (23%)ò) but
  7534. this was rectified by 4D immediately. He also says that Break147 and
  7535. Saloon Cars run (for him) without any problems.
  7536. 6.10
  7537. However, Arthur Taylor found that the hint by D. S. Allen in Archive 6.9
  7538. p62 on Break147 and SuperPool didnæt work for him. Perhaps
  7539. significantly, the relevant line of the Basic program was line 100 not
  7540. line 90 in his copy, and also his program wasnæt compressed but was
  7541. heavily protected. (I wonder whether the version of Break147 which A. H.
  7542. Hunt has would work on his machine, and whether Fourth Dimension can
  7543. supply it?)
  7544. 6.10
  7545. Å    Rotor Ö This game from Arcana does not work on RISCáOS 3 and Arcana
  7546. have, apparently, gone bust. Fortunately, Superior Software have bought
  7547. out the rights to the program and sell it as part of their öPlay it
  7548. Again, Sam 1ò compilation. Apparently, if you send your Arcana version
  7549. of Rotor to Superior with a cheque for ú10, they will send you a copy of
  7550. Play it Again, Sam 1.á John Waddell, Renfrewshire.
  7551. 6.10
  7552. Å    Recommended programs (which do work) ù Arthur Taylor strongly
  7553. recommends Simon Burrowsæ FontsPlus: he has created four fonts
  7554. directories and with FontsPlus on the iconbar he can choose to have all
  7555. or none of them active (if none, the ROM fonts are still available); if
  7556. he doesnæt load FontsPlus, then they are all available ö... simple as
  7557. that!ò
  7558. 6.10
  7559. He says that other PD or shareware programs that seem to work fine with
  7560. RISCáOSá3.10 include: DiskBase v0.65, DiskCat v1.50 (disc cataloguers),
  7561. FuncKeys v2.02 and KeyWindow v1.40 (keystrips and keys from the desktop)
  7562. and a super neat new mode changer from Dave Thomas: !Mode v1.03 ù it can
  7563. store up to 8 modes in a small desktop window and seems very well
  7564. behaved.
  7565. 6.10
  7566. Å    Watford scanner Ö In Archive 6.8 p27, we reported problems with the
  7567. Watford Handscanner (1990, issue 2). Apparently, there is an upgrade to
  7568. the software (version 1.1) available from Watford.á D Webb, Cumbernauld.
  7569. 6.10
  7570. Disc drive problems
  7571. 6.10
  7572. Å    360Kb PC discs Ö Richard Fallas writes: öWhile trying to transfer data
  7573. to the hard drive of an old PC recently, I discovered that there are no
  7574. hard and fast rules about compatibility with 40 track discs. Previously,
  7575. I had used my switchable 40/80 track 5╝ö drive (with Beebug Interface)
  7576. under the emulator, having set up a suitable device in the config.sys
  7577. file. This no longer works under RISCáOS 3.10, so I tried to transfer
  7578. directly.
  7579. 6.10
  7580. öThe disc format was correctly identified and the files written (with
  7581. switch set to 80 track) without hitch, but the PC didnæt want to read
  7582. them (using copy *.*), although it would give me the directory listing.
  7583. 6.10
  7584. öBeing stubborn, I tried again, saving and copying file by file. This
  7585. worked... sometimes! The longer the file the greater the chance of a
  7586. glitch, but eventually I got all the files across. This worked on files
  7587. up to 75Kb in size, so persevere!ò
  7588. 6.10
  7589. Å    IDE drives ù Arthur Taylor advises that you should not assume that the
  7590. IDE support built into RISCáOSá3 will work with an IDE drive that has
  7591. been added to a pre-A5000 computer. He found with his IDE drive supplied
  7592. by DT that he had to set the number of IDE discs to zero in !Configure
  7593. and then run DTæs setup, after which he had no problems.
  7594. 6.10
  7595. Å    ST506 drive fitted to an A3000 ù Tony Flaherty was interested to read
  7596. of the hardware problem experienced by Colin Wood (Archive 6.9 p61) when
  7597. fitting a ARM3 to his A410, since he has recently experienced a similar
  7598. problem with his A3000. He writes:
  7599. 6.10
  7600. öI have a basic ARM2 machine with RISC OS 3.1 and an Orion 2 Mb upgrade. 
  7601. I recently added an external 20 Mb ST506 hard disc using an ex-PC MFM
  7602. drive and an Acorn external controller. The drive and a suitable power
  7603. supply/fan sit in a home-made expansion box.  I suffer the usual A3000
  7604. problems with regard to the oxidation of the memory connectors.  The
  7605. hard disc also tends to generate defects if the system is powered down
  7606. in an abnormal way (i.e. not <ctrl-shift-f12>).
  7607. 6.10
  7608. öMy problem was symptomatically the same as Colinæs in that, initially,
  7609. the system froze completely while I was editing a First Word Plus
  7610. document eventually forcing me to press <reset>. The screen flashed red
  7611. then blue with no further action Ö a power down produced the same
  7612. results, I tried this several times to no avail. Finally in desperation,
  7613. I opened the box but nothing looked out of place (no charring or loose
  7614. leads).  I powered up the machine and this time all was well, however,
  7615. when I verified the disc 20 or defects were reported, when these were
  7616. added to the discæs defect list, using *DEFECT, some of the files within
  7617. the first Word Plus application directory where corrupt and this had to
  7618. be restored from a backup.ò
  7619. 6.10
  7620. Tony wonders, therefore, whether Colin Woodæs assumption that his
  7621. problem related directly to the ARM3 upgrade was correct.  Could the
  7622. problem lie with RISC OS 3.1?  Does anyone have any views on this?
  7623. 6.10
  7624. Other matters arising
  7625. 6.10
  7626. Å    Cache control Ö In response to the comments about difficulty on
  7627. RISCáOS 3 with hares, tortoises and ARM3s, David Percival has sent in an
  7628. application that controls it properly. It evens notices if you have
  7629. typed in a cache-on or cache-off command or have executed one within a
  7630. program and it still displays the correct icon on the iconbar!á David
  7631. Percival, Swanley.
  7632. 6.10
  7633. Å    Redraw problems (Archive 6.8 p29) Ö A problem of incorrect screen re-
  7634. drawing in !Edit was mentioned. Tim Nicholson has had the same problem
  7635. with Deskedit! He says it seems to be a particular problem with
  7636. unformatted text that only has carriage returns/line feeds as paragraph
  7637. breaks and nowhere else. Since both pieces of software have the same
  7638. problem, he wonders if the bug is in the SharedCLib? Has anyone else had
  7639. the same problem?
  7640. 6.10
  7641. Å    Printing after Artworks (Archive 6.5 p31 and 6.8 p24) ù Roger King
  7642. reported a problem with spurious fine horizontal lines about 4mm long
  7643. scattered throughout printouts when printing from another application
  7644. after printing from Artworks. Steve Hutchinson found that putting his
  7645. LaserDirect podule in a different slot (as recommended by Computer
  7646. Concepts) solved this problem for him. Unfortunately, this didnæt work
  7647. for Roger. However, he has now found a cure: after printing from
  7648. Artworks, select öQueue controlò from the printer icon and then select
  7649. öFlush bufferò. He observes that it would seem that Artworks is leaving
  7650. something önastyò in the printer buffer, although a CC representative
  7651. with whom Roger discussed the problem suggested that Acornæs printer
  7652. drivers might be at fault.
  7653. 6.10
  7654. Å    Photocopying via LaserDirect (Archive 6.8 p24) ù Tim Powys-Lybbe has
  7655. got version 2.10 of the LaserDirect printer driver which works quite
  7656. satisfactorily and he has no more problems öphotocopyingò from Scanlight
  7657. Plus.
  7658. 6.10
  7659. He adds cryptically that ösome things may not print totally as one would
  7660. expect in Paint or Scanlight Plus, particularly their positioning on the
  7661. page, but putting them into Draw or Impression totally solves the
  7662. problem.òááA
  7663. 6.10
  7664. Hints and Tips
  7665. 6.10
  7666. Å    Altering Impression frames Ö Here is another one of those hints that
  7667. everyone but me probably knew about all the time: If you want to change
  7668. the attributes of several different frames, (like making them all
  7669. transparent) all you do is click on the first frame, call up Alter frame
  7670. (with <ctrl-f10>), make the changes and then click OK with <adjust>
  7671. instead of <select>. This keeps the Alter frame dialogue box on screen.
  7672. Then click <select> on the next frame to be changed and make the change
  7673. in the Alter frame dialogue box which is still there on screen. This
  7674. speeds things up no end.á Jochen Konietzko, K÷ln, Germany.
  7675. 6.10
  7676. Å    Background printing Ö Various comments in Archive have suggested that
  7677. you need the Ace PROdriver in order to get background printing. However,
  7678. Keith Sloanæs PD program !Spooler (on Shareware 24) works with a
  7679. Panasonic 1124 + Impression II on RISCáOS 3.11 Ö cheaper than using a
  7680. PROdriver!á Chris Dawson, Derby.
  7681. 6.10
  7682. Å    Disc storage boxes Ö Looking for new disc storage boxes? Look no
  7683. further than your local Supermarket or D.I.Y. Superstore! I have
  7684. recently purchased the Moduleá2000 Box and Lid (Ref. noæs. Unitá2 and
  7685. Lidá2) manufactured by Addis, the plastic kitchen accessory
  7686. manufacturers. The size of the box is 450╫190╫127.5mm and comes in
  7687. various colours. The combined cost of the box and lid recently was ú4.78
  7688. and it holds approximately 144 discs. (I have arranged them in four
  7689. rows, each holding 36 discs). What is more, it is made in Britain, like
  7690. the Acorn Archimedes, and better in style and strength. Give me Addis
  7691. any time!á Timothy Brown, Kent.
  7692. 6.10
  7693. Å    Floptical drives Ö I offer the following as ÉHintsæ arising out of the
  7694. fairly extended process of getting my floptical drives to work (with
  7695. much help from Morley), in the hope that they will be useful to other
  7696. new owners.
  7697. 6.10
  7698. The drive will not work at all with older ROMs fitted to the SCSI
  7699. interface board Ö you need version 1.12 at least. If you already have a
  7700. SCSI hard disc (or other SCSI peripheral) there should be no termination
  7701. resistors in the floptical drive. They are easily removed but you have
  7702. to remove the drive from its case first Ö they are close to the ribbon-
  7703. cable connector on the underside of the drive.
  7704. 6.10
  7705. The drive is recognized as two devices. The 21Mb disc counts as a hard
  7706. disc and appears as SCSIDrive5 in my case (as I already had a SCSI
  7707. drive), while the facility for reading and writing to ADFS discs counts
  7708. as a floppy drive. I could not get the floppy device to be recognized at
  7709. all using the SCSI_conf program on Morleyæs support disc, but had to do
  7710. it manually, using: *configure scsifslink 0 2 (followed by a reset).
  7711. This gives a Éfloppyæ icon called SCSIDrive0. (My drive arrived set up
  7712. as SCSI device 2 Ö you would need to modify the configure command if it
  7713. was set up to be another number.) There is no conflict between the SCSI
  7714. and ADFS floppy drives, although they are both called 0, and anyway the
  7715. computer will not allow you to call the SCSI floppy drive 1 if there is
  7716. no SCSI floppy drive 0.
  7717. 6.10
  7718. The writing under the SCSI drive icons changes from the drive name to
  7719. the disc name when a disc is mounted. This is potentially confusing
  7720. until you know about it, because the default name of the 21Mb disc is
  7721. the number of the drive. I got into even worse confusion because I had
  7722. tested the Floptical on its own, so the disc became labelled ödisc4ò.
  7723. When I restored the real SCSI hard disc as well as the Floptical, I got
  7724. an error message saying there was a conflict of disc names.
  7725. 6.10
  7726. By the way, since the floptical drive will not format discs, does anyone
  7727. know of a source of high-density floppies formatted ADFS 1.6Mb? Philip
  7728. Draper, Borehamwood.
  7729. 6.10
  7730. In view of this problem with flopticals being unable to format 1.6Mb
  7731. discs, we are offering pre-formatted discs at ú17 for 10. Ed.
  7732. 6.10
  7733. Å    Pocket Book battery connections Ö The middle battery connector on the
  7734. Pocket Book/Psion 3 does not allow the use of AA batteries with indented
  7735. positive and/or negative terminals (e.g. Ever Readyæs rechargeable
  7736. cells.)á Paul Bisonnette, Otterfing, Germany.
  7737. 6.10
  7738. Å    SigmaSheet does not return to the desktop neatly. If programs such as
  7739. Ovation are running, their Alt-key combinations will be lost when
  7740. SigmaSheet returns. To solve this, amend the SIGSHEET program as
  7741. follows. Look at the end and find DEFPROCexit and change it to read:
  7742. 6.10
  7743. DEFPROCexit
  7744. 6.10
  7745. *FX 4
  7746. 6.10
  7747. ON:*FX 225,1
  7748. 6.10
  7749. *RMReInit InternationalKeyboard
  7750. 6.10
  7751. IF INKEYÖ2 : END : ELSE *Quit
  7752. 6.10
  7753. John Waddell, Renfrewshire.ááA
  7754.  
  7755. Hints and Tips
  7756. 6.11
  7757. Å    Amstrad CPC monitor link Ö Let me describe how to use the old monitor
  7758. left over from your Amstrad CPC for emergency use with your Archimedes.
  7759. 6.11
  7760. You need a six-pin, 270-degree DIN female plug, like the one in your
  7761. CPC, a normal D-sub nine-pin male, to plug into your RGB socket on the
  7762. computer and some soldering skill. (If you use an A5000 or later, you
  7763. need a 15-pin VGA-compatible plug, instead.)
  7764. 6.11
  7765. To make the setup even more user-friendly, you should invest in a two-
  7766. way, double switch, to cater for both mono and colour monitors.
  7767. 6.11
  7768. The DIN plug has six pins, with the centre pin being mono-in. When seen
  7769. from the rear with the soldering lugs towards you, (as in the diagram
  7770. opposite) the pin for the red is top left (1), then comes green (2),
  7771. blue (3), sync (4) and signal earth (5).
  7772. 6.11
  7773. On the 9-pin D-sub, pin number 1 is red, 2 is green and 3 is blue. Pin
  7774. number 4 is sync and 7 signal earth. The rest are unused. The
  7775. arrangement on the new machines is slightly different, as there are more
  7776. pins, but it is essentially the same!
  7777. 6.11
  7778. Basically you connect 1 to 1, 2 to 2 and 3 to 3, but the addition of a
  7779. switch makes it much more useful. Before starting, switch on the
  7780. computer while pressing <0>, to change to monitortype 0 for 50Hz
  7781. monitors and TVs.
  7782. 6.11
  7783. The switch on the cable is essential under two circumstances: You might
  7784. also want to use your TV as a colour monitor. Then you have to use the
  7785. Amstrad TV MP-2 modulator (still available). That does not use the
  7786. central monochrome pin, but the normal three RGB pins. You could make
  7787. two converters of course, but you might forget which is which. Instead,
  7788. you just flip the switch if the picture looks odd! Those with TVs that
  7789. accept RGB through the SCART connector should use those, of course!
  7790. A3010 owners should first try connecting to a TV, but the green CPC
  7791. monitor should be much sharper, if not having a higher resolution!
  7792. 6.11
  7793. Sometimes, when running some games like MiG-29M, you might want to
  7794. switch back and forth as the headup display is almost invisible against
  7795. the sky if you have all colours connected to the middle pin. By
  7796. momentarily switching to the colour setting, everything yellow will
  7797. become easily visible, as it becomes black (or more correctly, a black-
  7798. ish green, if you use the green monochrome monitor)!
  7799. 6.11
  7800. Turbo Challenge II becomes a real challenge in green. Chopper Force,
  7801. Bughunter II and Taipei work fine in green. Impression, Vector and
  7802. ArtWorks are essentially monochrome, if you donæt add colour yourself,
  7803. so they are not affected!á Tord Eriksson
  7804. 6.11
  7805. Å    BASIC64 application Ö I have, for a long time, toyed with the idea of
  7806. testing BASIC64, by running the PCW Benchmarks with it. The normal way
  7807. would be to RMLoad the BASIC64 module and then type *BASIC64 Ö not very
  7808. user-friendly, as you have to type in the paths each time.
  7809. 6.11
  7810. Remembering David Pillingæs advice on the uses of the OSCLI command
  7811. (very odd to me, brought up on Spectrums and mainframes!) I wrote the
  7812. following Basic lines:
  7813. 6.11
  7814. *DIR SCSI::Conner170M
  7815. 6.11
  7816. *DIR OldRubbish.BASIC.BenchMARK
  7817. 6.11
  7818. *CAT
  7819. 6.11
  7820. INPUT öWhich file? ò;a$
  7821. 6.11
  7822. OSCLI ö*BASIC64 -quit ò + a$
  7823. 6.11
  7824. The *CAT shows me which files are available and OSCLI ö*BASIC64 -quitò
  7825. loads BASIC64 runs the program a$ and then quits. Your version will have
  7826. to include your drives and directories, of course! This programming
  7827. fragment, I called !RunImage.
  7828. 6.11
  7829. Put this in the directory you have made called !Run64.
  7830. 6.11
  7831. To make this an application, steal some !Sprites from a program you
  7832. like, rename the individual icon sprites to !Run64 and sm!Run64.
  7833. 6.11
  7834. The next step is to make a copy of BASIC64 and drop that into the
  7835. directory. Now for the !Run file:
  7836. 6.11
  7837. Iconsprites <Obey$Dir>.!Sprites
  7838. 6.11
  7839. RUN <Obey$Dir>.BASIC64 -QUIT <Obey$Dir>.!RunImage
  7840. 6.11
  7841. Alternatively, you could run the copy of BASIC64 that you might have in
  7842. your systemæs modules directory.
  7843. 6.11
  7844. It seems idiotic to run BASIC64, in order to run BASIC64, to run the
  7845. program you have selected, but it works perfectly.
  7846. 6.11
  7847. I tried using the more logical *RMLoad BASIC64, but then you fall into
  7848. the editor and we do not want that!
  7849. 6.11
  7850. Finally, you need a !Boot file:
  7851. 6.11
  7852. Iconsprites <obey$Dir>.!Sprites
  7853. 6.11
  7854. (A sample Basic64 application is on this monthæs program disc.)á Tord
  7855. Eriksson
  7856. 6.11
  7857. Å    ColourCard and VIDC software Ö After I had installed my ColourCard and
  7858. (thanks to a hint in Archive) realised that I still would have to use a
  7859. VIDC module (Careware 18) to make my monitor display modes 12 and 15, a
  7860. problem arose. I had configured my machine to one of those wonderfully
  7861. large screen modes (1152╫848 logical pixels), and then when I found the
  7862. time to play a mode 15 game, (Tower of Babel, which is completely mouse-
  7863. controlled), there was no pointer!
  7864. 6.11
  7865. This is what Nigel Star of Wild Vision told me: In a ColourCard mode,
  7866. the VIDC pointer is disabled and some games donæt re-enable it so all
  7867. you have to do is switch to mode 15 first, and only then start the
  7868. game.á Jochen Konietzko, K÷ln.
  7869. 6.11
  7870. Å    Combatting fiddlers Ö A solution for teachers who suffer from children
  7871. Éfiddlingæ with the palette, task windows, applications accessing the
  7872. hard disc and destroying files might be to use the RMKill command in the
  7873. !Boot file. Any or all of the following lines can be added to the !Boot
  7874. file.
  7875. 6.11
  7876. RMKill ResourseFiler
  7877. 6.11
  7878. RMKill ADFSFiler
  7879. 6.11
  7880. RMKill PaletteUtil
  7881. 6.11
  7882. RMKill Taskmanager
  7883. 6.11
  7884. This will leave the iconbar empty. Pressing <reset> will give error
  7885. messages. If you want a particular program to run, this could be done
  7886. from the !Boot file or from an application launcher such as !Menon or
  7887. !Two. Directories can be opened in the same way. Switching on whilst
  7888. holding down <shift> avoids running the !Boot file and returns icons to
  7889. the iconbar.á Paul Harrigan, Hong Kong.
  7890. 6.11
  7891. Å    DragASprite module Ö After seeing the tip on the dragging of solid
  7892. sprites from a previous Archive, I decided to explore the DragASprite
  7893. module for myself. I have not worked on it exhaustively but I have come
  7894. across the following which users could put in their Basic programs.
  7895. 6.11
  7896. The DragASprite module supports two SWIs but the more useful of these
  7897. two is the SWI DragASprite_Start. It requires the following parameters:
  7898. 6.11
  7899. R0    control value
  7900. 6.11
  7901. R1    1 (this seems to be the only value that works)
  7902. 6.11
  7903. R2    pointer to sprite name
  7904. 6.11
  7905. R3    points to start coordinates of the drag box
  7906. 6.11
  7907. The control value consists of bits which affect the drag. The only ones
  7908. I have worked out are:
  7909. 6.11
  7910. bit 6    allow dragging outside graphics window
  7911. 6.11
  7912. bit 7    shadow the sprite
  7913. 6.11
  7914. Bits 0 and 4 seem to allow only the value 5, as far as I can work out.
  7915. 6.11
  7916. I have found that the two most useful values for the control value in R0
  7917. are:
  7918. 6.11
  7919. &85    non-shadowed drag outside the graphics window
  7920. 6.11
  7921. &C5    shadowed drag outside the graphics window
  7922. 6.11
  7923. R2 points to the first character of a string which is the name of the
  7924. sprite to be used for the drag, for example öfile_fecò.
  7925. 6.11
  7926. R3ápoints to four 32-bit coordinates which describe the start and size
  7927. of the drag box (which is the same size as the sprite).
  7928. 6.11
  7929. This is about all I have been able to work out in the time I have spent
  7930. on it, but it is possible to modify Basic programs using the Save As
  7931. window to use DragASprite_Start instead of Wimp_ DragBox.
  7932. 6.11
  7933. For example, in FormEd 1.24, modify line 4810, which normally reads:
  7934. 6.11
  7935. 4810 SYS öWimp_DragBoxò,,q%
  7936. 6.11
  7937. to
  7938. 6.11
  7939. 4810 SYS öDragASprite_Startò,&C5 ,1,öFile_fecò,q%+8
  7940. 6.11
  7941. Iæm sure a similar fix could be used for other programs to give solid
  7942. sprite dragging.á Robin Terry, Newcastle upon Tyne.
  7943. 6.11
  7944. (Those who can afford ú100 for a RISCáOS 3 PRM will find more details on
  7945. page 3-299. Ed.)
  7946. 6.11
  7947. Å    Free space on hard discs Ö In Hints and Tips, Archive 5.12, Steve
  7948. Drain asked if the same problem of allocating 28Kb to each new directory
  7949. applies to IDE drives. I checked this for my A5000 40Mb drive and found
  7950. that 7Kb is allocated per directory which seems a reasonable compromise.
  7951. This is lucky as there seems to be no way to alter the default format
  7952. using HForm.
  7953. 6.11
  7954. N.B. Count only reports the size of the data, not the actual space used
  7955. on the disc. This can only be found by using *FREE from the command line
  7956. before and after creating a directory/file and subtracting the values.
  7957. 6.11
  7958. The structure of !Fonts is where most directories occur. In my case,
  7959. there are 111 directories requiring 777Kb of space initially, but since
  7960. each contains over 7Kb of data for IntMetrics and Outlines, the space is
  7961. not wasted. However, if 28Kb were allocated, as with Steveæs make of
  7962. SCSI drive, then 111 ╫ 28 = 3108Kb would be allocated. In my case, only
  7963. 2625Kb would be used as font data, losing 483Kb on fonts alone! When
  7964. Computer Concepts released Compression, I thought that this would solve
  7965. space problems, but I was told by CC that it retains the directory
  7966. structure (I assume with the same overheads per directory) and is not
  7967. very effective at reducing the disc space taken up by !Fonts.
  7968. 6.11
  7969. I have now installed SparkFS from David Pilling. Although each compacted
  7970. Spark file can contain lots of directories when opened, to the IDE
  7971. filing system it is only one file and only allocates one lot of 7Kb (or
  7972. 28Kb for Steve). So it is not sensible to have a Spark file containing
  7973. less than 7Kb. (The Count facility is misleading as it only gives the
  7974. size of compressed data not the space allocated by the IDE drive.) There
  7975. is a speed penalty for using a Spark file but there is also a Spark
  7976. directory option which is a lot faster according to the booklet although
  7977. it seems to have a much larger disc space requirement of about 14Kb
  7978. which does not all seem to be recovered.
  7979. 6.11
  7980. So the conclusions seem to be:
  7981. 6.11
  7982. 1)    If possible, reformat with the smallest file allocation.
  7983. 6.11
  7984. 2)    Only create a new directory if you are going to store an amount of
  7985. data comparable with the directory space (7Kb for my IDE drive, 28Kb for
  7986. Steveæs original SCSI).
  7987. 6.11
  7988. 3)    Be aware of the overheads due to any compression system you use,
  7989. checking by using *FREE at the command line (particularly if it retains
  7990. directories.)
  7991. 6.11
  7992. 4)    If using SparkFS on an A5000, ensure any Spark file will contain
  7993. at least 7Kb of data.
  7994. 6.11
  7995. 5)    If space is tight, remember that a Spark directory will have space
  7996. overheads although it is faster.
  7997. 6.11
  7998. It would be interesting to hear the findings from other people using
  7999. other compression systems, types of drive and any information on
  8000. reformatting A5000 IDE drives with different file allocation sizes.á
  8001. Alan Dawes, Ilford
  8002. 6.11
  8003. Å    Help_ with menus in C Ö In Archive 6.10 p8, Richard Simpson asks about
  8004. using help_ with menus. I enclose a program (on the monthly program
  8005. disc) to demonstrate a solution.
  8006. 6.11
  8007. The program offers help via !Help in the following situations:
  8008. 6.11
  8009. ááÅ    The main iconbar icon.
  8010. 6.11
  8011. ááÅ    Menu (with sub-menu) from from the iconbar.
  8012. 6.11
  8013. ááÅ    Dialogue box from iconbar, including special processing for
  8014. version details.
  8015. 6.11
  8016. ááÅ    A simple window.
  8017. 6.11
  8018. ááÅ    Menu from the simple window.
  8019. 6.11
  8020. The program doesnæt actually do anything and is quite long, so I wonæt
  8021. attempt to explain its operation here. There are a number of comments in
  8022. the code which should, hopefully, be sufficient for a C programmer using
  8023. help_.
  8024. 6.11
  8025. The short-hand strings supported by !Help are (this is from !Helpæs
  8026. message file), note the spaces:-
  8027. 6.11
  8028. \SááæClick SELECT to æ
  8029. 6.11
  8030. \AááæClick ADJUST to æ
  8031. 6.11
  8032. \GááæThis option is greyed out because æ
  8033. 6.11
  8034. \DááæDrag SELECT to æ
  8035. 6.11
  8036. \wááæwindowæ
  8037. 6.11
  8038. \aááæADJUSTæ
  8039. 6.11
  8040. \RááæMove the pointer right to æ
  8041. 6.11
  8042. \TááæThis is the æ
  8043. 6.11
  8044. \WááæThis window is æ
  8045. 6.11
  8046. \dááæDrag ADJUST to æ
  8047. 6.11
  8048. \sááæSELECTæ
  8049. 6.11
  8050. Please bear in mind that the documentation in Releaseá4 is sketchy and
  8051. this may not be Acornæs preferred solution, but it works. Hope this is
  8052. of some use.á Joe Wood, Goring-by-Sea.
  8053. 6.11
  8054. Å    Impression master pages Ö To create a document with the same master
  8055. page as an earlier document in Impression, load the first document, save
  8056. a new copy with a new name, create a new chapter with the following
  8057. choices: Insert after current chapter / Restart page at 1 / Copy master
  8058. page and delete all of the chapters except the new one.á George Foot,
  8059. Oxted.
  8060. 6.11
  8061. Å    Numeric resets Ö I have a 420/1 and, because of lack of space on the
  8062. table where the computer lives, the keyboard has to be kept upright
  8063. behind the computer when it is not in use. One day, I turned the
  8064. computer on and was greeted by a display moving rapidly upwards and
  8065. slowly sideways. Adjusting the monitor had no effect. It turned out that
  8066. one of the numeric keys was being held down by the corner of the monitor
  8067. and the monitor type had been reconfigured as I switched on. So, if you
  8068. keep your keyboard upright (yes, I know itæs bad practice, but where
  8069. else can I keep it?) and your display goes crazy, try a <numeric> reset
  8070. before panicking!á P Young, Cheltenham
  8071. 6.11
  8072. Å    Pocket Book and BJ10ex problems Ö It appears that the Pocket Bookæs
  8073. built in Canon BJ10e driver does not work correctly with the Canon
  8074. BJ10ex. We have a printer driver (supplied to us from Psion via Richard
  8075. Collinson) which works. If you have this printer, send us a formatted
  8076. SSD or a disc and your problems will be over. Psion can also supply
  8077. other drivers on SSD if necessary.á Simon Moy, Archive.
  8078. 6.11
  8079. Å SigmaSheet revisited Ö John Waddellæs SigmaSheet fix in last monthæs
  8080. Hints & Tips requires one more line within DEFPROCexit: *Country UK.
  8081. 6.11
  8082. Å    Solid icons Ö If the Édrag solid file iconsæ option is set in RISC OS
  8083. 3, it causes applications like DrawPlus to reject the file as being of
  8084. an incompatible file format. This prevents files being dragged between
  8085. applications in the normal way.á Mike McNamara, Dunstable.ááA
  8086. 6.11
  8087. Using RISCáOSá3.10
  8088. 6.11
  8089. Hugh Eagle
  8090. 6.11
  8091. Neil Dickson asks a jolly good question: have I or Archive ever had any
  8092. response from Acorn indicating that they are paying attention to this
  8093. column? Well, I havenæt (yet) and I think Paul would have told me if he
  8094. had. Surely, itæs inconceivable that Acorn are not interested in the
  8095. experiences that have been recounted, the suggestions offered and the
  8096. views expressed here. Isnæt it? Perhaps weæll have some comment for next
  8097. month. Letæs wait and see ...
  8098. 6.11
  8099. RISCáOSá4 Wish List (continued)
  8100. 6.11
  8101. Å    Alarm ù (a) An option to display the digital clock not on the iconbar
  8102. but at the top right corner of the screen in front of all other windows.
  8103. (b) An option to set an alarm that goes off after every n (settable)
  8104. minutes Ö to remind you just how much time you are spending on the
  8105. machine!!?? (Rex Palmer)
  8106. 6.11
  8107. Å    Shutdown ù The <shift-ctrl-F12> routine should dismount any floppy
  8108. discs that may be present, then remind the user that they are still
  8109. there. (Peter Young)
  8110. 6.11
  8111. All the following are from Neil Dickson:
  8112. 6.11
  8113. Å    Paint ù (a) Allow local fills with the ömaskò colour. (b) Use outline
  8114. fonts.
  8115. 6.11
  8116. Å    Edit ù (a) Use multiple fonts (and maybe accept graphic files: i.e.
  8117. have a simple wordprocessing option). (b) Update the font list each time
  8118. a new font directory is loaded (like Draw and Impression do.)
  8119. 6.11
  8120. Å    Printers ù (a) Put as much as possible of the code into ROM, to save
  8121. loading time. (b) A quicker method of ötogglingò within !Printers when
  8122. deciding which are active and which are inactive.
  8123. 6.11
  8124. Å    Calc ù Make it better, but less complicated than SciCalc. (E.g.
  8125. include memory buttons and a percentage button, and allow
  8126. multiplication, division, etc, by a constant.)
  8127. 6.11
  8128. Å    Draw ù (a) Optional detachable toolbox. (b) An option for redefining
  8129. the toolbox (e.g. to include zoom and edit tools.) (c) Patterned fills
  8130. (hatching, stripes, etc.)
  8131. 6.11
  8132. Å    Tidy windows ù Include a öTidy windowsò option on the desktop.
  8133. 6.11
  8134. Å    Filer multitasking ù An option to make all filer actions (load and
  8135. save, disc mounting, etc) multitask.
  8136. 6.11
  8137. Å    Replacement of system font ù Optional replacement of the system font
  8138. by an outline font on the desktop (like the Germans seem to have already
  8139. in RISCáOSá3.12)!
  8140. 6.11
  8141. Å    RMFaster ù An option to RMFaster various modules, such as
  8142. SharedCLibrary, from the Task Manager (rather than having to type in the
  8143. command at the command line).
  8144. 6.11
  8145. Å    Virtual memory ù For hard disc users.
  8146. 6.11
  8147. Å    Built in sounds ù A greater variety.
  8148. 6.11
  8149. Å    Simpler mode changing ù A less fiddly method.
  8150. 6.11
  8151. Å    Keyboard emulation of the mouse ù e.g. using <Alt> and the arrow keys.
  8152. 6.11
  8153. Å    Auto-scrolling of font menus ù Make the list of fonts scroll
  8154. automatically when the pointer reaches the bottom.
  8155. 6.11
  8156. Å    Compression of sprite files ù Either in addition to, or instead of,
  8157. compression of entire discs, arrange for sprite files to be compressed
  8158. always.
  8159. 6.11
  8160. Å    Font management ù Put a Font Manager on the icon bar showing a list of
  8161. available directories which you can select and deselect by clicking.
  8162. (Sounds like !FMaster from Risc User.)
  8163. 6.11
  8164. Miscellaneous
  8165. 6.11
  8166. Superfluous icons in template definitions
  8167. 6.11
  8168. Mick Day has found numerous examples of template definitions in standard
  8169. RISCáOSá3 applications which contain extra unused icons. The ösaveò
  8170. window in Alarm is just one example: this has four superfluous icons.
  8171. (To see for yourself: find the template file inside Resources:$.
  8172. Resources, load it into FormEd, use the menu to assign vertical and
  8173. horizontal scroll bars and a size icon, then scroll around the window.)
  8174. He has also noted inconsistent naming of templates and numbering of
  8175. icons. If you use existing windows borrowed from existing applications,
  8176. beware that the templates may require more memory than you might expect
  8177. because of the space taken by the extra icon definitions and pay close
  8178. attention to the icon numbering. As Tim Nicholson comments: it is a
  8179. great pity that Acorn did not supply a suitable öcleanò set of templates
  8180. to work from.
  8181. 6.11
  8182. öOS_Findò and image filing systems
  8183. 6.11
  8184. In one of my programs, I need to be able to check that a specified
  8185. filing system object (which might be either a file or directory) is
  8186. actually present and, in particular, is not on a floppy disc that has
  8187. been removed. In RISCáOSá2, I found that the following code seemed
  8188. fairly foolproof:
  8189. 6.11
  8190. ON ERROR LOCAL:PROCReport(öCanæt find ò+Object$):ENDPROC
  8191. 6.11
  8192. SYS öOS_Findò,&40,Object$ TO FileHandle%
  8193. 6.11
  8194. IF FileHandle%<>0 THEN SYS öXOS_Findò,0,FileHandle%
  8195. 6.11
  8196. RESTORE ERROR
  8197. 6.11
  8198. This relied on the fact that the SWI call öOS_Findò,&40 (which is the
  8199. general routine for opening a file) should öopenò Object$ whether it is
  8200. a directory or a file. However, with the arrival of öimageò filing
  8201. systems such as DOSFS and SparkFS, I found that this wouldnæt work,
  8202. because an attempt to öopenò a directory inside an image filing system
  8203. (e.g. a directory inside a SparkFS archive) resulted in an error
  8204. (contrary to the rules set out in the Programmeræs Reference Manual).
  8205. 6.11
  8206. David Pilling says öthere are two entry points to SparkFS, one via the
  8207. OS image filing system, the other via a traditional FS entry. The code
  8208. in these after the entry point is the same. So it looks like it is the
  8209. OS that is faulting your operation and not SparkFS.ò
  8210. 6.11
  8211. I have now rewritten my code so that it checks to see whether Object$ is
  8212. a directory and, if it is, it looks inside it for a file and tries to
  8213. open that. This seems to work with image filing systems as well as
  8214. others, but is a bit cumbersome to say the least (and as David Pilling
  8215. observes is still open to being fooled by cacheing). Does anyone know of
  8216. a simple and genuinely foolproof way of ensuring that a filing system
  8217. object is present?
  8218. 6.11
  8219. Applications that refuse to Shutdown
  8220. 6.11
  8221. Keith Gardner has experienced problems with applications that interfere
  8222. with the Shutdown process and cause the computer to hang. He refers to
  8223. advice in the June issue of Risc User, according to which the Shutdown
  8224. routine in RISCáOSá3 (which can be selected from the Acorn icon or by
  8225. pressing <ctrl-shift-F12>) cannot cope if more than one Run file is open
  8226. at the time of Shutdown. Run files are left open while applications are
  8227. running if there are any lines after the line that calls RunImage. One
  8228. way to avoid the problem is to remove surplus blank lines or lines
  8229. containing remarks (prefaced with a | ). However, applications sometimes
  8230. contain tidying up commands such as RMKill commands to get rid of
  8231. modules: in these cases, it may be necessary to Quit one or more
  8232. applications before selecting Shutdown.
  8233. 6.11
  8234. Matters arising
  8235. 6.11
  8236. Testing a printeræs on-line status
  8237. 6.11
  8238. (Archive 6.9 p12) Mick Day found that the printer test routine published
  8239. in the June edition of Archive lied! It told him that the printer was
  8240. not on line whether it was or not, and the printer beeped if it was on
  8241. line. Tim Nicholson says that the routine (as previously published) can
  8242. fail for two reasons: Firstly, it assumes a printer buffer of 1024
  8243. bytes, but the actual size depends upon the setting of *Configure
  8244. PrinterBufferSize, which may be different from the default of 1Kb.
  8245. Secondly, the first line of the program redirects the whole output
  8246. stream to the printer, thus if the program is run from the desktop, the
  8247. output which normally goes to the Task window that the desktop
  8248. generates, goes to the printer instead as well as the test byte of
  8249. CHR$(0). Typically this stream will contain several control codes to
  8250. open the task window display and the Task window title, e.g. RUN
  8251. ADFS::DiscName.$.PrintTest. Although this stream is sent before running
  8252. the program, the FX 3 call at the top of the program is executed in time
  8253. to redirect this part way through and upset the printer.
  8254. 6.11
  8255. Tim suggests the following variant of the routine:
  8256. 6.11
  8257. *FX21,3
  8258. 6.11
  8259. empty%=ADVAL(-4)
  8260. 6.11
  8261. PRINT öPrinter is ò;
  8262. 6.11
  8263. *FX3,10
  8264. 6.11
  8265. PRINTCHR$(0);
  8266. 6.11
  8267. a%=INKEY(20)
  8268. 6.11
  8269. a%=ADVAL(-4)
  8270. 6.11
  8271. *FX3,0
  8272. 6.11
  8273. *FX21,3
  8274. 6.11
  8275. IF a%<>empty% THEN
  8276. 6.11
  8277. PRINT önot on lineò
  8278. 6.11
  8279. ELSE PRINT öon lineò
  8280. 6.11
  8281. ENDIF
  8282. 6.11
  8283. END
  8284. 6.11
  8285. This deals with the first problem by comparing the buffer length
  8286. immediately after flushing with the length after inserting the test byte
  8287. and pausing to allow throughput, and with the second by including a
  8288. PRINT statement before redirecting the output stream.
  8289. 6.11
  8290. Tim notes that the original program would run correctly (subject to the
  8291. buffer size being correct) from the command line, i.e. after pressing
  8292. <f12>, and CHAINing or LOADing and RUNning.
  8293. 6.11
  8294. Tim does not understand the supposed warning from Acorn about the use of
  8295. ADVAL(Ö4) (see Archive 6.7 p41) since it is a use specified in the Basic
  8296. manual. He can only assume it is a confusion with the use of positive
  8297. ADVAL parameters, which are only meaningful if a podule with an analogue
  8298. input which mimics that of the original BBC Micro is fitted. He has
  8299. experienced no difficulties using negative ADVAL parameters to inspect
  8300. the condition of buffers and is not aware of any differing action under
  8301. RISCáOSá3.1x as opposed to 2.0 with this facility.
  8302. 6.11
  8303. Basic program compaction
  8304. 6.11
  8305. (Archive 6.9 p65) Rex Palmer says that in his experience compacted
  8306. programs only cause problems when you try to alter them. The problem
  8307. seems to occur with both Edit and BasicEdit. If a compacted program is
  8308. loaded into either of these and any alterations made, then when the
  8309. program is re-saved, the line that has been altered will generate the
  8310. error even if the resulting error is not part of the line that was
  8311. altered!
  8312. 6.11
  8313. Altering the keyboard status
  8314. 6.11
  8315. (Archive 6.8 p27 and 6.9 p65) Rex Palmer has written to explain the
  8316. purpose of bit 7 (the öShift enableò bit) of the keyboard status byte.
  8317. When this bit is set, the <Shift> key reverses the action of the
  8318. <CapsLock> key. Thus, if you hold down <Shift> while pressing <CapsLock>
  8319. then release both keys, you put the computer in a state where pressing
  8320. the <Shift> key with a letter key gives you lower case letters. The
  8321. computer can be configured to start up in this state. Alternatively, the
  8322. command *FX202,128,111 will achieve the same effect ... since 111 = 255
  8323. Ö 128 Ö 16 the command sets bit 7 (Shift Enable on) and unsets bit 4
  8324. (Caps Lock on).
  8325. 6.11
  8326. To recap, the most useful commands are likely to be:
  8327. 6.11
  8328. *FX202,0,239 to set Caps Lock on
  8329. 6.11
  8330. *FX202,16,239 to set Caps Lock off
  8331. 6.11
  8332. *FX202,128,111 to select ShiftCaps
  8333. 6.11
  8334. Programmeræs Reference Manual
  8335. 6.11
  8336. The increase in the number of pages is not önearly 50%ò, as I said last
  8337. month, but is in fact over 70% (excluding the indexes, there were 1,882
  8338. pages in the RISCáOSá2 manual and there are over 3,200 in the new
  8339. edition.) Sorry about the mistake!
  8340. 6.11
  8341. Arm3 hare and tortoise (again)
  8342. 6.11
  8343. (Archive 6.6 p59, 6.8 p30 and 6.10 p63) With the help of Jim Nottingham,
  8344. I have found out the source of my problem. The Run file of the Aleph One
  8345. !Arm3 application should read:
  8346. 6.11
  8347. IconSprites <Obey$Dir>.!Sprites
  8348. 6.11
  8349. |Use only one of the lines
  8350. 6.11
  8351. |below, comment out the other.
  8352. 6.11
  8353. |Load <Obey$Dir>.CMdlUnix
  8354. 6.11
  8355. Load <Obey$Dir>.CacheMdl
  8356. 6.11
  8357. Load <Obey$Dir>.IconMdl
  8358. 6.11
  8359. <Obey$Dir>.Kick CacheIcon
  8360. 6.11
  8361. In my file, the CacheMdl line had somehow got REMæd out. I vaguely
  8362. remember that when I first tried to install !Arm3 with RISCáOSá3, I read
  8363. the instruction about öusing only one of the lines belowò as meaning
  8364. that only one of the following three lines should be used and, since I
  8365. assumed that I no longer needed öCacheMdlò because RISCáOSá3 now had a
  8366. module to deal with this, I removed it as well as the CMdlUnix line. On
  8367. looking at the file again, I now presume that you are only supposed to
  8368. remove one of these two lines, so I have reinstated the CacheMdl line
  8369. and everything seems fine. A case of trying to be too clever, it seems.
  8370. 6.11
  8371. Redraw problems (and an alternative)
  8372. 6.11
  8373. (Archive 6.8 p29 and 6.10 p63) Richard Hallas confirms that the problem
  8374. of incorrect screen redrawing in Edit and DeskEdit is indeed due to a
  8375. bug in the Shared C Library and that the problem seems to occur with
  8376. particularly long lines. He says that any program which uses the C
  8377. libraryæs text object feature will suffer from the bug until Acorn
  8378. corrects it in a future version of CLib. He adds that Acorn has been
  8379. aware of the problem for some time, so hopefully a fix should not be too
  8380. far off.
  8381. 6.11
  8382. Richard used to use DeskEdit to produce files for input to PMS which
  8383. frequently involved very long input lines indeed (up to several hundred
  8384. characters). He would occasionally reposition the caret and start
  8385. typing, only to find that his input had gone into a separate part of the
  8386. file which was not on the screen! Partly because of this bug, he has now
  8387. moved over to using the public domain text editor, Zap, which he
  8388. thoroughly recommends: öIt has its own redraw routines, which are
  8389. unbelievably fast and totally accurate: plus you can get twice as much
  8390. text on the screen in multisync modes.òááA
  8391. 6.11
  8392.  
  8393. Hints and Tips
  8394. 6.12
  8395. Å    Cfs and the cluttered iconbar Ö There are five drive icons on my
  8396. iconbar, together with five Cfs (i.e. Computer Conceptsæ Compression)
  8397. icons, so there is hardly room for anything else!
  8398. 6.12
  8399. Since version 1.17 of Cfs, however, things have rather changed for the
  8400. better, due to the key combination <ctrl-insert> which lets you switch
  8401. between the Cfs and the normal window.
  8402. 6.12
  8403. I now find that one Cfs icon on the iconbar is all I need. What I have
  8404. done is this: My !Boot file contains nine lines concerning Cfs:
  8405. 6.12
  8406. <d>.!Cfs
  8407. 6.12
  8408. (This runs the application. <d> gives the path for the program, as
  8409. described in Archive 3.9, p.8)
  8410. 6.12
  8411. RMEnsure CFSModule 1.17 RMLoad <d> .!Cfs.CFSModule
  8412. 6.12
  8413. RMEnsure CFSModule 1.17 Error CFSModule not loaded
  8414. 6.12
  8415. (These two lines are just to make doubly sure.)
  8416. 6.12
  8417. CFStemp <s>!Scrap.ScrapDir
  8418. 6.12
  8419. NewCFS ADFS::0
  8420. 6.12
  8421. NewCFS ADFS::intern
  8422. 6.12
  8423. NewCFS SCSI::SCSIDrive0
  8424. 6.12
  8425. NewCFS SCSI::SCSIDrive4
  8426. 6.12
  8427. NewCFS SCSI::extern
  8428. 6.12
  8429. (The last six lines duplicate the way in which everything was first set
  8430. up from the Cfs iconbar icons.)
  8431. 6.12
  8432. With these commands in the !Boot file, it is now possible to delete all
  8433. but one Cfs icon from the iconbar and save the changes. Now one of my
  8434. drives (the one I use most often) can have its Cfs directory windows
  8435. opened directly. On all the others, I open the relevant uncompressed
  8436. window, then press <ctrl-insert>.á Jochen Konietzko, K÷ln, Germany
  8437. 6.12
  8438. Å    Impression arrows Ö Left and right arrows in Impression are extremely
  8439. easy to generate. You start with ö<ÖÖò or öÖÖ>ò and use <ctrl-R>
  8440. inbetween the characters to reduce the spacing (kerning) between the
  8441. characters so that you end up with ö<ÖÖò or öÖÖ>ò. Those two needed one
  8442. <ctrl-R> between the dashes and nine <ctrl-R>s between the angle bracket
  8443. (inequality sign) and the dash but it will depend on the font size.
  8444. (These ödashesò are produced in Impression with <shift-ctrl-hyphen>.
  8445. Actually, they are supposed to be minus signs, I think but I prefer them
  8446. to the öproperò dash which is <alt-152>. Certainly when I tried the
  8447. öproperò dash for this purpose, it produced öÿ>ò which isnæt quite as
  8448. good as the height is different and it doesnæt hit quite at the centre
  8449. of the angle of the hairpin.) You can see it better at a bigger point
  8450. size:
  8451. 6.12
  8452. Two minus signs: öÖÖ>ò One dash: öÿ>>ò
  8453. 6.12
  8454. In Times font, which I am using here, the long dash is slightly lighter
  8455. and doesnæt match the weight of the angle bracket. However, this trick
  8456. does depend on the particular font used Ö itæs a Ésuck it and seeò job.á
  8457. Ed.
  8458. 6.12
  8459. Å    Multistore alphabetical sorting Ö I recently created a large database
  8460. for my church roll in which there was a single name field presenting the
  8461. information in the form öSue Adamsò. I set up an index on this field
  8462. using the Surname function only to discover that it persisted in sorting
  8463. öSue Adamsò after öMargaret Adamsonò. An examination of BaseLib (found
  8464. by shift-clicking !Multistore and dragging into !Edit) revealed how the
  8465. Base Function FNsurn worked and led to the idea of creating another Base
  8466. Function, FNchristian, to select the Christian name and any initial.
  8467. Using !Edit, I adapted FNsurn and then saved it as a further Base
  8468. Function in BaseLib. Then, using the Sort facility with the expression
  8469. öFNsurn(@ Name)+FNchristian(@Name)ò, the names were sorted into correct
  8470. alphabetical order. It is necessary to quit and re-load Multistore to
  8471. ensure that it knows of the new Base Function. FNchristian is as
  8472. follows:
  8473. 6.12
  8474. DEFFNchristian(A$):LOCALI%,C%
  8475. 6.12
  8476. WHILERIGHT$(A$,1)=ö ò:A$=LEFT$(A$) :ENDWHILE:I%=LENA$: C%=ASCMID$(A$,I%)
  8477. 6.12
  8478. WHILEI%>0AND((C%>64ANDC%<91)OR(C%> 96ANDC%<123)ORC%=45):I%-=1
  8479. 6.12
  8480. C%=ASCMID$(A$,I%):ENDWHILE
  8481. 6.12
  8482. IF INSTR(A$,ö ò)>0THEN=LEFT$(A$, I%-1)ELSE=öò
  8483. 6.12
  8484. Colin Brockie, Kilmarnock.
  8485. 6.12
  8486. Å    Multiple stories on one page in Impression Ö It can sometimes be
  8487. extremely desirable to have two or more independent stories on a single
  8488. page in Impression. Normally, when you enter text in a single-frame page
  8489. and the text fills the frame, a new page is created and the text
  8490. continues to flow onto the new page. Creating a second frame on any
  8491. given page simply makes a local frame which does not exhibit this
  8492. ability to flow text onto a new page when it is full. However, if it
  8493. were possible to have two or more frames on a page which could
  8494. independently create new pages when full, this would be very useful Ö it
  8495. would make for easy creation of footnotes, for one thing.
  8496. 6.12
  8497. I was recently asked how to achieve this effect by a user who was
  8498. setting opera libretti, and who wanted to have two columns side by side
  8499. for different languages. A two-column master page layout did not achieve
  8500. the desired effect because the text flowed from one column to the next
  8501. on the same page, rather than from any given column to the equivalent
  8502. column on the following page.
  8503. 6.12
  8504. There is, in fact, a way of achieving the required effect in Impression,
  8505. but the technique is a little subtle.
  8506. 6.12
  8507. How to do it Ö Either choose a suitable master page which exists already
  8508. or use the ÉNew master pageæ menu option to create an appropriate page
  8509. with the desired number of columns on it. Create whatever extra frames
  8510. you need on your master page in the normal way.
  8511. 6.12
  8512. Now use the ÉShow flowæ option from Impressionæs iconbar menu to see how
  8513. the text will flow between the frames. Under normal circumstances, to
  8514. link frames into the text flow sequence you click <select> on the first
  8515. frame in the sequence, followed by <adjust> on the succeeding frames in
  8516. the correct order. However, it is not possible to remove frames from the
  8517. sequence using this method and so, if you try to alter the order of flow
  8518. which is automatically assigned on the master page, you will find you
  8519. are not able to do so. Therefore, the only way to remove a frame from
  8520. the text flow sequence is to actually delete it and then recreate it.
  8521. 6.12
  8522. So, for each frame which is to contain its own page-creating story,
  8523. first select the frame and then open the ÉAlter frameæ dialogue box with
  8524. <ctrl-f10>. Make a note (mental or otherwise) of the X and Y coordinates
  8525. of the frame, close the dialogue box and press <ctrl-X> to cut the frame
  8526. to the clipboard. Immediately you have done this, press <insert> (or
  8527. <ctrl-V>) and paste the frame back to where you cut it from. Finally,
  8528. open the ÉAlter frameæ box again and restore the coordinates to what
  8529. they were before.
  8530. 6.12
  8531. On the face of it, this seems pretty pointless. All you have done is
  8532. delete a frame and then put it back again in the same place. However,
  8533. the practical effect of the action is to un-link the frame from the text
  8534. flow sequence. If you choose ÉShow flowæ from the iconbar menu again,
  8535. you will see that the frame no longer has an arrow pointing to or from
  8536. it. (In fact, if you have a layout of three or more columns, you will
  8537. see that the flow has bypassed this frame, but still connects the
  8538. others.)
  8539. 6.12
  8540. What this boils down to is that you can have as many individual stories
  8541. as you want on a single master page. Each story can consist either of a
  8542. separate frame or any number of linked frames. Any such set of frames on
  8543. an Impression master page will cause the creation of a new page when
  8544. filled with text in the document.
  8545. 6.12
  8546. The layout shown in the illustration is not intended to be a serious
  8547. example but it merely illustrates the idea. The frames for both Story 1
  8548. and Story 2 have been linked, whilst the frame for Story 3 is a separate
  8549. entity, as is the frame for footnotes.
  8550. 6.12
  8551. As for practical examples of this idea, one has only to look at the old-
  8552. style (RISC OS 2) Acorn manuals, such as the BBC Basic Guide or PRM.
  8553. These manuals all have a vertical line about a third of the way across
  8554. each page, to the right of which is the main text. The headings and sub-
  8555. headings all appear to the left of the line. Although the creation of
  8556. such pages by conventional methods would be perfectly possible, having
  8557. two independent stories (one for the main text, another for the
  8558. headings) would greatly simplify the process.
  8559. 6.12
  8560. A similar idea commonly found in educational material is to have a
  8561. column, at the right hand side of the page, which contains comments
  8562. relating to the ideas presented in the main body of the text.
  8563. 6.12
  8564. Another good use for this idea is the presentation of tabulated material
  8565. such as a printed index. If you want a column of numbers to be in a
  8566. different style to the reference text the numbers accompany, it is far
  8567. easier to have two independent stories than to apply a specific style
  8568. for each number on a line.
  8569. 6.12
  8570. When using this approach, there is just one thing to watch out for. If
  8571. there is not a direct one-to-one correspondence between the number of
  8572. lines in the stories (which there may or may not be, depending on the
  8573. document), you must remember to press <ctrl-G> (which corresponds to the
  8574. ÉFrame=>Force to nextæ menu option) when you have typed in all the text
  8575. for the shorter story on each page. If you donæt do this, you may find
  8576. that, when you position the caret in the frame in which you want to
  8577. start typing, the text appears on the previous page. However, you will
  8578. soon get used to this.
  8579. 6.12
  8580. As for footnotes, if you know that none of your footnotes will exceed a
  8581. single line in depth, you should create your footnote master page frame
  8582. to be just large enough to contain one line of text. Then, each time you
  8583. press <return>, the caret will advance one page. If you need longer
  8584. footnotes, however, make the master page frame large enough to hold the
  8585. largest note and remember to use the <ctrl-G> method.á Richard Hallas,
  8586. Huddersfield.
  8587. 6.12
  8588. Is it possible to have two or more independent stories running side-by-
  8589. side in Ovation? If so, can anyone explain how? Ed.
  8590. 6.12
  8591. Å    Printing to files Ö I experienced the same problem as Tom Rank
  8592. (Archive 6.9 p63) with printing to a file. This involved an address
  8593. exception being caused at the end of each print run which prevented the
  8594. last few graphics lines from being printed. The problem is caused by
  8595. ADFSBuffers. Setting this to zero using:
  8596. 6.12
  8597.     *Configure ADFSBuffers 0
  8598. 6.12
  8599. solves the problem.á Paul Mellor, Derby.
  8600. 6.12
  8601. Å    Vector overlays Ö The new version 1.10 of Vector offers the option to
  8602. draw lines with overlays (i.e. between 1% and 99% of the lineæs interior
  8603. is drawn in a different colour), a feature which makes drawing little
  8604. map sketches very simple.
  8605. 6.12
  8606. A problem arises if you want to join two roads or two rivers without a
  8607. seam.Vector produces something like this (overlay 50%):
  8608. 6.12
  8609. For a decent map you need, instead, something like this:
  8610. 6.12
  8611. If, as in this case, all paths have the same width, it is simple: Just
  8612. select them all and merge them through the öSpecialò menu. (This also
  8613. saves memory: The five paths in the first picture take up 1071 bytes,
  8614. the merged path only 883 bytes.)
  8615. 6.12
  8616. If the width differs, the thickest line will force its width upon all
  8617. the others, making a merge inadvisable; then you will have to apply
  8618. little öbeauty patchesò in the form of completely white rectangles to
  8619. cover the unwanted black lines.
  8620. 6.12
  8621. While you rotate the rectangles to align them with the road, it is best
  8622. to switch the amount of detail shown on the screen from stage 5 to stage
  8623. 3, so that all the rectangles appear just as thin black outlines (even
  8624. if they are not selected) and this makes an öinvisibleò shape rather
  8625. more easy to handle.
  8626. 6.12
  8627. When you go about rotating those rectangles, it makes sense to lock
  8628. everything else first with <ctrl¡H> because else it is very simple to
  8629. rotate something else besides the little patch.á Jochen Konietzko, K÷ln,
  8630. Germany.ááA
  8631. Using RISCáOSá3.1
  8632. 6.12
  8633. Hugh Eagle
  8634. 6.12
  8635. SCSI problems
  8636. 6.12
  8637. Barry Thompson found one day that he was unable to access the hard
  8638. drive, an Oak Worra Winnie 45Mb on an A340 with RISCáOSá3.11. The error
  8639. message, ÉDisc not understood ù has it been formatted?æ came into view.
  8640. On Oakæs advice, he refitted RISCáOSá2 and the message became ÉBad free
  8641. space map.æ Adrian Lookæs !FixMap was unable to help, so the disc had to
  8642. be reformatted and, of course, all the data was lost. Someone at Oak
  8643. suggested to Barry that SCSI can be less reliable with RISCáOSá3 than
  8644. with RISCáOSá2 and recommended doing a *Checkmap every couple of days
  8645. and, if errors were reported, to back everything up and reinitialise the
  8646. disc.
  8647. 6.12
  8648. Synonymous pathnames
  8649. 6.12
  8650. Mick Day writes, öI wrote some time ago that the operating system did
  8651. not check for synonymous valid references to the RAMDisc pathnames. This
  8652. is, in fact, more general. If full and accurate pathnames are always
  8653. used, this is no problem; and where removable media are concerned, it is
  8654. probably necessary. However, comparison of the ÉBytes freeæ or a CRC
  8655. number could have largely eliminated this. Alternatively, if an
  8656. abbreviated Disc Spec was given, the filer could have filled it in
  8657. completely and thus discovered identical manifestations of filer
  8658. windows! It does no harm, but is confusing. If you set the pathnames for
  8659. your harddisc in the following short program:
  8660. 6.12
  8661. *Filer_OpenDir RAM::RamDisc0.$
  8662. 6.12
  8663. *Filer_OpenDir RAM::0.$
  8664. 6.12
  8665. *Filer_OpenDir RAM:$
  8666. 6.12
  8667. *Filer_OpenDir SCSI::HardDisc4.$ | set these
  8668. 6.12
  8669. *Filer_OpenDir SCSI::4.$| names to
  8670. 6.12
  8671. *Filer_OpenDir SCSI:$| your system
  8672. 6.12
  8673. *Filer_OpenDir ADFS::MCDay.$
  8674. 6.12
  8675. *Filer_OpenDir ADFS::0.$
  8676. 6.12
  8677. END
  8678. 6.12
  8679. you will find, on running, three identical filer windows on the screen
  8680. for RAMDisc, three for Fixed disc and two ADFS floppy! I think this is
  8681. sloppy implementation, akin to not checking the disc before issuing
  8682. ÉFreeæ!ò
  8683. 6.12
  8684. Top bit set characters
  8685. 6.12
  8686. Mick Day uses a Star LC10 mainly for address labels. The dip switches
  8687. set it to the Epson character set. However, he sometimes needs to use
  8688. top-bit characters in foreign addresses. He thus has implemented a
  8689. complete look-up table for the characters 160-255, trying as near as
  8690. possible to get the Latin1 set. He says that, interestingly, it is
  8691. possible to dodge about and use the IBM set in addition to the Epson
  8692. set! The Basic program $.Latin1 on the monthly program disc summarises
  8693. it; anyone with a Star LC10 should be able to get it going. It might
  8694. work on some others as well.
  8695. 6.12
  8696. Form feeds
  8697. 6.12
  8698. Mick Day also writes: öI have spent a lot of time trying to stop the
  8699. PDriver module or its front end from issuing formfeeds. I would rather
  8700. decide for myself when the paper is to be thrown out onto the desk. Am I
  8701. missing some glaring instruction or is it really impossible to configure
  8702. this simple option? I experimented further with !Printers after reading
  8703. Tim Nicholsonæs article (Archive 6.10 pp 43-47), but got no further. I
  8704. suspect that the formfeed is done by PDriver; I have set the printer
  8705. configure to the start sequence instead of the end and removed the
  8706. formfeed character, but all to no avail. It means that if you drag a
  8707. single address to print on labels, you need a specific Printer with a
  8708. page length of 9 Ö a sledgehammer to crack a nut! I want one driver for
  8709. the printer which does what I tell it. Can anyone tell me definitively
  8710. if the terminal formfeed is configurable or not? Otherwise I could be
  8711. experimenting until I die!ò
  8712. 6.12
  8713. Testing a printeræs on-line status
  8714. 6.12
  8715. (See Archive 6.11 p51) Mick Day says that he prefers the following
  8716. routine to the one published last month (which he says is slower and
  8717. escape can interrupt it):
  8718. 6.12
  8719. DEF FNCheckPrinter
  8720. 6.12
  8721. *FX 5,1
  8722. 6.12
  8723. *VDU 2,1,0
  8724. 6.12
  8725. SYS öOS_Byteò,152,3 to ;f%
  8726. 6.12
  8727. f%=f%AND2
  8728. 6.12
  8729. *FX 21,3
  8730. 6.12
  8731. VDU 3
  8732. 6.12
  8733. *FX 5,5
  8734. 6.12
  8735. =f%
  8736. 6.12
  8737. (Iæm no expert in these matters, but I believe that the *FX 5,1 only
  8738. applies if your printer is connected to the parallel port and the *FX
  8739. 5,5 might have unwanted effects if your system is set up differently
  8740. from Mickæs ù HE.)
  8741. 6.12
  8742. He adds that the important point to emphasise is that öthe fundamental
  8743. difference between earlier Acorn systems and RISCáOSá3.1 is that, in
  8744. RISCáOSá3.1, once you have issued a VDU 3 or equivalent, you are dead!
  8745. You can only switch the printer on or press <esc> (if it is enabled).
  8746. Page 18 of the Release Notes specifically refers to freezing when
  8747. attempting to print to Énon-existentæ printers. They could have been
  8748. much more helpful here in only a few words. I wonder how many man-months
  8749. of time-wasting this has generated?ò
  8750. 6.12
  8751. AZERTY keyboard
  8752. 6.12
  8753. Mick Day says that, try as he might, he cannot get an AZERTY keyboard
  8754. with *Country/*Language/*Keyboard France. He knows of at least one
  8755. Belgian colleague who was impressed by his Archimedes but who did not
  8756. buy one because he could not get the keyboard he wanted. (We have a
  8757. couple of modules that get round this problem Ö for French and German,
  8758. anyway Ö they are on this monthæs program disc.)
  8759. 12
  8760. The following are taken from extracts from recent Acorn Customer Service
  8761. Newsletters which Barry Thompson has kindly forwarded:
  8762. 6.12
  8763. RISCáOSá3 CMOS problems
  8764. 6.12
  8765. There have been a number of reports of systems not powering up properly.
  8766. Acorn suspect this is due to rogue CMOS RAM settings which occurred
  8767. while the system was used with RISCáOSá2 and they östrongly recommend
  8768. that a ÉDelete-power-onæ is performed before the RISCáOSá2 upgrade is
  8769. removed. This will ensure that CMOS RAM locations now used by RISCáOSá3
  8770. are set correctly.ò
  8771. 6.12
  8772. First Word Plus ÉWindow Definitionæ error
  8773. 6.12
  8774. If First Word Plus issues the message ÉWindow definition will not fitæ,
  8775. a ÉDelete power onæ will cure the problem (but may well, of course,
  8776. corrupt other CMOS settings)!
  8777. 6.12
  8778. Maximum DOS partition sizes
  8779. 6.12
  8780. DOSFS only supports DOS hard disc partitions up to 32Mb. If you create a
  8781. larger DOS partition, it will not be possible to access it from the RISC
  8782. OS desktop environment.
  8783. 6.12
  8784. DOS partitions larger than 32Mb can only be accessed from within the PC
  8785. card or PC Soft (i.e. PC emulator) environment. Therefore, if you wish
  8786. to transfer files between a large DOS partition and a RISC OS based
  8787. filing system, this should be done via floppy disc(s) or another
  8788. (smaller) DOS partition.
  8789. 6.12
  8790. Windows driver with the Acorn 486 card
  8791. 6.12
  8792. Following on from the last point ...
  8793. 6.12
  8794. The Windows Driver disc supplied with the PC card is in Acorn ADFS
  8795. format. So, if you have created a DOS partition which is larger than 32
  8796. Mb, it will not be possible to use the procedure outlined in the PC Card
  8797. User Guide to copy the file on this disc to the DOS partition. Instead,
  8798. you should use the following procedure:
  8799. 6.12
  8800. ù From within the RISC OS desktop, format a blank floppy disc to 720Kb
  8801. DOS format.
  8802. 6.12
  8803. ù Click <select> on the floppy disc drive icon to open a Filer window
  8804. showing the contents of the root directory of the DOS format floppy (at
  8805. this stage it will be empty).
  8806. 6.12
  8807. ù Remove the DOS floppy and insert the Windows Driver disc. Click
  8808. <select> again and copy the file ARMVGA/DRV from the Windows Driver disc
  8809. to the DOS floppy.
  8810. 6.12
  8811. ù Start the !PC Card  application.
  8812. 6.12
  8813. ù Insert the DOS floppy again.
  8814. 6.12
  8815. ù At the DOS prompt type:
  8816. 6.12
  8817. copy a:*.* C:\WINDOWS\SYSTEM
  8818. 6.12
  8819. to copy the correct Windows driver for use with the PC card into the DOS
  8820. partition.
  8821. 6.12
  8822. ù Load the \WINDOWS\SYSTEM.INI file into the DR DOS text editor by
  8823. typing at the DR DOS prompt:
  8824. 6.12
  8825. C:\DRDOS\EDITOR C:\WINDOWS\ SYSTEM.INI
  8826. 6.12
  8827. ù Use the cursor keys to move down to the line that reads:
  8828. 6.12
  8829. display.drv=vga.drv
  8830. 6.12
  8831. and change it to read:
  8832. 6.12
  8833. display.drv=armvga.drv
  8834. 6.12
  8835. ù Save the modified file by holding down <ctrl> and pressing <K> and
  8836. then <Q>. Then press <escape> to return to the DR DOS prompt.
  8837. 6.12
  8838. ù The new driver will be loaded the next time you start Windows, and a
  8839. different hourglass shape will indicate its presence.
  8840. 6.12
  8841. MEMC1a or no MEMC1a
  8842. 6.12
  8843. The following short command can be used from within Basic to find out
  8844. whether a MEMC1a chip is fitted:
  8845. 6.12
  8846. PRINT ?274 AND 1
  8847. 6.12
  8848. If the result is 1 then a MEMC1a is fitted.
  8849. 6.12
  8850. RISCáOSá4 Wish List (continued)
  8851. 6.12
  8852. The following are from Richard Burnell:
  8853. 6.12
  8854. Å    Shutdown ù Include an öare you sureò window after you press <ctrl-
  8855. shift-F12> with an option to cancel the Shutdown, in case you press it
  8856. by accident.
  8857. 6.12
  8858. Å    Unlimited directories ù Allow more than 77 files in a directory.
  8859. 6.12
  8860. Å    Filer windows ù Allow file icons to be positioned where you want them
  8861. (as on an Apple Macintosh).
  8862. 6.12
  8863. Å    Other disc formats ù Include another extension to the filing system to
  8864. allow the reading and writing of Amiga and BBC B discs.
  8865. 6.12
  8866. Å    Outline fonts ù Allow unfilled outlines to be printed (without having
  8867. to convert them to paths in !Draw first) as you can in Windows on PCs.
  8868. 6.12
  8869. Å    !Draw and !Edit should warn you when you try to save files with names
  8870. that already exist.
  8871. 6.12
  8872. Å    !Draw ù When you drag selected objects, it would be helpful to see the
  8873. shape of the objects moving (as you do in Artworks), not just the
  8874. bounding box.
  8875. 6.12
  8876. Å    !Edit ù should allow the option not to strip line numbers to be saved
  8877. in the configuration.
  8878. 6.12
  8879. Å    Printer buffer ù Provide one that allows background printing. (Richard
  8880. observes that this was advertised as a feature in the pre-release
  8881. RISCáOSá3 reviews and finds it surprising that Acorn havenæt yet
  8882. released öa working printer buffer moduleò.)
  8883. 6.12
  8884. Finally, a point from Roger King. A similar suggestion has been made
  8885. before but it is worth repeating:
  8886. 6.12
  8887. ÅDistinguishing non-ADFS discs ù When a non-ADFS disc (e.g. a DOS disc)
  8888. is mounted, the disc drive icon on the iconbar should change to a
  8889. different colour. (Some form of indication like this is particularly
  8890. important because the directory names in Filer windows for DOSFS, as for
  8891. other öimage filing systemsò, are prefixed ADFS!) Roger receives many
  8892. discs through the post and increasingly often he finds that the discs
  8893. are DOS format, presumably because people buy them pre-formatted. The
  8894. great snag in using DOS discs in the Acorn environment is the shorter
  8895. length of filename allowed. Roger often checks and modifies files sent
  8896. to him, then saves them back to the same disc with a öUò (for öUpdatedò)
  8897. tacked onto the end of the filename. If the original file has a name 8
  8898. characters long and is on a DOS disc this results in the original file
  8899. being overwritten by the updated file since the öUò is discarded from
  8900. the filename!ááA
  8901. 6.12
  8902.