home *** CD-ROM | disk | FTP | other *** search
/ Archive Magazine 1996 / ARCHIVE_96.iso / text / hints / volume_08 / issue_12 < prev   
Text File  |  1995-08-01  |  6KB  |  139 lines

  1. Hints and Tips
  2. 8.12
  3. ÉBad compression fieldæ Ö We have had a number of comments on the 
  4. subject of the Bad compression field error produced by Laser Direct and 
  5. the TurboDrivers, so many thanks to everyone who wrote in Ö too many to 
  6. mention you all.
  7. 8.12
  8. The main causes seem to be either a lack of memory, or a lack of disc 
  9. space. The usual memory saving techniques apply, quitting unused 
  10. applications, reducing the screen resolution or number of colours and so 
  11. on. Lack of disc space is most frequent on floppy-only machines for 
  12. obvious reasons. During printing, a file is placed in the !Scrap 
  13. directory, so to ensure that you have as much space as possible, create 
  14. a scrap disc (preferably 1.6Mb if your computer will support it), 
  15. containing only the !Scrap application, and make sure that you double 
  16. click on that version before attempting to print. This will require 
  17. additional disc swapping, but should allow printing to continue 
  18. successfully.
  19. 8.12
  20. NCS.
  21. 8.12
  22. Booting problems Ö When exchanging the 80Mb hard drives in our two 
  23. A5000s for 430Mb drives, I reset the machine to auto boot, and had the 
  24. desktop auto boot option set, but do you think it would boot? The 
  25. solution was to issue a *OPT 4,2 command, from which point everything 
  26. behaved as anticipated. There were no discernible differences on 
  27. *STATUS.
  28. 8.12
  29. This is a known bug in RISC OS 3. When you tick the auto boot option, 
  30. this should be set, but unfortunately it is not. The reason it makes no 
  31. difference to the status is that it is not a configuration option, but, 
  32. in fact, it writes the option to the disc. (If you do a *CAT then the 
  33. top line should read something like  Dir. SCSI:: Words.$ Option 00 
  34. (Off); the option given will be the second number in the *OPT command.) 
  35. MH.
  36. 8.12
  37. Alan Jackson, Oamaru, NZ.
  38. 8.12
  39. ÉFormattingæ hard discs Ö This has been covered several times in the 
  40. past but, unfortunately, we have had a number of people recently who 
  41. have experienced difficulty in preparing hard discs for use. While we 
  42. cannot provide a step-by-step description, since all the controller 
  43. cards are supplied with different software, many of the operations which 
  44. need to be completed are similar.
  45. 8.12
  46. Remember that, for your particular system, you will need to read the 
  47. manual supplied with your hard disc controller card, or the HFORM 
  48. section of the manual if you are using a native drive (for example an 
  49. IDE drive on the Risc PC).
  50. 8.12
  51. The most important point is that you MUST NOT actually format the drive. 
  52. If you do, you are more likely to damage the drive than make it usable! 
  53. All modern drives have the low level formatting laid down during the 
  54. manufacturing process, and trying to reformat the drive is likely to 
  55. damage the original formatting, but not completely replace it, rendering 
  56. the drive unusable.
  57. 8.12
  58. Instead you need to initialise the drive. The precise wording will 
  59. depend on your controller card Ö Morley SCSI and HForm give you an 
  60. option to öFormat or just Initialise the driveò, and the Cumana SCSI 2 
  61. card requires that you set up Épartitionsæ on the drive. The 
  62. initialisation process involves writing out RISC OS information about 
  63. the position of files on the drives, contents of the root directory and 
  64. so on, but does not do the potentially dangerous low level formatting.
  65. 8.12
  66. NCS.
  67. 8.12
  68. Quicksort Ö An error crept into Colin Singletonæs Programming Workshop 
  69. last month Ö at some point, the Basic program detokenised incorrectly. 
  70. All the ASC commands should be replaced with a minus sign to make the 
  71. program work. Thank you to all those who rang or wrote to point out the 
  72. error.
  73. 8.12
  74. NCS.
  75. 8.12
  76. Screenbanks Ö Following on from Matthew Hunteræs Programming Workshop 
  77. article on screen banking (Archive 8.8 p69), errors may not be displayed 
  78. because the error is written to the screen bank being updated, and not 
  79. the screen bank being viewed. By using the following procedure, you can 
  80. link both screens back together.
  81. 8.12
  82. DEF PROCresetscreens
  83. 8.12
  84. SYS 6,113,SB_bank%
  85. 8.12
  86. SYS 6,112,SB_bank%
  87. 8.12
  88. ENDPROC
  89. 8.12
  90. The procedure could be called via the ON ERROR mechanism, or at the end 
  91. of the program.
  92. 8.12
  93. Peter Prewett, Stirling, South Australia.
  94. 8.12
  95. Snippet Ö Snippet is still a useful utility for screen grabs etc, but 
  96. refused to perform with my Risc PC. I queried 4Mation and obtained the 
  97. latest upgrade (in very short order and at no cost, which prompts me to 
  98. raise my hat to them), but still found the same problem of freezing the 
  99. machine when I tried to save a screen. The solution to this seems to be 
  100. to select a screen mode of no more than 256 colours, upon which, Snippet 
  101. behaves like the old friend it has always been.
  102. 8.12
  103. Alan Jackson, Oamaru NZ.
  104. 8.12
  105. Upgrading Video RAM Ö When upgrading the VRAM in your Risc PC from 1 to 
  106. 2Mb, it is necessary to remove the 1Mb board and return it to be 
  107. upgraded. You should make sure that you reconfigure your computer to use 
  108. a screen resolution/number of colours which is possible even with no 
  109. VRAM, before removing the 1Mb board. If you do not do this, you will 
  110. find that you will need to reconfigure the computer Éblindæ, as the high 
  111. resolution modes are not available if there is no VRAM present, and no 
  112. picture will be displayed.
  113. 8.12
  114. Fred Williams, Staffordshire.
  115. 8.12
  116. Wimp bug (RISC OS 3.10) Ö If you are a Wimp programmer and have 
  117. experienced apparently inexplicable ÉAbort on data transferæ and 
  118. ÉAddress exceptionæ errors Éatæ addresses in the Window Manager module, 
  119. especially just after your program has quit, you may be interested (or, 
  120. like me, relieved!) to know that the problem may lie in a bug in the 
  121. Wimp.
  122. 8.12
  123. According to a letter from Acorn, öthere was a bug with Éslabbedæ icons 
  124. (those with the R option in the validation flags). If you click on a 
  125. slabbed icon, and the program deletes the window it is on, or quits 
  126. before the wimp has a chance to redraw it, problems can arise.ò
  127. 8.12
  128. Hugh Eagle, Horsham.
  129. 8.12
  130. Windows on the Risc PC Ö I would like to warn CD-ROM users that, due to 
  131. the fixed palette on the PC card, many CD programs will not work 
  132. properly Ö giving psychedelic colours which can lock up the computer. We 
  133. have found by pressing <f1> (in Windows) that the Windows help will be 
  134. opened, from which you can return to Windows. This prevents having to 
  135. reset the computer. Acorn/Aleph One are working on a fix for this 
  136. problem.
  137. 8.12
  138. Peter Hughes, Desktop Laminations.
  139.