home *** CD-ROM | disk | FTP | other *** search
/ Archive Magazine 1996 / ARCHIVE_96.iso / text / hints / volume_09 / issue_07 < prev    next >
Text File  |  1996-03-07  |  21KB  |  457 lines

  1. Hints and Tips
  2. 9.7
  3. Audio balance Ö I recently bought an audio mixer card for my (early) 
  4. RiscPC 600. I have just Ö finally Ö managed to balance the output of 
  5. left and right audio channels from my CD-ROM drive through the audio 
  6. mixing card. The method given in the instructions requires repeated 
  7. dismantling of the computer. I gave up after five attempts.
  8. 9.7
  9. I have just noticed that !SCSIMgr for the Cumana SCSI 2 cards has an 
  10. option for adjusting the audio output. It only took three attempts 
  11. (fifteen seconds in total), to get the output accurately set! 
  12. 9.7
  13. David Crossley <david@dacross.demon.co.uk>
  14. 9.7
  15. ANT Internet Suite Ö One or two hints, having used this a fair bit for 
  16. email and news...
  17. 9.7
  18. Old news Ö When you subscribe to a new newsgroup, it will download news 
  19. from that group starting from the last time you downloaded any news. If 
  20. you want to pick up news from that group from some time ago, you have to 
  21. do it by fiddling with the relevant files. (Iæll tell you how to do it, 
  22. but canæt accept any responsibility if you mess it up. OK?)
  23. 9.7
  24. Assuming you have just subscribed to the new group, go into the 
  25. !InetSuite.Internet.Spool.News directory and copy the /active file as /
  26. activeOLD, or somesuch. Edit the original /active file and delete all 
  27. the groups you donæt want. Now go into the !InetSuite.Internet.Files 
  28. directory and copy the !InetNews file as, say, !IntNewsO. Edit !InetNews 
  29. and change the line:
  30. 9.7
  31. Last: 960215 140659 GMT
  32. 9.7
  33. to read whatever starting time/date you want. (As you can probably 
  34. gather, the format is yymmdd hhmmss.) Then load up !IntSuite, connect to 
  35. your provider and download mail and news. Finally, go back to the two 
  36. files you changed, delete the edited versions and restore the original 
  37. versions by renaming them as      /active and !InetNews.
  38. 9.7
  39. To avoid duplicating news, you may want to download the news normally 
  40. before following the above procedure so that you donæt duplicate the 
  41. news from the new group when you download normally next time.
  42. 9.7
  43. Mailshots Ö (There may be an easier way, if so, tell me, please, but...) 
  44. If you want to mail to a number of different people, you can obviously 
  45. have aliases and type, into the CC box on the öMail to fileò window:
  46. 9.7
  47. fred, bert, harry, etc
  48. 9.7
  49. To simplify it even more, you can set up an alias such as blokes which 
  50. is defined as:
  51. 9.7
  52. fred, bert, harry, etc
  53. 9.7
  54. and then just type blokes in the CC box of the Send Mail to File box.
  55. 9.7
  56. If you want to send postings to multiple news groups, you can, again, 
  57. either use aliases to avoid all the typing, or prepare the message and 
  58. then edit the OUTNEWS file. Simply extend the line:
  59. 9.7
  60. Newsgroups: comp.sys.acorn.misc[0d]
  61. 9.7
  62. to something like:
  63. 9.7
  64. Newsgroups: comp.sys.acorn.misc,comp. sys.acorn.apps,comp.sys.acorn. 
  65. advocacy[0d]
  66. 9.7
  67. Note that there are no spaces between the newsgroup names, just a comma.
  68. 9.7
  69. Set alias Ö I hope you have discovered this wonderful command! Click on 
  70. a window in which a posting or an email is displayed, click on <menu> 
  71. and then select ArticleÖ>Set alias or MessageÖ>Set alias and up comes 
  72. the Address Book window with the name and address neatly typed out 
  73. waiting for you to add an appropriate alias. Wonderfully simple!
  74. 9.7
  75. Editing aliases Ö Iæm sure everyone else had sussed this except me! It 
  76. seemed that sometimes when I edited an alias, it created a second 
  77. version and so I had to delete the first, but then when I wanted to 
  78. create two different aliases, it simply edited the one! öWhatæs the 
  79. rule?ò, I asked the excellent ANT support team (always, only an email 
  80. away!). Itæs simple, and logical, and obvious Ö once you know. If you 
  81. alter the alias name, it creates a new definition, in addition to the 
  82. old one, but if you edit the definition, it has to just change it Ö it 
  83. cannot create a complete new alias, otherwise you would then have two 
  84. definitions of the same alias name.
  85. 9.7
  86. Ed.
  87. 9.7
  88. ScanLight 256 Ö I remember recently an article saying that version 1.15 
  89. of the ScanLight 256 software needed upgrading to 1.59 to work on the 
  90. RiscPC.
  91. 9.7
  92. My scanner is secondhand so I cannot do that. When I tried to load the 
  93. application, it put its icon on the iconbar, but clicking on this did 
  94. not give the relevant dialogue box. However, when I got my RiscPC, I had 
  95. some funnies with Ovation, and one comment from Beebug was to use one of 
  96. the old modes. So I thought I would try this with ScanLight.
  97. 9.7
  98. Typing in öMode 27ò (rather than 16 colours and 640╫480) allowed me to 
  99. get a dialogue box which was partly off the bottom right hand corner of 
  100. the screen but could be dragged into full view and seemed to behave 
  101. normally.
  102. 9.7
  103. Then one day, I had been using Artworks and loaded the scanner, having 
  104. forgotten the above. After some time, I realised it was working 
  105. perfectly normally despite the fact that I was in a new mode (256 
  106. colours, 600╫800). When I loaded ScanLight and then tried to load 
  107. Artworks I got an error relating to a module called ABIMod. The version 
  108. in ScanLight was an older version than the one in Artworks, and when I 
  109. updated the one in ScanLight it worked as it did previously on my A5000.
  110. 9.7
  111. So the new version 1.59 of ScanLight may have some tweaks to the 
  112. software, but doing the above (if you have Artworks) gets it working and 
  113. it saves you ú11.75!
  114. 9.7
  115. Keith Baxendale <kjbax@argonet.co.uk>
  116. 9.7
  117. Toggle-size answer Ö (RiscPC only) Thanks to all those who sent in an 
  118. answer to Paulæs toggle-size trouble in last monthæs Help! Column. It 
  119. was, indeed, a CMOS RAM configuration setting. However, there is no 
  120. simple way of altering it without using a small Basic program of the 
  121. following form, but I must warn you that, before playing, you should 
  122. save your configuration by using !Configure, so that you can restore it 
  123. if you make a mess!
  124. 9.7
  125. Byte%=28
  126. 9.7
  127. Bit%=4
  128. 9.7
  129. SYSöOS_Byteò,161,Byte% TO ,,CMOS%
  130. 9.7
  131. IF CMOS% AND 1<<Bit% THEN
  132. 9.7
  133.  PRINTöWas 1 now set to 0ò
  134. 9.7
  135.  CMOS%=CMOS% AND NOT 1<<Bit%
  136. 9.7
  137. ELSE
  138. 9.7
  139.  PRINTöWas 0 now set to 1ò
  140. 9.7
  141.  CMOS%=CMOS% OR 1<<Bit%
  142. 9.7
  143. ENDIF
  144. 9.7
  145. SYSöOS_Byteò,162,Byte%,CMOS%
  146. 9.7
  147. This program swaps the state of bit 4 within byte 28 of the CMOS RAM 
  148. each time you run it, and has the immediate effect of making windows 
  149. that are toggle-sized, open as far as, but not obscuring, the iconbar. 
  150. Holding <shift> down reverses the behaviour.
  151. 9.7
  152. This is by no means the only configuration setting not available by any 
  153. other method. If you alter the program so that Bit%=1, it will change 
  154. the setting for solid icon drags, so that, when you drag a file icon, 
  155. you will either get a moving icon or just a dotted box. This option also 
  156. takes immediate effect.
  157. 9.7
  158. When Bit%=0, this tells RISC OS whether to truncate filenames that are 
  159. too long (i.e. greater than ten characters) and therefore potentially 
  160. overwrite an existing file, or to give a (rather meaningless) error 
  161. message to prevent you from saving a file unless it has ten characters 
  162. or less in the name. You need to reset the computer before this option 
  163. will take effect.
  164. 9.7
  165. There are several others, and they are all documented on page 1-356 of 
  166. the PRMs. I will put a copy of the program on the monthly disc.
  167. 9.7
  168. James Taylor, NCS
  169. 9.7
  170. Impression non-smart quotes Ö Having crowed about how wonderful it was 
  171. that Impression (4.08/5.08) now produces automatic smart quotes, I am 
  172. recanting slightly. How are you supposed to get unsmart quotes, e.g. for 
  173. 5╝ö and 3╜ò, without switching the smart quotes off and on again?
  174. 9.7
  175. My partial answer is the abbreviations function. I use ö5oò as 
  176. abbreviation for 5╝ö and ö3oò for 3╜ò. But what about 14ö and 17ò 
  177. monitors, etc? Well, I tried defining öoò as a single unsmart double 
  178. quote, but if you type ö17oò, it doesnæt expand the öoò, so you have to 
  179. type 17<space>o<space><left><left><delete><right><right>! Anyway, I have 
  180. now defined ö21oò as 21ö, ö17oò as 17ò and ö14oò as 14ö, so thatæs OK 
  181. until someone wants to talk about a 19╜ò monitor!
  182. 9.7
  183. Ed.
  184. 9.7
  185. RiscPC hole cutting Ö I keep reading how difficult people are finding it 
  186. to cut the openings on the RiscPC for new drives etc. I must admit I 
  187. donæt agree. Forget drills/hacksaws/ordinary knives Ö the tool to use is 
  188. a laminate cutting blade in a standard Stanley knife. This is the blade 
  189. which looks like a small blade set at a angle (not the curved one). It 
  190. is used by scoring through the plastic, it is very controllable and it 
  191. doesnæt wander easily as it locates nicely in the grooves. It only takes 
  192. a few strokes along each groove to cut through. I then use a small craft 
  193. knife to trim any slightly uneven edges and into the very corners. I 
  194. have now cut two openings like this and have had no problems. The 
  195. computer is the RPC600 and is 12 months old, so I believe it is one of 
  196. the thick plastic ones.
  197. 9.7
  198. Malcolm Sanders, Malcolm.Sanders@bbc.co.uk
  199. 9.7
  200. PCx86 Cards Ö Hints & Tips
  201. 9.7
  202. Jim Nottingham
  203. 9.7
  204. The article in Archive 9.1 p41 led to a fair amount of correspondence 
  205. with readers continuing to have problems in setting up their PC cards 
  206. and others coming up with excellent advice, so this is a follow-on 
  207. article to bring everyone up to date.
  208. 9.7
  209. One thing I hadnæt made clear in the original article was that the hints 
  210. and tips were aimed at configuring the Acorn PC card for the RiscPC. 
  211. However, a reader pointed out that the majority apply equally well to 
  212. Alephæs range of standard-size expansion cards.
  213. 9.7
  214. Erratum
  215. 9.7
  216. Thanks to Mike Clarkson for correcting my careless error in linking 
  217. Microsoft with the DOS software issued with the PC cards. In practice, 
  218. we get PC DOS which is produced by IBM Ö sorry about that.
  219. 9.7
  220. Software and documentation
  221. 9.7
  222. There are reports of Acorn cards being sent out with two versions of 
  223. support software and user-guides, marked öPC 486ò and öPC x86ò 
  224. respectively. Not unreasonably, some PC486 card buyers have used the 
  225. former to set up their card. This is a bit naughty of the suppliers as 
  226. it should be noted that the PCx86 software (v1.91 or later) and user-
  227. guide supersede those marked PC486 and are applicable to all Acorn PC 
  228. card variants.
  229. 9.7
  230. Drive formatting
  231. 9.7
  232. A number of people responded to my request for a reason for the 
  233. formatting funny described in the original article and elsewhere. 
  234. Especial thanks go to John Woodgate whose technical explanation not only 
  235. fitted the numbers perfectly but was sufficiently clear even for a 
  236. simple chap like me to understand! As John points out, there are two 
  237. definitions for a megabyte in general use:
  238. 9.7
  239. Å The first (which Iæll call Defn 1 for reference) is the simple one 
  240. which is that a Mb is a million bytes. Seems reasonable... In decimal 
  241. terms, this could be expressed as 106 bytes. So, for example, a 270Mb 
  242. SyQuest cartridge would cater for 270 ╫ 106 bytes, or 270,000,000 bytes.
  243. 9.7
  244. Å The second definition (Defn 2) is that, in computer terms (i.e. 
  245. binary), a megabyte is 220 bytes or 1,048,576 bytes. I hadnæt met this 
  246. one before, but we may be more familiar with the equivalent figure for a 
  247. Kb which is 210, or 1,024 bytes.
  248. 9.7
  249. From these numbers, we see that, numerically, there seems to be roughly 
  250. a 5% difference between the two definitions used for a Mb, and this is 
  251. what we get in practice. So, for the nominally 270Mb SyQuest cartridge, 
  252. we may see either of the following:
  253. 9.7
  254. Å Defn 1: 270,000,000 bytes ≈ 106 = 270Mb
  255. 9.7
  256. Å Defn 2: 270,000,000 bytes ≈ 220 = 257Mb
  257. 9.7
  258. In practice, we see both definitions being used and this has led to the 
  259. confusion about drive formatting. For example, if I stick a 270Mb 
  260. cartridge (using Defná1) into my SyQuest drive and click on Free on the 
  261. drive icon, Size will return only 256Mb. So this appears to be using the 
  262. Defn 2 method. However, it seems that, when we come to use !PCConfig to 
  263. set up a disc partition, this uses Defn 1 for the partition size. Very 
  264. confusing for the punters!
  265. 9.7
  266. So Johnæs explanation clarifies why, if the SyQuest cartridge returns 
  267. only 256Mb free (using Defn 2), it is possible Ö and indeed sensible Ö 
  268. to use !PCConfig to set up a full 270Mb PC partition (using Defn 1). As 
  269. proof of the pudding, once the partition has been set up on the drive, 
  270. we can perform Count on the partition icon (drive_x) and get ö270xxxxxx 
  271. bytes totalò.
  272. 9.7
  273. I think itæs worth noting that, although the two definitions apparently 
  274. give different capacities, we arenæt actually losing out if we use Defn 
  275. 2; in principle, we will still be able to squeeze the full 270 million 
  276. bytes onto the drive, even though Size suggests only 256Mb are 
  277. available. In practice, however, there will always be the additional 
  278. overheads for directories and file block size to contend with, reducing 
  279. the space actually available for data.
  280. 9.7
  281. Configuring for Windows
  282. 9.7
  283. The Éfeatureæ of DOS which has caused readers most problems is how to 
  284. finish up with the desired Windows desktop display following boot-up 
  285. (using Windows v3.xx). As described in the original article, this is 
  286. achieved by adding the C:WIN command at the end of the DOS main ÉBootæ 
  287. file (AUTOEXEC.BAT). In the event, all the reported problems proved to 
  288. have only two root causes, so Iæll look at these in some detail:
  289. 9.7
  290. Line terminator
  291. 9.7
  292. The first one is my fault (sorreeeee...). Iæd said to add C:WIN to the 
  293. end of the AUTOEXEC.BAT file but omitted to say that, if you are using 
  294. !Edit to do this, you should end the line with the [0d] line terminator. 
  295. Until you do, the WIN command will have no effect. Unfortunately, some 
  296. readers had added the [0d] by typing it in as a 4-character string. The 
  297. [0d] is in fact Editæs way of displaying the Carriage Return code in 
  298. hexadecimal (described in the Text Import article in Archive 8.3 p65). I 
  299. should have suggested the complete procedure:
  300. 9.7
  301. Å Load the AUTOEXEC.BAT file into !Edit.
  302. 9.7
  303. Å With the mouse, <select-drag> to mark a [0d] character present on any 
  304. line (any one will do Ö note that it is a single character; not a 4-
  305. character string).
  306. 9.7
  307. Å Type in C:WIN at the bottom but, before pressing <return>, press 
  308. <ctrl-C>. This will copy the marked [0d] command and add it to the end 
  309. of the C:WIN command.
  310. 9.7
  311. Å Press <ctrl-Z> to deselect the marked [0d].
  312. 9.7
  313. Å Press <return> to terminate the C:WIN[0d] command line.
  314. 9.7
  315. Å If present, delete the DOSSHELL command by deleting the line (probably 
  316. immediately preceding the C:WIN[0d] command) reading something like 
  317. C:\DOS\DOSSHELL.EXE[0d].
  318. 9.7
  319. Å Save the AUTOEXEC.BAT file.
  320. 9.7
  321. Some other text editors (e.g. StrongEd) automatically sort out correct 
  322. line terminators so, if you modify your AUTOEXEC or SYS files etc using 
  323. an alternative to !Edit, you may find you donæt need to follow the above 
  324. procedure for entering the [0d] command.
  325. 9.7
  326. Errors in AUTOEXEC.BAT
  327. 9.7
  328. This is one of the areas where DOS is not very friendly. If there is an 
  329. error in our main RISC OS !Boot file, for instance, this will be 
  330. detected during boot-up, RISC OS will bring up an explanatory error 
  331. message box and politely wait for us to click on OK.
  332. 9.7
  333. Not so with DOS! Any problems in AUTOEXEC.BAT will be detected, and DOS 
  334. will throw up an error message (e.g. öInvalid commandò) Ö but will keep 
  335. on going. So it is very easy to miss an error message in the fog of the 
  336. numerous copyright messages etc and, when everything stops, wonder why 
  337. we havenæt finished up with the Windows desktop.
  338. 9.7
  339. The only thing I can suggest here, if you hit problems, is to keep a 
  340. very beady eye on all the messages that scroll up the screen while DOS 
  341. is booting up Ö the cause of the problem may well be embedded somewhere 
  342. in there. Indeed, as boot-up progresses, it might help to either click 
  343. on Freeze or take one or more screenshots of the DOS window, using 
  344. !Paintæs snapshot feature (I find !Snippet ideal for this purpose). Then 
  345. you can read the start-up script at leisure and, hopefully, spot any 
  346. problems.
  347. 9.7
  348. CD-ROM drive
  349. 9.7
  350. Configuring a CD-ROM drive so that it has a unique drive letter, and 
  351. doesnæt clash with other drives, is another area which seems to have 
  352. caused readers no end of problems. My recommendation to leave it until 
  353. last and follow the procedure on p24 of the original Acorn PC486 user-
  354. guide to the letter didnæt work for everyone. Colin Bucklandæs method 
  355. described in Archive 9.6 p26 worked for him, but didnæt work for me or 
  356. others who tried it!
  357. 9.7
  358. So where does that leave us? Acorn seem to have picked up the problem by 
  359. modifying the procedures as given in the current user guide (PCx86), and 
  360. also adding further advice in the Read_Me file included with the CD-ROM 
  361. installation files that come with the card.
  362. 9.7
  363. Should you continue to have clashing drive problems of the type 
  364. described by Colin Buckland, it seems the definitive answer is to add an 
  365. extension to the relevant command line in AUTOEXEC.BAT to specify the 
  366. CD-ROM drive letter. Thus, for example, if you already have two PC 
  367. partitions set up as drive_c and drive_d respectively, and therefore 
  368. wish to configure the CD-ROM drive as drive_e, you would add the 
  369. extension so that the command line reads:
  370. 9.7
  371. C:\DOS\MSCDEX /D:MSCD000 /L:E
  372. 9.7
  373. The final letter E specifies the drive identifier. This is a handy 
  374. option because one reader mentioned that some early CDs for PCs assume 
  375. the CD-ROM drive is identified as drive_f. So you could cause your drive 
  376. to be correctly identified by giving the command line the extension /
  377. L:F. However, in that event, there will be a Égapæ in the drive 
  378. lettering and, for this to work (as described in the Read_Me file), you 
  379. also have to add the cryptic command LASTDRIVE=Z to your CONFIG.SYS 
  380. file. Isnæt DOS friendly...?
  381. 9.7
  382. Boot-up time
  383. 9.7
  384. There were various rather uncomplimentary comments about the sheer time 
  385. taken for DOS and Windows to boot up. Welcome to the wonderful world of 
  386. PCs, say I! Iæm afraid this is an inevitable result of using a complex, 
  387. inelegant, disc-based operating system and GUI. So, to a large extent, 
  388. we are stuck with it.
  389. 9.7
  390. However, there are a number of things we might do to prune at least some 
  391. of the excess, and here are a few suggestions:
  392. 9.7
  393. Memory allocation Ö During DOS boot-up, much of the time is taken up by 
  394. HIMEM testing the extended memory. This appears to be almost directly 
  395. proportional to the amount of RAM allocated for use by the PC card. This 
  396. is adjusted using the Memory section in !PCConfig, so it is easily 
  397. reduced or, if you then find yourself short of memory, just as easy to 
  398. restore.
  399. 9.7
  400. Single user Ö If you are running the network version of Windows (v3.11) 
  401. on a stand-alone machine, you can trim a few seconds by adding an 
  402. extension to the C:WIN command in your AUTOEXEC.BAT file so that it 
  403. reads C:WIN /n[0d]. A by-product of this, is that the pretty Microsoft 
  404. logo welcome display is omitted Ö but I think we can live with that...
  405. 9.7
  406. Start-up configuration Ö Acorn have given us an extremely flexible set 
  407. of options for initiating and modifying the PC card start-up routine. 
  408. These have major effects on the time taken, so having got used to how we 
  409. wish to use the card, we can configure the start-up to give us the 
  410. preferred optimum. This is easily achieved using the three options in 
  411. the Start-up section of !PCConfig.
  412. 9.7
  413. Start up on iconbar Ö This option is probably best for those users who 
  414. wish to go straight into using RISC OS with minimum delay, but who may 
  415. wish to use the PC card at some later stage in the session. It is near-
  416. instantaneous in that it simply loads !PCx86 onto the iconbar without 
  417. starting up DOS/Windows. When you eventually wish to use the PC card, 
  418. clicking on the PC icon as normal initiates DOS/Windows start-up, but 
  419. the downside is that it will then take some time to complete the start-
  420. up routine.
  421. 9.7
  422. Full screen Ö This option is probably best for those users who wish to 
  423. go straight into using the PC card from switch-on. The full screen is 
  424. taken over by DOS/Windows but the time taken to complete the start-up 
  425. routine is minimised. If, during this process, you wish to revert to 
  426. RISC OS, this is achieved simply by clicking <menu> which transfers the 
  427. DOS/Windows display into a RISC OS window. Start-up will continue albeit 
  428. at a slower rate but, in the meantime, you can use the RISC OS desktop.
  429. 9.7
  430. RISC OS window Ö This option is perhaps the most convenient compromise 
  431. for general use as DOS/Windows will start up from switch-on and in the 
  432. background, albeit at a snailæs pace (time for a cuppa?). But if you 
  433. then want to use the PC card straight away, and wish to speed things up, 
  434. simply double-clicking in the window converts it to a full-screen 
  435. display and minimises the time taken to complete the remainder of the 
  436. start-up. However, if you want to use the RISC OS desktop instead, and 
  437. the PC window intrudes, simply click on the latteræs close icon to 
  438. remove it. This freezes the DOS/windows start-up but, next time you 
  439. click on the PC icon to re-open the PC window, start-up resumes from 
  440. where it left off.
  441. 9.7
  442. Altogether a very flexible and user-friendly set of options; thanks 
  443. Acorn.
  444. 9.7
  445. Windows 95
  446. 9.7
  447. I havenæt yet installed or used Windows 95 on an Acorn machine, so 
  448. cannot comment on compatibility etc. However, Mike Buckingham has 
  449. written a very helpful article which is published in the February 1996 
  450. issue of Acorn User (pp54/55).
  451. 9.7
  452. The end bit
  453. 9.7
  454. Please keep further queries and ideas coming, either to me at 16 
  455. Westfield Close, Pocklington, York, YO4 2EY or to Michael Clarkson at 
  456. Riggæs Hall, The Schools, Shrewsbury, SY3 7AZ.áuá
  457.