home *** CD-ROM | disk | FTP | other *** search
/ Archive Magazine 1996 / ARCHIVE_96.iso / text / hints / volume_02 / issue_05 < prev    next >
Text File  |  1995-02-16  |  14KB  |  307 lines

  1.  
  2. Å   How to wipe a disc clean Ö Having explained in H & T in issue 2.1
  3. how to use *LIBöò and *WIPE * ~C to wipe a disc clean, here is the
  4. really quick way! Take a blank disc and do a *BACKUP onto the disc to be
  5. purged Ö takes about 10 seconds all together, even with only a single
  6. drive!
  7. 2.5
  8. Å   Microlink Modem connections Ö We have at last sorted out the
  9. connections necessary for the Microlink Multispeed modem. The problem is
  10. that it seems to need two different connections depending on whether you
  11. are using ArcTerm or Hearsay. Anyway, here are some connections that
  12. seem to work OK. ArcTerm version first:
  13. 2.5
  14. Modem    Computer
  15. 2.5
  16. GND   1
  17. 2.5
  18.             }╤   5   GND
  19. 2.5
  20. GND   7
  21. 2.5
  22. RXD   2   ╤   3   TXD
  23. 2.5
  24. TXD   3   ╤   2   RXD
  25. 2.5
  26. RTS   4   ╤   7   RTS
  27. 2.5
  28. CTS   5   ╤   8   CTS
  29. 2.5
  30.             6   DSR
  31. 2.5
  32. DSR   6   ╤{2 .5
  33.             1   DCD
  34. 2.5
  35. DTR   20   ╤   4   DTR
  36. 2.5
  37. Note that the Archimedes DCD is not connected to the modem DCD but to
  38. the DSR to ensure that it is ON all the time. The modem DCD is only ON
  39. whilst on-line. Here are the Hearsay connections:
  40. 2.5
  41. Modem    Computer
  42. 2.5
  43. GND   1  
  44. 2.5
  45.           }╤   5   GND
  46. 2.5
  47. GND   7
  48. 2.5
  49. RXD   2   ╤   3   TXD
  50. 2.5
  51. TXD   3   ╤   2   RXD
  52. 2.5
  53. RTS   4   ╤   7   RTS
  54. 2.5
  55. CTS   5   ╤   6   DSR
  56. 2.5
  57. DSR   6 (NC)
  58. 2.5
  59. DTR   20 (NC)
  60. 2.5
  61. DCD   8   ╤   9   RI
  62. 2.5
  63.             1   DCD}
  64. 2.5
  65.             4   DTR} linked
  66. 2.5
  67.             8   CTS}
  68. 2.5
  69. Å   BBC Hard Discs Ö If you have BBC hard discs that use the 1 MHz bus,
  70. you can run them on the Archimedes under the new 6502 emulator,
  71. ö65hostò, that comes with RISC-OS. All you do is enter 65host and load
  72. the BBC 1770 ADFS then, assuming you have an I/O podule, connect the
  73. hard disc to the 2 MHz bus and away you go.
  74. 2.5
  75. (Surely it wouldnæt be too difficult, would it(?), to patch it into the
  76. existing operating system to make the hard discs accessible in native
  77. mode instead of limiting it to use with the emulator? Could anyone do
  78. that for us? Ed.)
  79. 2.5
  80. Å   Naff RTC Month Ö If you get this error message when running the
  81. desktop, the chances are that it is time to change your batteries. Acorn
  82. suggest changing them once a year.
  83. 2.5
  84. Å   Repton 3 Ö first a comment Ö The characters included are exactly the
  85. same as in the BBC version even though they are mode 9, so it looks like
  86. mode 5 on the BBC. This is disappointing as the extra resolution and
  87. colour are wasted unless you redefine the characters Ö a mammoth task as
  88. there are 768 altogether! (Phil Armstrong, Doncaster)
  89. 2.5
  90. Phil also says╔ I redesigned the first 48 characters which took quite
  91. some time and I did encounter a few problems, namely my maps occasion
  92. ally were wiped or the start position changed. To get round this
  93. problem, I examined the data files and found:
  94. 2.5
  95. &0000 to &10A0   8 Map definitions and colours for each map
  96. 2.5
  97. &10A0 to &70A0   48 character definitions
  98. 2.5
  99. So if you lose your maps or wish to copy a character set to another set
  100. of maps, follow these operations:
  101. 2.5
  102. *Load Newdata 10000    load new char-acters as saved by editor
  103. 2.5
  104. *Save Char 110A0 170A0   save character set alone
  105. 2.5
  106. *Load Olddata 10000   load file contain-ing required maps
  107. 2.5
  108. *Load Char 110A0   overlay new character set
  109. 2.5
  110. *Save Newfile 10000 170A0   save maps and characters together
  111. 2.5
  112. Newfile can then be loaded into the game. Changing characters does not
  113. seem to affect the competition numbers the game gives you.
  114. 2.5
  115. Å   Games on the 440 Ö Many games programs will not run on the 440 if
  116. the screensize is set above 160k, so you should try *Configure Screen
  117. size 5 before running the game.
  118. 2.5
  119. Å   Pacmania Ö Two avid öPacmaniacsò, Harjit Takshak and Linus Twizell,
  120. have provided some Pacmania hints:
  121. 2.5
  122. Do a *LOAD PACMANIA 10000 then you can set the number of lives with
  123. ?&102C8 = n (but too many slows the games down) and ?&113D4 = n sets the
  124. number of points per pill and ?&10234 = n sets the number of credits and
  125. then CALL &10000 starts off the game.
  126. 2.5
  127. Å   GammaPlot Ö It is possible to change the colour of a line on a line
  128. graph by using the command *SG17,n,128 where n is the GCOL number (e.g.
  129. 48 = blue). This command can also be used in the Macro mode followed by
  130. a line with GRAPH (just the graph) or CHART (graph and axis). The colour
  131. will be saved, along with the graph, to disc.
  132. 2.5
  133. Å   Printer problems Ö there have been one or two problems with spurious
  134. operation of printers, especially with Integrex printers when doing
  135. graphics dumps. These are caused by timing problems on the Archimedesæ
  136. parallel port control lines and can be solved by an internal circuit
  137. board modification that Acorn have recognised as a field change, i.e. if
  138. you are having problems, go to your local Archimedes dealer and ask if
  139. he can do field change 2002 for you. (D.I.Y. field changes will void
  140. your warranty, but if you want details anyway, send us an S.A.E.)
  141. 2.5
  142. Å   Conditional booting (cf Archive 2.3, page 13) Philip Colmer says
  143. that unfortunately *FX200,2 followed by reset is treated as a power-on
  144. reset so the monotonic clock is reset. Probably a better way is
  145. SYSöOS_Byteò,253,0,255 TO break% where break% is 0 for soft break, 1 for
  146. power-on reset and 2 for a hard break Ö a bit more reliable than
  147. checking a clock value.
  148. 2.5
  149. Å   BCPL on ADFS Ö J Laski writes╔ I am a BCPL freak: due to the fact
  150. that ADFS was not available when it was designed, the ROM system causes
  151. files to be read/written with OSBGET/PUT rather than OSFILE/OSGBPB;
  152. also, intermediate files in the compiler and editor use names such as
  153. Backup$ which ADFS abhors.
  154. 2.5
  155. To get round this, patch the routine in the ROM (image disk) FSTYPE
  156. (G39) always to return 7 (see manual p117). In both BCPLARG and BCPLCCG,
  157. patch the second static load (LLL) in G1 from öOCODE$$ò to öOCODE!!ò. In
  158. ED, in G318 patch the static load in G318 about 40 words before the SWL
  159. near the end of the routine; this can best be found by looking for the
  160. long forward jump about 30 Cintcodes from the beginning. (N.B. I use an
  161. extended ED, so have only given rough positions; G318 is the last
  162. routine called from G1.)
  163. 2.5
  164. If you feel you cannot make these changes yourself, and send me a disk
  165. with proof that you have a legal copy of BCPL and a stamped self-
  166. addressed mailer, and I will send you a modified version. I would
  167. appreciate, but do not insist on, any utilities that you think might
  168. amuse me.
  169. 2.5
  170. I am seeking a version of BCPL in ARM code and, if ACORN cannot be
  171. persuaded to release their version, will do it myself, probably somewhat
  172. Éadhoclyæ. If you have any views on desirable facilities, I should be
  173. glad to read them. I shall shareware distribute with a licence fee
  174. requested. (Dr J Laski, 18 Ebury Street, London, SW1W 0LU.
  175. 2.5
  176. Å   öColour Printouts Ö The Easy Wayò  Ö I read with considerable
  177. interest the article by W R (Basil) Davis on taking 35mm photographs of
  178. the monitor screen. (Archive 1.9, page 52) I was able to put this to
  179. practical use recently since I wished to design and produce some
  180. graphics screens (using GammaPlot) and use these in a conference
  181. presentation. I did consider using acetates with an overhead projector,
  182. but decided 35mm slides would be more suitable.
  183. 2.5
  184. The following additional comments (which should be read in conjunction
  185. with the original article) may assist other Archive readers contemplat
  186. ing taking such pictures:
  187. 2.5
  188. 1) Before embarking on photographing any screen displays, it is
  189. important to remember that any apparently minor öblemishò will be
  190. magnified considerably if your results are being projected using 35mm
  191. slides. Careful thought should be given to the screen layout and the
  192. choice of colours; provided they donæt clash, brighter foreground
  193. colours are preferable, with black or a dark blue making an ideal
  194. background. The normal Archimedes text is quite visible when projected
  195. using 35mm slides; additionally I used a GammaPlot feature to enlarge
  196. the standard text for titles etc. and, whilst this was quite acceptable
  197. on a monitor screen, when projected it did appear noticeable öchunkyò.
  198. Next time I will use the Archimedes special fonts with GammaPlot
  199. instead.
  200. 2.5
  201. 2) In choosing the 35mm film to use, one important consideration may be
  202. the speed with which you wish the results to be returned to you. Whilst
  203. most colour print films can be developed overnight or even within an
  204. hour or so, this is not the case with colour slide films. Most have to
  205. be sent away for processing and a delay of 10Ö14 days is not untypical.
  206. If you want colour slide film developed quickly it is best to use (non
  207. öprocess paidò) Kodak Ektachrome film which good photographic shops
  208. should get returned to them within 2Ö3 days. There are also a few
  209. specialist laboratories which offer a 2Ö3 hour service.
  210. 2.5
  211. 3) When determining the correct Épeak whiteæ exposure using an automatic
  212. camera, it is possible for the cameraæs metering system to be too
  213. sophisticated! I was using a Minolta 7000 AF camera and the exposure
  214. settings fluctuated quite rapidly as the monitor screen picture was
  215. scanned and refreshed. Checking the exposure using a different camera
  216. confirmed the articleæs öif all else failsò assumed exposure settings.
  217. 2.5
  218. 4) Focusing may well be perfectly feasible when using a camera with
  219. auto-focus. I found it best to set the initial focus with a screen
  220. display visible, rather than a blank screen, and then switch the auto-
  221. focus off Ö this is because the Minolta 7000 AF system tries to refocus
  222. after every picture is taken. In setting the combination of shutter
  223. speed and aperture, it is probably preferable to err towards the slower
  224. shutter speed/smaller aperture (higher Éfæ number) setting as this will
  225. increase the Édepth of fieldæ and give a greater safety margin if the
  226. focusing is not quite right.
  227. 2.5
  228. 5) As mentioned in the original article, a sturdy tripod is virtually
  229. essential and a remote shutter release (or possibly the cameraæs Delayed
  230. Action feature Ö if fitted) must be used to avoid camera shake and
  231. consequent blurred pictures. Additionally, switching off the room lights
  232. when taking the photographs should avoid any extraneous reflections off
  233. the monitor screen possibly spoiling the finished results.
  234. 2.5
  235. 6) If you are using 35mm slides and the results are to be projected
  236. using a professional (rather than domestic) slide projector, it is
  237. definitely worthwhile having the slides Églass mountedæ Ö although this
  238. does increase the cost! This prevents the heat from the projector lamp
  239. öpoppingò the slide and causing part(s) of it to appear out of focus.
  240. For those who are interested in further reading on the subject, there is
  241. an article in January 1989æs issue of BBC Acorn User (pages 81-83) on
  242. the subject of taking photographs of the computer screen, there is even
  243. advice on taking pictures of commercial games software.    Rob Brown.
  244. 2.5
  245.  
  246. 2.5
  247. Å   Willie Stott has sent in a very complete set of facilities for
  248. support of the Epson LQ series, including a download font designer. This
  249. will only be of interest to those with the right hardware, but he has
  250. used a neat idea to get control of any extra facilities that your
  251. printer supports, but for which First Word Plus has no category. He
  252. points out that foreign characters can be used as printer definitions.
  253. The characters with ASCII values between &E0 and &EE appear on the
  254. bottom line of the character window and you have to do three things:
  255. 2.5
  256. a)   Define the character as a suitable message to the printer in the
  257. character translation table of the hex file, then turn it into a driver.
  258. 2.5
  259. b)   Design suitable character definitions (using VDU23,...) to
  260. represent the action of the printer so that it is added to the compu
  261. teræs character table when FWP is booted up.
  262. 2.5
  263. c)   Include your definitions in the FWP boot file before the *key 1 ...
  264. line.
  265. 2.5
  266. Å   A tip from an unknown writer (maybe Paul knows who to acknowledge Ö
  267. Sorry, no. Ed.): how would you like to be able to produce a spool file
  268. of your FWP output? What? Not much!? You may be missing something, as
  269. you could then move the file to another machine and get a printout via
  270. that machine, e.g. via an IBM or a mainframe. The trick is to *SET
  271. PrinterType$4 <spoolfilespec> before booting up FWP. Then select
  272. önetwork portò from the printer box in FWP. The system variable
  273. PrinterType$4 holds the pathname for network printer output. The
  274. <spoolfilespec> needs to include the full adfs:$.filename format.
  275. 2.5
  276. Å   Someone besides me is the kind of two-fingered typist that hits
  277. <ctrl> at the same time as <A>. What should our correspondent do? File
  278. his fingers down? Stick a piece of rough Velcro on the <ctrl> key? No,
  279. contact the Archive office and have someone write a module to intercept
  280. <ctrl-A> and make a beep. The trouble is that when you are just feeling
  281. bold enough to try to modify a bit of assembler to help a friend, you
  282. should not choose a keyboard buffer intercept. There is no way to try it
  283. out safely, or even to get a decent service from the debugger as every
  284. keypress goes via your duff code. You cannot even type ö*rmkillò
  285. successfully. The only key which really works is <reset>. Help!! All
  286. serious programmers out there: where did I go wrong? Why does the IRQ
  287. stack pointer unwind so fast? P.S. If you can include a <ctrl-f12> =
  288. swapcase facility in the module, you will win a large öthank youò and a
  289. small prize for the best solution. You can start with the PrintKey
  290. module program in Archive1.10, page 45.
  291. 2.5
  292. Å   There is a new version of FWP available from Acorn for those whose
  293. copy does not pause at the ends of each page, even if the flag has been
  294. correctly set in the printer driver. Return your disk to Customer
  295. Support, Acorn Computers Ltd., Fulbourn Rd., Cherry Hinton, Cambridge
  296. CB1 4JN. (Reprinted from BBC Acorn User, Feb æ89, p 10).
  297. 2.5
  298. It is rumoured that there is a genuinely new version on its way, perhaps
  299. to coincide with RISC-OS.
  300. 2.5
  301. Å   Johnathan Young has a cure for the FWP buzz (the one which comes out
  302. of the speaker or down the external audio output, and sounds like the
  303. onset of tinnitus): boot up and then exit EMRæs sound synth package. A
  304. bit expensive for silence, but you get the music program free! Has
  305. anyone an explanation or a better solution?
  306. 2.5
  307.