home *** CD-ROM | disk | FTP | other *** search
/ Archive Magazine 1995 / ARCHIVE95.iso / text / hints / volume_05 / issue_02 < prev    next >
Text File  |  1995-02-16  |  18KB  |  438 lines

  1. Hints and Tips
  2. 5.2
  3. Å   Fatal error type = 5 revisited (Archive 4.12 p9) Ö Itæs not only !Edit
  4. that reports this error, !Draw and some other Applications abort with a
  5. similar error, but you might want to use !Edit, for example, with fonts.
  6. The version in Archive 4.12 p9 simply hides the !Font-folder, so the
  7. idea is to have the Applications just to see part of the !Fonts folder.
  8. The easiest thing to do is simply to split up the fonts-directory into
  9. directories Ö i.e. create two directories within !Fonts Ö in the first
  10. directory (maybe SmallFonts within your !Fonts Folder) just put the
  11. really necessary fonts in (just Trinity, Homerton, Corpus or so), but
  12. remember that there may only be up to 50 fonts (approximately) Ö
  13. including styles (say Italic, Medium, Bold etc). In the second directory
  14. (maybe LargeFonts) put every font that is not already included in the
  15. first directory.
  16. 5.2
  17. The next thing to change is your !Boot and !Run-File from the !Fonts
  18. application.
  19. 5.2
  20. The !Boot file should read as follows:
  21. 5.2
  22. | !Boot file for !Fonts
  23. 5.2
  24. | *********************
  25. 5.2
  26. IconSprites <Obey$Dir>.!Sprites
  27. 5.2
  28. RMEnsure FontManager 2.42 RMLoad <Obey$Dir>.Fonts
  29. 5.2
  30. RMEnsure SuperSample 0.04 RMLoad <Obey$Dir>.Super
  31. 5.2
  32. Set Small$Fonts <Obey$Dir>. SmallFonts.
  33. 5.2
  34. Set Large$Fonts <Small$Fonts> ,<Obey$Dir>.LargeFonts.
  35. 5.2
  36. If ö<Font$Prefix>ò=öò Then SetMacro Font$Path <Font$Prefix>
  37. 5.2
  38. If ö<Font$Prefix>ò=öò Then Set Font$Prefix <Large$Fonts>
  39. 5.2
  40. SET Alias$@RunType_745 RUN <Obey$Dir>.FontHelp -Obey %%*0
  41. 5.2
  42. SET File$Type_745 FontObey
  43. 5.2
  44.  
  45. 5.2
  46. The !Run file should read as follows:
  47. 5.2
  48. | !Run file for !Fonts
  49. 5.2
  50. | ********************
  51. 5.2
  52. Obey <Obey$Dir>.!Boot
  53. 5.2
  54. Echo Outline Font Manager 2.42 installed.
  55. 5.2
  56. Echo Fonts now available:
  57. 5.2
  58. Echo
  59. 5.2
  60. FontCat
  61. 5.2
  62.  
  63. 5.2
  64. In addition, you have to create a Basic program called Fonthelp, which
  65. should be situated in the !Font folder and should read like this:
  66. 5.2
  67. REM >FontHelp  Version 1.00 20.1.91
  68. 5.2
  69. REM *******************************
  70. 5.2
  71. REM Written by: Martin Sperl
  72. 5.2
  73. REM             Nattergasse 12/32
  74. 5.2
  75. REM             A-1170 Vienna (Wien)
  76. 5.2
  77. REM             AUSTRIA
  78. 5.2
  79.  
  80. 5.2
  81. END=&A000
  82. 5.2
  83. DIM Data 255
  84. 5.2
  85. SYSöOS_GetEnvò TO ENV$
  86. 5.2
  87. ENV$=MID$(ENV$,INSTR(ENV$,ö-Obey ò) +6)
  88. 5.2
  89. *SET Font$Prefix <Small$Fonts>
  90. 5.2
  91. SYS öHourglass_Onò
  92. 5.2
  93. SYS öWimp_Initialiseò,200, &4B534154,ö**LoadMore**ò
  94. 5.2
  95.  TO ,TaskHandle%
  96. 5.2
  97. SYS öWimp_StartTaskò,öOBEY ò+ENV$
  98. 5.2
  99. REPEAT
  100. 5.2
  101. SYS öWimp_Pollò,0,Data TO R%
  102. 5.2
  103. UNTIL R%=0
  104. 5.2
  105. SYS öWimp_CloseDownò,TaskHandle%
  106. 5.2
  107. *SET Font$Prefix <Large$Fonts>
  108. 5.2
  109. SYS öHourglass_Offò
  110. 5.2
  111. END
  112. 5.2
  113. Then create a sprite called öfile_745ò (maybe the same sprite as for an
  114. Obey-file, but another colour) and include it in the !Sprites file of
  115. !Fonts.
  116. 5.2
  117. To start an application which can only handle some fonts without errors
  118. just change the Filetype of the !Run-file with öSettype !Run FontObeyò
  119. to FontObey. Then you can start the application as normal without having
  120. to worry about fonts at all.
  121. 5.2
  122. Martin Sperl, Austria
  123. 5.2
  124. Å   Formatting PC disks Ö If, like me, you do not have a PC Filer on your
  125. Archimedes you will have to format DOS diskettes (for use with the PC
  126. Emulator) on a PC. If your PC has a 1.44M drive the standard FORMAT
  127. command needs modifying. The command to use is
  128. 5.2
  129. FORMAT  A:  /N:9  /T:80
  130. 5.2
  131. This certainly works on the PS/2 55SX I have at work.  Richard Wheeler,
  132. WokinghamááA
  133. 5.2
  134.  
  135. 5.2
  136. Impression Há&áT
  137. 5.2
  138. Å   Function key changes Ö Computer Concepts have chosen to use <ctrl-F3>
  139. and <ctrl-F4> for Ésaveæ and Ésearch and replaceæ instead of the more
  140. standard <F3> and <F4>. If you prefer to use the latter, simply go into
  141. the edit styles dialogue (<ctrl-F6>), select first italic and then bold
  142. and, on each, change the keyboard shortcut (or delete it altogether), as
  143. follows... You could, for example, change from <F3> to <shift-ctrl-F3>
  144. by clicking in the shortcut box, pressing <ctrl-U> to delete the
  145. existing text and pressing <shift-ctrl-F3>, at which point the words
  146. ö<shift-ctrl-F3>ò will appear in the box. Click OK and <F3> will now
  147. produce the desired ösaveò effect.
  148. 5.2
  149. If you already have a lot of documents, this could prove a frustration
  150. since you would have to do this with every document individually. Also,
  151. you would need to go into Impressionæs Auto directory and edit the
  152. default document. Michael Ben-Gershon, Israel.
  153. 5.2
  154. Å   Only 77 graphics frames allowed in a chapter Ö Impression wonæt allow
  155. more than 77 graphics frames in a single chapter. This is due to the
  156. ADFS limitation of 77 files per directory Ö earlier versions of
  157. Impression (2.03) normally crashed after loading the offending file when
  158. displaying. Impression 2.1 does not allow to save a file with more than
  159. 77 graphics-frames per chapter. I mentioned it to CC but they told me
  160. öThis is something that would be extremely difficult to overcome. It
  161. should only affect a very small percentage of usersò. So beware of too
  162. many frames in one chapter !!! Martin Sperl, Austria
  163. 5.2
  164. Couldnæt you get round this by putting several draw objects together in
  165. a single file and then show different parts of the same file in
  166. different frames? I havenæt tried it, but it should work. Ed.
  167. 5.2
  168. Å   Running Impression documents from !TinyDirs Ö If you use !TinyDirs to
  169. install an Impression document on the icon bar and then click on it to
  170. run it, a new copy of !Impress will be fired up even if one is already
  171. running.
  172. 5.2
  173. This seems to be because of a small mistake in the !TinyDirs.!RunImage
  174. programme. In the PROCdataopen procedure are two lines which read as
  175. follows:
  176. 5.2
  177. 900 q%?(44+LEN$(q%+44))=0
  178. 5.2
  179. 910 q%!0=(48+LEN$(q%+44))ANDNOT3
  180. 5.2
  181. If you reverse the order of these two lines the program runs correctly.
  182. Hugh Eagle, Horsham
  183. 5.2
  184. Å   Special Characters Ö The full list of ISO 8859 characters is included
  185. in the Archimedes User Guide, e.g. page 455 for the Latin 1 alphabet.
  186. However, itæs not too helpful in that it is listed in hexadecimal. If
  187. you want to enter characters using <Alt> and the numeric keypad, you
  188. need to know the decimal numbers. Those of you with EFF fonts will have
  189. a manual that shows various of the character sets by decimal number.
  190. This is particularly useful for Zapf Dingbats and MathGreek fonts. Jim
  191. Nottingham, York.
  192. 5.2
  193. (For those without EFF fonts, I have put an Impression file on the
  194. monthly program disc so that you can print out your own lists of
  195. characters just by changing the font in the style definition. Ed.)
  196. 5.2
  197. Å Wrong sprite colours in Impression Ö If, when you drag a sprite into
  198. an Impression frame, the colours come out all wrong, itæs probably
  199. because the sprite has not got a palette. If so, the answer is to give
  200. it a palette, which can be done as follows:
  201. 5.2
  202. 1.   Load the sprite file containing your sprite into !Paint.
  203. 5.2
  204. 2.   Double click on the thumbnail picture of the sprite you want to
  205. alter.
  206. 5.2
  207. 3.   Click <menu> over the sprite window that now appears, then move to
  208. the Edit submenu and click on the Palette item at the bottom.
  209. 5.2
  210. 4.   Save the amended sprite file.
  211. 5.2
  212. 5.   Load the amended sprite back into Impression.
  213. 5.2
  214. (Note: if you donæt want to keep the amended sprite, you can, if you
  215. like, shortcut steps 4 and 5 and save the sprite direct from !Paint into
  216. Impression.) Hugh Eagle, HorshamááA
  217. 5.2
  218.  
  219.  
  220.  
  221. Finally, Andrew Scott...
  222. 5.2
  223. The following comments and hints are based on my first week of using the
  224. machine which, from the outset, I must say is brilliant, especially
  225. compared with my old Archimedes A310.
  226. 5.2
  227. During the time I have had the machine, I have tried quite a number of
  228. applications. Now, whilst most of them have worked perfectly, I have had
  229. problems with the following:  Atomwide Hi-Res. modes, Jinxter and
  230. Corruption adventures (CIS Adventure pack), Beebug Toolbox disc sector
  231. editor, Data Storeæs FontFX (version 4.04), Mitre Softwareæs DiscTree
  232. (version 2.16) and !DSEdit, PD sound sample player.
  233. 5.2
  234. The Atomwide mode designer comes with a number of sets of modes for
  235. various monitors, but none of these is completely suitable for the A5000
  236. and Acornæs multisync monitor. The mode designer application, however,
  237. works fine, provided you remember to select monitor type 1, and machine
  238. A540/A5000. Using this, it is quite straightforward to modify the hi-
  239. res. modes (SVGA, 102 etc.) to produce working versions of these.
  240. However, make sure that you work in mode 27 while defining the new
  241. modes, as some of the other modes (12, 15 etc.) are redefined by the
  242. standard mode module (MegaModes), and this can produce some strange
  243. effects Ö they appear as two letter box shaped screens one above the
  244. other!!
  245. 5.2
  246. The adventures Jinxter and Corruption do not work with version 3.87 of
  247. the SharedCLibrary which is in RISC-OS 3. However, they are supplied
  248. with a very old version (1.01) which will work if you *RMKill the
  249. version in RISC-OS 3 first. Better still, alter the !Run files to
  250. automate this, and restore the RISC-OS 3 version afterwards. I have
  251. included two suitable !Run files on the disc. On the monthly program
  252. disc. Ed.)
  253. 5.2
  254. The disc sector editor in Beebugæs Toolbox (version 1.00) does not work
  255. at all on the A5000, and hangs the machine!!
  256. 5.2
  257. FontFX from the Data Store (version 4.04) does not like the default
  258. setting for the system macro Font$Path. However, if you edit out the
  259. reference to Font$Prefix it works OK Ö not a perfect solution, but it
  260. works. e.g.
  261. 5.2
  262. *SetMacro Font$Path adfs::IDEDis c4.$.!Fonts.,Resources:$.Fonts.
  263. 5.2
  264. DiscTree (version 2.16) from Mitre Software will load, but all attempts
  265. to access a disc (hard or floppy) produce a fatal internal error.
  266. 5.2
  267. !DSEdit, the excellent PD sound sample player will not play samples.
  268. This is because the author has been Énaughtyæ and used an abbreviation
  269. for the ChannelVoice command. RISC-OS 3 wrongly interprets the abbrevia
  270. tion as the new command *ChangeDynamicArea and hence causes an error.
  271. This is easily corrected by changing the abbreviation to the full
  272. command. Acorn have issued a warning with RISC-OS 3 that a number of
  273. commands have different minimum abbreviations, and have provided a file
  274. on the RISC-OS 3 Support Disc to change them all back to what they were
  275. in RISC-OS 2.
  276. 5.2
  277. Something else that I have observed is that if you use the !Configure
  278. application to auto-start any of the ROM based applications then this
  279. will cease to work if you have a !Boot file on the hard disc which
  280. includes a line like :
  281. 5.2
  282. *Desktop -file <Obey$Dir>.DeskS tart
  283. 5.2
  284. Instead you must include a line in the DeskStart file to run each of the
  285. applications which you want to auto-start. e.g.
  286. 5.2
  287. Run Resources:$.Apps.!Alarm
  288. 5.2
  289. Hardware problems Ö (I have left this in to see if anyone has any ideas!
  290. Ed.) I have discovered a fault with my machine, that concerns the real
  291. time clock. Every time the machine is reset with either <ctrl-break>, or
  292. turning it off and on again, the real time clock is reset back to the
  293. last time that it was explicitly set too, e.g. using *Set Sys$Time or
  294. the Set clock option on !alarm. The rest of the time, the clock appears
  295. to function correctly.
  296. 5.2
  297. My first thought was a loose battery connection. However, on opening the
  298. case, I found that the machine doesnæt even have a battery! While the
  299. case was off, I checked for any loose connections, but could not find
  300. any.
  301. 5.2
  302. Next, I thought that it might be a software fault and not a hardware
  303. one, because the fault only occurs when the machine is reset, which is a
  304. software function. I noticed that in the list of modules in RISC-OS 3
  305. there is a new module called RTCAdjust which presumably stands for Real
  306. Time Clock Adjust. Could this be causing the problem? The module
  307. provides no star commands or software interrupts, only a service code
  308. handler. I have not been able to confirm if this module is causing the
  309. problem or not. Any ideas?ááA
  310. 5.2
  311.  
  312. The Engineer Speaks (again)
  313. 5.2
  314. Ray Maidstone
  315. 5.2
  316. As there were several comments of appreciation received regarding the
  317. hardware care section labelled öThe Engineer speaksò last month, further
  318. points of interest have been forwarded and are listed here.
  319. 5.2
  320. Headphone sockets
  321. 5.2
  322. These stereo sockets are mechanically very delicate and several machines
  323. have been in for repair. (This is presumably because these sockets are
  324. getting used more now that there seems to be a little more notice being
  325. taken of the fact that the Archimedes is capable of matching other makes
  326. of computer, when it comes to music and sound effects.) The replacement
  327. of these sockets is fairly simple but involves completely dismantling
  328. your machine and getting the motherboard out.
  329. 5.2
  330. More serious is the fact that weæve had some machines in for repair with
  331. the sound output chip blown. Although this is a very cheap repair, I can
  332. only think that this was caused by people using the socket whilst music
  333. was actually playing! Looking at the circuit diagram, I find it
  334. difficult to see how shorting the contacts in the socket by plugging in
  335. headphones, or whatever, whilst it is playing should be able to blow
  336. anything up, but there it is. I suggest it would be for sensible to
  337. cause your machine to be silent while plugging things into this socket.
  338. 5.2
  339. RGB video output failure
  340. 5.2
  341. Further to the question öDoes disconnection or connection to the RGB
  342. socket while things are switched on blow the VIDC (Video Output) chip?ò
  343. The answer is most definitely yes, even though several people have
  344. expressed surprise, saying öWell, Iæve plugged and unplugged mine for
  345. years and years, and Iæve never had any problems.ò
  346. 5.2
  347. The fact is that eventually it will blow up, as there simply isnæt any
  348. static protection in the early machines. The modification I mentioned
  349. last month has sparked a lot of interest. (Bad choice of words there,
  350. Ray! Ed.) We can fit this for you and we can offer this item, fitted for
  351. ú15, but you will have to sort out the carriage.
  352. 5.2
  353. This protection feature is already incorporated into the 400/1 series,
  354. the 3000 and everything since, and will only be needed in the 300 series
  355. and the early 440æs. To my certain knowledge, this modification has put
  356. an end to the grief being caused by pupils öin the knowò at a couple of
  357. schools, deliberately plugging and unplugging monitors and Arabellas
  358. (thatæs what VIDCs are called) are not cheap.
  359. 5.2
  360. A3000 crashes and aborts
  361. 5.2
  362. My findings on this subject are a bit distressing and, to make matters
  363. worse, I own one of these troublesome machines and can speak from
  364. experience. We have had a slowly increasing number of people losing work
  365. because their 3000 occasionally crashes with the öAbort on transferò, or
  366. öAddress exceptionò captions coming up. These problems have been traced
  367. to impedance peculiarities on the pin and socket connections of the
  368. expansion ram cards. At first, the ram expansion itself was suspected
  369. but we have finally discovered that these connections sometimes go high
  370. impedance at the high frequencies of the ram access speeds. The
  371. ösometimesò is whatæs giving the problem, as the bulk of these expan
  372. sions run trouble free.
  373. 5.2
  374. My own belt and braces solution to this has been to remove the pins and
  375. sockets, and replace them with gold plated counterparts Ö No more
  376. problems! This, of course, is öopen heartò surgery and, if not done by
  377. an Acorn Service Centre, will invalidate any guarantee and, if it is not
  378. performed using the correct equipment, it can destroy the machine as
  379. well. (Solder suckers are completely incapable of performing this task
  380. and the 4 layer board is too delicate to risk damaging.)
  381. 5.2
  382. I have helped several people out with a temporary DIY tip that consider
  383. ably improves the reliability of these connections. However, you should
  384. only attempt this if you are familiar with opening your machine and
  385. fiddling inside it. Locate the ram board, lift it off the P.C.B.
  386. expansion pins and lay the board to one side. Take a can of WD40, or
  387. Contek 9, but nothing else, and find a clean bottle top or small dish.
  388. Spray some of this into the cup and, using a cotton bud, carefully rub
  389. around all the expansion pins, taking care not to distort any. Do not
  390. spray anything directly into the machine.
  391. 5.2
  392. This should be done in a well lighted area and at the end, the pins
  393. should be slightly moist (not too much and not too little!). Take the
  394. ram card, and offer it onto the pins, checking that all pins align
  395. properly into their relevant socket, and press it down. (Check that the
  396. speaker wires do not get in the way.) Once the board has öbottomedò,
  397. pull it back up again about ╝ö (6mm), and then ease it down until it
  398. still about 1/32ò (1mm) away from the bottom. Donæt push it all the way
  399. down this time so that it leaves the connectors on öfreshò metal. This
  400. procedure should temporarily relieve the crash situation but the
  401. following test will reveal whether your problem is corrosive or
  402. mechanical.
  403. 5.2
  404. Leaving the lid off, (beware of the high voltages in the power supply if
  405. your machine has a cardboard p.s.u. cover) connect your machine up to
  406. monitor and mains Ö no other connections are needed Ö and switch on. You
  407. should now have the desktop visible on your monitor. If your expansion
  408. is Atomwide then very slightly rocking it from front to back (Do not
  409. exceed ╝ö movement) will not disturb the display if the fault was
  410. corrosion. If the fault was mechanical, you will see the Address
  411. Exception or Abort error flag, in which case the problem is mechanical
  412. and you need to rush to your nearest Acorn Service Centre.
  413. 5.2
  414. If you have the Morley board, this is a little more difficult, as you
  415. will have to carefully hinge up the keyboard and find a way of holding
  416. it up (get someone to help you, as if you drop it you could short
  417. something, or break the flexible connector strips) and now take hold of
  418. the front edge of the board and raise and lower it about 3/8ö and watch
  419. for the same effects as already mentioned.
  420. 5.2
  421. (This problem would probably have been averted if the pin and socket
  422. components used at time of manufacture had been the gold flashed type,
  423. but this obviously would have increased the product cost.)
  424. 5.2
  425. STOP PRESS
  426. 5.2
  427. After talking to another dealer at the recent Acorn User Show, I have
  428. been able to find out from a couple of their personnel (unofficially)
  429. that Acorn did indeed have a couple of batches of A3000æs that came with
  430. oxidized expansion pins. So I suggest that either you offer your machine
  431. to your dealer for him to sort out, or heed the above instructions, and
  432. also try a light rub with a very small piece of öScotchbriteò or pan
  433. scourer. Do not use anything metallic because that will leave a
  434. residue.ááA
  435. 5.2
  436.  
  437.  
  438.