home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Archive Magazine 1995
/
ARCHIVE95.iso
/
text
/
hints
/
volume_05
/
issue_02
< prev
next >
Wrap
Text File
|
1995-02-16
|
18KB
|
438 lines
Hints and Tips
5.2
Å Fatal error type = 5 revisited (Archive 4.12 p9) Ö Itæs not only !Edit
that reports this error, !Draw and some other Applications abort with a
similar error, but you might want to use !Edit, for example, with fonts.
The version in Archive 4.12 p9 simply hides the !Font-folder, so the
idea is to have the Applications just to see part of the !Fonts folder.
The easiest thing to do is simply to split up the fonts-directory into
directories Ö i.e. create two directories within !Fonts Ö in the first
directory (maybe SmallFonts within your !Fonts Folder) just put the
really necessary fonts in (just Trinity, Homerton, Corpus or so), but
remember that there may only be up to 50 fonts (approximately) Ö
including styles (say Italic, Medium, Bold etc). In the second directory
(maybe LargeFonts) put every font that is not already included in the
first directory.
5.2
The next thing to change is your !Boot and !Run-File from the !Fonts
application.
5.2
The !Boot file should read as follows:
5.2
| !Boot file for !Fonts
5.2
| *********************
5.2
IconSprites <Obey$Dir>.!Sprites
5.2
RMEnsure FontManager 2.42 RMLoad <Obey$Dir>.Fonts
5.2
RMEnsure SuperSample 0.04 RMLoad <Obey$Dir>.Super
5.2
Set Small$Fonts <Obey$Dir>. SmallFonts.
5.2
Set Large$Fonts <Small$Fonts> ,<Obey$Dir>.LargeFonts.
5.2
If ö<Font$Prefix>ò=öò Then SetMacro Font$Path <Font$Prefix>
5.2
If ö<Font$Prefix>ò=öò Then Set Font$Prefix <Large$Fonts>
5.2
SET Alias$@RunType_745 RUN <Obey$Dir>.FontHelp -Obey %%*0
5.2
SET File$Type_745 FontObey
5.2
5.2
The !Run file should read as follows:
5.2
| !Run file for !Fonts
5.2
| ********************
5.2
Obey <Obey$Dir>.!Boot
5.2
Echo Outline Font Manager 2.42 installed.
5.2
Echo Fonts now available:
5.2
Echo
5.2
FontCat
5.2
5.2
In addition, you have to create a Basic program called Fonthelp, which
should be situated in the !Font folder and should read like this:
5.2
REM >FontHelp Version 1.00 20.1.91
5.2
REM *******************************
5.2
REM Written by: Martin Sperl
5.2
REM Nattergasse 12/32
5.2
REM A-1170 Vienna (Wien)
5.2
REM AUSTRIA
5.2
5.2
END=&A000
5.2
DIM Data 255
5.2
SYSöOS_GetEnvò TO ENV$
5.2
ENV$=MID$(ENV$,INSTR(ENV$,ö-Obey ò) +6)
5.2
*SET Font$Prefix <Small$Fonts>
5.2
SYS öHourglass_Onò
5.2
SYS öWimp_Initialiseò,200, &4B534154,ö**LoadMore**ò
5.2
TO ,TaskHandle%
5.2
SYS öWimp_StartTaskò,öOBEY ò+ENV$
5.2
REPEAT
5.2
SYS öWimp_Pollò,0,Data TO R%
5.2
UNTIL R%=0
5.2
SYS öWimp_CloseDownò,TaskHandle%
5.2
*SET Font$Prefix <Large$Fonts>
5.2
SYS öHourglass_Offò
5.2
END
5.2
Then create a sprite called öfile_745ò (maybe the same sprite as for an
Obey-file, but another colour) and include it in the !Sprites file of
!Fonts.
5.2
To start an application which can only handle some fonts without errors
just change the Filetype of the !Run-file with öSettype !Run FontObeyò
to FontObey. Then you can start the application as normal without having
to worry about fonts at all.
5.2
Martin Sperl, Austria
5.2
Å Formatting PC disks Ö If, like me, you do not have a PC Filer on your
Archimedes you will have to format DOS diskettes (for use with the PC
Emulator) on a PC. If your PC has a 1.44M drive the standard FORMAT
command needs modifying. The command to use is
5.2
FORMAT A: /N:9 /T:80
5.2
This certainly works on the PS/2 55SX I have at work. Richard Wheeler,
WokinghamááA
5.2
5.2
Impression Há&áT
5.2
Å Function key changes Ö Computer Concepts have chosen to use <ctrl-F3>
and <ctrl-F4> for Ésaveæ and Ésearch and replaceæ instead of the more
standard <F3> and <F4>. If you prefer to use the latter, simply go into
the edit styles dialogue (<ctrl-F6>), select first italic and then bold
and, on each, change the keyboard shortcut (or delete it altogether), as
follows... You could, for example, change from <F3> to <shift-ctrl-F3>
by clicking in the shortcut box, pressing <ctrl-U> to delete the
existing text and pressing <shift-ctrl-F3>, at which point the words
ö<shift-ctrl-F3>ò will appear in the box. Click OK and <F3> will now
produce the desired ösaveò effect.
5.2
If you already have a lot of documents, this could prove a frustration
since you would have to do this with every document individually. Also,
you would need to go into Impressionæs Auto directory and edit the
default document. Michael Ben-Gershon, Israel.
5.2
Å Only 77 graphics frames allowed in a chapter Ö Impression wonæt allow
more than 77 graphics frames in a single chapter. This is due to the
ADFS limitation of 77 files per directory Ö earlier versions of
Impression (2.03) normally crashed after loading the offending file when
displaying. Impression 2.1 does not allow to save a file with more than
77 graphics-frames per chapter. I mentioned it to CC but they told me
öThis is something that would be extremely difficult to overcome. It
should only affect a very small percentage of usersò. So beware of too
many frames in one chapter !!! Martin Sperl, Austria
5.2
Couldnæt you get round this by putting several draw objects together in
a single file and then show different parts of the same file in
different frames? I havenæt tried it, but it should work. Ed.
5.2
Å Running Impression documents from !TinyDirs Ö If you use !TinyDirs to
install an Impression document on the icon bar and then click on it to
run it, a new copy of !Impress will be fired up even if one is already
running.
5.2
This seems to be because of a small mistake in the !TinyDirs.!RunImage
programme. In the PROCdataopen procedure are two lines which read as
follows:
5.2
900 q%?(44+LEN$(q%+44))=0
5.2
910 q%!0=(48+LEN$(q%+44))ANDNOT3
5.2
If you reverse the order of these two lines the program runs correctly.
Hugh Eagle, Horsham
5.2
Å Special Characters Ö The full list of ISO 8859 characters is included
in the Archimedes User Guide, e.g. page 455 for the Latin 1 alphabet.
However, itæs not too helpful in that it is listed in hexadecimal. If
you want to enter characters using <Alt> and the numeric keypad, you
need to know the decimal numbers. Those of you with EFF fonts will have
a manual that shows various of the character sets by decimal number.
This is particularly useful for Zapf Dingbats and MathGreek fonts. Jim
Nottingham, York.
5.2
(For those without EFF fonts, I have put an Impression file on the
monthly program disc so that you can print out your own lists of
characters just by changing the font in the style definition. Ed.)
5.2
Å Wrong sprite colours in Impression Ö If, when you drag a sprite into
an Impression frame, the colours come out all wrong, itæs probably
because the sprite has not got a palette. If so, the answer is to give
it a palette, which can be done as follows:
5.2
1. Load the sprite file containing your sprite into !Paint.
5.2
2. Double click on the thumbnail picture of the sprite you want to
alter.
5.2
3. Click <menu> over the sprite window that now appears, then move to
the Edit submenu and click on the Palette item at the bottom.
5.2
4. Save the amended sprite file.
5.2
5. Load the amended sprite back into Impression.
5.2
(Note: if you donæt want to keep the amended sprite, you can, if you
like, shortcut steps 4 and 5 and save the sprite direct from !Paint into
Impression.) Hugh Eagle, HorshamááA
5.2
Finally, Andrew Scott...
5.2
The following comments and hints are based on my first week of using the
machine which, from the outset, I must say is brilliant, especially
compared with my old Archimedes A310.
5.2
During the time I have had the machine, I have tried quite a number of
applications. Now, whilst most of them have worked perfectly, I have had
problems with the following: Atomwide Hi-Res. modes, Jinxter and
Corruption adventures (CIS Adventure pack), Beebug Toolbox disc sector
editor, Data Storeæs FontFX (version 4.04), Mitre Softwareæs DiscTree
(version 2.16) and !DSEdit, PD sound sample player.
5.2
The Atomwide mode designer comes with a number of sets of modes for
various monitors, but none of these is completely suitable for the A5000
and Acornæs multisync monitor. The mode designer application, however,
works fine, provided you remember to select monitor type 1, and machine
A540/A5000. Using this, it is quite straightforward to modify the hi-
res. modes (SVGA, 102 etc.) to produce working versions of these.
However, make sure that you work in mode 27 while defining the new
modes, as some of the other modes (12, 15 etc.) are redefined by the
standard mode module (MegaModes), and this can produce some strange
effects Ö they appear as two letter box shaped screens one above the
other!!
5.2
The adventures Jinxter and Corruption do not work with version 3.87 of
the SharedCLibrary which is in RISC-OS 3. However, they are supplied
with a very old version (1.01) which will work if you *RMKill the
version in RISC-OS 3 first. Better still, alter the !Run files to
automate this, and restore the RISC-OS 3 version afterwards. I have
included two suitable !Run files on the disc. On the monthly program
disc. Ed.)
5.2
The disc sector editor in Beebugæs Toolbox (version 1.00) does not work
at all on the A5000, and hangs the machine!!
5.2
FontFX from the Data Store (version 4.04) does not like the default
setting for the system macro Font$Path. However, if you edit out the
reference to Font$Prefix it works OK Ö not a perfect solution, but it
works. e.g.
5.2
*SetMacro Font$Path adfs::IDEDis c4.$.!Fonts.,Resources:$.Fonts.
5.2
DiscTree (version 2.16) from Mitre Software will load, but all attempts
to access a disc (hard or floppy) produce a fatal internal error.
5.2
!DSEdit, the excellent PD sound sample player will not play samples.
This is because the author has been Énaughtyæ and used an abbreviation
for the ChannelVoice command. RISC-OS 3 wrongly interprets the abbrevia
tion as the new command *ChangeDynamicArea and hence causes an error.
This is easily corrected by changing the abbreviation to the full
command. Acorn have issued a warning with RISC-OS 3 that a number of
commands have different minimum abbreviations, and have provided a file
on the RISC-OS 3 Support Disc to change them all back to what they were
in RISC-OS 2.
5.2
Something else that I have observed is that if you use the !Configure
application to auto-start any of the ROM based applications then this
will cease to work if you have a !Boot file on the hard disc which
includes a line like :
5.2
*Desktop -file <Obey$Dir>.DeskS tart
5.2
Instead you must include a line in the DeskStart file to run each of the
applications which you want to auto-start. e.g.
5.2
Run Resources:$.Apps.!Alarm
5.2
Hardware problems Ö (I have left this in to see if anyone has any ideas!
Ed.) I have discovered a fault with my machine, that concerns the real
time clock. Every time the machine is reset with either <ctrl-break>, or
turning it off and on again, the real time clock is reset back to the
last time that it was explicitly set too, e.g. using *Set Sys$Time or
the Set clock option on !alarm. The rest of the time, the clock appears
to function correctly.
5.2
My first thought was a loose battery connection. However, on opening the
case, I found that the machine doesnæt even have a battery! While the
case was off, I checked for any loose connections, but could not find
any.
5.2
Next, I thought that it might be a software fault and not a hardware
one, because the fault only occurs when the machine is reset, which is a
software function. I noticed that in the list of modules in RISC-OS 3
there is a new module called RTCAdjust which presumably stands for Real
Time Clock Adjust. Could this be causing the problem? The module
provides no star commands or software interrupts, only a service code
handler. I have not been able to confirm if this module is causing the
problem or not. Any ideas?ááA
5.2
The Engineer Speaks (again)
5.2
Ray Maidstone
5.2
As there were several comments of appreciation received regarding the
hardware care section labelled öThe Engineer speaksò last month, further
points of interest have been forwarded and are listed here.
5.2
Headphone sockets
5.2
These stereo sockets are mechanically very delicate and several machines
have been in for repair. (This is presumably because these sockets are
getting used more now that there seems to be a little more notice being
taken of the fact that the Archimedes is capable of matching other makes
of computer, when it comes to music and sound effects.) The replacement
of these sockets is fairly simple but involves completely dismantling
your machine and getting the motherboard out.
5.2
More serious is the fact that weæve had some machines in for repair with
the sound output chip blown. Although this is a very cheap repair, I can
only think that this was caused by people using the socket whilst music
was actually playing! Looking at the circuit diagram, I find it
difficult to see how shorting the contacts in the socket by plugging in
headphones, or whatever, whilst it is playing should be able to blow
anything up, but there it is. I suggest it would be for sensible to
cause your machine to be silent while plugging things into this socket.
5.2
RGB video output failure
5.2
Further to the question öDoes disconnection or connection to the RGB
socket while things are switched on blow the VIDC (Video Output) chip?ò
The answer is most definitely yes, even though several people have
expressed surprise, saying öWell, Iæve plugged and unplugged mine for
years and years, and Iæve never had any problems.ò
5.2
The fact is that eventually it will blow up, as there simply isnæt any
static protection in the early machines. The modification I mentioned
last month has sparked a lot of interest. (Bad choice of words there,
Ray! Ed.) We can fit this for you and we can offer this item, fitted for
ú15, but you will have to sort out the carriage.
5.2
This protection feature is already incorporated into the 400/1 series,
the 3000 and everything since, and will only be needed in the 300 series
and the early 440æs. To my certain knowledge, this modification has put
an end to the grief being caused by pupils öin the knowò at a couple of
schools, deliberately plugging and unplugging monitors and Arabellas
(thatæs what VIDCs are called) are not cheap.
5.2
A3000 crashes and aborts
5.2
My findings on this subject are a bit distressing and, to make matters
worse, I own one of these troublesome machines and can speak from
experience. We have had a slowly increasing number of people losing work
because their 3000 occasionally crashes with the öAbort on transferò, or
öAddress exceptionò captions coming up. These problems have been traced
to impedance peculiarities on the pin and socket connections of the
expansion ram cards. At first, the ram expansion itself was suspected
but we have finally discovered that these connections sometimes go high
impedance at the high frequencies of the ram access speeds. The
ösometimesò is whatæs giving the problem, as the bulk of these expan
sions run trouble free.
5.2
My own belt and braces solution to this has been to remove the pins and
sockets, and replace them with gold plated counterparts Ö No more
problems! This, of course, is öopen heartò surgery and, if not done by
an Acorn Service Centre, will invalidate any guarantee and, if it is not
performed using the correct equipment, it can destroy the machine as
well. (Solder suckers are completely incapable of performing this task
and the 4 layer board is too delicate to risk damaging.)
5.2
I have helped several people out with a temporary DIY tip that consider
ably improves the reliability of these connections. However, you should
only attempt this if you are familiar with opening your machine and
fiddling inside it. Locate the ram board, lift it off the P.C.B.
expansion pins and lay the board to one side. Take a can of WD40, or
Contek 9, but nothing else, and find a clean bottle top or small dish.
Spray some of this into the cup and, using a cotton bud, carefully rub
around all the expansion pins, taking care not to distort any. Do not
spray anything directly into the machine.
5.2
This should be done in a well lighted area and at the end, the pins
should be slightly moist (not too much and not too little!). Take the
ram card, and offer it onto the pins, checking that all pins align
properly into their relevant socket, and press it down. (Check that the
speaker wires do not get in the way.) Once the board has öbottomedò,
pull it back up again about ╝ö (6mm), and then ease it down until it
still about 1/32ò (1mm) away from the bottom. Donæt push it all the way
down this time so that it leaves the connectors on öfreshò metal. This
procedure should temporarily relieve the crash situation but the
following test will reveal whether your problem is corrosive or
mechanical.
5.2
Leaving the lid off, (beware of the high voltages in the power supply if
your machine has a cardboard p.s.u. cover) connect your machine up to
monitor and mains Ö no other connections are needed Ö and switch on. You
should now have the desktop visible on your monitor. If your expansion
is Atomwide then very slightly rocking it from front to back (Do not
exceed ╝ö movement) will not disturb the display if the fault was
corrosion. If the fault was mechanical, you will see the Address
Exception or Abort error flag, in which case the problem is mechanical
and you need to rush to your nearest Acorn Service Centre.
5.2
If you have the Morley board, this is a little more difficult, as you
will have to carefully hinge up the keyboard and find a way of holding
it up (get someone to help you, as if you drop it you could short
something, or break the flexible connector strips) and now take hold of
the front edge of the board and raise and lower it about 3/8ö and watch
for the same effects as already mentioned.
5.2
(This problem would probably have been averted if the pin and socket
components used at time of manufacture had been the gold flashed type,
but this obviously would have increased the product cost.)
5.2
STOP PRESS
5.2
After talking to another dealer at the recent Acorn User Show, I have
been able to find out from a couple of their personnel (unofficially)
that Acorn did indeed have a couple of batches of A3000æs that came with
oxidized expansion pins. So I suggest that either you offer your machine
to your dealer for him to sort out, or heed the above instructions, and
also try a light rub with a very small piece of öScotchbriteò or pan
scourer. Do not use anything metallic because that will leave a
residue.ááA
5.2