home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Archive Magazine 1997
/
ARCHIVE_97.iso
/
text
/
hints
/
volume_06
< prev
next >
Wrap
Text File
|
1997-08-17
|
411KB
|
9,216 lines
Hints and Tips
6.1
Å Alt characters Ö On upgrading from RISC-OS 2 to RISC-OS 3.1, I thought
I had lost my É╫æ character. I eventually found that it had moved from
<alt-,> to <shift-alt-,>. (Even on RISC-OS 3.0 on the A5000 it is still
<alt-,>.) So I investigated all the possible ALTernatives(!). Here are
all the ALT characters I found. They are laid out in QWERTY order but
where no special character appeared, the key is not included in the
list.
6.1
key ALT shift ALT
` ¼ ░
1 ╣ í
2 ▓
3 │
4 ╝
5 ╜
6 ╛
9 ▒
r ╢ «
y Ñ
o ° ╪
p ■ ▐
\ ª
a µ ╞
s ▀ º
d ≡ ╨
f ¬
z ½
x ╗
c ó ⌐
m ╡ ║
, ╫
. ≈
/ ┐
6.1
I think that is all there is, but if anyone finds any more, let us know.
Ed.
6.1
Å Annual service kit Ö In answer to Paulæs comment about hard drives in
Archive 5.12, p.8, Iæd like to sing the praises of the Alarm application
(on one of the support disks or in ROM on RISC-OS 3). (You will see the
link if you read on! Ed)
6.1
I, too, would have forgotten completely about the annual replacement of
filter and batteries, but for this application (which, thanks to my Boot
file, always resides on the iconbar): When my machine was a year old,
Alarm reminded me of this fact in no uncertain terms, (Éurgentæ alarm,
repeating every hour), so there was very little chance of overlooking
this necessary bit of maintenance. Jochen Konietzko, K÷ln, Germany.
6.1
Å Apple Laser Writer II NT Ö Here is some information for anyone wanting
to make a cable link from an Archimedes to an Apple Laser Writer II NT.
The connections are as follows...
6.1
Archimedes LaserWriter II NT
Pin Pin
2 (RXD) ÖÖÖÖ 3 (TXD)
3 (TXD) ÖÖÖÖ 2 (RXD)
5 (0V) ÖÖÖÖ 7 (0V)
6 (DSR) ÖÖÖÖ 20 (DTR)
The Archimedes pins DCD (1), DTR (4) and CTS (8) are all linked
together.
6.1
When using a RISC-OS printer driver you should choose the Serial
connection with 9600 baud rate, 8 data bits, no parity and 1 stop bit.
XOn/XOff protocol should also be used.
6.1
Å DDE Pascal Ö Some would-be users of DDE !Pascal (on Careware 17) will
have discovered that it wonæt function in Computer Conceptsæ Compressed
Filing System (CFS), where it generates the error ÉSpecial field not
allowed in filesystem prefix to OS_CLIæ. This means that the command
line interpreter, which is invoked to run the Pascal tool, objects to
some pathname which begins with the prefix ÉCFS#æ. The offending
pathname turns out to be the <Pascal$Dir>.Pascal, as assigned into
Alias$Pascal by the !Run file with the apparent function of enabling the
compiler to be located in the application directory. The remedy is to
comment out the line which assigns Alias$Pascal and move the compiler
(i.e. <Pascal$Dir>.Pascal) to your library. This brings the configura
tion into line with that of the C compiler and other DDE tools and
causes É*Pascalæ commands to be serviced by default from the current
library without any explicit reference to a filesystem.ááMike Kinghan,
Oxford
6.1
Å DDE Pascal (Careware 17) Ö The release of the public-domain Norcroft
Pascal compiler for the Archimedes is potentially extremely useful,
since, although ISO-Pascal is very good, it does not interface well with
the operating system. More seriously, programs compiled with ISO-Pascal
do not interface well either.
6.1
The Norcroft system is easy to use and install and does everything that
is claimed of it. Unfortunately, users should be aware of some problems,
especially since Acorn obviously does not wish to maintain the product.
6.1
I have some extra severe tests for Pascal, which I have used to test the
compiler. This shows that the compiler has some errors in the evaluation
of set expressions: the following program failed (printing True rather
than False):
6.1
{4 5 6 4 0 3 3000 }
{the parameters from the full test which failed. }
program test (output);
const
ten = 10;
var
i: 1..ten;
begin
i := 11; (compilation error here?)
i := ten + 1; (compilation error here?)
writeln(ÉError not detectedÉ) ;
end.
6.1
The first error is caught at compile-time by almost all Pascal com
pilers, including ISO-Pascal. The second error is caught by almost all
compilers at run-time, and a few at compile-time.
6.1
When using the quit option in the Pascal menu, the system still allows
command line usage of Norcroft Pascal, although the icon is removed.
6.1
The final significant problem is that programs written in ISO-Pascal do
not necessarily compile without the ISO option being set. This is
annoying, since many programs will wish to use some extensions. I donæt
know of any other Pascal compiler for which the extension option means
less (in some cases). áBrian Wichmann, NPL.
6.1
Å Directory size Ö Regarding the issue on directory sizes, etc in the
hints & tips section, there are a few other points...
6.1
RISC-OS 2 has some problems with certain combinations of disk size and
allocation unit, so beware. The problem usually causes the machine to
hang when entering a directory. I have only experienced this using large
allocation units on small disks.
6.1
The fact that a new dir appears to take 38Kb isnæt the whole story, as I
believe that there is a facility for small files within a directory to
use some of the Éwastedæ space. However, if you tend to have lots of
directories with few files, space does tend to get wasted.
6.1
The best solution as far as both disk, space and speed is concerned is
to use D format, which uses the Écorrectæ amount of space for direc
tories and hardly anything for the map. (Remember that there are two
copies of the map in E format.) D format disks are also MUCH easier to
recover files from if the root directory or map gets corrupted and files
can never be fragmented (which slows down access). The only disadvantage
is the occasional need to compact but I find this a small price to pay.
I would only recommend E format for non-technical users.
6.1
The same issues will apply to all FireCore based filling systems such as
IDE, etc. áMike Harrison
6.1
Å Impression/Squirrel Ö CCæs !Importer (also in their Business Supple
ment) is supplied by Digital Services with Squirrel. Here is some
experience that might help other people.
6.1
Using Squirrel, I created a database with 22 fields. I then tried to
mail merge the resultant report CSV file using !Importer. I got an error
message saying ÉSubscript out of range (Code 6150).æ After some hours of
fiddling, I eventually found that if I reduced the number of fields in
the CSV file to 16, !Importer worked OK. Nick Horn, Thetford.
6.1
Å Second internal hard drive in an A410/1 Ö I fitted a 40Mb ST506 hard
drive to my A410, thinking it would be more than adequate. However, with
the acquisition of the PC Emulator and the formation of a 10Mb DOS
partition, I was rapidly running out of room. I subsequently purchased a
second hand 20Mb ST506 drive, which I decided to fit internally rather
than buy a p.s.u., case and fan. I thought of making some mounting
brackets but, having seen an advert for a SPACE kit from PRES which
included brackets and all the leads, I changed my mind and went for
that. Price was ú38.72 inc VAT. The work involved was to:
6.1
1) Remove top two podule blanking plates.
6.1
2) Fit metal brackets to drive using screws supplied.
6.1
3) Remove the 34 way data cable and replace it with the one supplied,
connecting it to the existing drive and mother board (SK11), leaving
spare connector to connect to the second drive later.
6.1
4) Connect the supplied 20 way control cable to the spare connector
(SK8) on the mother board, leaving the other end to be connected to the
second drive later.
6.1
5) Remove the power cable from the psu and existing drive and replace
it with the supplied cable, leaving the spare connector for the second
drive.
6.1
6) Lead all three cables to the back of the computer and through the
space left by removing the blanking plates and connect them to the
second drive.
6.1
7) Attach the blanking plates to the metal brackets on the second
drive using nuts & bolts supplied.
6.1
8) Ensure second drive is set to É1æ by changing the appropriate DIP
switch or DS-Jumper.
6.1
9) Insert the drive through the back of computer until the front of
the brackets rests on backplane connectors (psu side) and the blanking
plates line up with the back of the computer. Screw in blanking plate
screws.
6.1
10) Once computer is up and running it will have to be configured for
a second hard drive.
6.1
The work was very easy to carry out and the instructions supplied were
very good. The drive then has to be formatted using Acornæs HFORM
program. The program had to be modified to do the Éslowæ formatting by
altering the following lines:
6.1
7530 REMmed out
7540 REMmed out
7550 REM removed
7560 REM remove
6.1
Once this was done, the drive formatted with no problems and, using the
PC Emulatoræs configure program, I created a 19 Mb DOS partition.
6.1
I would recommend this solution of gaining extra drive capacity if you
have access to a cheap drive and do not mind losing the space of two
half width podules. áChris Bass, Grimsby
6.1
Å Mah Jong from CIS Ö If you have recently purchased the Mah Jong game
from Cambridge International Software, you may wish to check for the
presence of a Ébenignæ virus. This can be done by double-clicking on the
!MahJong game while holding the <shift> key down. Choose the ÉDisplay >
Full Infoæ option on the filer window. If the MemAlloc module is larger
that 2608 bytes then your copy is infected and you should contact CIS
directly at Unit 2a, Essex Road, London N1á3QP or telephone
071Ö226Ö3340.
6.1
Å Measuring free space Ö I would like to say a big thank you to all the
people who wrote in response to my plea for help in finding a way of
checking, from within a program, whether there is enough space for a
file before it is saved.
6.1
The most ingenious suggestion was to use the following commands:
6.1
*FREE {ram:ccc }
X=OPENUP(öRAM:CCCò)
REPEAT B=BGET#X: UNTIL B=ASCö=ò
REPEAT B=BGET#X
IF B>47 AND B<58 B$=B$+CHR$B
UNTIL B=ASCöBò
*SHUT
6.1
to put the free space in the variable B$.
6.1
Some people pointed me to ÉADFS_FreeSpaceæ (also RamFS_FreeSpace,
SCSIFS_FreeSpace, etc.) which can be used with syntax such as:
6.1
SYS öADFS_FreeSpaceò,Drive$ TO Free%,Largest%.
6.1
The same information was given on page 7 of the Archive 5.12.
6.1
Although all these answers have been very helpful, they have also taught
me a salutary lesson, namely that you have to be very precise when
describing your problem: because, although they have answered the
question (and told me things that I did not know) they havenæt actually
told me what I needed to know!
6.1
What I actually want is a filing system independent way of finding out
whether a file with any given path name can be saved. For instance, if
the user of my program indicates (by dragging an icon to a filer window
or typing into a save box) that he wants to save a file with the path
name ÉXXXFS::$....Filenameæ and if my program knows how long the file
will be, I want my program to be able to find out whether the file will
fit in the specified place, without knowing in advance whether ÉXXXFSæ
stands for ADFS or CFS or SCSIFS or RamFS or whatever. The program also
has to work if a path is not specified and the file is simply to be
saved to the CSD.
6.1
A couple of correspondents have pointed out that there is an SWI called
ÉFileCore_FreeSpaceæ (on page 1021 of the PRM). However, in order to use
this you have to know the Éprivate wordæ of the filing system in
question and, so far as I can see, this SWI can only therefore be called
by a filing system module, which is not much use to a mere mortal
programmer!
6.1
I still, therefore, believe that the only generalised way of doing what
I want is to use syntax like the following :
6.1
X%=OPENOUT(Filename$)
SYS öXOS_Argsò,6,X%,Length% TO ,,Allocated%
IF Allocated% >= Length% THEN ... go ahead and save it.
6.1
This is hardly elegant but it seems to work.
6.1
I understand that RISC-OS 3 will include the generalised SWI that I
want. However, this will not be much use, of course, in a program that
is designed to work in RISC-OS 2 as well!á Hugh Eagle, Horsham
6.1
Å Formatting numbers (continued) Ö Over the last two months, I have been
following the correspondence on Basicæs number formatting ability (PRINT
and STR$) with some interest. Has the increased size and complexity of
RISC-OS caused the oversight of some of the slightly esoteric but very
powerful features of BBC Basic? One such feature is the @% variable in
Basic. The @% variable controls the format of the PRINT and STR$
functions and much of last monthæs discussions could have been settled
by altering the @% variable so that STR$ was formatted in the same way
as PRINT.
6.1
@% is fully discussed in the manuals that accompany the computer under
the PRINT command but I will try to give some useful pointers here. As
with all Basic integers, the @% variable is four bytes long. When Byte 4
(the left-most byte) is zero Basic ignores @% when using the STR$
function (this is the default and the source of last monthæs problems)
otherwise STR$ is formatted exactly the same as PRINT. Byte 3 allows the
choice of three different formatting types: 0 Ö general (the default), 1
Ö exponent and 2 Ö fixed. Byte 2 specifies the number of digits printed
and Byte 1 gives the print field width when you use comma separators in
PRINT.
6.1
Our problem arises from two areas: the way computers represent numbers
and the value of @%. At this point, I think it is necessary to take an
aside into the nature of real number representation in computers so, if
you are only interested in how to circumvent Basicæs printing problems,
skip to the end of this article.
6.1
Common advice to novice programmers is not to use real variables unless
you really have to. Speed and storage reasons are normally given for
simplicity but a far more important reason is that real numbers are not
exact in the same way as integers and they must be treated differently.
A classic example is the problem in mathematics of dealing with two
representations of, say, the number one: which could be 1.000... or
0.999.... As far as we are concerned both are the same but if we ask a
computer whether or not they are equal, we find not. This is due to no
fault of the computer or the programmer but the acceptance that
computers cannot store the infinite expressions for real numbers but
must approximate to a number of decimal places and so springs up the
subject of numerical analysis.
6.1
How then do we equate real numbers? Well, we must choose a value for a
zero! That is a number where any number smaller than it we consider to
be Éas good as zeroæ. An example for Basic is 10Ö7, any smaller and the
errors in calculations become significant. So when we want to check
equality of two numbers a and b we use the expression (ABS(a¡b)á<á1E-7).
If this is true then the two numbers are Éas good as equalæ. (ABS is
used since we are only interested in the magnitude of the difference
between the numbers.)
6.1
The second important point with numbers stored in computers is that they
are stored in binary. Yes, of course, you all knew that but fewer people
are aware how computers store fractions. Much like in decimal when we
have a decimal point, computers use a binary point where the digits to
the right of the point have place values 1/2, 1/4, 1/8, etc. In decimal
there is a problem of representing fractions like 1/3 or 1/6 because the
prime factors of 3 or 6 are not divisible by the factors of 10 (2, 5) so
you get infinite decimal expansions for them. In binary, the problem is
greater because there is only one factor of two (unlike two factors of
ten) so even more numbers have infinite representations (this is why
some people advocate using base 12 instead of base 10 for day to day
life Ö it makes mental arithmetic so much easier). This means that
simple decimal numbers like 0.6 have an infinite expansion in binary.
6.1
What has all this got to do with printing numbers in Basic? Well, an
appreciation of what is going on when you store numbers will help you
avoid the pitfalls that last monthæs contributors highlighted. Now that
we are aware that innocuous looking numbers like 2.1 can have infinite
expansions when stored in binary, it becomes clear that 2.1 ╫ 10 may not
equal 21 but, perhaps, 20.99999999!
6.1
Is there anything that we can do about this? Yes, indeed there is. We
can tell Basic to round off the number to nine decimal places instead of
attempting to print 10 which extends the precision beyond the accuracy
(in general Basic is accurate to nine decimal places unless you are
using the floating point version where I believe 19 is the limit but not
having a RISC-OS 3...).
6.1
Now we come back to @%. At default, @% specifies 9 decimal places but it
only affects PRINT and not STR$ which defaults to ten. To alter this,
all we need to do is set the byteá4 flag in @% to one. Try PRINT
STR$(0.6) and then set @% = &0100090A and try again (by the way, &90A is
the default value for @% whereas STR$ uses &A0A if byteá4 is unset).
6.1
If we want to print money then we can set @% to two decimal places by
&0002020A (remember to set byte 4 to one if you want to use STR$). This
has the added bonus of allowing you to print the number rounded off but
still maintain the extra places for further calculations.
6.1
I hope you can now see the power and simplicity of using @%. My only
warning is that if you wish to use several formats in your program, then
either save the previous @% or declare it as a local variable.á Emmet
Spier, Guildford.
6.1
This subject seems to have opened up quite a debate. Emmet has agreed to
edit any comments regarding rounding errors for us and so if your wish
to add to the debate you should write to him directly. Emmet Spier, 6
Parklands Place, Guildford, Surreyá GU1 2PS.
6.1
Å PC keyboards for A4 Ö A word of warning Ö not all PC type keyboards
work on the A4 (or all PCs for that matter!), so take the A4 to the shop
and try before you buy! Reasonable ones can be had for about ú40 at some
computer fairs. Note that non PS/2 type keyboards (with the 5 pin DIN
plug) can be used with an adaptor or by changing the plug. áMike
Harrison
6.1
Å RISC-OS 3 DOS partitions Ö Because DOS filenames (including exten
sions) are in general longer than the maximum length of a valid ADFS
filename (10), it is not always possible to copy or move DOS files from
hard or floppy discs directly to the ADFS.
6.1
The !MultiFS utility as supplied with the PC Emulator solves this by
allowing you to truncate the DOS filename while the translation process
takes place. Another very useful option (which I often use when copying
files from C programs) is to force !MultiFS to handle DOS extensions as
(hierarchical) directories.
6.1
However, when the filetype of a DOS partition on your ADFS hard disc is
set to ÉDOSdiscæ, RISC-OS 3 will display a filer window for the
partition when you try to open the folder, while !MultiFS just ignores
it (i.e. no :C drive on the iconbar.) This is all very nice but RISC-OS
3 doesnæt offer the nice name translation options mentioned above. To
enable !MultiFS to display your DOS partitions, just set their filetype
to Édataæ before you start !MultiFS. Remember to use the command line
and not the filer menu because the latter doesnæt allow you to change
the the filetype of DOSdiscs. I inserted 3 lines for each DOS partition
in the !MultiFS !Run file to swap between ÉDOSdiscæ and Édataæ type
partitions when !MultiFS is started:
6.1
*Filer_CloseDir <PCe$Drive_X>
6.1
*SetType <PCe$Drive_X> Data
6.1
directly after setting the system variable <PCe$Drive_X>, and
6.1
*SetType <PCe$Drive_X> DOSDisc
6.1
at the end of the !Run file (although the comment tells us not to do
so).
6.1
Unfortunately, there are some bugs in !MultiFS: When you copy to a
MultiFS filer window, you must ensure name translation is not set to
hierarchical or you will end up with wildcards (É?æ) in filenames. When
this happens you must use DOS itself to delete the file because RISC-OS
fails to wipe those objects. Another bug appears if you shut down your
system after using !MultiFS. This results in an error report and a task
manager crash.á Paul Groot, Holland.
6.1
Å Saloon Cars Deluxe Ö If you are having problems running Saloon Cars
Deluxe, it may be worth knowing that you must have the Font Manager
installed for it to run.
6.1
Å Shareware 44 (Fortran Friends) update Ö There is a small bug in the
!Fortran77. DesktopF77 program. Line 1400 should read:
6.1
1400 IF INSTR(b$,örrorò) THEN E%+=1
6.1
This allows errors in the code generator part of the compiler to be
detected. Kate Crennell, Oxon.
6.1
Å Zelanites cheat Ö The following program provides a cheat for
Zelanites. It stops the number of lives decreasing below 9. áSteve
Edwards, Stourbridge.
10áREM >:0.$.hints.zelcheat
20áREM Archive hints & tips section
30áREM (c) S.EDWARDS 1992
40áREM infinite lives for Zelanites
50áREM ****************************
60áREM * When you have run the program the game should *
70áREM * then be run as normal. This time when you dieáá*
80áREM * you will have not gone down one life but upáá *
90áREM * to NINE lives, which stay with you for ever.áá*
100áREM *ááááááááááááááááááááááááá *
110áREM ****************************
120á:
130áDIM store% &400
140áMODE 0
150áPROCDisc_op
160áPRINTÉ********FINISHED********æ
170áPRINT
180áPRINTÉ****NOW GET BLASTING****æ
190áEND
200á:
210áDEF PROCDisc_op
220áPRINT ÉPut !ZELANITE disc into drive 0æ
230áPRINT Éáááand press a key.æ
240áA=GET
250áPRINT ÉLoadingáásector informationæ
260áSYS ÉADFS_DiscOpæ,0,1,&50400, store%,&400
270ástore%?&67=&6A:REM Original code =&2A
280áINPUTÉAre you are ready to make the change ?æ;A$
290áIF LEFT$(A$,1)=ÉNæ OR LEFT$(A$,1)=Énæ THEN END
300áIF LEFT$(A$,1)=ÉYæ OR LEFT$(A$,1)=Éyæ THEN
310áááPRINTÉSaving cheat back to diskæ
320áááSYS ÉADFS_DiscOpæ,0,2,&50400, store%,&400
330áENDIF
340áENDPROC
Hints and Tips
6.2
Å 3D icons for RISC-OS 3.1 Ö Here are some tips for those of you who
upgraded from RISC-OS 3.00 to RISC-OS 3.10 (and for anyone else who is
interested in a fancy desktop).
6.2
If you have used the fancy 3D-like window borders on your A5000, you
will probably have noticed that, with RISC-OS 3.1, the borders will not
install properly. This is because RISC-OS 3.0 programs used the
ÉIconSpritesæ command to install the wimpæs tool sprites (i.e. borders),
while in RISC-OS 3.1 there is a new command to install user defined
window tools:
6.2
*ToolSprites <spritefile>
6.2
This is, I think, because the border sprites are now held in a separate
sprite area for faster redrawing. So, the only thing you have to do is
to change the command ÉIconSpritesæ into ÉToolSpritesæ at the appropri
ate places in your files. Note that you can also re-install the default
window tools by entering ÉToolSpritesæ on the command line.
6.2
The small utility I use to install enhanced icons (a modified version of
!SetIcons), shows another minor modification of RISC-OS 3.1. It is now
assumed that some icons have the same dimension. For example, some
border elements are painted from two sets of sprites Ö one that is
normally used and one that is used when you select this particular
border element. If corresponding sprites within these sets are different
in size, you will see that some parts of the elements are not painted
when you select them. To overcome this problem, you can adjust the sizes
with !Paint.
6.2
For those programmers who liked the Impression-style dialogue boxes,
there exists a module called ÉInterfaceæ. This module takes care of most
of the code to generate fancy icon borders. RISC-OS 3.0 has some in-
built extras to achieve the same thing without the need to insert extra
lines of code into your program. (The programmer only has to define some
validation strings which contain the information to generate the desired
effect.) However, because the validation string command syntax was
essentially the same as the syntax used by the Interface module, there
were sometimes problems when using the Interface module with RISC-OS
3.0.
6.2
After I installed the new RISC-OS 3.1 ROMs, I was surprised to see that
my own (RISC-OS 3.0!) programs didnæt have fancy borders any more. After
some experimenting with the validation strings, I discovered that the
command syntax is now different from the syntax used by the Interface
module. To be more specific, RISC-OS 3.1 makes use of Ér<int><colour>æ
(where <int> is a number between 0 and 8 and <colour> is a WIMP colour
number), instead of Éb<int>, ...æ. This modification probably has been
made to overcome the incompatibility problems with the Interface module.
The simplicity with which you can use this prompts a question: Why donæt
the ROM based applications like Draw use this facility? I guess this is
just another ÉAcorn-mysteryæ.á Paul Groot, Holland.
6.2
Å Editing paper sizes in RISC-OS 3 Ö If attempts are made to edit the
paper sizes contained within the standard RISC-OS 3 printer driver
files, it will be found that any changes made to the Text Margins
section will revert to 0 when the window is closed, even if Save
Settings is selected. This is due to a bug, but can be rectified by
editing the paper files directly.
6.2
Editing any of the paper sizes results in a new file called PaperRW
being generated in the Printers application directory. This file can be
modified using Edit. Make sure that the Printers application is not
running (i.e. Choose Quit from the iconbar menu if it is). Find the
!Printers application (normally in the App1 directory) and open it using
Shift-double-click. Open the file called PaperRW by Shift-double-
clicking on it. Scroll down the file until you find the name of the
paper setting which you defined or modified. It will look something like
æpn: Fanfold A4æ. At the bottom of the set of numbers relevant to this
paper setting are five values (called tb, tt, tl, tr, th) which
correspond to the text bottom, top, left and right margins and the
height (in lines) respectively. Alter the values from 0 to your required
numbers and save the file. When you re-run the Printers application,
your paper sizes will be rectified.á Simon Moy, N.C.S.
6.2
Å How NOT to treat your SCSI hard disk Ö A few weeks ago I found a new
way to get rid of all those files that clogged my external hard disk(!)
6.2
Every verify I did showed up one questionable sector, so I decided to
map it out as defective. The *Defect command applies only to ADFS, so I
browsed through the SCSI diskæs manual and, finally, found what I was
looking for (or so I thought).
6.2
Morley supply their hard disks with a formatter application which,
amongst other things, can add defects to a list. There is a warning that
a low level format would result in total loss of data but, later in the
description, an option was mentioned to decide whether or not to do the
low level format while running the application.
6.2
This led me to believe that clicking on ÉNoæ would keep my data intact Ö
alas, I was wrong!
6.2
The Morley hotline informed me that I had in fact done a high level
format which wipes out the information about the addresses for each
file. As the passage in the manual could be misunderstood, they very
kindly offered to restore my data for me free of charge (just p&p).
(Great service!!)
6.2
However, it was not to be: I forgot to inform them that I use Computer
Conceptsæ Compression on most of my files and this, I was told later,
encodes the files in such a way that retrieval becomes virtually
impossible.
6.2
I learned two things from my self-made disaster:
6.2
1)áEven the excellent Compression is not proof against all kinds of
fools.
6.2
2)á800 Kb floppy disks are just not good enough as a backup medium! I
shudder at the thought that I will have to feed 112 floppies into my
machine, once the hard disk returns from England.
6.2
As a consequence, for future backups I have ordered a 20Mb floptical
drive from Morley, to be sent as soon as it is able to read and write
Acorn floppy formats.á Jochen Konietzko, K÷ln, Germany.
6.2
Å Humour in RISC-OS 3.1! Ö You will be pleased to hear that humour still
exists within Acorn. If you load ÉResources:$.Resources.
Switcher.Templatesæ into the template editor, FormEd, you get an
interesting message.á Knut Folmo, Norway
6.2
Å Loading multiple Impression documents Ö If you want to load a number
of Impression files at once, just select them (with rubber band dragging
on RISC-OS 3, if you like) and drag them down onto the Impression icon
on the iconbar.
6.2
Å Memory size from Basic Ö In Basic, there is no specific way to find
out how much physical memory is fitted to the host machine. However, it
can be calculated using a SWI call as in this example:
6.2
10 SYS öOS_ReadMemMapInfoò TO PageSize%, NumOfPages%
6.2
20 TotalMemory% = PageSize% * NumOfPages%
6.2
30 REM This value is in bytes
6.2
40 Total% = TotalMemory% / 2^20
6.2
50 REM This value is in Mbytes
6.2
Simon Moy, N.C.S.
6.2
Å More RISC-OS 3.1 Alt Characters The current A5000 Welcome Guide
mentions some additional Alt-key characters. These alt-keys donæt
actually produce a character themselves, they just set up an accent, so
that the following character is changed into an accented character. This
only happens if the accent is suitable for the following character.
6.2
For example to type an Éeæ with an acute accent (Θ): Whilst holding down
the Alt key, press and release <[>. Release <alt> and the press and
release <E>. Thus:-
6.2
Alt-[ E Θ
Alt-] E Φ
Alt-; E δ
Alt-æ E Ω
Alt-, N ±
Alt-. A σ
Alt-/ C τ
6.2
The only other Alt-key character missing from the previous list is Alt-
hyphen which gives character 173, which, in the Acorn fonts, looks
exactly like a normal hyphen, but is often different in fonts from other
suppliers.á Simon Moy, N.C.S.
6.2
Å MS-DOS 5, PC Emulators and the Archimedes keyboard Ö (This excerpt
from a reply to an Archive readeræs letter may prove useful to others.)
The cursor keys do not work correctly with the PC emulators due to a
bug. They will not work properly with either QBasic or DOS Edit. They
can be used to move around the text but, to select text, you must use
the cursor and editing keys which are mapped on the numeric keypad (as
on a normal PC AT-style keyboard). Therefore, when inside the editors,
make sure that NumLock is off and use <shift> and the following keys (on
the numeric keypad):
6.2
6.3
6.2
AMOUSE.COM is fully compatible with MS-DOS 5. However, as with all PCs,
you cannot display the mouse pointer at the DOS prompt. Also, not all PC
programs support the mouse. However, if the AMOUSE command is present in
your AUTOEXEC.BAT file and the program you want to use accepts a mouse
(e.g. QBasic, EDIT and DOSSHELL), you must start the appropriate
application first and then select Connect Mouse (by pressing <menu> over
the PC emulator window) if you are running the emulator from a window in
the RISC-OS desktop. If you are using the emulator under Single Task
mode, the mouse should automatically connect itself. (If the mouse does
not connect itself automatically when running the emulator under Single
Task mode, then this is a further bug in the PC emulator.) Typing AMOUSE
at the DOS prompt or selecting Connect Mouse from the windowæs menu will
not display the DOS mouse pointer, as DOS itself does not support a
mouse. If you do this, the RISC-OS pointer will disappear (because
control has passed to DOS) and you must press <menu> on the mouse to
relinquish control from the emulator back to RISC-OS.á Simon Moy, N.C.S.
6.2
Å Pound sign problems Ö The pound sign has always been a difficult
character to print and display on the screen. To make the pound sign
appear in the PC Emulator, press and hold <alt> and type 156 on the
numeric keypad. When you release <alt>, the pound sign will appear.
6.2
If you are printing a file as text (i.e. from Edit or PipeDream for
instance) then the pound sign will print as a hash (#). You can reverse
this by using a hash symbol in your text in place of the pound sign,
although it is important that your printer is set up with a UK character
set Ö see the DIP switch settings for your specific printer. If you are
printing a file produced using bitmaps (e.g. Impression) then the pound
sign will print correctly anyway. Basically, any program which defaults
to printing on the screen using the system font will print characters as
plain text Ö there is a section on plain and fancy text in the RISC-OS
User Guide.
6.2
By the way, does anybody know why you canæt access the pound sign
(either from the keyboard or <alt-156>) in a Task Window under RISC-OS
3.0?á Simon Moy, N.C.S.
6.2
Å RISC-OS 3.1: A310 Ö There is a problem when fitting RISC-OS 3.1 to
A310 machines fitted with the Arcram 434 ARM3 + 4Mb upgrade from Watford
Electronics. It causes the machine to hang on power-up. Replacement PAL
chips and more information are available from Watford Electronics on
0923Ö37774 (Fax: 33642).á Simon Moy, N.C.S.
6.2
Å RISC-OS 3.1: SCSI drives Ö There may be problems accessing the SCSI
drive using the HCCS Hard Card interface with RISC-OS 3.1. Contact HCCS
for details.á Simon Moy, N.C.S.
6.2
Å Rotated fonts and sprites using Laser Direct Ö With the advent of
RISC-OS 3.1, there are problems with printing rotated text and graphics
using the currently existing RISC-OS 2 printer drivers such as that
supplied with Laser Direct. To overcome the problem, transform the text
or sprite to any angle in Draw, make sure that the item is selected and
choose the Convert to Path option from the Select submenu. This will
allow rotated text or sprites to be printed correctly using the RISC-OS
2 printer driver supplied with Laser Direct. This does not mean that it
will work with all RISC-OS 2 printer drivers Ö you will have to
experiment! Steve Costin, Ramsgate.
6.2
Å TV interference Ö In response to Chris Bassæ enquiry in Archive 6.1
p36, here is a general procedure which covers almost all cases:
6.2
1. Does the computer interfere with your own TV, when it is as close/
closer to your computer than your neighbouræs TV is? (On either side of
a party wall they could be less than 1 m apart!)
6.2
If YES, go to 2. If NO, go to 3.
6.2
2. Does the interference disappear when the computer is 3 m or more from
the TV?
6.2
If YES, agree with your neighbour to move your computer and his TV so
that they are more than 3 m apart. If moving them apart is inconvenient,
you could try sticking cooking foil on to the party wall (under the wall
covering, eventually). You need a minimum of about 2 m by 2 m, and there
is usually no point in earthing it, but you could try the effect.
6.2
In some types of building, your computer might be too close to your
neighbouræs TV aerial, in which case moving them apart is the best bet.
6.2
If NO, the computer may be faulty. Many dealers may not be able to cope
with this type of fault, so you, or your dealer, should contact Acorn
with a FULL description of the problem.
6.2
3. If NO to question 1, your neighbouræs TV has either an inadequate
aerial or inadequate Éimmunityæ. (This is a technical term describing
Éresistance to electromagnetic disturbancesæ.) An inadequate aerial
usually also gives Éfuzzyæ pictures and/or ghosts (outlines of images
displaced sideways). The aerial itself may be OK; the fault may be in
the downlead. They tend to fill up with water and deteriorate after a
time. A new aerial (and downlead) is quite inexpensive, even a large
one. If the aerial is not the problem, the manufacturer of the receiver
should be contacted, either directly or through the TV dealer or rental
company, regarding the probable lack of immunity of the TV. Manufac
turers (of TVs and computers) are quite concerned about this at present,
because of an EC Directive on the subject.
6.2
4. If all else fails, the DTI Radio Investigation Service will look at
the problem and give advice but there is a fee of about ú21 involved.
The Service has much information and experience of such problems and
their cures, including private information about know immunity problems.
For Lincolnshire, the address is (or was) PO Box 2500, Nottingham NG8
3SS. The head office is at Waterloo Bridge House, Waterloo Road, London
SE1 8UA. A book, ÉHow to improve Television and Radio Receptionæ is/was
available from the Service, and gives a good deal of information on
interference problems (some of it technical).á John Woodgate, Rayleigh,
Essex.ááA
Hints, Tips and Letters
6.2
A combined selection this month, since the hints and tips stem from
letters I have received recently.
6.2
ÅáKey Windowá/áImpression problem:ááI am grateful to Jack Evans of
Bristol for pointing out this problem to me, particularly since I am the
author of the program in question. Key Window (available on Shareware 47
ù see review in Archive 6.1 p31) is a program which displays keystrips
in a window, and the strips update themselves as you move the caret
between tasks.
6.2
The problem is that if you have Key Window running at the same time as
you are editing a document in Impression which is set to auto-save, the
auto-save doesnæt work. You can still save manually of course, but this
is something which is easy to forget about. The solution is easily
effected, if not very satisfactory. You have to de-select ÉSense caretæ
in Key Windowæs Options menu. Unfortunately, this will prevent Key
Window from changing keystrips as you move between applications. If you
use Impressionæs auto-save a lot, and want to disable Key Windowæs
interference permanently, you can edit the !Run file to disable the
Ésense caretæ option via a system variable. Full instructions for doing
this are provided in the file.
6.2
Users may be interested to know that I have just started work on version
2 of Key Window, and am re-writing it from scratch to make it a much
better program with enhanced facilities. I intend to approach Computer
Concepts about the problem, to see if a satisfactory solution can be
found. Other programs with auto-save facilities, such as Ovation and
Vector, do not appear to suffer from the problem.
6.2
ÅáProtecting Impression files:ááCharles Martin from the Isle of Wight
has been having a few problems with some Impression Étemplateæ files ù
empty documents with standard formats. He wants to make them Delete- and
Write-protected via the fileræs Access menu but has found that setting
the files (which are, of course, in the form of application directories)
to Élockedæ does not protect their contents. Similarly, opening the
directories and choosing ÉSelect allæ does not have the desired effect.
6.2
This situation actually applies to all applications and directories, not
just Impression files. However, under RISC-OS 3, the Access menu is
completely redesigned and works much better, so the problem only really
affects RISC-OS 2 users. The difficulty arises because of the distinc
tion that the filer makes between directories (be they normal
directories or application directories) and actual files. This is one of
those Éfeaturesæ of RISC-OS 2 which needs a bit of care.
6.2
Under RISC-OS 3, if you select a directory or application directory
(such as an Impression file) and set it to ÉProtectedæ, the filer will
protect all the files within it, no matter how many sub-directories
there are. Under RISC-OS 2, however, it will only set the status of the
directory itself. You therefore need to open the directory, select all
the files within it and set their attributes via the Access menu.
However, there is a further complication: if the selection of files
contains any directories, the process will be upset Ö the directories
need to be deselected first.
6.2
Under RISC-OS 2, to protect an Impression file, you would need to open
it up, choose ÉSelect allæ from the filer menu, deselect any directories
in the selection by clicking on them with <adjust>, and finally set all
the filesæ attributes via the Access menu. Then repeat the process for
each of the directories which you had deselected (ÉMasterChapæ,
ÉChapter1æ, etc). There is simply no point in protecting the directories
themselves, since it is impossible to delete a directory which contains
locked files, and locking a directory (under RISC-OS 2) does not affect
the access status of the files within it in any case.
6.2
All in all, itæs probably easiest to upgrade to RISC-OS 3!
6.2
ÅáApplause for Ovation:ááA highly enthusiastic letter about Ovation has
been received from Tony Greenfield of Birmingham. He has the following
to say:
6.2
ö[Ovation] does just what I had hoped for and more. The manual is
brilliant! It is a work book on DTP, quite good enough as an introduc
tion to the subject to beginners and as an encouraging tutorial for more
experienced users. I found it much more useful than First Impression. I
have learnt much about Impression II and much about how a manual should
be presented. I wonder if the reason that there are not many hints and
tips on using Ovation [in Archive] is because the user manual is so
clear? (It may also have something to do with the relative numbers of
people using the two packages. Ed.) There are many features which I like
about the program. In fact, there is not very much missing ù I wonder
if, for most people, Impression is not really required Ö after all, itæs
more expensive than Ovation. Iæm sure that, for schools who have yet to
purchase a DTP package, Ovation would be a must better buy than
Impression, for many reasons Ö perhaps most of all for the ease of use,
and I guess it would be easier to learn than Impression.ò
6.2
Tony goes on to list various features which he likes in Ovation, notably
its wide range of effects such as word underline, small caps and
tracking, and its system of basing font styles on one family name, so
that changing the base family will also alter the italic and bold fonts.
6.2
I would certainly agree with Tonyæs comments about the manual, which is
indeed a very helpful document, although I think Impression is the
easier of the two to learn, as Ovation has a quite unwieldy menu
structure. Perhaps the quality of the manual really is the reason why we
havenæt received more tips on using the program from readers. Anyway,
things are set to change from this month in Archive, with the advent of
Maurice Edmundsonæs dedicated Ovation column. (We also have a new DTP
editor, Ray Dawson, whose first column will appear next month.) For
further comments about Ovation, see my Ovation/Impression comparison
article which follows on page 33.ááA
Hints and Tips
6.3
Å A3010 joystick ports Ö several A3010s have been returned to Acorn with
complaints of faulty joystick ports. They are not faulty. The A3010 is
the first Archimedes to have a built-in digital (i.e. Atari-style)
joystick port and because of this, many of the games already available
do not cater for digital joysticks. This is a fairly major problem and
hopefully someone will soon produce some sort of patch (either hardware
or software) which allows digital joysticks to be used in place of the
more common proportional joysticks (such as the Voltmace Delta). Until
then, two sources of information about digital joystick interfaces are
The Leading Edge and Beebug.
6.3
Å A4 Portable Guide Ö on page 31 of this guide, the pin-out diagram for
the AKF18 monitor is slightly incorrect. Pins 13 and 14 (horizontal and
vertical sync) have been reversed.
6.3
Å Artworks & Impression dongles Ö There appears to be a clash between
these two dongles when using an A5000 and a JP-150: printouts appear
with spurious information across them. Computer Concepts say that the
problem only occurs between A5000s and JP-150 printers and add that they
are looking into the problem.
6.3
Å Banner-making Ö I have just seen, in Archive 6.1, a review of a
program called Banner.
6.3
If you own a printer which takes fanfold paper, there is an alternative
way for making banners. (By the way, fanfold paper does not need
sprocket holes if you are careful about the line-up and select friction
feed, so normal paper rolls can be used. For example, the Colourjet 132
users can print banners in this way.)
6.3
The print margins on all the Acorn printer drivers are user-definable
and as long as you want to print out banners shorter in length than A0,
extending the appropriate print margin and setting Draw to A0 landscape
will normally allow satisfactory banners to be produced. (Changing the
print margins is described in the manuals; change only the height of the
page to whatever you wish and leave the width alone.) If print margins
are shown, keeping to these will ensure that none of the picture is
lost.
6.3
The additional flexibility of Draw, especially in conjunction with the
drawfile utilities (!FontFX, !DrawBender, etc) would, in my opinion,
offset most of the ease of use of Banner, except perhaps in primary
schools.
6.3
Note that the printer should not be set to skip perforations, or
problems will result, but I have had no difficulty in printing banners
on an Epson LX and even a Colourjet 132 in this manner.
6.3
For those requiring longer banners, !Draw╜ and, I believe, !Draw+
(Careware 13) allow an option to set the work area to the print margins,
which will then enable them to use the longer pages which the printer
driver can handle but, again, for a banner you should set the page to be
much taller than normal in the printer driver and edit the display in
landscape mode. I have used this to produce banners several metres long.
6.3
I am sure Banner is a very useful package and I have not attempted to
use it but I would be unwilling to spend ú15 when the same effect seems
to be available from the software supplied with the machine and
Careware.áá Andrew Garrard, Cambridge.
6.3
Å Banner-making again Ö Recently I needed to print up a large banner for
a meeting, and wondered how I should go about it. Of course, I could
always have bought ÉBanneræ for ú15 but, for a once off job, I thought
this just a touch extravagant. This set me thinking... Impression can
define master pages as big as you like... hmm... This is what I did, and
it works!
6.3
1. Open a new document in Impression
6.3
2. Create a new Master Page (Custom Job) Ö Width: 1000 and Depth: 210
6.3
3. Return to the document and set the Master Page in Alter Chapter
6.3
4. Set the Font Size to 500
6.3
5. Type in öHello World!ò or whatever
6.3
6. Set the printer driver page size to Ö Height: 1000 and Width: 210
6.3
7. Set the Impression Print Dialogue to print sideways, and fire away
6.3
Warning Ö this is not Éprinter ribbon friendlyæ... in fact, it is
positively Éprinter ribbon hostileæ!á Philip Lardner, Co. Wicklow,
Ireland.
6.3
Å CC BJ10ex Turbo Driver Ö It seems that the only method of using the
Turbo Driver with the PC Emulator is to load !BJ10e and quit it again
before loading the emulator.á Chris McIntosh, Blackheath.
6.3
Å Programming the Serial Port (Vertical Twist) graphics board Ö On the
monthly program disc is a series of programs which, in themselves, do
nothing much. However, they show how the 65000 colour modes can be
accessed from Basic and C.
6.3
They mainly show how to draw lines, circles and fill shapes. Most do not
need any interaction. Fill requires five mouse selections to create to
outline Ö the sixth should be inside the box.
6.3
Lines Ö just move the mouse and press <select> to change colour.
6.3
15_120ASM converts mode 15/21 sprites to mode 120. Copy the sprite image
to the floppyæs root directory before running. Itæs not very fast. Jim
Bailey, Sunderland.
6.3
Å Squirrel update Ö Digital Services have upgraded Squirrel from version
1.07. Currently, Squirrel is being supplied with the original V1.07 disc
and manual and a V1.20 upgrade disc. A new manual is due out soon and
Digital Services will send all existing Squirrel owners this new copy
providing they have registered.
6.3
Å VIDC enhancer & RISC-OS 3.10 Ö There can be problems using very early
Atomwide VIDC enhancer hardware with RISC-OS 3.10. It appears that if
the enhancer is software switched, RISC-OS 3.10 will automatically
switch it on which prevents the computer from starting up correctly. To
solve the problem, you have two choices: (a) at the command line, type
*FX 162,&BC,&80 and switch your machine off, then on again, to check
that the command has worked (full details are on page 14 in the RISC OS
3.10 release note) or (b) return the enhancer hardware to Atomwide with
ú5 and they will modify the hardware so that it works correctly.
6.3
Å Vision Digitiser. As I concluded in my review of the monochrome
version of this product (Archive 5.12.42), the package is amazing value
for money. However, the supplied software is a little basic. Further
more, Robert Golightly at HCCS tells me that the software module
(promised in the !ReadMe file) to provide * commands and SWIs for users
to write their own programs has a priority below that of the 512-line
upgrade, and is not likely to appear in the near future.
6.3
All is not lost, for the software ù at least the monochrome version ù is
written using Basicæs in-line assembler, and so can be modified by the
careful user.
6.3
For example, as it stands, the !Vision application always demands 450Kb
of memory. For those with 1M machines, or those who like to multi-task
it with other memory-demanding applications, it would be useful to be
able to reduce this. Examination of the code reveals that a 320Kb screen
buffer is reserved, whatever screen mode you are using. 320Kb will be
needed for mode 21, but only 160Kb for modes 15 and 20, and 80Kb for
mode 12. If you havenæt a multi-sync monitor and want to save 160Kb of
memory when using !Vision, change the following lines of a copy of
!RUNIMAGE, having first checked that the first line of the !Run file
shows that you have Version 1.0, dated March 1992.
6.3
130 DIM M% 210000
6.3
8650 BNE mode_error
6.3
23260 EQUD 163840
6.3
23460 FN_work (163840)
6.3
Then amend line 2 of !Run to read:
6.3
wimpslot -min 288K -max 288K
6.3
Iæm working on other possible improvements to the software, such as mode
67 compatibility, but it occurs to me that others might be doing the
same. If you are interested in participating in an informal user-group
for the Vision Digitiser, please send an SAE to Stuart Bell, 23 Ryecroft
Drive, Horsham, West Sussex RH12 2AW.ááA
6.3
TechSoft
6.3
From 6.2 page 19
6.3
TechSoft
6.3
From 6.2 page 15
6.3
Risc Developments (2)
6.3
New Artwork
6.3
Using RISC-OS 3
6.3
Hugh Eagle
6.3
Many thanks to all those who have sent in material about RISC-OS 3.10.
Hugh has done a lot of work for us in collating all this information, so
read it carefully, check it out on your own systems and let us know if
you find solutions to some of the problems and/or see more problems.
This kind of information is very valuable indeed in terms of helping
other people who have to go through the same learning curve as you, with
the new operating system.
6.3
I think it would also be good to send in a few ÉI hadnæt realised that
you could... ...but it makes life much easieræcomments.
6.3
By the way, as at 28/11/92, N.C.S. actually has the ú50 upgrades in
stock although A5000 owners will still have to be patient, Iæm afraid.
Ed.
6.3
(Throughout the column, references to RISC-OS 3 mean RISC-OS 3.10 unless
otherwise stated. HE)
6.3
After ÉThe Long Waitæ and an acute dose of ÉBent Pin Anxietyæ, I had, to
cap it all, ÉThe Hunt For The Missing Apps 1 Discæ. After all that, I
was quite surprised to find that the machine actually worked when I
turned it on!
6.3
Reconfiguring it so that it ran as well as it did before the upgrade,
was quite a fiddly process. The main hint I would give to anyone who
hasnæt yet done the upgrade is: watch your Fontmax settings!
6.3
Å In the Memory section of !Configure donæt be misled by the illustra
tion on page 94 of the manual. You can not safely leave the öFont cache
limitò setting at zero and expect the operating system to default to a
sensible limit as you can with most of the other memory settings. Unless
you set öFont cacheò to a reasonably large amount, you must set a larger
öFont cache limitò. (On a 4Mb machine, I have them set to 128Kb and
512Kb respectively.)
6.3
Å If you have a multisync monitor, read the bit on page 119 (in the
section on screen modes!) when deciding what settings to use for anti-
aliasing and cached bitmaps in the Fonts section of !Configure.
6.3
Å Keith Lowe adds Ö Where the upgrade instructions tell you to hold down
the Delete key until the power-on self-test has been completed, they
mean donæt release the key until text has appeared on the screen!
Otherwise your old configuration will still be there and that can cause
no end of confusion!
6.3
Å Ed Harris encountered problems in installing the user fit ROM carrier
board from IFEL to his A310. IFEL were very helpful in providing advice
and when Keith was still unable to track down his mistake, they sorted
it out and returned it by return with only a nominal charge to cover
their costs. Many thanks to IFEL.
6.3
Å Mark Lambert reports problems trying to install RISC-OS 3 in an A310
fitted with a Watford 4Mb RAM upgrade (the second edition with a
vertical daughterboard holding the processor). Watford have told him
that a simple wire link is required on the RAM board but, as yet, they
have not told him the exact details. Does anyone happen to know the
details of the link required?
6.3
Å Steve Hutchinson writes: I was assured that it was quite simple to do
the necessary hardware upgrade to my old A440. In the event, I managed
it without hiccup but it was not quite so simple. I had to remove the
main circuit board from the case Ö which means unplugging loads of
things in my machine with all its upgrades. If you havenæt reasonable
electronic experience, think twice!
6.3
And is the upgrade worth it? For 1Mb or floppy disc only users, the
answer must surely be yes. It must be a godsend to have the standard
applications, plus fonts, plus modules, all in ROM. For hard disc owners
.... well, what do you think? Some readers have no doubts.
6.3
Ed Harris, for instance, writes: All in all, I have found RISC-OS 3.1 to
be a great improvement on an already excellent operating system (RISC-OS
2) and well worth the cost of the upgrade. However, I wonder whether
others share my disappointment that the improvements were not more
dramatic? Perhaps now is the time for us to begin to compile a Wish List
of things we would like to see in RISC-OS 4.
6.3
Why not send your thoughts either to Archive or to me at the address at
the end of this column?
6.3
Most programs work well in RISC-OS 3
6.3
Robert Macmillan of Colton Software has written to point out (further to
Gerald Fittonæs comments in the Pipeline Column of Archive 6.1) that not
only do all versions of Pipedream from 3.10 onwards work in RISC-OS 3,
they all work better with RISC-OS 3. This is because RISC-OS 3 has the
latest versions of system software built in and these perform better
than the old versions supplied with RISC-OS 2. In particular, the font
manager is much, much faster and the benefits of having the fonts built
in make it possible for floppy disc users to make good use of fonts
without inordinate disc swapping.
6.3
Robert suggests that Archive should publish a table showing which of the
most popular software packages work, and which donæt work or need
upgrading. Judging by the number of needless phone calls he has been
receiving, this would be of great benefit to users considering the
upgrade to RISC-OS 3.
6.3
I think the drawback with this idea is that although most people will
report that most programs work perfectly well (and the list could
potentially fill much of the magazine) some programs that do work well
for most people seem to cause problems for some others.
6.3
However, I do agree that it is important to emphasise that most programs
do work and so, to set the ball rolling, I confirm that, from my limited
experience and that of my friends, the following generally seem to work
well:
6.3
all the standard Acorn applications
Impression 2.17 (but see below)
Poster 1.21
Artworks (all versions)
Vector
TWO
Squirrel
Pacmania
E-Type
Twin World
Lemmings
Gods
6.3
Programs that need minor modifications
6.3
Å Sigmasheet (Minerva) must have FPEmulator in the same directory, even
though that module is in ROM. (John Waddell)
6.3
Å First Word Plus release 1.1 Ö As my current word processor is First
Word Plus release 1, I was worried by the assertion in the release notes
that this was unuseable under RISC-OS 3.1. This happily proved not to be
the case. If colour 14 within the WIMP palette is redefined, the menus
become legible. I have created an obey file to invoke 1WP (on the
monthly program disc) which loads a modified palette on entry and
restores the default palette on exit. Using this, I have experienced no
problems running 1WP. (Ed Harris)
6.3
Å DiscTree does not work correctly under RISC-OS 3. Oak Solutions are
working on the problem.
6.3
Å InterWord ù My copy of InterWord has its own directory in the hard
disc root directory. It runs in 65Tube, which isnæt where it used to be
under RISC-OS 2, and appears under a different name. To get InterWord
going again, copy the new App2.!65Tube.!RunImage to the InterWord
directory and rename it as 65Tube; it should now be sitting alongside
!IWord in that directory. In the I/WORD.!IWORD.!RUN file, insert the
following line after Set Interword$Dir <Obey$Dir>:
6.3
RMLoad ADFS::HD4.$.IWORD.65Tube
6.3
(where HD4 is the name of the hard disc). Double click on !IWORD in the
usual way to start it.
6.3
A similar method should apply to single floppy machines by substituting
the appropriate floppy name for that of the hard disc above. (Ken Cowap)
6.3
Å Holed Out ù I have a boot file on the hard disc which sets up the
machine with some applications on the iconbar and some more on the
pinboard. The golf game öHoled Outò finds this environment disagreeable
and wonæt start. The following gets it going:
6.3
*CONFIGURE DRIVE 0
6.3
*MOUNT :0
6.3
<shift-break> (machine re-boots to bare-bones iconbar)
6.3
Click Drive 0 icon to get öHoled Outò filer
6.3
Double click !Boot
6.3
Terminate the game with:
6.3
Shift/Break
6.3
*CONFIGURE DRIVE 4
6.3
*MOUNT:4
6.3
<ctrl-break> (machine re-boots to populated iconbar, etc) (Ken Cowap)
6.3
Å Chocks Away ù The flight simulator Chocks Away isnæt quite so fussy
about a populated iconbar and will generally start normally. However, if
it does object, it may help to try a <ctrl-break> followed immediately
by <escape>, which re-boots to an unpopulated iconbar, then double click
on !Chocks. (Ken Cowap)
6.3
Other program problems
6.3
Mike Williams has supplied a list of programs that he has found donæt
work under RISC-OS 3.1:
6.3
Ground Control Teletext Adaptor (At the A.U. áááááShow, Ground Control
said they werenæt áááááaware of any problems. HE.)
6.3
Claresæ Arcade Games
Quazer
StarTrader
Arcendium
Corruption
Terramex
Boogie Buggy
6.3
Ed Harris has found several public domain applications that have failed
to run:
6.3
Mandelplot (garbage on screen Ö machine ááááálocks)
ChartDraw (öillegal window handleò error)
Hyper (öillegal window handleò error)
6.3
Å Computer Concepts admit that ShowPage does not work with RISC-OS 3 and
say that they have no plans to get it working with RISC-OS 3. There just
is not the demand for this product to make it worthwhile doing the
upgrade which is more like a complete re-write for the new operating
system.
6.3
Denis Fox reports problems with:
6.3
Å Impression (2.17) and LaserDirect (2.05) work much more slowly, even
with Fontsize set to 256Kb and Fontmax to 512Kb. There are regular poor
printouts, sometimes with patterned effects in what should be black
areas, hang ups when transferring lots of text between documents and
continual error messages when printing. (I have a similar setup but have
not noticed any deterioration in performance. HE.)
6.3
To help the speed, I suggest you try NOT using the ROM fonts Ö then you
can have Quick Text switched on. To do this, add a FontRemove
Resources:$.Fonts. in the !Fonts.!Boot file before the FontInstall
<Obey$Dir>. command.
6.3
I have once had the patterned effect in black areas but quitting and
restarting the printer driver cleared it. Ed
6.3
Å Multistore V11 not printing with a Star LC24-200. (At the AU Show,
Minerva said there may be problems with earlier versions and that users
experiencing such difficulties should contact them quoting their version
number. HE.)
6.3
Å Scanlight Plus 256 not working at all. (There are no known problems.
Are you sure you have a power supply connected to the board? You do need
the p.s.u. connected even on the A5000. Ed.)
6.3
Å A number of people have had problems (mainly öillegal window handleò
errors) with versions up to 1.07 of my PD application PickAPic. I found
that there was an error in the code that only occasionally caused
problems in RISC-OS 2, but caused the program to crash quite often in
RISC-OS 3, presumably because of a change in the way the window manager
numbers its windows. Anyone who wants an upgrade to the latest version
please write to me at the address at the bottom of this column. (Hugh
Eagle)
6.3
Å Droom ù I canæt get Droom to work. It reports öNot enough system
sprite memoryò whether I use Memalloc and the *Spritesize command (this
used to work in RISC-OS 2), or the new *ChangeDynamicArea command, or
whether I set the System sprites slider in the Task Manager window.
(Hugh Eagle)
6.3
Å Compression Ö Computer Concepts have informed me that the release note
for version 3.10 is slightly too pessimistic when it claims that
Compression (up to version 1.10) does not work on RISC_OS 3.10. What
apparently happens is that sometimes when you compress a directory with
several files, the last file, instead of being processed, produces an
error message. It can then be compressed singly. (In the first two weeks
of working with the new OS, I have had no trouble with Compression, so
the problem appears to be marginal. HE) (Jochen Konietzko)
6.3
Å Impression and the Pinboard Ö Can anyone tell me why the Pinboard has
such problems with Impression documents?
6.3
When I drag a compressed document onto the desktop, the next reset will
produce an error message öSprite does not existò. Without Compression,
the document does appear on the desktop but the Impression icon is
replaced by the standard application icon. (Jochen Konietzko) (I seem to
have no difficulty with Impression icons on the Pinboard in my
Compression-less setup. HE)
6.3
Å PC Emulator (version 1.6) ù I applied the patch to my copy of the PC
Emulator (Version 1.6) and changed the filetype of the DOS partitions to
DOSDisc as recommended in the release notes. I then found that the
machine locked whenever I ran the emulator, even after a <ctrl-break>.
Things worked perfectly, however, after the machine had been powered off
and restarted. (Ed Harris)
6.3
Å Trouble with !FontFX Ö It has already been documented, at least twice,
that !FontFX will not run under RISC-OS 3 and the suggested öfixò is to
reset Font$Path using *SetMacro. Having done this, I still canæt get it
to use the Trinity and Homerton fonts supplied in ROM. To get round the
problem, I have renamed the original RISC-OS 2 versions OldTrinity and
OldHomertn and installed them in my !Fonts directory on disc. Now
choosing these from the fonts list in !FontFX works beautifully. So far
there have been no side effects!
6.3
It occurs to me that the problem may be that !FontFX is looking for
files called IntMetric and Outlines (there are lots of references to
these names in the !RunImage) whereas the files in ResourcesFS are
stored as IntMetric() and Outlines(). The real answer would be for the
program to be amended to accept either version of the filenames. I shall
speak to DataStore to find out if they intend to make the necessary
alterations. (Tom Harkness)
6.3
The release notes say that FontFX must be more recent than 4.31 to work.
My version, 4.08, works fine so long as you donæt use ROM fonts. If you
do try to, it reports ÉCanæt find outlinesæ and promptly exits from the
iconbar! All other fonts seem fine, even from multiple directories.
(Steve Hutchinson)
6.3
Å Ovation ù Ovation meets a problem or two with RISC-OS 3 despite its
recent update (version 1.35S). If text is indented (e.g. at the start of
a paragraph) and is also justified, the correct format is presented on
screen but when printed, the indented line projects to the right beyond
the text frame. It is understood that Risc Developments are working on
this. Also, if Ovation encounters a faulty outline font (e.g. containing
a zero-width character, not uncommon in some PD fonts) it puts out an
incorrect error message saying that the font cache is full. This bug is
more likely to be purely Ovationæs rather than in conjunction with RISC-
OS 3, but hasnæt been resolved as yet (except of course by ensuring that
outline fonts are fault-free). (Ken Cowap)
6.3
Å ArcDFS ù Since fitting the RISC-OS 3 upgrade, ArcDFS no longer works
correctly and consistently comes up with error messages. This causes me
great problems since, throughout our group of companies, we possess some
50+ Acorn BBC units ranging from the old BBC Model Bæs (yes, theyære
still going strong after eight years of service) through to Master
128æs.
6.3
We are only just moving on to Archimedes and to maintain our wealth of
information accumulated on our Beebs, I am transferring files from DFS
to ADFS via a set of external 5╝ö disc drives I have had connected to my
A3000. This has worked perfectly in the past with complete surfaces of
DFS discs being transferred to ADFS in seconds. Without ArcDFS, I am
left with only one solution Ö to *MOVE individual DFS files to 640Kb
ADFS discs using a Master Series Computer and then transferring these
640Kb discs to the Archimedes. Clearly, this is a retrograde step after
the convenience of ArcDFS.
6.3
I have been in contact with Dabs Press and, although they are aware of
the problem, they could not tell me whether or not they were going to
make the necessary modifications to their software! I sincerely hope
they receive a large enough response from their users to persuade them
to produce an upgrade for this product. (S. J. Furnell)
6.3
Å !Alarm ù A couple of tricky little bugs exist in the new Alarm
application. Iæve already reported these to Risc User and trust they
will advise Acorn in turn. If the Repeating Alarm facility is used to
operate, say, every first Monday of every month, it malfunctions when
the next month comes up to December. It advances a year instead of a
month, going from November 1992 to December 1993.
6.3
Perhaps less important, but still a nuisance if you want to use it, is
the bug in the automatic BST to GMT facility. It refuses to accept
entries for two different years such as were needed at the recent change
on 25th October. Before that date, it should have been in order to enter
6.3
BST starts on Sunday 28th March 1993 at 01:00
6.3
BST ends on Sunday 25th October 1992 at 01:00
6.3
but Alarm invalidates such an entry by altering the östartsò date to be
earlier than the öendsò date. If one capitulates and enters the two real
changeover dates for 1992, (hoping that Alarm will calculate forward
into 1993) Alarm does indeed respond with a date in 1993 but only about
11 months ahead, on 1st March 1993. There is a fundamental difficulty
for the programmer here. The changeover date doesnæt, as far as I know,
follow a properly defined rule and tends to be arbitrary. I suspect that
the programmer intended to issue a reminder to the operator 11 months
after the last change so that the true date, known by then, could be
entered. However, the algorithm obviously needs re-examination. (Ken
Cowap)
6.3
Can readers (or the manufacturers) offer any advice on how to overcome
problems with these programs (or any others that have proved
troublesome)?
6.3
Hardware problems
6.3
Å Oak SCSI öFree Spaceò display ù My Oak SCSI hard disc wonæt use the
new ÉFree Spaceæ window but uses the old RISC-OS 2 Éstop-everything-and
press-spaceæ window. The Release notes suggest that SCSIFiler will fix
this for the Acorn SCSI card, but it doesnæt appear to for my Oak
(v.1.16). Any thoughts? (Steve Hutchinson) (The solution to this was
explained in Archive 5.5 p40. Ed.)
6.3
Å Digitisers, SCSI and the RS232 port ù I managed to get RISC-OS 3
fitted to my faithful A440 only to discover that my Technomatic
(Brainsoft) Multipod Professional digitiser not only does not work with
RISC-OS 3.10 but the computer will not work with the podule fitted.
Richard Brain says that he was not aware of a problem and there are
currently no plans for an upgrade, but he will have a look when he gets
time to see if an upgrade is possible. In the meantime, I have no video
digitiser, no stereo digitiser and no extra RS232 ports.
6.3
I mentioned the problem to Malcolm Banthorpe and he tells me that his
Pineapple digitiser is now öunwellò with RISC-OS 3.10. I wonder whether
there are some differences in the way that podules download their ROM
modules and initialise under RISC-OS 3.10?
6.3
I also hear rumours that people are experiencing interrupt problems with
SCSI interfaces causing data loss on the RS232 port (interrupts not
returning quickly enough to avoid loss of incoming data on the port).
Apparently, uncached Morley cards may be particularly prone but I have
no first hand experience. It certainly fits in with Malcolm Banthorpeæs
experience on his digitiser which seems to be suffering from an overdose
of interrupts. (Tim Nicholson)
6.3
Laser Direct RISC-OS 3 printer driver?
6.3
It seems barely credible, but a whole year after RISC-OS 3 was first
released, the Rolls Royce of Archimedes printers still lacks a RISC-OS 3
printer driver. For many purposes this doesnæt matter, but rotated fonts
seem a bit pointless if you canæt print them out, and users with more
than one printer would like to be able to access their LD using the
Print Manager.
6.3
Readers have been getting contradictory explanations from Computer
Concepts: one was told that theyæve been too busy writing Artworks,
while another was told that Acorn havenæt given them a printer driver
specification yet! (Thereæs an element of truth in both. Letæs just say
that it is a non-trivial task to write a printer driver to work with
Acornæs Print Manager. Ed.)
6.3
Other printer problems
6.3
Å Epson MX100-III ù My printer is an ageing Epson MX100-III. Using the
standard settings provided by the Acorn printer driver, I find thin
lines can disappear. e.g. the staves in a Rhapsody score. Using the
highest resolution setting (120 x 216 dpi dithered) produces an
excellent standard of output but 1.5 to 2 times slower than the RISC-OS
2 driver (at a resolution of 120 ╫ 144 dpi). (Ed Harris)
6.3
Å Print buffering ù I have an Archimedes 420/1 expanded to 4Mb memory,
with twin Cumana 5╝ö disc drives and recently equipped with ARM3 and
RISC-OS 3.1. Ever since I installed RISC-OS 3.1, I have had a problem
with printing. I use Impression most of the time but the same problem
arises with Draw, Acorn DTP, DrawPlus, etc, etc. I shall put the problem
in the form of a question: What is the point of a printer buffer that
does not release control of the machine back to the user until the print
job is finished?
6.3
I wrote to Acorn as follows: Whatever setting I use for PrinterBuffer
Size, it just does not seem to make any difference. I have 4Mb of memory
and use Impression a great deal. Sometimes I set the PrinterBufferSize
as high as 512Kb but the computer does not return control to the desktop
until the document is completely printed. Under RISC-OS 2, I used a
printer buffer program and found that I was able to work on a new
document within a minute or two of sending the previous one to the
printer provided the buffer was set high enough to accommodate all of
the data being sent to the printer. Now the machine is always tied up
until the printing is complete. How does one get the printer buffer to
work? I use *Configure PrinterBufferSize to set the size of the buffer.
Is there another command that I can use to make it operational and is it
possible to turn it off (*Configure PrinterBufferSize 0Kb sets it to the
default of 1Kb) and use one of the many printer buffer programs that are
available?
6.3
Acorn (Peter Dunn) replied: öAlthough the printer buffer does work in
that data is passed into the buffer, control is not released back to the
user until the print job is finished.ò
6.3
I have tried RMKilling the BufferManager but that stops all data being
sent to the printer.
6.3
I have devised a work-around but it is a little long-winded:
6.3
1. Have two versions of the chosen printer driver on the iconbar and
make them active.
6.3
2. Set one (F) to send the data for the printer to a file on the hard
disc and set the other (P) to send the data to the parallel or serial
printer.
6.3
3. Select (F) by clicking on it and Éprintæ the document. A file called
Printout will appear on the hard disc.
6.3
4. Change the name of the file called Printout to, say, Printoutx.
6.3
5. Select (P) by clicking on it and drag Printoutx onto the Printer icon
that is yellow.
6.3
The file will now print in the background and control is instantly
returned to the user. Step 4 is not strictly necessary but is useful if
you are printing longish documents and wish to, as it were, stack them
ready for sending to the printer. If one does not change the name to
something unique, there is a danger of overprinting one file with
another. Instead of the hard disc one may, of course, use a floppy or
RAMFS.
6.3
This is quite a laborious work-around when one has a printer buffer
built in (so one would think) to RISC-OS 3.1. A better arrangement must
be possible and so I should be grateful for any hints or tips the
readers can give. (M. P. Ireland)
6.3
Å Epson FX-105 ù The driver for the Epson FX-85 does not work with the
Epson FX-105 even though the printer manual suggests that they are
virtually identical apart from the carriage width. The printout is
always aligned along the left hand side even when it is supposed to be
centered, etc. Furthermore, large letters, being sent in several
separate lines, are often incorrectly aligned from top to bottom. When I
raised this in my letter to Acorn, they replied as follows:
6.3
öThe Epson FX-105 does not support the ESC $ (remove leading white
space) options supported by the FX-85 but does however support NLQ text
printing. The decision by Epson not to support ESC $ in its newer
printers has only recently come to light when testing the Epson LX-100.
We have written a driver for the LX-100 which I am sure you will find
works correctly with your printer.ò
6.3
A copy was sent to me and I can confirm that it does indeed work. (M. P.
Ireland)
6.3
Å Bug in !Printers Ö If you configure two printers of the same type
(e.g. a 300dpi HPLJ-2 and a 150dpi HPLJ-2) then delete the first one,
!Printers crashes with an address error. (Mike Williams)
6.3
Å LaserJetII printer driver and Qume Crystalprint Series II ù My problem
concerns the LaserJet II printer driver. Quite simply, I always get an
extra blank sheet for every page printed. Also stray characters appear
in the left margin. The Qume CrystalPrint Series II printer is very
similar to that used initially by Computer Concepts for their Laser
Direct series, but mine isnæt a Laser Direct model.
6.3
In the early days of RISC-OS 2, I vaguely remember I had a similar
problem that was solved only when Acorn (fairly quickly) brought out
another printer driver.
6.3
In my efforts to solve the problem, Iæve tried lots of things ù like
changing margins, etc, etc. Iæve had long discussions with Gerald
Fitton, too. From him, I know that others have plenty of problems,
though perhaps not quite like mine. The silly thing is that all was OK
with the RISC-OS 2 driver but, despite the impression given in Risc
User, neither of us thinks that RISC-OS 2 drivers can be used with RISC-
OS 3. Is this correct, I wonder? If they can be used, that would be a
good temporary solution. (John Jordan)
6.3
Å Getting the page length right ù After quite a number of abortive
attempts to set the page length for 12 inch fanfold paper, I finally
found out that any changes I make become effective (at least on my
combination of machines) only after I have saved all changes, quit and
then reloaded the printer driver. (By the way, the correct setting for
my Fujitsu DL1100 printer, using the Epson LQ860 emulation is, for some
inscrutable reason, 12.309 inches, 72 lines). (Jochen Konietzko)
6.3
Å Panasonic KX-P1124 ù Probably my most difficult problem was with the
printer drivers. The old RISC-OS 2 drivers just have to be abandoned Ö
they merely generate an error message. My printer happens to be a
Panasonic KX-P1124 (24-pin dot matrix, monochrome) but Acorn havenæt
seen fit to include any Panasonic printers at all. Though they blandly
say that one of the others will probably be near enough, in fact, it
requires a considerable amount of research to be confident that the
range of control codes is (a) sufficient to fully exploit the machineæs
capabilities and (b) doesnæt contain any alien codes to cause unwanted
results. At the end of the day (or several!) I reduced the probables to
two, the Epson LQ860 and the NEC P6+ (despite the fact that both
machines are colour printers). I had misgivings about the NEC which
includes, in its control code repertoire, some which started with 28
instead of the old familiar 27 (Escape). The matter was finally clinched
when I was able to question an Acorn representative at the Acorn User
Show. He told me that quite definitely I should use the Epson LQ860. So
this I do, and without any problems so far. I havenæt even edited out
the control codes for the colours Ö the driver is used, unmodified. (Ken
Cowap)
6.3
Where are the hare and the tortoise?
6.3
Can I get the hare and tortoise icons that came with my ARM3 back on the
iconbar? Or do I have to tell people that if they want E-Type to go at a
playable pace they have to press <F12> then type öCache offò then press
<return> twice before running it?! (I just use
6.3
RMEnsure Arm3Icon 0.9 Run scsi::4 .$.<leafname>.!Arm3
6.3
in my !boot file and... hare presto! Ed.)
6.3
Programmersæ Reference Manual
6.3
At the Acorn User Show, a öbetaò copy of the new PRM was on sale in
photocopy form for ú120. The final version will apparently be available
öin the first quarterò of 1993. It is about 50% bigger than the RISC-OS
2 manual and will fill six volumes. From my brief inspection, it looks
as if it contains quite a lot more explanatory material than its
predecessor. I was told that neither the price of the final version nor
details of the trade-in arrangements (if any!) have yet been fixed.
6.3
Various hints and tips:
6.3
Å Problem with Impression dongle Ö You canæt write to a printer when the
Impression dongle is fitted unless you have run the Impression appli
cation first. (Mike Williams)
6.3
Å Summer time blues Ö Some C programs (e.g. PVray) get the time wildly
wrong when *BST is configured. (Mike Williams)
6.3
Å Bug in !SciCalc Ö It gives wildly inaccurate results to the <▒>
function for some values, e.g. if you enter ö1<Exp>56ò then press <1/x>
to give ö10EÖ57ò then press <▒> you get the surprising result: ö10EÖ58ò.
If you press <▒> again, you get ö10EÖ41ò. (Mike Williams)
6.3
Å Where did this file come from? Ö There are quite a few ways in which
<adjust> clicking can be very helpful. Iæm sure you all know that
<adjust> double-clicking a directory opens it and closes the parent and
that using <adjust> to close the directory opens up the parent. You may
even know that clicking the close icon with <adjust> while holding down
<shift> actually opens the parent without closing the directory. What
you may not have noticed is that you can do the same with (some)
applications. With most applications, it seems, <adjust> double-clicking
a file loads the file and closes the directory from which it came. (I
think this is a function of the Filer and is therefore true for all
applications and files. HE.) Then, if you click in the close box with
<adjust>, holding <shift> at the same time, the directory from which the
file came appears on screen without the file disappearing from view.
With Impression, however, there is no need to hold <shift> as well Ö
just using <adjust> on the close box brings up the directory viewer in
which the file is saved.
6.3
Oh, and Iæve only just discovered that if you draw a windowæs scroll bar
with <adjust>, you can move about in both x and y directions! (Paul
Beverley)
6.3
Å Rubber-banding Ö Those who have gone straight to RISC-OS 3 without
reading the manual (like Ed!) may not have noticed that you can use
rubber-banding to select a group of files. So instead of <adjust>
clicking every individual file you want to select, you can click
<select> in the space between two file icons and, as you drag, a red
bounding box appears which you can release when it is over the files you
want. Using <adjust> instead of <select> simply adds files to those
already selected but note that if you go over a file that is already
selected, it is then de-selected. (Paul Beverley)
6.3
Å SerialDeviceDriver module Ö On an A5000, never unplug the module
called öSerialDevice Driverò, as the following strange things will
happen. After a power off/on the machine will boot up but, during
booting, an error message öError from Task Managerò will appear and
there is only a öCancelò button to click on. Then the boot up is
finished correctly but no Taskmanager is present! It will only reappear
if you double-click on any file with the new Desktop filetype (&FEA),
even if this is 0 bytes long! In addition, the Taskmanager will not
function correctly in all cases: try to get an ö!Edit Task Windowò now.
Bug or not? (Carsten Bussman)
6.3
Å Double-clicking into Basic Ö On my first machine (which was killed by
my dealer while trying to fit a SCSI hard drive) I was able to enter BBC
Basic V directly by double-clicking into the systemæs start-up message
window (öRISC-OS ... initialisingò). This does not work with my current
machine (Serial no. 1009939); I donæt know why. This was a nice feature
which Iæm missing now, so why isnæt it implemented in all RISC-OS 3
ROMs? (Carsten Bussman)
6.3
Å Inserting path names into !Edit Ö Try dragging any file or directory
into an !Edit window while pressing the Shift key. This will give the
fileæs pathname. (Carsten Bussman)
6.3
Å öMenu Area Fullò error in FormEd ù Captain K.áJ.áTompkins reports the
error öMenu Area Full (Internal code 6560,1)ò from his version of
!FormEd. This is probably because he has one of the earlier versions of
this program which only allows limited space for building its menus and
is defeated if there are too many fonts installed. If so, it is fairly
easy to cure: in the Basic program called !RunImage inside the !FormEd
directory there is a line that reads something like:
6.3
DIM menufree% &1800: menuend% = menufree%+&1800
6.3
(this is at line 790 in the version Iæm now looking at). If each of the
two &1800æs is replaced by &2000, so that the line reads:
6.3
DIM menufree% &2000: menuend% = menufree%+&2000
6.3
the program should work.
6.3
(Note: this hint does not apply to all versions of FormEd) (Hugh Eagle)
6.3
Å Filer_Run syntax Ö it seems that the command
6.3
*Filer_Run <App$Dir>
6.3
(where App$Dir is a system variable set to the name of an application)
doesnæt run the application as you might expect. What it does is to open
a filer window on the applicationæs directory with ö<App$Dir>ò (not the
actual pathname) in the title bar.
6.3
The following syntax, however, does seem to work:
6.3
*Set Alias$FR Filer_Run <App$Dir>
6.3
*FR
6.3
*UnSet Alias$FR
6.3
(this is equivalent to the old trick that used to be needed in RISC-OS 2
to open a directory viewer with *Filer_OpenDir). (Hugh Eagle)
6.3
Å *FontRemove syntax Ö The FontRemove star command seems to be very
fussy. You have to tell it the name of the directory that you want to
remove in exactly the form in which it is included in the Font$Path
system variable. For instance, if you want to remove
RAM::RamDisc0.$.!Fonts. from Font$Path you must type
6.3
*FontRemoveáRAM::RamDisc0.$. !Fonts.
6.3
including both the disc name (RamDisc0) and the full stop at the end.
(Robert Chrismas has sent in a handy application called !FontsCut which
lists the directories currently included in Font$Path with numbers
beside them and all you have to do is type in the number corresponding
to the directory you want to remove. This is included on the monthly
program disc.) (Hugh Eagle)
6.3
Å Configuring Shift Caps Ö In the Caps lock section of the Keyboard
window of !Configure, the effects of öCaps lock onò and öShift capsò
seem to be reversed. In other words, selecting öCaps lock onò means that
holding down <shift> reverts to lower case whereas selecting öShift
capsò means that you get upper case regardless of whether <shift> is
held down or not. (Hugh Eagle)
6.3
Å Mouse button codes ù If you enter and run the following simple Basic
program:
6.3
REPEAT
MOUSE X,Y,B
PRINT TAB(10,10)B
UNTIL FALSE
6.3
then watch what number is displayed on the screen as you press the
various mouse buttons you will see:
6.3
no button 0
6.3
Select 4
6.3
Menu 2 for an instant, followed by 0
6.3
Adjust 1
6.3
The behaviour of the menu button has changed from RISC-OS 2, I think.
Those programs that are interested only in detecting whether the button
has been clicked wonæt be affected, but the change can cause problems
for programs that want to detect whether the Menu button remains held
down. Luckily, there is a simple solution: the function
6.3
INKEY(-11)
6.3
will return the value TRUE however long the Menu button is held. (Hugh
Eagle)
6.3
Å Getting Art Nouveau to run ù Hands up those who remember Art Nouveau?
Well, this excellent old program has one quirk, namely that you have to
hold down the menu button while you move round the menu tree until you
make your selection. So, because of the changed functioning of the mouse
button (see above), it doesnæt work in RISC-OS 3.1 unless you make a
slight modification. In the Basic program called ArtNouveau from the
directory ANfiles at line 30950 in my version there is a line that
reads:
6.3
WHILE stayopen AND mbut=2
6.3
I have found that altering this to:
6.3
WHILE stayopen AND INKEY-11
6.3
restores the program to health. (Hugh Eagle)
6.3
Å Using a TaskObey file to display a message ù The new filetype
öTaskObeyò is useful if you want the !Run file of an application to pop
up a message in a window without halting the whole system. You might use
this for instance to display a warning to change the setting of your
printer. Thus, to display öThis is a messageò in a window, create a file
called, say, Message containing:
6.3
Echo This is a message
6.3
set the filetype to TaskObey and include, in the applicationæs !Run
file, the line
6.3
Filer_Run <Obey$Dir>.Message
6.3
If you had set the filetype to Obey, the message would pop up moment
arily then disappear before the application loaded. (Hugh Eagle)
6.3
Å Deskboot files and the Pinboard ù The User Guide explains how to
create a !Boot file to boot the computer in your desired configuration.
It adds that, when saving the !Boot file, information to start up
applications produced before RISC-OS 3 is not saved automatically. To
get round this, it explains how to rename the !Boot file as Deskboot and
to incorporate it in a !Boot application. It goes on to explain how to
edit the Deskboot file, either to remove or to add lines as necessary.
6.3
If you use the Pinboard as I do, some icons will be changed on a regular
basis. For example, I have regularly used files which change each month.
If the Deskboot file is saved each time the Pinboard is changed, a
certain amount of what the User Guide calls öhand editingò would have to
be done each time a change is made, to remove or add relevant
instructions.
6.3
There is an easy solution. Set up your Desktop once and save the
Deskboot file. Then click <menu> over an empty space on the desktop and
save the Pinboard settings in the Pinboard file in your root directory.
Now drag your Deskboot file into !Edit (or Shift-double-click on it) and
delete all the lines which begin öPinò. Alter the line öPinboardò or
öPinboard -Gridò to read öRun Pinboardò or öRun Pinboard -Gridò.
6.3
Future changes to the Pinboard setting now need be saved only to the
Pinboard file in your root directory. (John Waddell)
6.3
Ken Cowap warns that a DeskBoot file can easily be unnecessarily
cluttered if, for instance, there are a number of unwanted items on the
screen when it is made. This will incur a penalty in the time taken to
boot up Ö his started at two and a half minutes before he trimmed it
ruthlessly.
6.3
Å ADFS buffers Ö According to Acornæs telephone help line, the bug which
made it advisable to configure the adfs buffers to zero has been fixed!
(According to Computer Concepts, unless the buffers are configured to
zero, it is vital to dismount disks before removing them for good from
the machine, because otherwise there may be trouble later.) (Jochen
Konietzko)
6.3
Å OS_Byte calls and the serial port ù I use my A3000 for many purposes,
one of the more important being as a terminal to our mainframe computer.
The software for this I have written myself in Basic. After the upgrade,
my terminal program wouldnæt work. It would not accept characters from
the serial port. I tried using the serial port utility module supplied
with the upgrade, but this did not help.
6.3
After a lot of experimenting, we finally discovered that if we changed
all the *FX calls for SYS öOS_Byteò calls, then the program would work.
It still puzzles me why two supposedly similar commands should give
different results! (S.áJ.áFurnell)
6.3
Å Z88 Filers ù The Release Note says that the !Z88 filer supplied with
Pipedream requires interactive filing to be off. Youæll be pleased to
know that David Holdenæs !Z88 filer (Careware 7) suffers from no such
problems. (Steve Hutchinson)
6.3
Å Programs that call machine code from Basic ù An application I used a
lot, !BPrint (Risc User) wouldnæt run with RISC-OS 3, and the cure for
this may well apply to other applications organised in a similar layout,
i.e. using a central Basic program calling a separate piece of machine
code. The cure was to re-assemble the code under RISC-OS 3; obviously
there is some small difference between its assembler and that of RISC-OS
2. In this particular application, its öancestorò (the program developed
over a period of time), a program called FileList from vol.2 issue 5 was
rerun to produce the assembled file BLIST which was substituted for the
original. (Ken Cowap)
6.3
Å Mode number conflicts ù A program for plotting Mandelbrot diagrams
failed with RISC-OS 3 and the manner of its failure may indicate a cure
for others. This particular program called a Mode 40 which didnæt exist
under RISC-OS 2 but which was specially designed and provided with the
program. RISC-OS 3 of course does have a native Mode 40 and a clash
between it and the öspecialò gave rise to the error report. The cure was
to rename the öspecialò to a mode number outside the range provided with
RISC-OS 3, in this case Mode 50. (Ken Cowap)
6.3
Å Setting !Alarm options ù This is a minor matter, unless you are trying
to set your own !Alarm display format in a !Boot file. This you do with
a Set Alarm$Options line (p136 App Guide). The quotes are omitted. This
is my (working) line:
6.3
Set Alarm$Options -format ö%z24:%mi %zdy.%zmn.%zyrò
6.3
If you use a !Boot file and !Alarm, put it in to see my favourite
display format! (Steve Hutchinson)
6.3
Miscellaneous comments
6.3
Å Surely a Égrown upæ operating system shouldnæt say, öDisc error 10 at
:0/00000000ò when you try to read an unformatted disc?
6.3
Å It seems strange that !Configure requires you to press <return> after
typing into a writable icon. This is not normal RISC-OS convention.
6.3
Å Itæs a shame that they didnæt manage to squeeze some suitable backdrop
sprites onto one of the RISC-OS 3 discs. Those who have access to
Windows 3 might like to know that its wallpaper bitmaps seem to work
very well on the RISC-OS 3 Pinboard, and it is very easy to transfer
them from an MS-DOS floppy, via !ChangeFSI (on the Support disc), into
sprite format on an Archimedes disc. The file called öleaves.bmpò makes
an excellent seasonal backdrop (Iæm writing this in October!).
6.3
Alt-key combinations
6.3
The last couple of issues of Archive have contained lists of Alt-Key
combinations in RISC-OS 3.1. To complete the picture I would add:
6.3
To get accents ( ┤ ` ¿ ^ ░ ╕ ) on their own, press the appropriate Alt-
key combination (e.g. Alt-[ for aá┤á) then the space bar.
6.3
Alt-Spacebar gives a öhard spaceò or önon-breaking spaceò (the sort you
put between öNR2ò and ö2SDò if you donæt want Archiveæs postcode
öNR2á2SDò to be split over two lines.)
6.3
I have put a diagram of the keyboard showing the Alt-key combinations
below, and I hope that Paul will put the drawfile on the monthly program
disc.
6.3
Incidentally, I am a bit puzzled about the character (code 173) that is
produced by the Alt-hyphen combination. Whatæs it for? I thought at
first that it was the ösoft hyphenò that is described on page 109 of the
Impression 2 manual, but I now see that this is produced by Ctrl-hyphen
(this character ù code 31 ù is normally invisible but indicates a
preferred place for breaking a word with a hyphen at the end of a line;
it works even if the hyphenation module is not present). By contrast,
character 173 is, so far as I can see, always visible (as a hyphen if
the font follows the Acorn standard) but its effect is to prevent a word
into which it is inserted ever being broken over the end of a line even
if hyphenation is switched on. Am I correct in describing it as a öhard
hyphenò? (Well, I can think of one application. Suppose you want to use
a word like öpray¡ersò where you deliberately hyphenate the word to
refer to the people doing the praying. In that case, if it were an
ordinary hyphen, the word might get split at the end of a line. Using a
Éhard hyphenæ avoids the split. Ed)
6.3
The upgrade again
6.3
Finally, I thought it would be good to take a slightly light-hearted
look at the subject as we hear the experiences that Rob Wears had in
fitting and using RISC-OS 3 on an A310...
6.3
I finally managed to get my grubby mitts on the RISC-OS 3 upgrade at the
Acorn User show, and arrived back home with that odd mixture of terror
and excitement that comes from having to take the lid off the machine.
Iæve fitted one or two things in the past, like the soldered 4MByte RAM
upgrade, but no matter how many times I do it, itæs still a bit like
performing neurosurgery on a close friend. Will Archie pull through,
Doc? Actually, fitting was a lot easier than Iæd thought. I used the
IFEL carrier board, as their memory upgrade has proven so reliable. My
only source of concern was the discrepancy between their fitting
instructions and the ones supplied by Acorn which alluded to changing
links on the mother board. I followed the IFEL guidelines, which had the
link changes on their board, and waited anxiously for the machine to
explode when I switched it on. No problem, apart from the fact that I
bypassed the desktop and ended up at the command line. Still, the
desktop was easily accessible with a simple ö*ò command.
6.3
The hard drive icon was where it should be (and no longer jumped around
when I mounted or dismounted the disc!) and I am pleased to say that I
encountered no problems with the Oak SCSI board (version 1.16 of SCSI
driver).
6.3
I couldnæt resist the urge to delve into the Apps directory, and here I
encountered my first problem. Initially, I couldnæt get !Edit to load
from Apps and was greeted with the wonderfully informative message ÉFile
öBasicò not foundæ. Fighting the sudden tide of panic (öIt wouldnæt work
at all if the ROM legs were snapped off, idiot!ò) I checked the module
list via the command line and found that I was apparently the lucky
owner of the one set of chips which Acorn had shipped without putting
Basic on board first. I was about to fall on my soldering iron in
despair when I thought of checking the status of the system modules
using *ROMModules and found that the Basic module was unplugged. I
reinitialised the module, and !Edit worked fine. There, that wasnæt too
bad Ö the hair will probably grow back and nobody will notice the
teethmarks on the manual....
6.3
Incidentally, the ARM3Support module was also unplugged and therefore
the *Cache command wouldnæt work, but Iæd got the hang of things by now,
and pressed on happily. I then UNPLUGged the modules that I thought I
wouldnæt need (old habits die hard) like the Econet and NetFS modules Ö
each unplug command was greeted with the comment öxxxx module not foundò
yet a subsequent check revealed that the module had been unplugged
correctly Ö odd! Archie hadnæt behaved like this before his lobotomy. It
was a bit unnerving, like suddenly finding the Queen Mother skateboard
ing down your front drive.
6.3
I then set about gingerly reconstructing the !Boot option for the hard
disc, feeding the bits to my new Archie in small, digestible chunks.
Compression (version 1.10) and !Spark both worked fine, after I
remembered not to set the öNewerò option for copying. However, Archie no
longer likes the öOS_UpdateMEMCò call which I had used to speed up the
ROMs. This is now treated with the same degree of horror as if Iæd just
offered it deep-fried weevil for tea, and the machine has to be kicked
out of its sulk with a hard reset. I initially and unjustly blamed the
old OSSys module, but this actually seems to be fine and is the only
real survivor from my old collection of useful bits and pieces Ö have
they STILL forgotten to put a *SYS command in?
6.3
The next little gem was the öChangeDynamic Areaò calls which are
automatically saved in the desktop !Boot file Ö these override the CMOS
RAM settings and I couldnæt work out why the system sprite area remained
so large despite all my efforts to shrink it. And remember, Gentle
Reader, not to save the !Boot file in a Compression directory because,
despite what they all say, those teethmarks in the manual do show! On
the brighter side, I found that the configured startup language was not
the desktop, which explained Archieæs new enthusiasm for the command
line. The number for the configured language of your choice is now
obtained by counting down the list of modules Ö how simple. Not a
mention of alchemy or the Black Arts. Good grief, if itæs that simple,
anybody will be able to do it...
6.3
The !FontsPlus application caused some frontal headaches (actually,
these may have been caused by sudden and repeated violent contact
between the forehead and the monitor) as I could not persuade it to
recognise the ROM based fonts. Off it went to the great filestore in the
sky, and back I went to using multiple directories with original names
(!Fonts, !Fonts2, !Fonts3, !Fonts4, etc.). How quaint!
6.3
On to some serious computing. Impression works! (Actually, I cheated. I
got the upgrade from those nice CC people at the show). And there are
more screen modes available from startup, and a *WimpMode command to
simplify my DTP !Boot sequence. On the down side, I have found printing
to be a bit of a pain Ö my old !PBuffer application doesnæt work anymore
and even making the PrinterBufferSize HUGE using *CONFIGURE doesnæt seem
to do anything. However, there are many more options available for
printed output. I can even get 360╫360 dpi on the Panasonic and it only
takes about 30 minutes a page!
6.3
I seem to have more space on the hard disc now. I used to have lots of
little applications that Iæd collected over the years which now have
their functions in ROM, such as SetType, FileFind, StickyBD and
ShutDown. Being ruthless, and having no more need for them, I erased
them completely. Who knows, one day, I might even erase the backups of
the backups.
6.3
So am I sorry to have upgraded? Not at all. It was just that the scale
of the change surprised me. I suppose that the change was more compli
cated because I had my system set up exactly the way I wanted it, and
had to restructure virtually the whole hard disc. It was just as
traumatic as upgrading from Arthur to RISC-OS2 had been, but Iæm very
pleased with my new machine. Of course, 3.1 goes into 310, and it may
even be 100 times better!
6.3
(Actually, this has an important moral Ö if Rob had followed Acornæs
instructions and done a <delete-power-up> in the first place, he
wouldnæt have had half the problems he did. Ed.)
6.3
And finally ...
6.3
Send your comments, suggestions, queries, complaints, hints and tips
either to me, Hugh Eagle, at 48 Smithbarn, Horsham, Sussexá RH13 6DX.ááA
6.3
Hints and Tips
6.4
Å Refilling BJ300/330 Ink Cartridges Ö The cartridges have a ösoak upò
pad in them as well as the ink sachet so if the pad is black and full of
waste ink you canæt refill them! or can you? This is how to do it.
6.4
Split the cartridge along the seam and lift off the top. It is only
lightly tacked together so its quite easy to prise apart.
6.4
(The next bit is messy so use disposable gloves so you do not get ink
over your hands.)
6.4
Lift out the ink sachet (keep it the same way up) and then the pad and
wipe clean the cartridge. Dispose of the pad in a plastic bag, trying
not to get too messy.
6.4
I used kitchen roll for the new pad. Cut about 12 pieces to the size and
shape of the pad then place in the cartridge, now place the sachet on
top. Keep it the same way round to make sure the needle hole lines up
with the needle in the printer.
6.4
Thatæs what the safety flap is for that drops down when you remove the
cartridge so you donæt jab yourself.
6.4
Replace the top of the cartridge, securing it with just a couple of
drops of glue so it can be removed again, it is now ready to be filled.
6.4
I took the advice of Stuart Bell (Archive 4.5 page 7) and used Quink
Permanent Black @ ú1.70p for 54ml. The sachet takes 40ml, so donæt over-
fill it. Obtain a 20ml syringe and 21 gauge needle from your chemist. (A
20ml syringe is about the best as larger ones tend to be very
expensive.)
6.4
Carefully fill the sachet making sure the needle goes in the same hole.
If you make another hole, air can get in and cause problems.
6.4
Donæt forget to wash out the syringe and needle afterwards.
6.4
So, at the cost of approx ú1.70p plus the syringe and a few sheets of
kitchen roll, you now have a refilled ink cartridge which would normally
cost about ú10 to refill and between ú15 Ö ú20 for a new one.
6.4
If any of you wonder what the soak up pad is for, when the printer is
switched on, ink is jettisoned through the nozzles to clean them and
this then runs down into the cartridge.
6.4
Å D-type connector problems Ö In Archive 4.8 p7, there was a tip about
taking the washers from under the hexagonal pillars of the D-type
connectors. I think it is worth re-stating it for those readers who
missed it. My A310 was in a Énot workingæ state the other day Ö it
refused to produce any green. I checked that the two screws holding the
D-plug into the socket were tight and checked out the monitor and lead
which worked fine, but still no green. A few days later, I remembered
the tip, removed the washers and the green returned.á Les May,
Rochdale
Using RISC-OSá3
6.4
Hugh Eagle
6.4
I hope that all who have ordered RISC-OSá3 upgrades will have received
them by the time this issue is published and that those who have been
waiting to make up their minds about upgrading will have been suffi
ciently encouraged by now to go ahead. There will be considerable
advantages to all Archimedes users if we all use the same operating
system: above all programmers will be able to use the new improved
features without having to worry about backwards compatibility.
Inevitably, this column will tend to contain quite a lot of negative
material about difficulties that some people have had, but it is
important to appreciate that most upgraders have had very little real
trouble (some inconvenience, perhaps, but not insuperable problems).
There are genuine advantages in RISC-OSá3, most programs work well and I
believe that most users are pleased with it.
6.4
The deadlines for the December and January editions of Archive have been
concertinaæd close together (because of Christmas, etc) so there has
been no time for any reactions to the first RISC-OSá3 column. However,
contributions have continued to arrive in response to the original
request ù several more problems, criticisms, etc but also some interest
ing hints & tips.
6.4
Please send anything that you think may be relevant either to Archive or
to me, Hugh Eagle at 48áSmithbarn, Horsham, Sussex RH13á6DX.
6.4
Fitting the chips to an A310
6.4
The upgrade to my A310 with an IFEL carrier board was quite straightfor
ward, with the help of good instructions. IFEL recommend that you remove
the motherboard, as a fairly good pressure is required to insert the
carrier board. I encountered no problems but the soldering of three
wires from the carrier board on to the legs of a chip, is not for the
faint hearted. (Memories of my Beeb days came flooding back). (Roger
Power.)
6.4
Configuring for a SCSI hard drive
6.4
The configure application is OK apart from the settings appertaining to
my Oak SCSI filing system. I have overcome this by a separate !Config
Obey file that I run as well as Configure and which reads as follows:
6.4
*configure drive 4
6.4
*configure filesystem SCSI
6.4
*SCSI
6.4
*configure SCSIDrive 4
6.4
*OPT 4,2
6.4
This is obviously only needed after a factory reset which shouldnæt be
very often. Unfortunately, at the moment it is, as further problems have
now occurred. Namely my Impression doesnæt read the Dongle all the time
and appears to require a factory reset. This is only since the arrival
of RISC-OS 3.1 and I have yet to find out whether or not the Dongle (or
maybe even RISC-OS 3.1) is at fault. Obviously I have checked all the
connections over and over again. (Roger Power.)
6.4
(Roger, I suspect itæs more likely to be a hardware problem on the
p.c.b. after fitting the I.F.E.L. ROM upgrade in your A310. There are no
problems, that we know of, with dongles. Ed.)
6.4
5╝ö floppy drive
6.4
My external 5╝ö floppy drive is too slow for my Archimedes, with the
result of the heads chattering alarmingly. I had previously got round
this problem with the command *Configure STEP 3 6. However, RISC-OS 3.1
does not appear to accept this, only STEP 3 3. Can anyone help, please?
(Roger Power.)
6.4
LaserDirect printer driver
6.4
(Incidentally, Computer Concepts have told me that öRISC-OSá3 compatible
printer drivers should be available around the middle of next year. This
will cover TurboDrivers, FaxPack and LaserDirectò HE)
6.4
In RISC-OS 2, I solved the problems of using a LaserDirect printer on a
machine to which a parallel printer is also attached, by including a
simple driver in an application which resides on the iconbar and does
lots of idiosyncratic things which suit my personal use of the machine.
The driver stores data dragged to it in a buffer and outputs it to the
dot-matrix line by line on each Wimp_Poll with reason code 0. This
enables me to leave the LaserDirect on the iconbar. If I want to print
some text or Basic, the data is dragged with <shift> held down,
otherwise the data is presumed to represent an address, which is
formatted for the 9-line labels with which, by default, the printer is
loaded. This is very handy, because I can drag the address directly out
of a DeskEdit or Impression window. My beef is that my routine orig
inally tested for a connected printer, thus:
6.4
DEFPROCChPr:*FX5,1
6.4
VDU2,1,0,3
6.4
SYSöOS_Byteò,152,3 TO ;f%: f%=f%AND2
6.4
IFf%=0SYSöOS_Byteò,145,3
6.4
*FX5,5
6.4
ENDPROC
6.4
Thus, if the 0 byte inserted into the printer buffer is still there, the
printer is not on and the data are output to screen via a command
window; otherwise, they go to the printer; f% being the determining
flag. Now, I can understand that it is an enhancement to RISC-OS to wait
if the printer is off, but I find it is wholly unacceptable that the
machine is locked up by so simple an event. The OS_Byte no longer works,
since presumably the machine is stuck at the end of line 3200! Now, the
RISC-OS driver is not stopped by such an event, but multitasks happily
waiting for the printer to be switched on. Clearly some routine is
available to deal with the situation; why could the release documenta
tion not give a clue?
6.4
I have had to abandon the routine temporarily because, if I wished to
display a file on screen, the printer was incidentally tested first.
This is no longer possible, unless I validate <escape> with *FX229
before calling the routine and reset on exit; this means exiting via the
error handler, however, and is one of the more difficult parts of Wimp
programming, I find! Any suggestions? (Mick Day.)
6.4
LaserDirect and ROM fonts
6.4
As mentioned last month, the current version of the Computer Conceptsæ
LaserDirect printer drivers are not fully RISC-OS 3 compatible. Thus
they will not cope with the extra features of Draw such as rotated text
or sprites. Furthermore, they will not find all of the fonts in the ROM-
based resources filing system. In particular, the italic versions of
both Homerton and Corpus are not seen. It is necessary to have the old
copies of the Homerton and Corpus fonts installed in the disc !Fonts
directory. (Brian Cowan.)
6.4
(I find that if I try to print these fonts from Impression, it refuses
to print but does allow me to carry on, whereas Draw locks up the
machine. If this is a printer driver problem it makes Computer Conceptsæ
apparent lack of interest in bringing out new drivers all the more
frustrating. If they do appear in öthe middle of next yearò that will be
about 20 months after the original release of RISC-OSá3! HE)
6.4
Dot matrix printers: formfeeds
6.4
I have yet to find a way of stopping the RISC-OS dot-matrix printer
driver from issuing a concluding formfeed when a short piece of text is
dropped on the icon and printed. I prefer to control such things myself;
any ideas? or am I, after all, an idiot? (Mick Day.)
6.4
DFS discs: donæt try öfreeò space
6.4
Put a DFS disc in drive 0 and click; the error window tells you it is an
unrecognised format. However, if you put a DFS disc in drive 0 and click
on ÉFreeæ you will crash the machine with ÉFile core in useæ rearing its
ugly head! Couldnæt the existing disc checking routines have been
invoked before plunging into the ÉFreeæ sequence? (Mick Day.)
6.4
Naming the RAM disc
6.4
RISC-OS 2 used RAM:$ as the prefix on the RAMdisc filer window and
Filer_OpenDir worked with it quite happily. However, you had to find out
by trial and error what discname to use in order to get sense out of,
e.g.
6.4
SYS öRamFS_FreeSpaceò,öRamDisc0ò TO room% : IFroom%>X% room%=0 : ENDPROC
6.4
Acorn could have detailed this irritating time-waster somewhere (like
the PRM). Now, I appreciate that RAM::RamDisc0.$ is generically the
correct format to use in the Acorn file system protocols and clicking on
the icon in RISC-OS 3 opens a window with that title. For backwards
compatibility, *Filer_OpenDir RAM:$ still works; jolly good. However, if
your software issues the command and you have already opened a window,
RAM::RamDisc0.$, from the iconbar, you get a second window identical in
all save the title, RAM:$! (Mick Day.)
6.4
Operating system version
6.4
The PRM tells us that SYSöXOS_Byteò,0,0 prints the version string: so it
does. However, SYSöOS_Byteò,0,1 TO ,A is supposed to return the OS
version number in A but it does not seem to do so. RISC-OS 2 and RISC-OS
3 on my machines both return 6 (the SYS number for OS_Byte)! However,
SYSöXOS_Byteò,0,0 TO A does return, in (A+4), the address of the version
string, so it can be extracted in the time-honoured manner. (Mick Day.)
6.4
MS-DOS: file extensions and formatting
6.4
The MultiFS utility is not required in RISC-OS 3; DOS discs and DOS
partitions on hard discs may be read directly with the new operating
system. I think that what Acorn have done is to integrate MultiFS into
the machineæs filers as an Image filing system. However, I cannot obtain
all the old facilities of MultiFS. In particular, it is not clear
whether the hierarchical method of dealing with file extensions can be
used; this was particularly useful. Also, I see that you can copy the
boot sectors from one DOS disc to another from the command line using
*CopyBoot, but I donæt know if this can be done from the desktop as an
option while formatting. Does anyone know? (Brian Cowan.)
6.4
Compression
6.4
CC have told me that there is a bug in version 1.10 of Compression which
can cause a corruption if a file is dragged between a CFS window and the
corresponding uncompressed filer window. If this is not done, Compres
sion should work OK. (Brian Cowan.) (See also the comment by Jochen
Konietzko in last monthæs column.)
6.4
Wish list for RISC-OSá4 (R. W. Darlington)
6.4
Å When I use Name Disc from desktop, I want to see it display the
present disc name in the writable icon. (With my setup it does display
the name of the hard disc but not that of a floppy! HE)
6.4
Å When I copy across a group of files from one directory to another, I
want to see the Filer check that there is sufficient disc space for the
copied files to fit before it starts to copy them. (Also, in the case of
D format discs, that the disc wonæt need compacting.)
6.4
Å I want to see it copy a group of files from one disc to another a
little more intelligently than it does at the moment. I wish to see it
write all the directory information in one go, then write all the files,
instead of continually moving the heads across the surface of the disc
for each little file it writes to disc, which takes it an age!
6.4
Å When I Set Type from Desktop, I want to see a list of possible
options, along with their icons, like !SetType by Emmet Spier.
6.4
Å In !Edit, I want to see an option to ÉSelect Allæ.
6.4
Å In !SciCalc, which uses BASIC64, I want to see it display figures to
the full precision of the Basic, 18 significant figures or so and not
the 10 displayed at present. Also, I want to see it display exponents
like this ö╫1018ò and NOT öE18ò. I also want to see an option to select
engineering or scientific notation.
6.4
Å When deleting columns at the far right hand edge of a sprite, it
deletes too many columns.
6.4
Å If I save a sprite (using !Paint) of just one pixel in height (any
length?) and colour it a different colour than desktop grey, then when I
use this sprite to create a backdrop using the !Pinboard, not only does
it take an incredible amount of time to draw the backdrop, it also uses
the wrong colour. It comes out in desktop grey! Is this a problem with
!Paint or !Pinboard? (Or is the user making unreasonable demands? HE)
6.4
Å In the Set Copy Options, I want to see an option whereby it can be
made to ask for confirmation only if a deletion is being made, rather
than just an access request or a copy command.
6.4
Å Now that some fonts are inside RISC-OSá3 itself, I want to see a
configure option to set the desktop default font to other than the
system font.
6.4
Å I also want to see a new MODE equivalent to MODE 31 in every way
except that the pixel units are set such that all icons and everything
on screen appears half the size. Or, do the same for MODEs 18, 19, 20,
and 21.
6.4
Å When I insert a disc with a foreign format, e.g. an IBM formatted
disc, into the drives, I want to see a little more obviously that it is
a foreign format. Why not have the window header in a different colour,
e.g. red! Or do it some other way if you must, but make it immediately
obvious that it is not a native format disc.
6.4
Å When a window now goes off screen and the bottom right-hand Ésizeæ
control is grabbed, the window increases in size upwards when it should
not. (Isnæt this one of the intended improvements in RISC-OSá3? HE)
6.4
Pinboard backdrop sprites
6.4
R. W. Darlington has also sent in a collection of 74 sprites suitable
for tiling the backdrop, a voice module (which sounds to me as if it
might have been generated not a billion light years from the Sirius
Cybernetics Corporation) and some suggested modifications to the !Boot
file which will sound the voice module and display a different backdrop
each time the computer is re-booted.
6.4
The modifications to the !Boot file read as follows:
6.4
RMEnsure PinVoice 0 RMLoad PinVoice
6.4
CHANNELVOICE 1 10
6.4
SOUND 1 &FFF1 60 160
6.4
WimpMode 31 :REM to suite my sprites
6.4
Run ADFS::HD4.$.PinSp.RenSprites
6.4
Pinboard
6.4
Backdrop -T ADFS::HD4.$.PinSp .Sprit01
6.4
This assumes that the PinSp directory contains the backdrop sprites and
an Obey file called RenSprites which simply cycles the sprite names and
reads as follows:
6.4
Rename ADFS::HD4.$.PinSp.Sprit01 ADFS::HD4.$.PinSp.Sprit00
6.4
Rename ADFS::HD4.$.PinSp.Sprit02 ADFS::HD4.$.PinSp.Sprit01
6.4
......
6.4
Rename ADFS::HD4.$.PinSp.Sprit00 ADFS::HD4.$.PinSp.Sprit74
6.4
Screen blanker configuration
6.4
Does anyone know which *configuration command sets the blank out time,
or where this appears in the *Status data. I can set it using Acorns
!Configure program in the Apps directory, but cannot find it elsewhere
for use by a star command. (Roger Darlington.)
6.4
*Filer_Run syntax
6.4
My tip last month about using *Filer_Run with a variable application
name was unnecessarily convoluted. Although *Filer_Run <App$Dir> doesnæt
work, *Filer_Run <App$Dir>.!Run does.
6.4
Fitting RISC-OS 3.1 to Computerware/Avie/Atomwide RAM upgrades
6.4
The new RISC-OS ROMs are easily fitted into the four sockets provided on
the main RAM board. The ROMs should be fitted as described in the
instructions supplied with the RISC-OS upgrade.
6.4
Locate the two links on the RAM board and swap the jumper to position B
for both.
6.4
Locate LK12 on the main PCB, this is just under the RAM PCB where the
cable enters from the left. There should be two links placed in the
east-west postion. Remove these links and replace them in the north-
south position.
6.4
LK12 is not always fitted and exists as a pair of PCB tracks on the
topside of the main PCB. These can be cut using a small sharp knife. The
new links can then be made on the underside of the PCB using tinned
copper wire and a soldering iron Ö as shown below.
6.4
A310 Issue 1 PCBæs do not have LK12 fitted at all and require more
difficult modification. Please contact Avie for assistance.
6.4
The fitting of RISC-OS 3 will be performed by Avie for ú6.50 + VAT Ö
this charge is simply to cover return carriage.ááA
6.4
Å ABC Compiler Ö Iæve followed the discussions in Archive about the
relative merits of the RiscBasic and ABC compilers with interest
(Archive 6.1 p49). I donæt feel that there is much weight to the
argument that ABC is compiling a language different from Basic V. The
differences are quite small. The evening I received the ABC package, I
got a program of over a thousand lines running with the compiler in
about an hour which included writing some code to initialise several
arrays and removing some redundant code. When I write programs under the
Basic V interpreter, I just take the differences into account.
6.4
My major grumble is that even when I bought the ABC package a year ago,
it had a minor bug which shows itself sometimes when the object code
icon is dragged to a directory Ö it requires the machine to be reini
tialised. An upgrade to the latest version, which presumably will have
corrected this bug, will cost me ú40, which I think is a bit steep if
itæs only the bug fix that is any help to me.á Les May, Rochdale
6.4
Å EasiWord 2 up(?)grade Ö I did have version 1.07 of Minervaæs EasiWord
and, after seeing the adverts for the WYSIWYG version, EasiWord2, I
decided to go for the upgrade.
6.4
Now, I do not know anything about 1st Word Plus, so the fact that
EasiWord2 was similar conveyed nothing to me. However, when I tried this
new version, I was niggled to find that I couldnæt print without a RISC-
OS printer driver being installed.
6.4
What was much worse was the fact that I could no longer send control
codes to my printer! Horror of horrors Ö I had lost the ability to print
in double height and in a choice of seven colours on my old Epson
LQ2500+. Let readers be warned!
6.4
I wrote to Minerva and expressed my dismay about their new package. They
very kindly invited me to return version 2 for a refund or part
exchange. I took up their offer and they even gave me a new package of
their old EasiWord 1.07. Well done, Minerva!
6.4
So, before you upgrade, be sure that it actually is an UPgrade for your
purposes.á Keith Lowe, Pickering
6.4
Å Scheme Ö If Sue Lawley asks me which book I want to take to a desert
island, without hesitation I will have to say ÉStructure and Interpreta
tion of Computer Programsæ by Abelson and Sussman. I reckon that after a
few years of studying it without any distractions, I would know how to
set about programming a computer. The language used by these authors is
Scheme, a stripped down, elegant and refined version of Lisp.
6.4
If you think Lisp is just an acronym for ÉLots of Irritating Single
Parenthesesæ, think again. With even a simple parentheses-matching text
editor as supplied with EdScheme, that bogey disappears and you quickly
come to realise that the apparently strange syntax of Lisp-like
languages such as Scheme is in fact a very consistent and clear way of
expressing a computer program. Indeed, just as we in Britain are used to
seeing a Pascal-like pseudo-code used to express a fragment of code, US
books aimed at the academic community often use Lisp for the same
purpose.
6.4
I had read about the first third of the Abelson book before taking the
plunge and buying EdScheme. What arrived was the Scheme optimising
incremental compiler and associated editor on a single disc, a thinnish,
100 pages plus, User Guide and Reference Manual, and a thick, 300 pages
plus, Schemeræs Guide. This package is, in fact, a complete programming
course at a total cost of ú60 plus p&p.
6.4
The guide is aimed rather firmly at the late secondary school market and
starts with a deceptively simple approach to programming by asking the
programmer to construct pencil and paper machines capable of performing
given tasks. Even when programming has been introduced, the guide
continues to use the Émachineæ diagrams alongside the Scheme code.
6.4
This approach has much to commend it. We are familiar with the idea of a
machine which carries out some operation on the raw materials fed into
it. Cans of beans are constructed from a supply of beans and empty cans.
The filled cans are transported as a package but, to make use of them,
we need another machine, a can opener, to open the package and get at
the contents. Much of Scheme programming is concerned with building the
machines to construct packages of data, machines to check their contents
and machines to open up the packages and make use of the contents.
6.4
One quickly comes to realise that within those intimidating parentheses
is the name of a machine which carries out some operation and the names
of items upon which it operates. That applies to arithmetic operations
too, so the label for the operation comes before the operands, so called
Polish or pre-fix notation.
6.4
By chapter 3, you are being asked to write an interpreter to add
fractions (try that in Basic!) and have been introduced to the concepts
of data abstraction and recursion. On the way, you have visited some
slightly eccentric ways of representing numbers in Lisp which, though
really of historical interest only, do force you to sharpen up your
programming skills. Gradually, a mental tool box is built up containing
procedures for selecting, removing, counting, substituting and reversing
elements in lists. The inner workings of the interpreter, ÉThe Scheme
Machineæ, are explained in chapter 5.
6.4
The machine analogy is explored further in chapter 6 and the problems of
handling infinitely large objects in chapter 7. As a finale, a game is
developed in the last chapter which embraces topics like artificial
intelligence and object-oriented programming.
6.4
Scheme seems to me to be one of the best kept secrets of the computing
world. This implementation is inexpensive and, though not multitasking,
can be entered from the desktop and cleanly exits back to it. It is
hoped that a RISC-OS compliant version will be released during 1993
though the cost will be slightly higher. This will enable Scheme to run
at the same time as other applications and allow code to be dragged into
a Scheme window and compiled. At present, there do not seem to be any
plans for a version which enables the user to create, close or resize
windows from Scheme, though the Macintosh version allows this to be
done.
6.4
I have learned a lot from my experiences with Scheme. Even when
programming in Basic, it has forced me to ask questions like, ÉIf I
store data in this way, how much of the code which accesses this data
will I have to rewrite if I decide I want to store my data in a
different way?æ My appreciation of the virtues of a highly consistent
syntax, with few exceptions, has made me more critical of other
languages to which I have access. It has also made me realise just how
much code I have to write which has nothing to do with expressing how I
want the data to be operated on (my model) but is necessary just to tell
the machine how to do it. I think Iæm a better programmer for having
taken the time to study Scheme.
6.4
It has also left me with a profound sense of despair. When I was
involved in education, I consoled myself with the notion that, for all
its faults, the A level system produced students who were much better
educated than a High School student in the USA, where the EdScheme
package has its origins. Yet Scheme seems to have made a negligible
impact in this country, probably because those who control education
believe that so long as we can produce GKOs (pronounced Geckos) Ö
Glorified Keyboard Operators Ö everything will be all right. With that
in mind, the decision has been taken to ignore the discipline of
programming and concentrate on IT Ö whatever that is. I think we are
making a big mistake.
6.4
EDScheme is available from Lambda Publications at a cost of ú60 plus
ú2.50 p&p. A 300 page copyable Resources Pack and a Teacheræs Guide is
also available at additional cost.
6.4
Les May, Rochdale.ááA
6.4
Hints and Tips
6.05
Å A4 pointer loss Ö Using Impression on an A4, it is very easy to lose
the text pointer. If the pointer is somewhere over the text, it takes
the form of a caret and is very difficult to see. The simple solution is
to click <adjust>. This marks a block of text and your pointer is at one
or other end of the block! Ed.
6.05
Å Ace printer drivers Ö Many people have asked about the differences
between Risc Developmentsæ printer drivers and the Ace Computing drivers
(including the Pro-Drivers.) In practice, the standard Ace drivers (ú17)
and Risc Developmentsæ drivers (ú23) are the same. However, the Pro-
Drivers (ú44) are somewhat enhanced: they support full background
printing, true 24-bit colour, half-toning, dithering and colour
separations. Ace Computing have also recently upgraded their DJ500C
driver to include facilities for the DJ550C. Simon Moy, Archive.
6.05
Å Background printing with RISC-OS printer drivers Ö Yes it is possible!
RISC-OS printer drivers are capable of printing in the background far
better than third party software due to the fact that the ROM printing
routines are designed to multitask. However, this is not documented and
requires a particular way of printing. Set your printer driver to print
to a file (choose Connection from the Printer Control menu, select File
and enter a pathname to a temporary file). Print the file in question by
the normal method for the application in question Ö this bit doesnæt
multitask! When it has finished, reset the driver to print to the
parallel (or serial) port. Find the temporary printout file and drag it
on to the printer icon on the iconbar. The printer will begin printing
and you will have full control of the machine. If you are using a RAM
disc or a hard disc, you shouldnæt notice any slowing down at all. Simon
Moy, Archive.
6.05
Å Dating Ö I can never remember what the time is and so, in common with
a lot of others, I used to have the date and time on the iconbar. This
was not completely satisfactory as it was frequently obscured by
windows. Browsing in the User Guide, I discovered that you could alter
the format of the command line prompt and have the date and or time
displayed before the *. You can do this with:
6.05
SetMacro CLI$Prompt <Sys$Time>, <Sys$Date> *
6.05
This went in my boot file. Now whenever I want the date or time all I do
is, <f12>, read the date and time and press <return>.á Edward Naish,
Gwynedd.
6.05
(On RISC-OS 3, all you do is press <shift-f12> to bring the iconbar
forwards and then <shift-f12> to put it back again. Ed.)
6.05
Å Draw to sprite conversion Ö In answer to Roger Darlingtonæs plea in
Archive 6.3, several people gave us the öobviousò way of converting
drawfiles to sprites Ö you display the drawfile on screen and use the
screen grab facility within Paint to create a sprite. (This emphasises
again the need for a ÉThis is Obvious But...æ column, as mentioned in
the Help!!! Column this month. None of the Éexpertsæ at N.C.S. thought
of it. Ed.)
6.05
One other solution was mentioned... Drawfile to sprite conversion can be
done with the program Revxtra which is supplied with the Revelation
package. However, this is a copyright program and I donæt know of any PD
equivalent.á Ted Lacey, Southampton.
6.05
To add to that... If you have Revelation ImagePro, you can just drop
drawfiles onto a Revelation picture and save it out again as a sprite Ö
no need for a separate program.á Gabriel Swords, Norwich.
6.05
Å Easiword Ö The printed effects (bold, italics, etc) only start working
if you go into !Printers configuration window and, in the OptionsÖText
Quality, select NLQ rather than No Highlights which is the default.á
Steve Hutchinson, Gloucester.
6.05
Å Filename dragging Ö If you have version 1.21 of Edit, you can shift-
drag any object into an edit window and the pathname of the object
appears at the cursor position. This is just the job for constructing
command files. Avoid all those typing errors!
6.05
I read in another magazine that this facility is only available in OS3.
This is not the case, although it does not work with version 1 of Edit.á
Edward Naish, Gwynedd.
6.05
Å Fun School Ö All of the Fun School series (3 and 4) have now been
upgraded to work with RISC-OS 3.10 although some tweaks are still
necessary. For the Fun School 3 range, it is necessary to start in mode
15 before running the programs. In the Fun School 4 range, you will need
to RMKill any VIDC enhancer modules that are running as these cause the
music and graphics to work too fast. Simon Moy.
6.05
Å Inserting RISC-OS (or any other) chips Ö With the recent introduction
of RISC-OS 3, many Archimedes computers are being returned to dealers
with the pins of the ROM chips damaged. Here is how to avoid that!
Usually, ROM chips are delivered with the pins looking like this...
6.05
6.05
They will not go into the computeræs ROM sockets with the pins splayed
out like this.
6.05
Before handling the ROM chips, make sure that you are not carrying a
static charge. This is easily accomplished by touching an earthed metal
object. You will need a flat area to work on Ö a formica-topped table is
ideal. Grasp each end of the ROM chip with finger and thumb of both
hands, so that the sharp ends of the ROM pins are facing you horizon
tally. Place the bottom row of pins onto the formica table top and press
down gently but firmly and move the body of the ROM slightly towards
you. Repeat this operation until the pins are exactly at right angles to
the chip body. Turn the ROM over and repeat the above exercise. You
should now have a ROM with the pin layout like this...
6.05
6.05
With the chip just above its socket and the chip notch orientated with
the diagram supplied with your computer, insert one side of the chip
pins slightly into the corresponding side of the socket. Once you are
sure that all pins on that side do align correctly then lower the other
row of pins into the other side of the socket. Again make sure that all
the pins are aligned and then press the chip completely home.
6.05
If you have been unfortunate enough to have broken a pin off of a ROM
chip, there is a solution providing that a small amount of pin is left
on the chip. You will need a öturned pinò, wire-wrap header socket with
the same number of pins as the damaged ROM. Before inserting the damaged
chip into this socket, cut down each pin of the header socket to about
4mm length. Insert the damaged ROM into this socket, and with a very
fine-tipped soldering iron solder a jumper wire from the damaged pin
directly to the empty socket on the header. Once this has been achieved
do not ever remove the ROM from this socket. The completed assembly may
be mounted with care into the original ROM socket. I have repaired
several ROMs by this method.á Mike King, Guernsey.
6.05
Å JPEG Ö Under RISC-OS 3, JPEG only works providing the hourglass is
switched off. This can be carried out by inserting the SWI call SYS
"Hourglass_Off" at the appropriate place.á Marc Evans.
6.05
Å Paper for inkjets Ö Daler Superline paper produces excellent results
on my Canon BJ10ex Ö I bought it a long time ago, so I hope itæs still
available.á S Freeman, Middlewich.
6.05
Å Printer drivers Ö RISC-OS 3 printer drivers assume that there is
enough öscrapò space on a disc to store any temporary files during a
printing operation. In practice, a hard disc is assumed. If you have a
system without a hard disc, then !Scrap can be either on a floppy disc
or a RAM disc. If there is not enough space for the temporary printout
file, !Printers will crash with no warning. To avoid this, keep !System
and !Scrap on a separate disc on their own. Simon Moy, Archive.
6.05
Å Standard crest in Impression letters Ö In Archive 6.3 p28, Brian Cowan
asks how he can save floppy disc space with his Impression letters where
he has a college crest, the drawfile of which takes up 10Kb of memory
per letter Ö much more than the text Ö and he fills a floppy disc with
such multiple copies of the crest.
6.05
Surely the answer is to have an empty frame in the standard letter file
into which he drags the drawfile of the crest. All he has to do is to
remember to drag the drawfile whenever he starts a new letter and drop
into the frame a simple dummy drawfile Ö a single square or circle will
do Ö that will occupy far less space, before saving to disc. If he needs
to re-load and re-print the document, all he has to do is drop a copy of
the crest in again Ö surely not a fag. The crest and dummy drawfiles can
be held on the pinboard.á Steve Kirkby, Sutton. (Well, it was his idea
modified by Ed.)ááA
6.05
6.05
Using RISC-OSá3
6.05
Hugh Eagle
6.05
Iæve received such a flood of letters in response to my first column
that I probably wonæt have time to refer to them all. I apologise in
advance if I donæt use your contribution; I am very grateful for them
all and will try to use them next month. In the meantime, please keep
the hints, tips, comments, suggestions, etc flowing.
6.05
A number of the problems mentioned only seem to affect a few users and
may result from unusual combinations of circumstances which could be
difficult to diagnose. If you think you might be able to help by talking
directly to the people affected, please let me know and I will put you
in contact.
6.05
Fitting the Upgrade
6.05
Several people have commented favourably on the service they have
received from dealers. IFEL has been mentioned a number of times. Nik
Kelly was specially impressed by Simtecæs facilities.
6.05
G÷tz Kohlberg received his upgrade surprisingly quickly but then had to
wait several weeks for the fitting instructions for his carrier board.
When the instructions arrived, he found the IFEL carrier board very easy
to fit, taking only about 20 minutes. He didnæt have to remove the
backplane or take out the main board.
6.05
Programs That Do Work
6.05
Microdrive ù A number of people have noticed that, while the new version
requires you to keep the program disc in the floppy drive while you play
the game, the new courses work with the original program which will run
properly from a hard disc.
6.05
Others ù various people have reported that the following work without
any problems:
6.05
FontFX 5.05 (latest upgrade, free from Data Store, recognises the ROM
fonts)
6.05
Flexifile 1.04
6.05
Eureka (has someone found it?)
6.05
Home Accounts
6.05
SigmaSheet
6.05
Arcendium (R.áE.áLeo says he finds it works, contrary to the report from
Mike Williams in December)
6.05
ArcScan III
6.05
DiscTree 2.30
6.05
Art Nouveau (Tim Nicholson says he uses it a lot, and doesnæt need the
fix I gave two months ago.)
6.05
Investigator 2 works on an A310, but not an A5000.
6.05
Elite (although Raymond Wright says that it did once seize up after
about an houræs play, which had never happened in RISC¡OSá2.)
6.05
Arc-Comm
6.05
Fortran 77 (Acorn)
6.05
Acorn DTP
6.05
Speech!
6.05
Frances Obee is keen to know whether her most used programs will work:
Pendown Plus, Atelier, Prime Art, Chocks Away and Extra Missions, Elite,
Saloon Cars, and Man Utd. Europe. (I can vouch for two on her list: Draw
Plus v2.12 and Lemmings.)
6.05
Richard Burnell says that a small modification will make version 1.00 of
!Define (the Watford VIDC screen mode definer) work: add to line 17760
of !RunImage ELSE tk%=FALSE so that it reads:
6.05
IF INKEY(Ö256)=162 THEN tk%=TRUE ELSE tk%=FALSE
6.05
Rob Brown says that the original version of Quazer supplied by the
author Julian Rockey, not Impact Software or Fourth Dimension, needs the
screen memory to be set to exactly 160Kb.
6.05
He also says that Corruption and Jinxter will only work with the very
old version of the Shared C Library supplied with the games. You need to
RMKill the RISC¡OSá3 version and RMLoad the old version from disc. (He
recommends that you quit any application that uses the Shared C Library
first!)
6.05
He adds that you can run Terramex by first ensuring that öFreeò memory
is at least 400Kb then using the command *Run Terracode.
6.05
Programs that May Need to be Upgraded
6.05
From the hints I have received, the general message seems to be that if
a program doesnæt work (and this is more likely to apply to older
programs, especially games) it is worth contacting the supplier or the
manufacturer because they can often supply upgrades (sometimes for quite
nominal sums).
6.05
Among those that have been mentioned are:
6.05
Arcade 3 games compilation from Clares
6.05
Artisan, Artisan 2 and ProArtisan
6.05
Interdictor
6.05
a number of Fourth Dimension games (but Boogie Buggy is apparently
incompatible with an A5000, according to Rob Brown.)
6.05
Droom
6.05
Avon/Murdac (adventure compilation from Topologika)
6.05
ChartDraw, GraphDraw and KeyStrip (excellent PD applications from Chris
Johnson).
6.05
Fonts
6.05
Colin Singleton points out that, although Electronic Font Foundry are
selling (more expensive) öRISC¡OSá3ò fonts, the old ones work perfectly
well. The only difference is that the new ones have automatic kerning
information built in (for the use of programs that know how to use it).
6.05
Alan Gentle warns that the way FontMax settings are defined has changed.
They used, in RISC¡OSá2 to be quoted in pixels, but in RISC¡OSá3 are now
quoted in points. The maximum point size for anti-aliasing seems to
refer to the apparent point size on the screen. Thus to make sure that,
say, 15 point text displayed at 130% is anti-aliased he has to set the
appropriate FontMax to 15╫1.3, i.e. at least 20.
6.05
David Shepherdson reports that DrawPlus version 2.00 cannot convert
Trinity, Homerton or Corpus to paths and suggests using Draw to do the
conversion and ösavingò the result into DrawPlus. (The same seems to be
true of version 2.12. A possible alternative would be to ignore the ROM
fonts and load those you want into a disc !Fonts directory.)
6.05
Marc Evans recommends, contrary to Acornæs instructions, keeping the
!Fonts directory in a sub-directory, not the root, to save memory and
time if you are not using the disc fonts. (I would suggest you only do
this if you are sufficiently experienced to understand the
implications.)
6.05
John Winter says that Impression (2.17) and LaserDirect (2.05) work as
well ù if not faster ù with FontSize set to 128Kb.
6.05
(For more on fonts and LaserDirect see the section headed LaserDirect
further on in this column!)
6.05
Filing Systems
6.05
IDE drives
6.05
R.áD.áAttwood noticed that the hard disc icon on his iconbar had öIDEá4ò
underneath it rather than öIDEDisc4ò. On trying to access the disc, he
got an error box with öBad free space mapò. Watford Electronics have
advised him that he needs another chip (cost ú16) for the hard disc
podule.
6.05
D. T. Software recommended alternative courses of action for one
customer whose IDEFS wouldnæt work with RISC¡OSá3.10: either (a)
reformat the hard disc using the formatter supplied with the system or
(b) fit a replacement EPROM incorporating a work-around for a ömarginal
infelicity in the way RISC¡OSá3 mounts discs.ò
6.05
SCSI drives
6.05
C. Purvis has an A3000 with an external 5╝" floppy drive and an Oak SCSI
external interface (fairly old). When he turns his computer on, the SCSI
icon is to the right of the RAM discæs and when clicked on gives a öBad
driveò error. He then runs the following file from a floppy:
6.05
*Mount 4
6.05
*RMLoad $.!System.Modules. SCSIFiler
6.05
*RMReinit SCSI
6.05
*RMREINIT SCSIFiler
6.05
*RMReinit SCSIFS
6.05
*ADFS
6.05
after which the SCSI icon disappears from the iconbar. If he then
presses <shift-break> to reset the computer, SCSIDisc4 appears at the
left end of the iconbar and all is well.
6.05
It has been suggested to me that he needs a new ROM on his SCSI
interface. Can anyone confirm this?
6.05
(One thing we have noticed with the Oak SCSI interfaces is that after a
<delete-power-up>, the SCSIdrive configuration is set to 0 and not 4.
What then happens is that the first time you click the hard drive icon,
it says öBad driveò but then if you click again, it works OK. The
solution is simple: press <f12> and type Configure SCSIDrive 4 <return>
and then do a <ctrl-break>. I think you will find that all is well after
that. Ed.)
6.05
Mike Williams says the Shutdown routine wonæt complete unless he has all
his various SCSI drives mounted, so he has to put a disc into his
removable disc drive and spin it up just so that the system can dismount
it for him! He therefore ignores Shutdown, but asks whether there is a
recommended way of safely shutting down a system such as his?
6.05
Mike has also found that if, after switching off, he changes his mind
and switches on again his computer gets stuck half-way through its
initialisation sequence. Is this a RISC¡OSá3 feature, a hardware fault,
or just because he didnæt shut down nicely?
6.05
Using öFree spaceò viewer on SCSI drives
6.05
(This hint from David Lenthall was originally published in Archive 5.5.)
6.05
If choosing the öFreeò option from a SCSI drive icon gives an old RISC-
OSá2 style textual report and you would prefer to get the new RISC-OSá3
window with sliders, include the following line in your boot file:
6.05
Set Alias$Free ShowFree -FS scsi %0
6.05
SΘan Kellyæs alternative solution (which works beautifully with his A440
and Oak SCSI interface, driver version 1.16) is to copy the SCSIFiler
module from Applications Disc 1 into his !System.Modules directory and
to add the following line to his !Boot file:
6.05
RMLoad SCSI::SCSIDisc4.$.!System .Modules.SCSIFiler
6.05
ArcDFS / DFSReader
6.05
In response to S. J. Furnellæs problem with ArcDFS mentioned in Archive
6.3 p14, Keith Raven recommends !DFSReader on Archive Shareware 31. This
needs one slight adjustment: in line 210 of the !RunImage Basic program,
there is a SYS call that is expected to return 0, 1 or 2 to indicate
whether large or small icons or full directory information are selected
for directory windows. Under RISC¡OSá3 this actually returns 64, 65 or
66. If the next three lines of the program are adjusted to reflect this,
it seems to run perfectly. (Richard Burnell suggests adding a new line
instead:
6.05
215 a=a MOD 64
6.05
to achieve the same effect.) (Keith wonders how many similar minor
changes between RISC¡OSá2 and RISC¡OSá3 will come to light.)
6.05
The Wakefield Acorn Computer Group writes:
6.05
Regarding S.áJ.áFurnellæs problem with ArcDFS there is some good news
here. (These errors are liable to occur when you click on the drive icon
to display a directory window.) The most common error is ÉBad driveæ and
you can overcome this simply by Naming the disc with a blank name, i.e.
press <space> and then <return>. The ArcDFS Name option is selected via
the ÉMiscæ menu option, followed by ÉName discæ.
6.05
This doesnæt cure the other (less common) error which is ÉBuffer
overflowæ. In that case, the only option seems to be to use the command
line, i.e, press <f12> to get a É*æ prompt or bring up a task window
with <ctrl-f12> and type DIRáDFS: (not *DISC as you might expect),
followed by DIRá:1 to select drive 1, (if required), then CAT for a
directory listing, etc. You can then use the manual *COPY command to
move files around, e.g.
6.05
Copy DFS::1.$.Index ADFS::HardDisc4.$.Junk.MyIndex
6.05
copies a file called $.Index on the DFS drive 1 into the $.Junk
directory of an ADFS hard disc, renaming it MyIndex in the process.
6.05
You can just as easily copy onto SCSI, IDE and RAM discs of course. Note
that you should use *COPY and not *CopyDFS. The very good news is that
operations such as Format, Backup and Verify work fine, as they donæt
need to display a directory!
6.05
5╝" discs
6.05
Peter Prewett has been horrified to find that since upgrading to RISC-
OSá3 he can no longer read any of his 5╝" discs (which he uses for
backing up his hard disc) via his Watford interface. He has tried
resetting the step rate to 6 without success. Luckily, he can still read
discs from his BBC via a DFS to ADFS file transfer.
6.05
Gordon Lindsay-Jones also reports problems with his Watford buffer which
used to work well under RISC¡OSá2. Can anyone help? (Have you asked
Watford?)
6.05
Richard Wells initially found that the Beebug DFS Reader refused to work
under RISC¡OSá3, but he has now found that if he runs the Commands
utility from the Support disc first then it will run.
6.05
Richard also says he configures his 40-track 5╝" drive (drive 1) with
6.05
*Configure Step 12 1
6.05
and comments that perhaps
6.05
*Configure Step 6 1
6.05
would work for 80-track discs. He says that to restore normal step delay
you should use
6.05
*Configure Step 3
6.05
In response to Roger Poweræs query last month, Howard Snow points out
that the syntax is
6.05
*Configure <Step delay> [<drive>]
6.05
Rather confusingly, the information on the step delay given by *Status
is just the step delay for each of the drives, so if drive 0 is
configured to the normal delay of 3, after typing *Configure Step 6 1
*Status would give Step 3 6.
6.05
W.áN.áRodger has written with a similar hint and also suggests that
perhaps all floppy drives on a system have to be set if any one is to be
changed.
6.05
Mr Rodger has also noted that he has to leave his Cumana switchable 40/
80 track drive switched to 80-track before selecting Format DOS 360Kb to
format a 40-track MS-DOS disc. When he then runs the PC Emulator, he has
to switch the drive to 40-track to read the disc he has just formatted!
6.05
Compression
6.05
S.áR.áFreeman reports that, when using Compression version 1.10 with his
A400/1, if he launches an application from CFS and subsequently quits
CFS without first quitting the application, the computer can hang.
Otherwise he has no problems with it.
6.05
Mike Kinghan says that his system hangs when he tries to kill any CFS
filesystem from the iconbar. He only has to do this, however, in order
to free up the Filecore when shutting his machine down. Now he uses the
operating system Shutdown routine (via <shift-ctrl-f12>) instead and has
no problems.
6.05
Mike also observes that öit is not a clever wheezeò to compress CFS
files using the !Squash application supplied with RISC-OSá3. This will
report a gratifying reduction in the logical byte count but when the
actual size of the new file is checked, it will usually be found that
the file has got larger. (Has anyone found a use for !Squash?)
6.05
Dave Livsey has been told by Computer Concepts, in response to a query
about CFSæs use of a temporary file as an intermediate step in the
decompression process, that they ö ... are working on an upgrade to deal
with this ... ò
6.05
Marc Evans says CFS version 1.10 has problems with large jobs ù 10
Mbytes, for example ù and suggests turning off interactive filer
operations during a large compression, otherwise you may lose files.
6.05
He also writes: Filer_Run can be used in an alias to run CFSæd files
directly from the normal Filer window. To perform this trick, issue the
command:
6.05
Set Alias$@Runtype D96 !Filer_Run CFS#%0
6.05
and just double click on the file to load it.
6.05
Confusing MS-DOS and ADFS discs
6.05
Marc Evans warns that if you regularly use both DOS and ADFS floppy
discs, it is easy to get confused about which is which. You can easily
find yourself copying to a DOS disc thinking it is ADFS; file and
application icons appear in the destination window just as normal and
you can be none the wiser (apart from the copying being rather slower)
until you run out of space after 720Kb.
6.05
Disc corruption
6.05
Keith Raven has experienced two strange floppy disc faults since
upgrading. After deleting the font manager from a PD fonts disc (E
format), he found that three letters from one font had disappeared
although the disc was otherwise intact and verified OK. He was able to
load the font into !FontEd successfully for patching. The other problem
was a öbroken directoryò on a D format disc, just after deleting a
couple of redundant items (including a !System directory) left over from
RISC¡OSá2. The disc verified properly, but a disc sector editor showed
two chunks of continuous Ns in sector 1 (on track 0 head 0). He has
noticed that ADFS buffers is set to 8 (the default?) and wonders whether
there is still a bug there.
6.05
(We reported two months ago Acornæs telephone help line comment that the
bug which made it advisable to configure the ADFS buffers to zero had
been fixed. We also reported Computer Conceptsæ claim that, unless the
buffers are configured to zero, it is vital to dismount disks before
removing them for good from the machine because, otherwise, there may be
trouble later. Does anyone have any proof either way?)
6.05
XOB Remote Logon
6.05
Raymond Wright says that XOB Remote Logon, which allows a BBC Micro or
another Archimedes to access a hard disc attached to an Archimedes via
Econet, is in trouble. He thinks that it is not loading binary files to
the correct locations in the BBCæs memory.
6.05
Printing!!!
6.05
(This seems to be the area that is causing the greatest grief. If anyone
thinks he knows the answers, please get in touch! A number of people
have commented favourably on the Ace drivers. Perhaps, if the people at
Ace think they have got printing sussed, they might be able to help with
some of these problems.)
6.05
(Funnily enough, Tony Cheal of Ace Computing was hoping to write us an
article about printer drivers. As I well know, when you are running your
own business, things can get very hectic. Anyway, if you do get time,
Tony, your fans are waiting in eager anticipation! Ed.)
6.05
Printer buffer
6.05
Several people have commented that the printer buffer doesnæt work
properly. Can this be true or is it that we donæt understand how to use
it properly?
6.05
Richard Burnell says that if he configures the buffer to, say, 300Kb and
tries to print a draw file with lots of text, the computer hangs and not
even the escape key works. (He owns a KX-P1081 dot matrix printer.)
6.05
Mike Kinghan writes: The RISC-OS 3 feature that I had longed for most
was background printing. Running off a manual on my LaserJet II under
RISC-OS 2 could monopolise the computer for half a day. How annoying
then to discover that prints executed from familiar applications are not
automatically run in background under the new OS. A partial remedy,
however, is to use the new Print Manageræs capability to substitute a
file for any installed printer. First take the Printer Control option
from your printeræs iconbar menu. Then select the Connection dialogue
and nominate a file of your choice in place of the installed printer.
This will make applications write to that file when they think they are
printing, and they will do this much more speedily. At your convenience,
redirect the printer connection to your physical printer and drag your
print files to the printer icon. Now they will be printed in background,
allowing you to get on with your work. (But what a palaver! Surely there
must be a simpler way?)
6.05
Change in printer initialisation behaviour
6.05
T. J. Bennett uses First Word Plus version 1 with an A3000 and a Citizen
Swift 24. In order to make best use of this combination, he has written
a !Boot file which redefines screen characters using VDU23 and also
defines some characters not available in the standard printer character
set as download characters to the printer. He has also modified his
printer driver. This all worked in RISC¡OSá2, the printer buffer
allowing the booting process to continue to completion whether the
printer was on line or not. In RISC¡OSá3, however, the !Boot will not
finish until the printer is connected, switched on and on line. (öA
giant step towards the Neanderthal,ò Mr Bennett comments.) He has tried
setting PrinterBufferSize to ridiculous sizes with no discernable
effect, also RMASize and SystemSize. Does anyone have any suggestions?
(I wonder if this problem is related to that described by Mick Day last
month ù see Archive 6.4 p9.)
6.05
Mr Bennett has noticed that there is a limit to the amount of data in
the printer driver for defining each character (contrary to what the
manual says) so this cannot be used as the source of download character
data.
6.05
Disc swapping
6.05
Peter Prewett reports that, after loading the !Printer application on
the iconbar and then loading Impression Junior, whenever he tries to
print, he is required to insert the floppy disc from which he loaded the
original printer application. He says he ötried loading system and scrap
from the printer and other discs, none of which makes any difference.ò
(My suggestion is that the problem is a misunderstanding of the purpose
of the !Scrap application: the result of running this is simply to tell
the computer that the disc it is on is the place to store temporary
öscrapò files. Thus by öloadingò !Scrap from a floppy you tell the
computer to use that floppy for temporary storage during operations like
printing. If you have a hard disc, it is best to copy !Scrap onto its
root directory and to ensure that the first thing you do each time you
turn the computer on or reset it is to open a Filer window on that root
directory so that the location of !Scrap will be öseen.ò)
6.05
Peter goes on to comment that system and scrap files are difficult to
use and must be made totally transparent to the end user. öNobody should
have to set up the computer with these files as it is certainly not
user-friendly.ò Does anyone want to volunteer to write a user-friendly
article about system and scrap files? Does anyone have any ideas about
how these might be better organised in a future version of the operating
system?
6.05
Mono greyscales (!?)
6.05
A number of people have noticed that the so-called ömonoò option in the
RISC-OSá3 printer drivers actually produces grey scales when rendering
drawfiles (although sprites are printed in black and white as might be
expected).
6.05
LaserDirect
6.05
I may have given the impression in the December column that it is
impossible to print rotated text out of a LaserDirect. John Winter has
pointed out that this can be done fairly easily by creating the text in
Draw and using the Convert to path menu option; this will then print
like any drawfile. Furthermore, the rotated text can be imported into
Impression, again just like any drawfile.
6.05
John Winter has also found that in order to run the RISC¡OSá3 !Printers
application after using a Computer Concepts RISC¡OSá2 driver, you have
to run the following * commands (either at the command line or in a Task
window or in an Obey or Command file):
6.05
*RMKill PDriver
6.05
*RMReinit PDriver
6.05
Several more people have reported problems with the quality of print
from LaserDirect printers. Michael Lowe says he has considerable
problems printing sprites, mostly incorporated into Impression docu
ments: black areas are often patterned, grey areas sometimes donæt print
and occasionally the whole of the text area breaks up giving a granular
appearance. However, the worst thing, he says, is the unpredictability
of the behaviour.
6.05
There may, however, be an answer to this (but no solution until the new
drivers appear sometime this year, with luck): Computer Concepts have
written to Tim Powys-Lybbe saying: öWe are now(!) aware of a problem
with the combination of our LaserDirect drivers 2.05 and RISC¡OSá3.1.
The first Landscape page will print correctly, but on subsequent prints,
black output will be speckled. This only occurs when QuickText is off.
6.05
öI would recommend that you turn on QuickText. If necessary, you should
install RISC¡OSá2 versions of Corpus and Homerton into your !Fonts
application on disc. If you get a speckled output, changing printing
resolution or reloading the driver will restore a black image.
6.05
öThe next release of our drivers should clear up this problem.ò
6.05
Timæs comment is that the output and the problem is a little worse than
their letter concedes.
6.05
(And the problem also occurs fairly predictably on the BJ10 Turbo
Driver. Ed.)
6.05
Alan Gentle recommends inserting a FontRemove statement in the !Boot
file, removing the ROM fonts, and to add Corpus, Homerton and Trinity to
the !Fonts directory on disc, i.e. the boot file should end:
6.05
FontRemove Resources:$.Fonts.
6.05
FontInstall <Obey$Dir>.
6.05
(N.B. the dots at the end of each line are significant.)
6.05
Alan also says Computer Concepts have sent him an update of PrinterLD,
version 2.05s (10-Aug-1992) which seems to work OK!
6.05
When I started printing from Artworks, I found that the greyscales at
600 dpi were rather distinctly graduated. At 300 dpi, the gradation is
much smoother but the individual colours have a much dottier appearance.
On CCæs recommendation, I have found that 600╫300 using Screen 2 gives a
good compromise.
6.05
On the question of how long the upgraded printer drivers are taking to
produce, CC said (in a letter dated 17th December 1992): öWe have only
just received the source code (weæd have preferred proper documentation,
but there isnæt any) from Acorn. All our drivers require significant
changes to allow full RISC¡OSá3 compatibility. Since the RISC¡OSá2
drivers work with RISC¡OSá3, their conversion is not a priority.ò
6.05
Printing after Artworks
6.05
Roger King has found that, after printing from Artworks, computers need
to be switched off (<ctrl-reset> is not enough) before using new
applications that need to print hard copy. If this is not done, spurious
fine horizontal lines of about 4mm length are scattered throughout the
printed page. Has anyone any clues about this?
6.05
Unwanted form feeds
6.05
G. T. Smithæs means of preventing his Brother (Epson FX80 compatible
printer) from spewing out extra pieces of blank paper was to load the
driver into !PrintEdit, delete the formfeed code ö12ò from the End of
Text Job and to add ESCö8ò (öignore paper emptyò) in the Start of Job
line.
6.05
Unwanted line feeds in First Word Plus
6.05
Dave Livsey suggests that the printer driver needs doctoring to remove
the extra line feed that it sends to the printer. Can anyone give
details?
6.05
Editing printer drivers
6.05
G. T. Smith says that he made the mistake of assuming that, having
copied his modified printer driver onto his hard disc, !Printers would
find it and the modification would take effect, but it didnæt. He says
you need to load !Printers onto the iconbar and re-install the driver by
dragging it into the Printer Control window from the !Printers menu.
6.05
Tim Nicholson says that if you change the configuration settings of a
printer which is not the currently selected one (i.e. its icon is greyed
out), then the next time you print, the print manager uses the driver
you have reconfigured not the selected one.
6.05
6.05
PC Emulator
6.05
Mike Small has found that PC programs such as Tetris run first time but
when they get to the point where they ought to re-load, i.e. when he
ödiesò, he gets the messages:
6.05
M2ExHandle abort - Bad Entry Sequence
6.05
*CD \Tetris
6.05
FileCore in use (Error number &108A0)
6.05
*Tetris
6.05
He is using version 1.34 of the emulator, patched in accordance with the
Support instructions. (He assumes that the altering of the filetype of
the DOS partition to DOSDisc doesnæt apply to him because he uses
floppies.) He has a user port and MIDI on a basic A3000. Does anyone
have any ideas?
6.05
Nik Kelly finds that his Quick Basic editor scrolls at a useful speed
now that he has an ARM3 and RISC¡OSá3, but has found that the freebie,
QB, that comes with MS-DOSá5, does not read his .BAS files.
6.05
He also says that his real-time clock is now always wrong (using PC
emulator 1.6 and MS-DOS 3.3) and asks why?
6.05
Richard Burnell says that version 1.81 of the emulator wonæt read Atari
format discs with RISC¡OSá3.10 and asks when the new version of the
emulator is due for release.
6.05
Miscellaneous Hardware Tips
6.05
Ground Control teletext adaptor
6.05
Mike Williams found that his problem with this was a hardware problem
and nothing to do with RISC¡OSá3. He had changed to an A5000 and there
is a subtle difference in the hardware of the printer port. Ground
Control are offering an upgrade to a podule version Ö but he doesnæt
know where he is going to find a fifth podule slot!
6.05
SCSI podule and MIDI board conflict
6.05
Richard Burnell found that his Vertical Twist A3000 Econet MIDI/sampler
board would not work with his 8-bit Lingenuity SCSI podule because they
were competing for use of fast interrupts. Version 2.45 of the SCSI
firmware is now available and the MIDI port now works fine. (This
doesnæt sound like a RISC-OSá3 problem to me, but I will include it
anyway!)
6.05
Pineapple digitiser
6.05
The problem Tim Nicholson mentioned in Archive 6.3 p15 was cured by the
addition of an öextra decoupling capacitorò.
6.05
Brainsoft expansion card
6.05
Tim Nicholson reported (Archive 6.3 p15) that this didnæt work. Raymond
Wright says he thinks his works OK, but he has had problems with the
software in RISC¡OSá2, some of which have righted themselves in
RISC¡OSá3! (The sound module still seems to want to hog all available
memory, though.)
6.05
Maths co-processor
6.05
Raymond Wright says there is no built-in support in RISC¡OSá3 for the
maths co-processor card so he still has to load FPEmulator 3.2 from
disc.
6.05
Impression dongle
6.05
Roger Poweræs problem mentioned last month turned out to be a defective
dongle (apparently it was one of the very early ones), which CC have
replaced.
6.05
G. T. Smith had a similar problem and while he was waiting for a
replacement dongle it was suggested that he should try öshorting all the
pins of the dongle with a piece of earthed kitchen foil.ò Apparently it
worked! (I suggest you only try this if you are confident you know what
you are doing.)
6.05
Roger King reports that he had a problem with both laser printers and a
Deskjet 500 ejecting blank sheets of paper with spurious characters on
the first line of the new page, especially when printing from PipeDream
4 documents. When the Impression dongles were removed the problem went
away.
6.05
Keith Raven agrees that there is something strange. Once, after
switching off the computer and restarting, he tried printing from Basic
using <ctrl-B> but the computer locked up as if the printer wasnæt on
line. Loading !Printers and trying to print from !Edit caused the system
disc to run and the iconbar to flash but no output. Loading Impression
then caused most, but not all, of the previously öprintedò output from
!Edit to arrive at the printer. However, he could not repeat this. Since
he had previously used the printer successfully in similar circums
tances, he wonders if the problem might be something to do with printer
initialisation.
6.05
Miscellaneous Hints & Tips
6.05
Screen modes
6.05
Peter Prewett says that mode 31 öflashes fastò on his A440/1 with an
Eizo 9060s Multiscan. He also says that mode 27 will not run on an A310
with an NEC Multiscan. (I also find that mode 31 is unusably flickery on
my Taxan 770 Plus, but surely one of the purposes in giving us such a
wide variety of modes is to give each user a greater chance of finding
some that suit his own particular monitor.)
6.05
Marc Evans recommends non-multisync users to use mode 35 as their
configured mode because it gives a bit more room to work in without
decreasing resolution in the way mode 16 does.
6.05
Desktop Boot files
6.05
Colin Singleton has been puzzled to find that, after creating a Boot
file and rebooting, a number of applications that were running at the
time he created the Boot file failed to start up. The reason for this is
that only öRISC¡OSá3 awareò applications will be inserted automatically
into a !Boot file. (Apart from any other reason, the operating system
needs to be able to find out where on disc each application was loaded
from and it canæt do this unless the application is programmed to be
able to tell the operating system when asked. Originally, RISC¡OSá3
applications werenæt programmed to behave in this way.)
6.05
If you want your Boot file to run an older application (including, for
instance, current versions of Impression) you have to edit !Boot and add
the appropriate instructions by hand. To do this (assuming you have
already created a Desktop Boot file), load !Boot into !Edit (the quick
way is to <shift-double-click> on it) and you will probably find a
number of lines reading öFiler_Boot ... ò followed by some reading
öFiler_Run ... ò. Immediately after these, add another line reading
öFiler_Run ò followed by the full path name of the application, and
repeat for each application you want to run. The process is described in
more detail in the User Guide starting at page 112.
6.05
Colin Singleton has also tried, as the manual suggests, creating two
!Boot files so that he can switch at will from one öworldò to another.
However, when he tries to run them he gets a message öYou cannot have
two copies of !Alarm at once.ò Does anyone have any suggestions?
6.05
When G÷tz Kohlberg had created a Boot file and tried rebooting, he got
an error message: önot enough memory or not within desktop worldò.
(Could this happen if the configured ölanguageò is not Desktop? (Number
10 in RISC-OS 3.))
6.05
Control of ARM3 cache
6.05
G÷tz Kohlberg found that the *Cache on command turned the cache off and
*Cache off turned it on! He also found that when he installed the Aleph
One hare and tortoise module, the effect of clicking on the iconbar
icons was also reversed. His work-around for this problem is to include
*Cache on as the very first command in his !Boot file and to include the
command *Cache off immediately before the line that runs the !Arm3
application.
6.05
ROM modules
6.05
R. D. Attwood asks how he can find out which modules are in ROM so that
he doesnæt duplicate them in the system directory on disc. Simple: press
<ctrl-f12> to open a Task window and type RomModules at the star command
prompt. A list of modules in the system ROM and in the ROMS on any
podules installed on the machine will scroll past. To read the list and
print it or save it: bring up the Task window menu and choose the
öSuspendò option then treat the contents of the window just like any
other Edit window.
6.05
To see what else is in ROM ...
6.05
... bring up the menu over the Apps icon on the iconbar and choose the
öOpen É$æò option. You can now explore all the resources stored in ROM.
6.05
Toolsprites
6.05
Several months ago, the Archive monthly disc included a nice collection
of ötoolò sprites designed to smarten up the appearance of window icons
(including things like 3D-effect sliders that look pushed-in when you
drag them). I found that the original set didnæt quite work properly,
but that simply by adding one extra sprite (öblicon22ò) copied from a
similar set on a recent Acorn User disc, I got a set which seems to work
fine. This set is on this monthæs program disc in a file called
öWin3Toolsò. To use it, I suggest you copy it into your !System
directory and include the command
6.05
ToolSprites System:Win3Tools
6.05
in your !Boot file. (Note: this file only includes ö22ò definitions for
ösquare-pixelò high resolution modes.)
6.05
Shift key behaviour
6.05
R. D. Attwood has found his left shift key giving a ñ symbol. On
investigation, he has found that under the key there are two contacts:
one gives ñ, the other ú. The !IntKey module on the Support disc seems
to solve the problem but, as he says, it should not be necessary to run
this. Has anyone any ideas?
6.05
Shift-double-clicking into editors
6.05
Marc Evans says that if you shift-double-click on a file to load it into
an editor, the editor can be confused about what filetype it is and can
save an Obey file as Text. (This doesnæt seem to happen with !Edit, but
it does with !StrongEd II. Without the PRM, I canæt be sure but I would
guess that what is happening is that a shift-double-click causes the
Filer to broadcast a message inviting applications to load the file as
if it were a text file. If !Edit picks it up, it presumably then reads
the directory information to find out what the filetype is, whereas
!StrongEd carries on assuming it is a text file. I wonder what other
editors like DeskEdit do?)
6.05
Fix for SciCalc
6.05
Colin Dean, one of the authors of SciCalc, has written in with a fix for
the bug in the +/Ö operator mentioned in Archive 6.3 p18.
6.05
The +/Ö operator should always change the sign of the currently
displayed value, unless you are in the middle of entering an exponent,
in which case it should change the sign of the exponent. In practice, it
can produce bizarre results: e.g.
6.05
enter display
6.05
1E13 1E13
6.05
+/Ö 1E-13
6.05
= 1E-13
6.05
+/Ö 3E-30
6.05
The last displayed result should be Ö1EÖ13!
6.05
To fix this alter the lines that read:
6.05
5340 IF entry$=ö0ò THEN entry$= FNtobase(dreg)
6.05
5350 IF base%=1 THEN
6.05
5360 IF (INSTR(entry$,öEò)=0) OR (F%=TRUE) THEN
6.05
to read, instead:
6.05
5340 IF F%=TRUE THEN entry$= FNtobase(dreg)
6.05
5350 IF base%=1 AND F%=FALSE THEN
6.05
5360 IF (INSTR(entry$,öEò)=0)THEN
6.05
Copying a directory into itself
6.05
You canæt any more! (Marc Evans says.) (For those who donæt remember the
heady days when RISC¡OSá2 was young, one of its features was that it was
quite easy to fill a disc by recursively copying a directory into
itself!)
6.05
Unplugging !Configure
6.05
!Configure can be unplugged if you do not want the machine altered Ö
useful in a school situation! (Marc Evans)
6.05
Bug in BASIC64
6.05
A. G. Rimmer reports that there is a fault in BASIC64 in that the format
specification given by @% frequently behaves incorrectly for fixed
format (but not for E or G format). This is illustrated by the following
program:
6.05
10 REM >Double precision test
6.05
20 @%=öF30.2ò
6.05
30 PRINT; öWith @% = &ò;STR$~(@%);ö:òÉ
6.05
40 REPEAT
6.05
50 INPUT öNumber input: ò x
6.05
60 PRINT ö prints as ò x
6.05
70 UNTIL FALSE
6.05
This produces the following output:
6.05
Number input: 102.63
6.05
prints as 1.03E2
6.05
Number input: 1234.5678
6.05
prints as 1.23E3
6.05
Number input: 12.25
6.05
prints as 12.25
6.05
Number input: 0.16
6.05
prints as 1.60E-1
6.05
Acorn have acknowledged the fault and have told Mr Rimmer that there is
no work-around or fix for this problem at the moment.
6.05
Limited precision of SciCalcæs display
6.05
Mr Rimmer also observes that, whereas SciCalc calculates using floating
point numbers with 52 binary digits, which are equivalent to 15.7
decimal digits, you can only input decimal numbers with up to 10 digits
plus a two digit exponent and the program can only display results with
10 significant figures (and 3-digit exponents up to the maximum possible
308). What is wanted is a display for both input and results of a 15 or
16 digit mantissa plus an exponent of up to 3 digits (up to the limit of
308).
6.05
Again Acorn has acknowledged the limitation but has said that a version
with extended display is not available. (I wonder whether Colin Dean
might be able to help?)
6.05
Legible menus in 1st Word Plus
6.05
In Archive 6.3 p12 there was a hint on altering the palette for First
Word Plus release 1.1 so that the menus are legible. This involved a
special Obey file. Gordon Lindsay-Jones suggests a different solution.
He first changed colour 14 to black and saved the altered palette in the
Library directory on the 1wp disc. Before he runs 1wp, he opens the
Library window and double-clicks on this palette, then when he finishes,
he opens the menu on the iconbar palette icon and selects Default to
restore the palette.
6.05
(Mike Williams says version 0.01 of First Word Plus works fine!)
6.05
Using RMFaster
6.05
Mike Williams points out that C programs run much faster if you perform
*RMFaster SharedCLibrary and, similarly, programs that use the FPE a lot
(e.g. ray tracers) will benefit from *RMFaster FPEmulator. Under
RISC¡OSá2, these modules were loaded from disc so always ran in RAM. In
RISC¡OSá3, we can choose whether to put them in RAM for speed or leave
them in ROM to save memory.
6.05
Draw crashing
6.05
A number of people have had !Draw crash out on them but luckily it saves
work in progress as a valid drawfile in the Scrap directory before it
exits. Therefore, you should be able to recover your work by opening
!Scrap (shift-double-click on its icon), then opening the directory
called ScrapDir inside it.
6.05
Wimp drag and double-click defaults
6.05
Mike Williams finds that settings of 5 for WimpDoubleClickDelay and 10
for WimpDoubleClickMove make detailed work in !Draw much more manage
able. He wonders if anyone knows how to set them exactly like they were
in RISC¡OSá2.
6.05
Mouse menu button behaviour
6.05
In response to my tip in Archive 6.3 p19, Tim Nicholson says his mouse
menu button still returns a continuous 2. I then wondered if it was my
tracker ball that was at fault so plugged in my clapped out mouse, but
no: both mouse and tracker ball still return 2 for a moment then 0 when
the menu button is held down. Tim wonders if the mouse response is
configurable.
6.05
Opening a root directory without running all the !Boot files (and
avoiding viruses)
6.05
Tim Nicholson points out that just as control-double-clicking on a
directory icon opens a filer window on the directory without running the
boot files of all the applications in the directory, control-double-
clicking on a drive icon does the same for a root directory. As he says,
this is jolly useful for inspecting discs of unknown origin if you
suspect they might contain viruses.
6.05
Keys that donæt work
6.05
Tim Nicholson says that he ökeeps losing his Caps Lock buttonò and
occasionally <ctrl-shift-f12> doesnæt work. Is this a problem with an
application? (Or has he been dropping his porridge into the keyboard,
again?)
6.05
Task manager
6.05
(Tim Nicholson warns: before trying this save all your work!) Try
clicking <menu> over the Task Manager and choosing the Info option, then
click <menu> in the grey area where it says NAME: VERSION: AUTHOR:.
(Donæt get too excited.)
6.05
Alarm
6.05
Colin Singleton writes, in response to Ken Cowapæs comments on !Alarm
(Archive 6.3 p15): öI think he is wrong in claiming that it contains a
malfunction, but it is certainly less friendly than it might be. It does
indeed appear to insist that the start and finish dates are in the same
year when setting summertime, so you cannot set Off Oct 1992 and On
March 1993. Since we have now finished with BST for 1992, this is not
now a problem.ò
6.05
He has found that after setting the two dates for 1993, the Alarm file
contains three dates, the third date being 7th February 1994. He
presumes that at 1 a.m. on that day, an alarm will go off to remind him
to set the summertime dates for that year! Does anyone know what the
date is for?
6.05
Change in behaviour of !Boot files
6.05
Under RISC¡OSá2, J.áLageu used to protect directories using the
principle that, whenever a directory was opened, all the boot files in
it were actioned (unless, I think, a sprite with the name of the
application had been loaded into the Wimp sprite pool). He finds that
RISC¡OSá3.10 on an A5000 only sees the !Boot file the first time it
öseesò the application. I wonder whether it is possible to tell the
operating system to forget that it has seen the application?
6.05
JPEG
6.05
Steve Dommett has written, in response to Roger Darlingtonæs query in
Archive 6.3 p28, to point out that there is a very useful implementation
of JPEG included in !ChangeFSI on the Support Disc. The required files
are cjpeg, djpeg and JPEGinfo (which provides instructions). !ChangeFSI
will read JPEG files in the same way as other file types but will need
plenty of spare space on the !Scrap disc. He has converted many sprites,
saving megabytes of disc space, with no appreciable loss of quality.
6.05
Peter Sturdy adds that if you want to use JPEG from the command line, it
is helpful to add the following lines to your !Boot file:
6.05
Set Alias$cjpeg <Obey$Dir>.cjpeg %%*0
6.05
Set Alias$djpeg <Obey$Dir>.djpeg %%*0
6.05
JPEG files can then be manipulated from a Task window without changing
directory or moving the files into the Library directory.
6.05
(The point of JPEG is that it gives much greater savings in filing space
but the compression process is not completely reversible so the
decompressed image will not be identical to the original. For sprites
this doesnæt normally matter.)
6.05
Directory catalogue display
6.05
Raymond Wright has found an irritating change in the display of a
catalogue listing (outside the Desktop): on an 80 column screen you only
get three columns of files instead of 4 and in a 40 column mode you only
get one. Can there be a good reason for the change, he
asks?ááááááááááááááááááááá áááááááááááááááááááááá
6.05
Two Questions
6.05
Backup and the önextò slot
6.05
If you back up an 800Kb floppy with the öNextò slot set to the standard
640Kb, the backup will take two passes. In order to make the computer
copy the whole disc in one go, you have to set the Next slot to more
than 800Kb. Can it be told to use more than the current Next slot if the
memory is available?
6.05
Icon dragging from filer windows
6.05
There is a configuration option (which I canæt find now that I want it!)
that instructs RISC¡OSá3 öawareò applications to drag the whole icon
rather than just an empty square box when saving a file. Why on earth
isnæt the Filer programmed to do the same when you drag an icon from a
Filer window? ááááááááááááááááááááááááááááááááááááá
áááááááááááááááááááááá á
6.05
Improvements over RISC¡OSá3.0
6.05
Paul Skirrow lists the following improvements:
6.05
Å after a Shutdown the Restart button works properly and restarts the
Pinboard correctly
6.05
Å the ADFSBuffers configuration now works correctly and speeds up disc
access significantly (although there may still be a problem in 1Mb
machines).
6.05
Å Paint handles 256 grey scale sprites correctly and also 256 colour
sprites can have any of their colours changed independently (Iæd
appreciate an article on the changes in colour handling in RISC¡OSá3 ù
starting with the basics like the points mentioned here.)
6.05
Å an HP Laserjet / Deskjet bug has been cured.
6.05
Å there is a new X, Y offset facility in the printer driver system,
separated from the öpaper marginsò (which now specify which area the
printer driver should allow printing in, although it would make more
sense to set the top left values to be the same). Paul says this could
have some other benefits: you should be able to specify negative offsets
to indicate that the printer must move the print head some distance to
actually reach the paper, which might be useful when printing on labels.
Unfortunately, there is a bug: the X, Y origin is not stored and always
defaults to zero! (My mind goes numb when I read this sort of descrip
tion. Can anyone help with an idiotsæ guide to printer margins?) (Gerald
Fitton, in Archive 6.4 p39, admitted to not really understanding how it
all worked but gave an empirical approach in his PipeLine column. Ed.)
6.05
Å Printer drivers now set the page length from the önumber of text
linesò specification, and a number of other printer problems have been
cured.
6.05
Å Starting up is quicker (10 seconds quicker on an A5000).
6.05
Å Some useful extra screen modes are provided.ááA
Hints and Tips
6.6
Å Applications launcher Ö When working on various tasks on my
Archimedes, I often find that I need to launch more than one
application. For example, I have a wide selection of regularly used
clipart stored in Library format within Draw Plus. These clipart items
form regular input while using Ovation or Impressions. Therefore, when
working on DTP materials I will, on most occasions, be running Draw Plus
as well. The following ÉPseudo Applicationæ was therefore devised to
automate the launch of the required cluster of applications (in this
case Ovation & Draw Plus).
6.6
Begin by creating an application directory (i.e. one where the name
begins with a !) with a name to suite the task cluster (e.g. !DTP).
Within this you need to create a !Boot and a !Run file, both Obey files,
using !Edit. The !Boot file only needs to contain the single line ....
6.6
IconSprites <Obey$Dir>.!Sprites
6.6
while the !Run file should contain the following...
6.6
IconSprites <Obey$Dir>.!Sprites
6.6
Desktop -FILE <Obey$Dir>.
6.6
FileLaunch
6.6
In each case, the IconSprites command directs the system to the !Sprites
file for the pseudo-application while the Desktop command in the !Run
file instructs the system to execute a series of commands held within
the file called ÉFileLaunchæ.
6.6
Again within !Edit, create a new textfile, to be called ÉFileLaunchæ. It
is the contents of this file that will determine which applications are
to be launched by your pseudo-application. For example, the following
will launch both Ovation and Draw Plus as well as opening the directory
viewer to my ÉFilesæ folder and my Draw Plus Library folder. The exact
contents being dependent on the organisation of your own system.
6.6
Filer_CloseDir ADFS::4
6.6
ADFS::4.$.MoreApps.!Ovation
6.6
ADFS::4.$.!DrawPlus
6.6
Filer_OpenDir ADFS::4.$.Files
6.6
Filer_OpenDir ADFS::4.$.Files. DrawLibs
6.6
Save this as ÉFileLaunchæ within the pseudo-application.
6.6
The final job is to create an appropriate sprite to represent your new
pseudo-application. This should be 34 ╫ 17 units in size. For mine, I
have merged the small display icons from Ovation and Draw Plus. Once all
is completed, double clicking on the application will, as if it were a
normal application, launch the specified applications and open the
required directory viewers.
6.6
Although this was initially developed on a hard disc based system, it
can be just as useful to floppy based systems. For example, it can be
set up to launch an application along with an appropriate printer driver
or launch a collection of floppy disc based utilities. For users still
working with Risc-OS 2, if the application is given the name !Boot and
placed on the root directory, with the drive set to *OPT 4 2, it gives
many of the same basic facilities as the new Desktop Boot of RISC-OS
3.10.
6.6
NOTE: This system does not effect the normal action when you double
click on an applications file. This will, as always, launch its own
application and load in the file clicked on.á Mike McNamara, Dunstable.
6.6
Å ArcLaser 1.68 and PipeDream Ö With ArcLaser installed, PipeDream
(3.14) wonæt print using its own driver. It is necessary not only to
quit ArcLaser but to RMkill the LQEmulator module.á Richard Torrens,
Cambridgeshire.
6.6
Å BJ10e/ex with CC Turbo Driver Ö Under Risc-OS 3/3.10 there is a
conflict between the Turbo Driver and the new !Printers system. If you
contact CC, they will tell you to issue the following from the * prompt
....
6.6
RMKill PDriver
6.6
RMREInit PDriver
6.6
A far more elegant way is to place these two commands within the !Run
file of the !Printers application. They should be added immediately
before the line which reads ....
6.6
RMEnsure PDriver 3.16 Error etc
6.6
You will now be able to switch between the two systems without further
problems!
6.6
Mike McNamara, Dunstable.
6.6
Å Dongle problems Ö Various people have found that, on occasion, they
cannot print from other applications when using an Impression or
Artworks dongle. The situation seems to be worse under RISC-OS 3. The
(temporary) solution is to run Impression or Artworks and quit it. All
should then work OK. (Hint offered by various readers.) (For more
discussion, see the Comment Column on page 18.)
6.6
Å FoxPro version2 Ö Anyone who has tried to run FoxPro version2 under
version 1.8 of the PC Emulator will have found that it does not work. If
you still have an earlier version of the Emulator, try using that
because it is said to run under some of the earlier versions.á David
Wild, Hemel Hempstead.
6.6
Å Pocket Book power supply Ö Maplin sell a 300mA regulated transformer
for ú8.95 (+ú1.20 p&p) which will do the same job as the Pocket Book
mains adaptor and more besides. Maplinæs code is YB23A and the
polarisation should be negative at the tip at 9V.
6.6
You cannot format Flash SSDs above 256Kb unless the Pocket Book is
connected to an adaptor. Apparently, the Flash SSDs require 12-15V when
formatting.á Mark Goodwin, Worcester.
6.6
(N.B. You canæt just use any old transformer for the PocketBook and we
canæt, of course, be held responsible for any damage which occurs if a
particular power supply does not work. We still cannot get the Acorn
Pocket Book mains adaptors but are buying some Psion ones which we will
be able to sell at the same price Ö ú15 inclusive. Ed)
6.6
Å Printers, margins, etc Ö I disagree with the statement in Archive 6.5
p37 that the X Y origin is not stored. There seems to be a fundamental
lack of understanding in this area. If you want a full explanation, I
will do one but, in brief, the offsets should be set using the technique
described in the readme file in the Printers directory using the TopLeft
printer file. Paper margins should then be set to be at least as big as
the X Y values, then when the printer tries to print, it says to itself,
öleft margin 20mm (say) so I have to move the printer head 20mm before I
start printing. Ah, but wait a minute, the print head is already Xmm
from the edge, so I only need to move another (20 Ö X)mm before I start
printing.ò
6.6
The same is true for Y. None of the default definitions I have looked at
are anywhere near right which doesnæt help. BJ330 printers auto sense
the left hand edge of the paper so goodness knows what happens then! á
Tim Nicholson, Cranleigh.
6.6
Å Scrap file Ö Floppy disc users may be pleased to know that the
Wimp$Scrap file, used for in-memory transfer, does not have to be on a
physical medium. I have included the line:
6.6
Set Wimp$Scrap RAM::RamDisc0.$ .ScrapFile
6.6
in my !System.!Boot file. I have configured the machine to automatically
create a RAM disc on switching on and have since avoided much disc
swapping. The !Scrap folder can be avoided, though the Printers (RISC-OS
3) application needs to see it. It can be placed inside the Printers
directory, and the line:
6.6
Obey <Obey$Dir>.!Scrap.!Boot
6.6
included near the beginning of the !Printers.!Run file.á Robert Fuller,
Basingstoke.
6.6
Å !Squash Ö This program is a side product of the new printer drivers Ö
the printer definition files are held in squash format. If you change
the filetype of a printer definition file to Squash (filetype_FCA) and
drag it into Squash, it will be unsquashed. Loading into Edit will
reveal a file not unlike the old OS2 PrDataSrc files, although the
graphics data is held differently. RISC-OS 3 requires the definition
files in the unsquashed format. PrintEdit will happily edit files in
either format but always produce Squashed output.
6.6
Å Squirrel and Compression Ö If, like me, you routinely run your
Squirrel tables from a Compression window, you may eventually get an
error message, öBad File Formatò. If you then open the tableæs
directory, you will find that some of the files inside show the white
File_xxx icon.
6.6
Setting the filetype to Squirrelæs DB7 format, will still result in an
error message.
6.6
Here is what Digital Services told me: There is Ö they think Ö a bug in
Compression, which causes this effect very intermittently. The thing to
do then is to set the filetype to CFSlzw and then uncompress those
files.á Jochen Konietzko, K÷ln.
6.6
Å Symbolic links Ö If you want to have a program in more than one
folder, it is easy enough to store the program once and then create a
link to this program in other folders. In RISC OS 3.1: load !Edit and
create a new Obey file. Shift-drag the program into this window. Save
the Obey file where you want to have the link. Then a double click on
the link-Obey file executes the original program. This works with any
filetype Ö not just applications.á Thomas Goseberg, Germany.ááA
6.6
Using RISC¡OSá3.1
6.6
Hugh Eagle
6.6
öDonæt blame it all on RISC-OS 3!ò Archive staff have, on a number of
occasions recently, given this advice to Archimedes users. öBut it has
only happened since I changed to RISC-OS 3...ò Yes, but that doesnæt
mean itæs the fault of RISC-OS 3. Often itæs a hardware fault that was
set off by fiddling with the p.c.b. of an old computer Ö or, as in some
of the cases in Hughæs column this month, it is caused by a change in
configuration that occurred when you did a <delete-powerup> (or because
you didnæt do one!). The final reason is that you havenæt read the
manual Ö if I had a pound for every time I have had to give advice that
was basically, öRead the manualò... Ed.
6.6
Once again Iæve been nearly overwhelmed by the flood of correspondence.
However, do keep the letters coming, please; Iæll try to use them all in
due course, I promise! My address remains: 48áSmithbarn, Horsham,
Sussex, RH13á6DX.
6.6
Paul says, öTry to be briefò, so Iæll get started.
6.6
Programmersæ Reference Manual
6.6
I was told at the BETT show in January that the new PRM will be ready in
öthe second quarterò of 1993.
6.6
Programs and hardware that work
6.6
Some additions to the lists of previous months:
6.6
Ö Chocks Away
6.6
Ö Conqueror
6.6
Ö DrawBender
6.6
Ö öMost 4Mation softwareò
6.6
ÖáTaskAnsi (from David Pilling) (However, Tord Eriksson adds that you
may want to upgrade it anyway to take advantage of enhancements.)
6.6
ÖáScanlight Junior 256 (it öseems to thriveò)
6.6
Ö Pendown and Pendown+
6.6
Ö PC emulator (öthe oldestò version)
6.6
ÖáPineapple Digitiser (another confirmation that it works, contrary to
the report in Archive 6.3 p15)
6.6
ÖáXOB Remote Logon (Correction!) Ray Wright has found that the problem
he reported last month (Archive 6.5 p29) was in fact a fault in his BBC
Micro, and that Remote Logon works fine. Apologies to XOB.
6.6
ÖáAcorn DTP (Needs to be patched using the Patch from the Support disc.)
6.6
Problem programs
6.6
ShowPage Ö Tord Eriksson says this öworks fine so long as there is no
on-screen text! Not much use for ShowPage therefore, you might say, but
some stunning graphics are possible as shown by the examples supplied
with the program.ò
6.6
Atelier Ö Andrew Campbell has found that Atelier causes his A5000 to
hang whether he uses RISC¡OSá3.0 or RISC¡OSá3.10. (The sequencer loads
but not the main program. He has tried old modules to no effect.)
However, Atelier does still run on his A3000 after the upgrade to
RISC¡OSá3.10.
6.6
The following have been reported as not working:
6.6
Fun School 4 (Under 5æs)
6.6
Satfoot (a satellite tracker from AMSAT-UK)
6.6
Copy Opts (öa handy little utilityò) Ö Tord Eriksson has problems using
his version of ArcFS and the Pinboard: if he glues an arcæd directory to
the Pinboard then tries to open it, the computer freezes! (Perhaps this
is a problem that has been solved in a more recent version of ArcFS.)
6.6
Tord has also found that Ballarena works perfectly but messes up all the
configuration settings (so see the section below called öSaving the
configurationò before you run it!)
6.6
Tord says that he made Powerband work by öediting out lines 430 and
following setting up the voices, and a line further on checking the
voices.ò
6.6
Some games, like 4th Dimensionæs Saloon Cars, crash with a
öWindowManager:Sprites24ò error. What is a öSprites24ò anyway?
6.6
!Psion
6.6
Chris Dawson says that the Psion to Archimedes data transfer program by
Mark Taylor (v 1.65) no longer works with his Psion II. He has tried
everything he can think of, even three different re-wiring
configurations that he has seen. Can anyone help?
6.6
Interrupt (Archive Shareware disc no. 6)
6.6
M. P. Sawle has, up to now, made good use of the Interrupt module, with
the commands *RMLoad Intmodule and *Interrupt 0 in a loading file to
enable subsequent access to the command line with <ctrl-@> from within
both Basic programs and the original version of First Word Plus.
6.6
Having installed RISC¡OSá3.10 he finds that:
6.6
Å within Basic programs: <ctrl-@> still works, but <Esc> has the same
effect and this takes priority over the normal programmed effect of the
Escape key at the time.
6.6
Å within First Word Plus: <ctrl-@> works but he cannot return to 1wp
properly (sometimes the current document is lost), also two presses of
<Esc> take him to the command line but the document is always totally
lost.
6.6
Å Lemmings wonæt run unless he RMKills the Interrupt module first.
6.6
Can anyone help?
6.6
Investigator II works on the older machines, but not on the A3010/A3020/
A4000/A5000 (presumably because the hardware is different).
6.6
LaserDirect and ROM fonts
6.6
The reason why LaserDirect (and presumably the Turbo Drivers) have
problems with the Corpus and Homerton Oblique fonts in ROM is that the
Outlines files for these fonts do not contain full descriptions of the
letters but simply contain cross-references to the related upright
fonts. (Because these two fonts are simply slanted versions of the
upright fonts, not proper öitalicò fonts, all the new font manager needs
to know is where to find the outlines of the upright fonts and what
angle to slant them at.)
6.6
So far as I can tell, it is not necessary to disable the ROM fonts (with
a FontRemove command in the !Boot and/or !Run files of !Fonts) and
include full descriptions of Corpus, Homerton and Trinity on disc (they
would need about 250Kb); I have found that Impression and LaserDirect
manage perfectly well if I just include the following sub-directories in
my !Fonts directory on disc:
6.6
Corpus.Bold.Oblique
6.6
Corpus.Medium.Oblique
6.6
Homerton.Bold.Oblique
6.6
Homerton.Medium.Oblique
6.6
(the files add up to 108924 bytes).
6.6
Turning anti-aliasing off
6.6
Tord Eriksson finds that a, Σ and σ are rather difficult to distinguish
with anti-aliasing on, so he turns it off by setting FontMax1 to
FontMax5 all to 0, except FontMax 3, which determines the maximum size
of font that is cached and which he sets to 200.
6.6
Replacing the system font
6.6
R. W. Darlingtonæs prayer in Archive 6.4 p11 has been answered! Rob
Davison has sent in an application (included on this monthæs program
disc) called !DeskFonts, which will allow you to replace the system font
on the desktop with an outline font of your choice.
6.6
Electronic Font Foundry RISC¡OSá3 fonts
6.6
Colin Singleton thinks that last monthæs comment may have been a bit
unfair to EFF in referring to their new fonts as ömore expensiveò. He
suspects that the old fonts have been reduced in price and the new ones
introduced at the previous price of the old.
6.6
What is ökerning dataò?
6.6
Colin Singleton says that he had read about this several times before he
found out what it meant. Kerning is the process of adjusting the space
between letters so that they look more natural. A common example is the
word AWAY. When printed like that, the letters appear too widely spread,
but with kerning the word can be made to look like AWAY. (I have
exaggerated the kerning to make it more obvious.) This can be done
manually in applications like Impression.
6.6
The RISC¡OSá3 font manager provides the facility for automatic
adjustment of the spacing between any pair of letters, but in order for
this to work firstly the font has to contain a ökerning tableò
indicating the preferred spacing for each possible pair of letters and
secondly the application has to be aware of this facility and to make
the appropriate calls to the font manager. (Archive 5.11 pp5/6 give
details of the font manager calls, showing how you can use them in your
programs.)
6.6
Kerning tables are built into the ROM fonts as well as the newer fonts
from EFF (and other suppliers?) I donæt know which applications use
them; presumably newer versions of Impression, etc. will.
6.6
Filing systems: SCSI
6.6
C. Purvisæs problems (icon in wrong place, öbad driveò error, etc ù see
6.5 p26) have been solved by a new ROM for his SCSI podule, supplied
free of charge by Oak.
6.6
Tord Eriksson at first had problems that sounded similar to C. Purvisæs,
then happened to find that his SCSI drive had been öset to 0ò and after
öresetting to 4ò everything worked perfectly. (I explained this last
month, p27. Ed.)
6.6
Philip Lardner, who has a Brainsoft SCSI podule, is having great
difficulties in copying, moving or deleting files to, from or in the
root directory. It generates all sorts of error messages such as: öCanæt
create ÉSCSI::SCSI.$æ ... ò. Philip has found that he can get round the
problem by copying via the RAM disc and deleting using a trash-can
application but he would obviously be interested in a proper öfixò. (I
donæt know whether it might be relevant but he has put öSet Alias$Free
ShowFree -FS scsi %0ò, as recommended last month, in his !Boot file in
order to activate the free space window.)
6.6
Philip has also found that his PC Emulator 1.8 sometimes suddenly hangs
the machine either during or shortly after booting up, or after quitting
the emulator.
6.6
HCCS HardCard 45
6.6
Barry Thompson says this needs a ROM and PAL change by HCCS costing ú10
plus VAT.
6.6
IDE
6.6
John Birchenough was initially unable to access his Risc Developments
IDE disc drive. However, with a third (free) replacement ROM fitted in
his podule, it is now working!
6.6
Allan Woods says that the tip given last month for getting the Free
Space window to work with SCSI drives doesnæt work with his Risc
Developments IDE drive. Bernard Perry says he knows someone with an ICS
IDE drive with the same problem. Has anyone got any ideas?
6.6
Barry Thompson says the early Orion IDE drives do not function and
wonders whether the new proprietors at Orion are going to support them.
6.6
Watford 5╝ö drive interface
6.6
Gordon Lindsay-Jones has found that his problem is not with his Watford
buffer, as reported last month. The buffer worked properly with another
disc drive. However, he is still trying to find out what is wrong with
his drive.
6.6
Printing Ö HP Paintjet, Draw and Poster
6.6
Christopher Price (Sidcup) is having constant problems trying to print
from the RISC¡OSá3.10 version of Draw and Poster 1.21 via an Ace printer
driver (he doesnæt know which version) to an HP Paintjet on his A420.
The printer appears not even to acknowledge Draw and refuses to output.
With Poster he gets output sometimes, though white text generally
appears black and the printer öseems to bug out if the artwork involves
clipartò imported from elsewhere. Can anyone help?
6.6
Carriage returns and linefeeds
6.6
Philip Woodward uses a bubblejet printer and often prints direct (i.e.
not via a RISC¡OSádriver). He finds that if he makes the slightest
error, such as trying to print a non-existent file, when he next tries
to print, everything gets printed on one line. Does anyone have any
suggestions?
6.6
BJ-330
6.6
Tord Eriksson has had numerous difficulties printing on his Canon BJ330.
Using the LQ-860 driver is agonisingly slow (it makes four passes for
each line) and it sometimes gives stripes in graphics areas. He also had
a printer head (costing ú200!) written off as a result of a öprintout
crashing.ò Also he finds that printing can abort before the job is
finished ù if he uses 180╫180 dpi there are no problems but with 180╫360
or higher just part of the page gets printed. He comments that the
printer driver seems to work differently in that it now seems to
calculate the entire bitmap before starting printing and he wonders if
he now needs more than 4 Mbytes just to print an A4 page. Any hints or
tips would be very welcome indeed!
6.6
Tord asks if there is any Archive reader who has tested the plotter
version of the BJ-330.
6.6
Non direct drive laser printers
6.6
Tord also asks for suggestions about laser printers that work well with
RISC¡OSá3. Direct drive lasers are out of the question because all his
podule slots are full! What printer drivers exist for Canon laser
printers that use Canonæs own page description language? (How about the
Ace Pro-Driver for LBP4/8 at ú44 through Archive?)
6.6
Printing in the background
6.6
Tord Eriksson says that the tip in Archive 6.3 p16 about having two
printer drivers loaded is impossible: if he loads a second !Printers the
first is erased. However, I think he has misunderstood the point: you
should only run !Printers once, but within that application you should
have two drivers loaded and active. (See p62 of the RISC¡OSá3 User Guide
for details.)
6.6
Keith Matthews spells out the procedure in more detail: you should drag
two copies of the appropriate printer driver into the Printer control
window of !Printers. Then click <menu> over the Printer control window,
choose the Connection option and connect the first driver to a suitable
file, then give the driver a name ending in Éfæ. The second copy should
be connected to the printer and named with a Épæ. When the printer
manager is subsequently loaded, two icons appear: the first is selected
by default, so applications will öprintò to the file. To produce hard
copy as a background task, just drag the file icon onto the ö......pò
icon (you donæt need to select it first.) (I still maintain this is a
ridiculous palaver: why isnæt there a setup option whereby you can tell
the print manager to print first to a file and then automatically send
it to the printer?)
6.6
Keith points out that (although he hasnæt tried queueing printouts) the
printer queue window provides one queue for each printer icon.
Obviously, print image files would have to be created under different
file names and you would need a hard disc to accommodate them all.
6.6
LaserDirect and Turbo Driver news
6.6
Michael Lowe has received a copy of version 2.09 of the LaserDirect
driver which has fixed the speckling problem (see Archive 6.5 pp30/31).
6.6
Computer Concepts have also told both him and Dave Leckie that RISC¡OSá3
drivers öare under development and might be available as early as April
but the amount of work involved shouldnæt be underestimated.ò Presumably
these will handle rotated text and sprites and work under the RISC¡OSá3
printer manager. (Dave Leckie notes, however, that CC have said that
they will not support RISC¡OSá3.0.)
6.6
Using a RISC¡OSá3 driver after LaserDirect, etc.
6.6
In Archive 6.5 p30 there was a tip that, in order to use a RISC¡OSá3
driver after using a RISC¡OSá2 driver such as LaserDirect, ArcLaser or
the Turbo drivers you should use the two * commands:
6.6
RMKill PDriver
6.6
RMReinit PDriver
6.6
Maurice Edmundson has pointed out that a convenient place to put these
commands is in the !Run file of !Printers before the first of the
RMEnsure commands.
6.6
Saving paper size settings
6.6
Acorn have advised that there is a fault in RISC¡OSá3.0 whereby, if you
alter the page sizes and save them, the new settings are not saved. The
work-around is to <shift-double-click> on !Printers then load the file
PaperRW into !Edit, manually change the settings then save the altered
file. This bug has been fixed in RISC¡OSá3.10.
6.6
First Word Plus driver for Deskjet 550C?
6.6
Can anyone supply a printer definition file (Barry Thompson asks)?
6.6
PC Emulator
6.6
John Birchenoughæs emulator, version 1.7, will only access the internal
drive A. Even when he makes the default drive B or C, the computer
insists on having a disc in drive A and then operates on the contents of
that drive. Also, it always asks for a disc to be inserted in B even
though it means A. He tried the patch supplied on the Support disc, but
that refused to work with a version higher than 1.6. He has also tried
changing his Config.sys file with variations of the Driver.sys and
Drivparm commands but to no effect. Can anyone help?
6.6
Is RISC¡OSá3 faster or slower?
6.6
Some think one, some the other! A number of people have commented that
the machine seems to take longer to redraw the desktop screen or to go
through its initialisation routine. Relying on memory, it is obviously
difficult to tell. Raymond Wright says Pipedream 3.1 appears to take
longer to get spreadsheets loaded. He finds that, initially, he gets a
screen full of zeros which are slowly replaced by real data. (I wonder
if this is because of the way he has got it set up? Robert Macmillan
from Colton said ù see Archive 6.3 p12 ù that all versions from 3.10 on
work better in RISC¡OSá3.) Raymond is sure that RISC¡OSá2 was quicker
but heæs not going to reinstall it just to find out.
6.6
Ken Gardner has, however, done just that. He did some controlled timings
before updating to RISC¡OSá3.10 and reverted back to RISC¡OSá2 to
confirm the anomaly that he found. The timings are as shown below
6.6
For the tests, ADFS buffers were set to zero for both RISC¡OSá2 and
RISC¡OSá3.10. When Ken changed ADFSBuffers to 2K the time to read the
serial file fell from 48 secs to 19 secs but the Multistore random
access read only dropped from 176 secs. to 170ásecs. This is a logical
result but it prompts Ken to ask why we have been instructed to set
ADFSBuffers to zero when this gives so much slower a result than in
RISC¡OSá2. Can anyone tell us for sure whether there is a bug or not?
(Is there a danger of losing data if the Buffers are set to a non-zero
value?) (Yes, but only on a 1Mb machine. In 3.11, this has been improved
over 3.10. Ed.)
6.6
Miscellaneous Hints & Tips
6.6
How to avoid continual disc swapping,
6.6
and more on !Scrap files
6.6
Philip Woodward recommends that, on a floppy-disc only system, if you
have several discs for different classes of work and include a !Scrap
file on each, donæt forget to click on the !Scrap icon when you insert a
new disc. If you do forget, you will find that whenever you load a
printer driver, or try to print a drawing, the operating system will ask
you to insert some other disc which has no apparent relevance.
6.6
Draw crashing
6.6
Philip Woodward finds, like a number of others, that Draw crashes quite
frequently reporting an öaddress exceptionò error. Does anyone know if
there is anything he can do to avoid this? The error message goes on to
say:
6.6
preserving files in <Wimp$ScrapDir>.Draw before exiting.
6.6
This means that !Draw will attempt to save the work-in-progress as a
file called Draw in the scrap directory. (If it is successful, you will
be able to retrieve the file by opening that directory and double-
clicking on the drawfile icon to run !Draw again and load the file in ù
after first making a backup copy of the file if it is important. To find
where the scrap directory is, press <ctrl-f12> to open a Task window and
type the command *Show Wimp$ScrapDir)
6.6
Positioning drawings imported into Draw
6.6
Philip Woodward has also found that, whereas in the RISC¡OSá2 version of
Draw, one could superimpose a previous drawing (e.g. one saved on a RAM
disc) in exactly the position it originally occupied in the window by
setting the grid lock on and dragging the file onto the new drawing and
positioning the pointer at the bottom left of the window, this no longer
works. The minimum bounding frame of the old drawing is placed with its
bottom left corner at the mouse position, regardless of the original
position in the old drawing. To reproduce the RISC¡OSá2 behaviour, you
have to put something, such as a dummy rectangle, at the bottom left
corner of the old drawingæs window.
6.6
Alarm options
6.6
Philip Woodward has pointed out that, if you include a line in your
!Boot file to set Alarm$Options, you must include % in front of each of
the -format parameters (see Applications Guide p137 for details). Also,
you must put the format string in quotes (which is not, perhaps,
emphasised sufficiently strongly in the Manual.) In both these respects,
it differs from Edit$Options, Draw$Options, etc.
6.6
To illustrate the point, consecutive lines in !Boot might read:
6.6
Set Alarm$Options -format ö%w3 %z12:%mi %m3 %zdyò
6.6
Set Edit$Options B12 M99 L1 D
6.6
To get the Alarm$Options to take effect, you also have to choose the
öUser definedò option in the Alarm setup window (choose the Setup...
option from the iconbar menu.) Itæs not clear from the manual but I
assume that the choice of this option is saved in the CMOS RAM so
doesnæt have to be included in the !Boot file. Itæs all a bit confusing,
isnæt it?
6.6
Arm3 hare and tortoise icons
6.6
I didnæt have enough time last month to try out G÷tz Kohlbergæs tip
(Archive 6.5 p33) about the hare and tortoise module. Now I have, and
Iæm totally confused! Whatever combination of commands I use, I seem to
be unable to get the machine to boot up with the cache on without the
hare and tortoise swapping jobs. One thought Iæve had is that I might
swap the names of the hare and tortoise icons inside the !Arm3.!Sprites
file. (Another thought is that perhaps youære meant to click on the hare
to get the machine to go faster, and that this never worked properly in
RISC¡OSá2!) Help!
6.6
Faster filer operations
6.6
If you click <menu> over a filer operation window (e.g. the window that
pops up when you copy files which keeps you informed of progress) and
choose öFasterò, screen update will be less frequent and the filer
operation will be faster. (Marc Evans)
6.6
Copying a large directory to floppy
6.6
If you run out of space when copying a directory or application to a
floppy, insert a new disc, rename it with the same name as the full disc
and click on öRetryò. (Marc Evans) (Someone else has already suggested
that but when I tried it, it said öambiguous filenameò. Ed.)
6.6
<Shift-select> on toggle size icon
6.6
If you click <shift-select> on the toggle size icon, the window will
open as far as it can without obscuring the icon bar. (Marc Evans) (This
seems to depend on the application. Draw windows behave as described,
but Impression windows donæt.)
6.6
False sprites on the Pinboard
6.6
Marc Evansæ Pinboard seems to get confused over icon sizes and sprites
under certain conditions. For instance, it sometimes makes icons three
times bigger and uses the wrong sprites. Tord Eriksson says that in mode
78 (from Computer Concepts NewModes?) some icons disappear, some hide
behind others and some appear twice; a single click on each one restores
peace, but should he have to? Has anyone else found this?
6.6
Configured modes
6.6
Marc Evans has found that *Configure Mode and *Configure Wimpmode seem
to be interlinked ù whatever one is configured to the other one follows.
He used to have Mode configured to 0 to save memory when outside the
Desktop, but canæt anymore.
6.6
Tord Eriksson had great problems until he discovered that you canæt
öconfigureò a non-standard mode. If you want to start up in, say, mode
78 from the Computer Concepts Newmodes module, you have to include in
your !Boot file first a command to load the NewModes module then a
*WimpMode 78 command.
6.6
Icon button types
6.6
A comment for WIMP programmers is that when icons have the double click
flag set, they invert at the first click and group with adjust (like
Filer icons). To get around this, your program must trap for any icon
clicked on and unset the selected bit. (Marc Evans)
6.6
Saving the configuration
6.6
Mike Williams finds that the configuration file saved by !Configure
doesnæt cover all the things he needs to restore after having attempted
to run a rogue program that changes the configuration. He has therefore
built himself a command file containing all the *Configure commands
required to get back to normal plus *RMReinit commands for all the
modules. He created it by doing
6.6
*Spool cfgfile
6.6
*Status
6.6
*ROMModules
6.6
*Spool
6.6
then editing the resulting file into the correct syntax and changing the
filetype to öCommandò. (The pukka way of creating such a file is not to
use the pre-RISC-OS *Spool command, but to press <ctrl-f12> to open a
Task window, type Status, <return>, ROMModules and <return>, then press
<menu>, choose the öUnlinkò option and save the contents of the Task
window.)
6.6
Several years ago, Risc User published a program called !CMOS_Edit which
allows easy saving and reloading of all the CMOS settings. This seems to
work fine.
6.6
Opening sub-menus automatically
6.6
Richard Hallas has noticed that, if you choose the öOpen submenus
automaticallyò configuration option, then if the pointer is resting to
the left of the öparentò menu item (in the space where a tick would
appear) when the submenu opens it appears on top of the parent menu
rather than to its right. Also, moving around a single menu with several
submenu pointers can have some peculiar effects: sometimes the submenu
pointers are ignored, and it is even possible to have two copies of the
same submenu open.
6.6
Preventing access to !Configure and !Alarm
6.6
Last month we gave the hint that you can prevent users from interfering
with the configuration by unplugging the !Configure module so that they
canæt access the !Configure application. In Acornæs education newsletter
Arc, there is a hint that you can do the same with !Alarm.
6.6
Opening a directory without booting
6.6
Richard Hallas reports that, if you open a directory with <ctrl> held
down to stop the Filer executing all the !Boot files inside the
applications within the directory, then copying, renaming or deleting
files will cause the directory to be booted unless you remember to press
<ctrl> again.
6.6
Also, if you open a directory with <ctrl> held down and then copy an
application out of it to another directory, then (assuming the Filer has
not already seen the !Sprites file for the application) a ö!Sprites not
foundò error will be reported. This doesnæt have any ill effects: itæs
just a nuisance.
6.6
Various Matters Arising
6.6
Screen blanker (Archive 6.4 p12)
6.6
Keith Raven has found (in p163 of the User Guide) that *Blanktime sets
the time (in seconds) before the screen goes blank. *Blanktime 0 turns
the screen blanker off. (What I would like to know is: does the
operating system provide any easy means of firing up a graphical routine
as an alternative to the blank screen?)
6.6
Shift key behaviour (Archive 6.5 p34)
6.6
John Woodgate suggests that the ú/ñ key may be acting as if it were
pressed as well as the <shift> key. He suggests cleaning with iso propyl
alcohol or proprietary switch cleaner. (For details on how to clean a
keyboard, see 5.1 p25. Ed.)
6.6
Solid sprite dragging (Archive 6.5 p36)
6.6
Barry Thompson writes that the way to turn this on is to use the *
command *FX162,28,3 (It seems really weird to me that a feature like
this, quite a selling point one would have thought, has been implemented
in such a half-hearted way!)
6.6
Spaces in *Set commands
6.6
Brian Fielding has found that whereas in RISC¡OSá2 you could use spaces
in *Set or *SetMacro, RISC¡OSá3.10 does not allow you to do so:
6.6
SET PipeDream$Path ADFS::Dream_ file.$.,<PipeDream$Dir>.
6.6
was permissible in RISC¡OSá2 but you must use
6.6
SET PipeDream$Path ADFS::Dream_ file.$.,<PipeDream$Dir>.
6.6
in RISC¡OSá3.10.
6.6
Locked directories in ROM/RAM podule
6.6
Brian Fielding also reports that if you create a New directory in
Computer Conceptæs ROM/RAM podule, it creates the directory with a lock.
This lock cannot be removed and the directory can never be deleted
except by re-initialising the Podule.Other problems occur when copying
files into directories on the Podule but these can be ÉSKIPedæ. He has
written to CC about this but they have no plans to alter the podule
software to work fully with RISC-OS3.ááA
6.6
Timings for various operations (RISC-OS 2 v RISC-OS 3.10)
6.6
6.6
RISC-OS 2 RISC-OS 3.10 relative
speed
6.6
(secs) (secs) RO3.1 : RO2
6.6
Read a serial file to a string array (50,000 items) 25.4
48.4 half as fast
6.6
Sort 50,000 strings (using Armsort) 8.0
8.0 same
6.6
load and sort a Multistore file (2,400 items):
6.6
load 166 176 slightly slower
6.6
sort 221 214 slightly faster
6.6
total 387 390 same
6.6
Print a Draw file (with 32Kb buffer in printer)
6.6
release computer 500 239
twice as fast
6.6
release printer 533 289
twice as fast
6.6
Mandelbrot (recalculate Clessidra) 90.3
90.5 same
6.6
Using RISC¡OSá3.1
6.7
Hugh Eagle
6.7
I know that RISC¡OSá3 has caused some problems, but to claim, as one of
my correspondents does, that the upgrade from RISC¡OSá2 to RISC¡OSá3 has
caused ömore incompatibilities than the upgrade from 8-bit to 32-bit
machinesò is taking things just a teeny bit too far. People will be
blaming Acorn for the performance of the England cricket team next!
6.7
I have recently set up an A4000 from scratch. It comes with the
operating system and the RISC¡OSá3 Apps already installed, and
everything is beautifully logical and straightforward. If you stick to
up-to-date software and use a standard printer in a straightforward way,
everything is perfectly simple to use. On the strength of this
experience, I have no doubt that, for new machines and new users,
RISC¡OSá3 is a considerable step forward. (The A4000 Home Office also
comes with a good wordprocessor, Easiwriter, and with the very easy-to-
use Desktop Database installed and ready to run. Itæs a very far cry
from my A310, which was configured to start up on the command line and
it took me two hours to find out how to get to the ödesktopò!)
6.7
As for us hardened upgraders, the question whether it was worth the
hassle is harder to answer. Perhaps Acorn should have waited until the
new operating system was more thoroughly tested before they released it,
but then they would have been criticised for keeping us waiting. Perhaps
they should have incorporated more radical improvements, but then the
incompatibility problems would doubtless have been far greater. In this
situation, they couldnæt win!
6.7
Anyhow, rather than complaining, we should direct our thoughts towards
the changes we would like to see next time round. I am accumulating a
number of suggestions for the RISC¡OSá4 wish list which I hope to come
back to in a future column; please let me know if you have any to add.
6.7
Enough of the waffle, and on with the business ...
6.7
I am afraid that, again, I havenæt had time or space to use all your
contributions. I will in due course. Many thanks for them all.
6.7
Printing
6.7
Paper X and Y offsets and margins
6.7
This subject seems to have caused a lot of confusion, not least, I
imagine, because there is no reference to the Paper X and Y offsets in
the manual. (These were added after RISC¡OSá3.0, I think, and seem to
postdate the manual, although they are mentioned briefly on page 20 of
the RISC¡OSá3.10 Release Note.)
6.7
Before I go any further, I feel I should point out that this is a
technical area that the vast majority of users (who are happy to use the
supplied drivers and page settings) never need bother about.
6.7
The following explanation is based on contributions from Bruce Brown and
Tom Hughes and on some of the Read_Me files inside !Printers. It is also
based mainly on experience with HP Laserjets, although most of the
principles should apply equally to most other printers. I hope I have
got it right ...
6.7
The purpose of the Paper X and Y Offsets is to tell the printer driver
which part of the paper the printer is physically capable of printing on
or, in other words, to define where the printer will print if it is told
to print at the top left corner of the paper. These are set via the
!PrintEdit application. The Top and Left Margins, by contrast, define in
which part of the paper the user wants graphics to be printed. These are
set via the Paper Size window in the !Printers application. (It is these
that determine where the grey border appears when you choose the öShow
paper limitsò or öShow print bordersò option in Draw, Impression, etc.)
6.7
When the printer driver is asked to start printing at the top left
corner of the area defined by the margins: (1) first a printer reset
code is sent, then (2) the start of job codes are sent to the printer,
(3) the printhead (or the imaginary cursor in the case of a laser
printer) is told to move to the top left of the printable area (which,
if the X and Y offsets have been properly defined for the particular
printer, will be the same as the place which they define ù i.e. point A
in the diagram below), (4)áthe printhead will then be moved down by
(TopámargináÖáYáoffset) and towards the right by
(LeftámargináÖáXáoffset) to point B, (5) the page will be printed.
6.7
If either of the margins has been incorrectly defined to be less than
the equivalent offset, i.e. so that the formula in (4) gives a negative
result, it will be ignored and the cursor will not be moved at all in
that direction.
6.7
How do you find out what the X and Y offsets should be? If itæs not
clear from your printer manual, the file called TopLeft in the Printers
directory on Applications disc 2 (together with the instructions in the
Read_Me file) might help. Alternatively, you could try deliberately
setting X and Y greater than the margins, so that the cursor movement in
(4) defaults to zero (as explained) and the top left of the image will
be printed at the default printhead position.
6.7
Under RISC¡OSá2 only the ömarginsò could be defined and, for practical
purposes, these had to be set to match the physically printable area.
One of the advantages of the new approach is that if you only want to
print on a small part of the page you can set very wide margins and the
printer driver wonæt waste time trying to print nothing (i.e. lots of
white space) in the unused area.
6.7
According to Archive 6.5 p37, Paul Skirrow has suggested setting
negative offsets to force the printer to start printing near the middle
of the page when, for instance, printing labels. Arithmetically this
will achieve the right effect, but not in the intended way! What you are
supposed to do is leave the X and Y offsets unchanged and increase the
margins.
6.7
What will happen if you try to set the margins to less than the paper
offsets? Bruce Brown says you must not do so, because this will cause
the driver to send more data to the printer than it can handle on one
page. The Printers.Read_Me file says that if you do, and if you then try
to print something right up to the top left of the margins, the image on
the paper will be shifted down and to the right of where it is supposed
to be, since you have tried to get the printer to print on the section
of the paper that it physically cannot print on.
6.7
The Printers.Read_Me file also notes that the paper offsets can be
negative. Apparently, the natural print position of some printers is
above the top and/or to the left of the top corner of the paper.
6.7
Contrary to what has been said in this column before, you can apparently
set the X and Y offsets to zero.
6.7
Owen Smith says: öYou may be caught out by the way !PrintEdit stores the
paper offsets. Having changed the offsets in the main window, you then
have to open up every graphics resolution one by one and click OK in
each of them and then save the new printer definition file. This is
because the paper offsets are stored in the per graphics resolution data
(in pixels) and the graphics resolution data is encoded when OK is
clicked in the graphics window.ò
6.7
Background printing
6.7
It doesnæt work ù and thatæs official!... Iæve been sent a copy of a
Technical Information news sheet from Acorn, which says: öThe printer
buffer module supplied as part of RISC¡OSá3 does not work correctly.
Even though the buffer has been configured to a large size, e.g. 2
Mbytes, the buffer module waits for the printer to complete its print
job before returning control to the user. Acorn is currently looking
into this problem and details will be made available if a fix is
produced.ò
6.7
Jochen Konietzko, however, wonders what all the fuss is about. He
writes: öOn my machine, an A410/1 (ARM 3), with the Ace ProDriver and
the HP DeskJet 500C, there is no problem at all! All I have to do is
configure a sufficiently large printer buffer. Iæve just tried it again
and, with a buffer of 1Mb, I can work in a database with just a slight
reduction in speed.ò
6.7
The only reason I donæt use this option is that, unlike the font cache,
it is not possible to drag the task manager slider for the system heap/
stack below the limit set by the configuration of the buffer, so that
the memory is lost completely until a reset.
6.7
My standard setting for the printer buffer is 128 Kb, because that does
not slow printing down (with a 1024 Kb buffer, printing takes about 25%
longer than at 4 Kb, even if I donæt touch the keyboard at all) and yet
I have a kind of öemergency multitaskingò; at least, when I decide to
cancel an Impression printout, the button responds almost instantly.
6.7
If I have to print several copies of a text, the print from a file is
better, anyway, because then the printer doesnæt try to hog all
available RAM.ò
6.7
Perhaps the reason he has no problems is that the Ace ProDriver doesnæt
use the Acorn buffer module.
6.7
LaserDirect and TurboDrivers
6.7
Computer Concepts say that version 2.09b is now available as a free
upgrade to registered owners, as an interim measure. This fixes a few
minor problems (e.g. the patterning effects and the problems with
sprites with palettes attached) but is not a full RISC¡OSá3 version. öCC
have a team working on the printer drivers but the amount of work
involved should not be underestimated ù itæs going to take a couple of
months yet.ò (This was written on 11th February.)
6.7
Printer driver space requirement
6.7
Acorn advises that you can reduce the amount of disc space taken up by
!Printers by removing (if you have a dot matrix printer) the following
directories from within the !Printers directory: lj, ps and PDumpers.
6.7
Checking if a printer is online
6.7
Acorn also warns of a problem that sometimes affects programs originally
written for the BBC micro. If these use the command ADVAL(-4) to check
if a printer is on- or off-line, this can cause the computer to crash
because the program will not be able to understand the information
returned by the command.
6.7
Problems with VDU2 printing
6.7
Roger Power has used a Basic program for years, which now refuses to
print, causing the computer to hang as if the printer had not been
switched on. The program just has a VDU2 command to cause the screen
output to be sent to the printer and doesnæt use any printer driver. (I
wonder if this problem might be connected to the one mentioned in the
previous paragraph?)
6.7
He then successfully printed a listing from Basic, using <Ctrl-B>, but
when he entered the command:
6.7
VDU2:PRINT TAB(10,5)öArchiveò :VDU3
6.7
the word öArchiveò was printed on the next line down in the first
column. In other words, the TAB was ignored.
6.7
He has an HP Deskjet 500C. (He normally uses a ProDriver and has no
problems with that.)
6.7
Richard Torrens uses Calligraphæs ArcLaser so doesnæt have a RISC¡OSá3
driver installed. He also has a Basic program which uses VDU2 and worked
OK under RISC¡OSá2, but now gives an error. He says the solution is to
type
6.7
Unset PrinterType$1
6.7
before entering the program (which doesnæt run in the desktop) and reset
on exit from the program.
6.7
1st Word Plus driver for Deskjet 550C
6.7
Barry Thompson has an answer from Acorn to the question he posed last
month: since the Acorn JP150 printer is an HP Deskjet compatible, use
the 1st Word Plus driver supplied on the JP150 support disc. This driver
also works with Laserjets. This driver supports all the printing effects
from 1st Word Plus but will not support the printing of graphics.
6.7
Programs That Work
6.7
The following programs have been reported as working without any
problems:
6.7
Fun School 4 (Under 5æs) ù a new version works with RISC¡OSá3
6.7
Manchester United Europe (Peter Youngæs son thinks the football plays
faster)
6.7
Intersheet II
6.7
Wordwise A Plus
6.7
Mah Jong, The Game (the latest version ù but Peter Young found that it
needed deleting from his hard disc and reloading before it would accept
keyboard input)
6.7
Hard Disc Companion from Risc Developments (but Peter Young has found it
to be much slower)
6.7
Thesaurus from Risc Developments
6.7
Chess, CrossStar and Spell from David Pilling.
6.7
It is interesting to observe that all but two of the programs that
Frances Obee asked about (Archive 6.5 p25) have been reported as working
fine. Of the other two: some problems with Atelier were mentioned last
month but I imagine that the publishers of a leading program such as
this must be able to supply a fix if one is needed; and Prime Art hasnæt
been mentioned at all and I imagine no news is good news.
6.7
Dave Wilcox has sent in a huge list of games that work, which serves to
illustrate two points: first, that most programs do work and second,
that lists of this kind are likely to lead to contradictions since he
reports some programs as working which have previously been reported as
giving trouble.
6.7
Rob Brown has begun compiling a database showing which programs work
(showing version numbers) and reporting compatibility problems that he
is aware of. So far, he has only included programs that he is familiar
with, and already the list is far too long to include in the magazine so
Paul is going to include it on the monthly magazine disc. If you have
anything to add to his database, his address is öValtaneeò, Brighton
Road, Lower Kingswood, Tadworth, Surrey, KT20 6UP.
6.7
Program Problems
6.7
David Holden has offered a couple of tips which may help you to get
programs working, especially demos Ö which seem to be the biggest
offenders.
6.7
Many demos speed up the system ROMs so that they can run faster. If itæs
a Basic demo, try looking for:
6.7
SYS öUpdate_MemCò,64,64
6.7
If you find it, either remove it or ÉREMæ it out. This call wonæt work
with RISC-OS 3 and will make the computer hang. Symptoms are a complete
lock-up Ö even the mouse pointer wonæt move.
6.7
Another is that the old minimum abbreviation for *CHANNELVOICE was
É*CHA.æ and for *BASIC É*BA.æ. These no longer work and require more
letters to be properly identified. There is a utility on one of the
RISC-OS 3 Applications discs which is supposed to cure these problems
but his experience is that this doesnæt always work, so you might need
to actually change the program.
6.7
David adds that RISC-OS 3 is also less tolerant of sloppy disc
identifiers, so filenames should always have a full filing system/path
name.
6.7
He also says that many programs give problems when Acornæs !Alarm
application is running. This seems to be denied by everyone at Acorn but
it is a fact that he has verified for himself. This applies to a lot of
commercial software as well, so it isnæt just a PD problem but something
that !Alarm is doing. If you normally use !Alarm then try again without
it. If that solves the problem there are plenty of PD equivalents.
6.7
David also points out that many PD programs appear to be written in
machine code because, when you look in the application directory, you
see the ÉApplication Codeæ icon instead of a ÉBasic Codeæ icon. However,
these programs are quite often not written in machine code or a compiled
language but have been disguised by a PD utility and are in fact Basic.
This doesnæt matter unless you want to make one of the changes described
above.
6.7
To restore this type of code to normal Basic, first load it into Edit.
If you have RISC-OS 3 Edit, you just need to hold down SHIFT and double-
click on the program icon to do this, if not you will need to drag the
program icon to the Edit icon. Donæt do anything to the original, but
work on a backup copy in case anything goes wrong. Now look at the first
line of the program. If it is disguised Basic, you will see the words
ÉBasic -quitæ somewhere in this line. To change it back to normal Basic,
look for the first [0d] in the file Ö this will normally be at the end
of the first line. Delete everything up to but not including the [0d] so
that it becomes the first character in the file. Now re-save the file
and change its filetype to Basic (&FFB). If you now try reloading the
program into Edit (assuming you have the RISC-OS 3 version) you should
find that you have a normal Basic program to which you can make the
required changes.
6.7
One cause of compatibility problems that I have found is that !SparkFS
is, by default, configured to use the system sprite area for workspace.
Some older programs expect to have this all to themselves. In these
cases, a simple *SNEW command can help to get the program running.
(Obviously you must first make sure that SparkFS has saved any work-in-
progress!)
6.7
Dave Wilcox writes: öThis is probably stating the obvious but, if you
have a hard disc system and normally boot up on the hard disc, it may
help to get games working properly if you configure the machine to Drive
0 instead of the Hard Disc and press <reset>. Also, before starting to
play a game, it is a good practice to open the drive holding the !System
directory, so that it enters the !System path into memory. Also, with
some games, it may be necessary to switch off the cache for ARM 3.ò
6.7
Dave Wilcox also says that the following will NOT work under RISC-OS
3.10:
6.7
Powerband Mk2 (4th Dimension)
6.7
Saloon Cars (4th Dimension)
6.7
Rotor (Arcana)
6.7
Fireball (C.I.S.)
6.7
Interdictor I (ver 1.01) (Clares)
6.7
Corruption (Magic Scrolls)
6.7
Thundermonk (Minerva)
6.7
Ibix the Viking (Minerva)
6.7
Brain Drain (Minerva)
6.7
Grid Lock (Minerva)
6.7
Freddyæs Folly (Minerva)
6.7
Superior Golf & Const. Set (Superior
Software)
6.7
Filing Systems
6.7
No floppy or hard drive icons?
6.7
Acorn advise: first of all, check that you have the correct number of
drives configured! Secondly, newer machines (A5000 onwards), on startup,
check to ensure that the configured drives are connected and if a drive
is not connected properly its icon may not be displayed Ö so check the
cable connections to the floppy drive.
6.7
ICS IDE hard drive
6.7
David Shepherdson found that, after he upgraded his A3000, his hard
drive didnæt work. Baildon Electronics, who are the service centre for
ICS, quickly fixed it. He adds, öIn fact, as I also have a Calligraph
Laser Podule fitted, this also messed up my hard disc and Baildon fixed
that as well.ò
6.7
Watford 5╝ö interface
6.7
Gordon Lindsay-Jones wrote to Watford (as Paul Beverley suggested) about
his problems with their buffer and has had no reply. He has come to the
conclusion that it does not work with RISC¡OSá3.10! Can any readers help
by telling him which buffer(s) do work, please?
6.7
SCSI filer
6.7
Seßn Kelly has discovered that his tip (Archive 6.5 p27) does not always
work. He writes: öPlease allow me to apologise and to explain a proper
way to make the free space window work with SCSIFS.
6.7
öOriginally, I advised adding a command to load the new SCSIFiler module
to the desktop boot file. This did work, but only Ö I have since
discovered Ö because my desktop boot file was also creating a RAMFS
disc. This forced the initialisation of the replacement module.ò He
suggests that the answer is to split the boot process into two stages so
that the SCSI filer is initialised before the desktop is entered. (Tim
Nicholson confirms this.)
6.7
To do this first, rename the existing !Boot file as Deskboot, say, and
create an application directory called !Boot in the root directory and
move the Deskboot file into it. Then create an obey file called !Run
inside !Boot containing the following commands:
6.7
RMLoad SCSI::4.$.!System.
6.7
Modules.SCSIFiler
6.7
Desktop -file <obey$Dir>. Deskboot
6.7
(replacing 4 by the appropriate disc name).
6.7
If you want to smarten up the appearance of the !Boot application, you
can copy the sprites file_fea and small_fea from Resources:$.Wimp.
Sprites into a !Sprites file inside !Boot and rename the sprites !boot
and sm!boot.
6.7
The above is the approach which is also recommended on page 16 of the
RISC¡OSá3.10 Release Note. An alternative way of achieving the same end
is (1) to rename the existing !Boot file (the one that contains all the
Filer_Boot and Filer_Run commands, etc) DeskBoot, say, (2) to copy it to
a safe place like the !System directory, (3) to create a new !Boot file
in the root directory, (4) to move into this new file the command to
RMLoad the SCSIFiler module and to add the command:
6.7
*Desktop -file SCSI::4.$.!System.DeskBoot
6.7
(replacing 4 by the appropriate disc name). To my mind, this way is
simpler because it avoids the necessity for creating sprite files,
renaming sprites, etc.
6.7
The $.!Boot.!Run file (under the Kelly/Acorn approach) or the !Boot file
(under mine) can now also be used to load or initialise all sorts of
things before the desktop is started Ö e.g. extra mode modules, virus
protection, ROM speed up programs, etc.
6.7
Miscellaneous Hints & Tips
6.7
Newlines in !Run files
6.7
P N Cousins says that if there is more than one linefeed at the end of
the !Run file of an application, if he tries öto use the menu button on
the iconò the machine locks up. I presume that he means that, if you
choose the Quit option on the iconbar menu, the application wonæt quit.
This is something that I have noticed from time to time. (Invariably,
when it has happened to me, simply pressing <escape> has put things to
rights.) However, I have tried adding newlines galore to the ends of
!Run files without being able to repeat the phenomenon. Can anyone tell
us what is happening?
6.7
On page 16 of the RISC¡OSá3.10 Release Note there is a cryptic
instruction that you should not enter any newlines after the second line
in a particular two-line !Run file. I wonder if this is connected.
6.7
Ian Hamilton says that, according to Acorn, Obey files with blank lines
aggravate what he calls a bug which can cause applications not to return
from their Obey files. He suspects that this may be the cause of the
problem that was blamed on Compression in Archive 6.5 p28.
6.7
Newlines at the end of !Boot files
6.7
P N Cousins also says that you must have a newline at the end of a !Boot
file or else the last line will be ignored. So, if you find that an
application which ought to be run by your !Boot file but isnæt, this
might be the answer.
6.7
Hiding the Apps in Resources
6.7
We have mentioned in a previous month that you can hide !Configure and
other ROM-based applications from prying eyes by typing *Unplug
!Configure (or whatever). Acorn advise that, if you do not want users to
see the Resources filing system, you can remove it from the iconbar by:
6.7
*Unplug ResourceFiler
6.7
Setting up an application
6.7
Tim Powys-Lybbe offers the following hints based on how he sets up
applications (using Impression as an example).
6.7
The technique I use is to construct an outer directory to hold (a) the
filer of work for the application and into which outer directory I also
place (b) the application as delivered from the supplier. I copy (c) the
!Sprite file from the application, give the outer directory the same
name as the application and make the !Run file do various things
including opening up the directory of working documents, the application
itself and then back up the working documents on exiting the
application. The !Boot file is more or less copied from the application
though you do need to choose a different system variable name for this
outer directory. (I just add Top to the applicationæs system variable
name for its directory.)
6.7
I have had several problems getting this working on RISC-OS 3, though
the end result is far better as I now have control over where the
directories open on the desktop and I get a nice clean view of the
Impression start-up picture.
6.7
1. Extension of Filer_OpenDir command
6.7
This command, which opens up a directory on the desktop, otherwise known
to Acorn as a filer, has been extended in RISC-OS 3 to allow you to
decide both where you want to place the filer on the desktop and how
large it is to be (the user guide gives details). For example, in the
!Run file, to open up Impression:
6.7
Filer_OpenDir <ImpressTop$Dir>. Templates 1000 700
6.7
This places the Templates filer with its top left at 1000 OS units
across the desktop from the left and 700 OS units up from the base line.
Acorn define 180 OS units as 1 inch on the screen though this must
presumably depend on the size of the monitor. You will have to
experiment with values for the directory position to get it where you
want on your desktop.
6.7
You can add information about the width and height of the directory by
adding two more numbers:
6.7
Filer_OpenDir <ImpressTop$Dir>. Templates 1000 700 1200 130
6.7
The third number is the width of the directory and the fourth number is
its height. In mode 39, 130 OS units high just accommodates a single row
of the large icon size. (Isnæt the height of an icon, in screen units,
mode-independent?)
6.7
2. Opening an ArcFS directory
6.7
I have had some correspondence with Mark Smith, the ever-helpful author
of this excellent package, and have at last found how to make ArcFS
directories open up from within the !Run file. It is done in two stages,
first:
6.7
OpenArchive <ImpressTop$Dir>. Documents
6.7
Documents is the name of an ArcFS archive that is stored within the
Impression outer directory. Note that ArcFS should already be on the
iconbar for this Open_Archive command to work as it is an ArcFS module
command; you can of course start up ArcFS from within this same !Run
file.
6.7
The second command is:
6.7
Filer_OpenDir ArcFS#Documents:$ 600 1400 1800 260
6.7
The syntax is fairly obvious if you look at the top of the directory for
your archive once it is open!
6.7
3. Backing up to a floppy
6.7
I have a little application tagged on to the end of the Impression !Run
file to cause a back up of the Documents archive after exiting
Impression (or any other application I hasten to add). With RISC-OS 2 it
would work with:
6.7
*COPY <ImpressTop$Dir>.Docu-
6.7
ments :0.Documents
6.7
In RISC-OS 3 this produces an error and one must use instead:
6.7
*COPY <ImpressTop$Dir>.Docu-
6.7
ments ADFS::0.Documents
6.7
Setting up Pinboard without a hard disc
6.7
Brian Fielding has developed an interesting use of the Pinboard, which
he says is especially useful for those without a hard disc:
6.7
After Éplayingæ with RISC-OS 3 for a few days and realising some of the
benefits of the PinBoard, which are obviously more beneficial if you
have a Hard Disc, I worked out a mechanism to fully utilise the PinBoard
so that, when the system was first booted, it would contain all the
applications I would want to access.
6.7
The mechanism described below will display the Applications and when an
icon is double-clicked the appropriate disc will be requested and the
application will be loaded.
6.7
This should be read in conjunction with Chapter 7 of the RISC-OS 3 User
Guide, öDesktop Boot Filesò.
6.7
Setting up pseudo-applications
6.7
For each application you wish pinned to or loaded onto your pinboard,
set up a pseudo-application as follows:
6.7
Copy the application, say !AppName, to an empty disc and, using <shift>
and double-click <select>, display the contents of the application.
6.7
Delete all files and directories except !Boot, !Run and !Sprites.
6.7
Edit !Boot to contain the four lines, in the order given:
6.7
IconSprites <Obey$Dir>.!Sprites
6.7
Set AppName$Dir ADFS::DiscName. $.!AppName
6.7
Set Alias$@RunType_fff Run <AppName$Dir>.!Run %%*0
6.7
Set File$Type_fff FileName
6.7
AppName is the name of your application e.g. PipeDream
6.7
DiscName is the name of the disc containing the original application.
6.7
fff is the applicationæs FileType. (This line should be present in the
original !boot file. There may be other Alias$@RunType_fff lines and
these should also be left.)
6.7
FileName is the Filetype name, e.g. PDream. (This is not essential.
Again there may be others and should be left if desired.)
6.7
Note: <Obey$Dir> must only be used as a pathname to !Sprites. The full
pathname to the original Application must be established, including the
disc name.
6.7
Edit !Run to contain (or create an Obey file):
6.7
Run <AppName$Dir>.!Run
6.7
Do not alter !Sprites. Copy !AppName to your Desktop Boot Disc. Add the
following lines to the !Boot file on your Desktop Boot Disc
ÉDskTopBootæ. (See note below if using a RAM disc.):
6.7
Filer_Boot ADFS::DskTopBoot.$. !AppName
6.7
Pin ADFS::DskTopBoot.$.!AppName 100 300
6.7
100 300 represents the position on the PinBoard. With the origin at the
bottom left of your screen, this represents 100 units to the right and
300 units up. Your next application should be placed at 300 300. You
can, of course, pin your applications anywhere on the board.
6.7
If you wish your application to be ready for use, use ÉRun ...æ instead
of ÉPin ...æ.
6.7
RAM disc available
6.7
Unfortunately, the above will require you to load the Boot disc each
time you load any application.
6.7
If you have sufficient space available in memory, create a RAM disc of
at least 64Kb. You need, on average, 7 Kb per application.
6.7
Prepare as above but copy your pseudo-applications to a directory, say,
PseudoApps, on your Boot Disc.
6.7
You will then need to modify your !Boot file as follows:
6.7
Ensure you have a large enough RAM disc.
6.7
Change DynamicArea -RamFsSize 64K.
6.7
Add the line
6.7
COPY ADFS::DskTopBoot.$. PseudoApps.* RAM::RamDisc0. $.* ~CQR~V
6.7
Modify both the Filer_Boot and the Pin (or Run) lines from
ÉADFS::DskTopBootæ to read ÉRAM::RamDisc0æ.
6.7
Notes
6.7
Ensure that you have configured the system to boot from Disc by loading
your Boot disc and executing *Opt4,2 in command line mode.
6.7
Some applications, e.g. Lemmings, are set up to delete RAM disc on
startup and tidy up when QUITed, e.g. UnSet Directories. These should be
altered:
6.7
For Lemmings, the file !Lemmings.!Run should add | at the start of the
line TequeMen and Unset Lem$Dir.
6.7
If memory is a problem, the amount of RAM space can be reduced by adding
a line Delete RAM::RamDisc0.!AppName.!Sprites after the corresponding
Filer_Boot line. This will approximately halve the required space.
6.7
If you have sufficient RAM disc space, it would be helpful to place
!Scrap in it.
6.7
ROM/RAM podule available
6.7
If you have a ROM/RAM podule, with battery backup, then setting up the
pseudo-applications onto the RAM will make application selection much
more user-friendly.
6.7
If you have a ROM/RAM podule, make this your Boot system. Simply follow
the above but change ÉADFS::DskTopBoot.æ to ÉRFS:æ and remember, in
Command Line mode, to:
6.7
*Configure FileSystem RFS
6.7
*RFS
6.7
*OPT4,2
6.7
*ADFS
6.7
Examples
6.7
The monthly program disc has examples for disc, RAMDisc and for the ROM/
RAM podule.
6.7
Matters Arising
6.7
Backing up in one pass (Archive 6.5 p36)
6.7
Put the following command in your !Boot file:
6.7
Wimpslot -next 800K
6.7
Solid sprite dragging (Archive 6.6 p61)
6.7
(This gets even more bizarre!) Would you believe that, to turn sprite
dragging off, your new friendly operating system requires you to issue
the following commands?
6.7
SYS öOS_Byteò,161,28 TO ,,R2
6.7
R2=R2 AND 253
6.7
SYS öOS_Byteò,162,28,R2
6.7
(Thanks to David Shepherdson for that!)
6.7
!CMOS_Edit: WARNING!
6.7
Bruce Brown warns that, although !CMOS_Edit can be used as I mentioned
last month (Archive 6.6 p60) to save, load and view the CMOS RAM
effectively, if you use the Edit and Update feature, you will be in
trouble. This is because Acorn have now implemented the (previously
reserved) checksum byte at the end of the CMOS RAM. When you öUpdateò,
!CMOS_Edit will overwrite the correct value with the old incorrect
value. Since the checksum routine is relative, it will then always be
wrong until the power on/delete routine is performed. Until then,
whenever you startup, the operating system will find that the checksum
is wrong and will use default settings rather than those stored in the
CMOS.
6.7
!CMOS_Edit is easily fixed to overcome this: look in the !RunImage
(Basic) file for the loop which writes the values to CMOS RAM and change
the loop counter from 0áTOá239 to 0áTOá238. Leave the loops for saving
and loading alone Ö they obviously must load and save everything as
previously.ááA
6.7
Hints and Tips
6.7
Å Configuring the main Edit window Ö The RISC-OSá3 version of Edit makes
no provision for preferences concerning the size and the place on the
screen of a newly opened Edit window.
6.7
However, this can easily be rectified. If you run Edit from your hard
disc, the Templates file can be edited according to taste. The nice
thing is that, even from the hard disc, Edit still occupies the same RAM
space (64 Kb on a 4 Mb machine).
6.7
Here is what you do: drag the Edit application from the Apps directory
to your hard disc, click <menu> on the Apps icon, then <select> to open
the root directory, open the Resources directory and copy the three
files inside the Edit subdirectory into your new Edit application. (For
Acorn newcomers, you open an application directory by double clicking
while holding down <shift>.)
6.7
Then drag the Templates file on to the iconbar icon of FormEd (an
application available from N.C.S. on Sharewareá20) and drag the Text
window (the one which is filled with a web of diagonal lines) into the
desired position. Save the edited Template file.
6.7
If you always use Edit, donæt forget to change your configuration so
that, after power-on, the correct version of Edit is loaded.
6.7
Jochen Konietzko, K÷ln, Germany
6.7
Å Faxpack Ö Did you know that if you manually dial 0336Ö400Ö445 and
then, at the prompt, select ÉReceive Faxæ, you will receive a 24 Hour
Surface Forecast Chart from The Met. Office. It is very useful if you
want to know what the weather is going to do. Dial 0336Ö400Ö401 for the
Marine Index Page of all the forecasts and charts that are available.
Although it is a bit expensive (calls are charged at 36p per minute
cheap rate and 48p per minute at all others times) I find them
invaluable. This only works with FaxPack v2.00 Ö with earlier versions,
it causes öA Line Error occurredò fault. Steve Monks, Tobermory.ááA
6.7
Using RISCáOSá3.10
6.8
Hugh Eagle
6.8
Encouragement for the faint-hearted!
6.8
Peter Young says that he is not only electronically illiterate but also
notoriously clumsy and so he left fitting the upgrade for over three
months. When he finally did dare to do it, he found it a lot easier than
he had dreaded Ö he broke nothing and it all worked first time. The only
worrying bit was changing the links, because the diagram was not clear
but a quick call to the suppliers (Beebug) soon put him right. So his
advice for others is: donæt be scared!
6.8
RISC OSá3.11
6.8
Newer machines and upgrades are now being shipped with version 3.11 of
the operating system. Barry Thompson says that this clears up a NetUtils
problem which occurs when computers equipped with RISCáOSá3.10 are used
on a network. The problem was that if you opened or extended a file
longer than 64Kb, anything beyond 64Kb was filled with null characters.
Existing network users can obtain a module (NetUtils) from their local
Acorn dealer.
6.8
Comparing the 3.11 and 3.10 Release Notes, the only other differences I
could find were the following brief notes:
6.8
Å DOS partition size ù DOSFS cannot be used with DOS partitions of 32Mb
or larger.
6.8
Å Acorn Lisp ù you must issue a *FXá13,11 command before loading Acorn
LISP.
6.8
Å Inspiration ù versions of Inspiration up to 1.03 will not run with
RISCáOSá3.10 or later.
6.8
(I gather that 3.11 also improves the situation with the ADFSbuffers
problem. On a 1Mb machine with 3.10, you are still advised to set
ADFSbuffers to 0. This is no longer necessary with 3.11. Ed.)
6.8
Programs that work
6.8
Mah Jong, The Game: Peter Young reports that the problem he mentioned
last month was caused by an inappropriate *FX call which he had inserted
in the !Run file ù so there seems to be nothing wrong with Mah Jong
itself.
6.8
Hard Disc Companion: Peter Young says that setting an IDEFS cache (see
below) has speeded this up considerably.
6.8
Ovation: In Archive 6.3 p14, we reported a problem with the printing of
indented lines from Ovation. Ken Cowap has now received a new version of
the program (version 1.37S) which, amongst other things, specifically
cures this particular problem. He says the problem turned out to be due
not to Ovation but to the RISCáOSá3 printer drivers. Although Acorn
acknowledged this, they saw no immediate possibility of a fix, and Risc
Developments very commendably undertook to rewrite part of Ovation.
6.8
Program problems
6.8
Aldebaran: Atle Mjelde Bσrdholt says that you must quit all application
tasks first (enter the Task display and Quit all tasks including
Pinboard), then run the game and it will install itself on the iconbar.
He says another solution is to exit the desktop and then type
*!Aldebaran at the command prompt. (Surely, Aldebaran is one of the most
recent games. Can it be true that it doesnæt run from the desktop?)
6.8
Atle Mjelde Bσrdholt also says that old Minerva games generally
reconfigure your machine. To avoid this, skip the !Boot file and click
on the next file in the sequence (e.g. in Hoverbod BS1 and in Missile
Control Title).
6.8
Ralph Gibbons finds that Break147 doesnæt work and would like to know if
there is a fix.
6.8
Mike Cook of Musbury Consultants repeats the point made by David Holden
last month: one reason older programs may not work is that the
abbreviations for some * commands have changed (e.g. *CHA. used to be
*ChannelVoice but is now *ChangeDynamicArea). Running the Obey file
Commands on the RISCáOSá3 support disc is supposed to help but if that
doesnæt, he suggests editing the program. This affects the PD sample
player !DSedit and his own !Sample.
6.8
Mike Cook also says that another change in the new operating system
resulted in the sampling part of his software not working. This also
affected the real time sound manipulator !Echo and the !Scope storage
oscilloscope. Any readers with the original programs can send him a disc
for a free upgrade. His address is 5áHelmshoreáRoad, Haslingden,
Rossendale, Lancashire, BB4á4BG.
6.8
Last month, we listed Powerband and Saloon Cars as not working. Rob
Brown says that Fourth Dimension can supply RISCáOSá3 compatible
replacements (for ú2 per program, he thinks).
6.8
Donæt forget that Rob Brown would welcome any contributions to his
compatibility chart, periodic updates of which will be included on the
Archive monthly program disc. His address is öValtaneeò, BrightonáRoad,
LoweráKingswood, Tadworth, Surrey, KT20á6UP.
6.8
Printing
6.8
öVDU 2ò printing
6.8
David Holden says that, although VDU 2 printing still works with
RISCáOSá3, it appears to monopolise the computer until printing is
finished. He has noticed that a couple of his programs that used to
multi-task, no longer do so and BBC emulator programs take a lot longer
to return control to the operator, even if using a printer buffer.
6.8
Printer buffering
6.8
Are the points in the previous paragraph perhaps connected to the non-
functioning of the RISCáOSá3 printer buffer mentioned last month? Or are
there further problems? Has anyone got a fix for it or them? The
questions seem endless!
6.8
Ralph Gibbons used to find a printer buffer routine (written by Anton
Calver and on Careware 5 & 7) very useful under RISCáOSá2. Does Anton
read Archive? Has he updated his routine to run under RISCáOSá3?
6.8
BJ330
6.8
In answer to Tord Erikssonæs plea (Archive 6.6 p56), Brian Cocksedge
recommends the Computer Concepts Turbo Driver (ú53 through Archive).
This produces much quicker printouts. The printer should be set to IBM
emulation (he understands this gives a better quality printout). The
stripes in graphics areas are a feature of the BJ printers due to minor
mechanical errors in the feed mechanism and the momentum of the print
head.
6.8
To print A3, as well as setting the paper size in the printer
preferences window, you have to tell the printer the size. Brian does
this by sending öEsc,C,99ò to the printer via a small Obey file
containing the commands:
6.8
*FX 138,27
6.8
*FX 138,67
6.8
*FX 138,99
6.8
LaserDirect
6.8
Steve Hutchinson experienced the same spurious lines that Roger King
reported in Archive 6.5 p31. He was told by CC that this was due to the
LaserDirect card not being happy in its podule slot. Rearranging podules
solved it for him.
6.8
Photocopying via LaserDirect
6.8
Tim Powys-Lybbe received version 2.09b of the LaserDirect software,
which cleared up the problems with print quality. However, his scanner
will now not do a photocopy at all, reporting (even with 3 Mb free) that
there is not enough free memory to do a photocopy. If he reverts to
version 2.05a, photocopying continues to work fine.
6.8
Disc drives
6.8
Speeding up an IDE drive
6.8
After he upgraded to RISCáOSá3, Peter Young initially found his IDE
drive (with a Beebug interface) to be very slow but eventually
discovered that setting an IDE cache speeded things up considerably. The
command to set it is:
6.8
*Configure IDEFSDirCache 16k
6.8
Before he created the cache, Peter was getting strange messages like dir
ö@ò not found when he specified directories at the command line with
references like $.xxx... rather than IDEFS:: IDEDisc4.$.xxx.... Since he
is now religiously using full pathnames, he doesnæt know whether
creating the cache might have solved the problem.
6.8
Peter says he still doesnæt really know whether what he wants is a cache
or a buffer. Can anyone throw any light on exactly what they do and what
the optimum sizes are for each in different circumstances? (Since
configuration options are provided, presumably one is expected to use
them, but when and how?)
6.8
SCSI discs
6.8
Andrew Shell encountered the same problems as Philip Lardner (Archive
6.6 p56) with copying, moving or deleting files to, from, or in the root
directory. By resetting his configuration so that *Status reads:
6.8
SCSIFSDirCache 16k
6.8
SCSFSdisks 1
6.8
SCSIFSDrive 4
6.8
File System SCSI
6.8
(and using !Configure to set öSCSI hard discsò toá1) he thought he had
solved the problem. All now seems to work correctly so far as saving,
copying and deleting are concerned. However, when he tried the Find
command on the !FONTS directory he got a sequence of finds reading
ö...!Boot.!FONTSò, ö...!Boot.!FONTS.!FONTSò, ... ,
ö.....!FONTS.!FONTS,!FONTSò, etc. He also had a similar problem with the
Stamp command. Does anyone have any solutions?
6.8
SCSIFiler and Set Alias$Free
6.8
Following the hints in past months involving these, P. N. Cousins would
like to know: what is the SCSIFiler module for and how does the Set
Alias$Free hint (Archive 6.5 p27) work?
6.8
Tim Nicholson has noted that using the SCSIFiler module (as recommended
in Archive 6.7 p44 and elsewhere) has the added advantage that it gives
the interactive window for Verify and reads the disc name at start-up
and shows the name under the iconbar icon.
6.8
5╝ö drive interfaces
6.8
Gordon Lindsay-Jones has found, with the help of his dealer, a
replacement for his Watford interface: the one from Risc Developments
works and is, he feels, a superior product. Apart from other advantages,
it has seven switches with which to set the external drive
configurations and comes with instructions on the settings required.
6.8
D. S. Allen and Philip Foster have both written to say that the Watford
interface can be fixed by cutting some wires! D. S. Allen knows of ötwo
people that have cut the right hand two wires (as viewed facing the
computer front) of the cables from the Watford board to the computer
board and also the one from the Watford board to the internal disc
drive. Both drives work all right after this.ò Philip Foster describes
the solution as öcutting through the two end wires (furthest from the
red marker wire and next to the 20ápin removable PAL ROM) of the ribbon
cable running from the mother board to the interface board.ò He adds
that öas this is clearly a somewhat irreversible actò he would suggest
ringing Watford to confirm before you do it.
6.8
Miscellaneous hints and tips
6.8
Use of the Copy key
6.8
Richard Torrens writes: öWe all know that, in a writable icon, <Copy>
deletes the character to the right of the caret. Did you know that
<Shift-Copy> deletes to the end of the current word and <Ctrl-Copy>
deletes to the end of the current line?ò
6.8
How much space for a desktop program?
6.8
P. N. Cousins would like to know how you know how much memory you need
to use when writing programs that run under the desktop. In my
experience, allocating too small a WimpSlot can lead to some most
perplexing error messages, so I would certainly like to know if there is
a foolproof answer. My solution is trial and error: first I estimate how
much space is needed for the program code plus variables and workspace
for sprites, etc, then I set the WimpSlot somewhat larger than my
estimate and repeatedly reduce it (32Kb at a time) until the program
crashes. Not very scientific, but it generally works.
6.8
Miscellaneous
6.8
All these hints are from Rob Davison:
6.8
I have a couple of lines in my application !Run files like this...
6.8
SET Titler$RiscOs3 yep
6.8
RMENSURE UtilityModule 3.10 SET Titler$RiscOs3 nope
6.8
...and near the start of !RunImage, something like the following:
6.8
DIM block% &C00
6.8
SYS öXOS_GSTransò,ö<Titler$RiscOs3>ò,block% ,&C00 TO,,l%
6.8
block%?l%=&0D
6.8
IF $block%=öyepò THEN newos%= TRUE ELSE newos%=FALSE
6.8
SYSöXOS_CLIò,öUNSET Titler$RiscOs3ò
6.8
Å There are several other configuration options which are not accessible
in !Configure that allow you to setup your system more exactly in the
area of double-click delays, etc.
6.8
One of the more interesting ones which may be useful to those people who
are new to RISCáOS, is WimpMenuDragDelay which sets the time in 1/10
second units for which menu activity is disabled after a menu has been
automatically opened. This enables the pointer to move over other menu
entries without cancelling the submenu. To change it, you need to use
the command line (remember that thing?) Syntax:
6.8
*Configure WimpMenuDragDelay <delay>
6.8
Å There is an in-built rolling credit list of all the people involved in
the creation of the Operating System. It is accessed by bringing up the
Éinfoæ dialog box for the operating system (accessible from the task
manager menu) and clicking with <menu> on the characters Étæ Éeæ ÉAæ and
Émæ in that order in the string É⌐ Acorn Computers Ltd 1992.æ If nothing
happens after a couple of seconds, re-open the menu and try again.
6.8
(Click with <menu>? Ö thatæs against Acornæs guidelines surely?!)
6.8
However, if you just bring up the dialog box and click <menu> off any of
the icons (e.g. on the grey window background) then the Task Manager
aborts and the only way to recover a normal machine is to press <ctrl-
reset>. (Oops!)
6.8
Boot-up options
6.8
An item on Peter Youngæs wish list for RISCáOSá4 is the ability to call
different !Boot sequences by pressing user-defined keys at power-on. I
agree that it would be useful to have this built into the operating
system. However, it is already quite easy to achieve a similar result. I
know that some people find Ian Copestakeæs !TWO very useful for this
purpose. Alternatively, you can ödo it yourselfò without too much
difficulty. Assume, for example, that you have saved two Desktop boot
files called Plain and Fancy in a directory called BootFiles. Then
create a Basic file in the root directory called !Boot reading as
follows:
6.8
CLS
6.8
PRINTÉæöChoose one of the
6.8
following sets of
6.8
Boot-up preferencesöÉæ
6.8
PRINTö 1. Plainò
6.8
PRINTö 2. Fancyò
6.8
PRINTÉæöType 1 or 2ò
6.8
A$=GET$
6.8
CASE A$ OF
6.8
WHEN ö1ò:OSCLI(öDesktop -File $.BootFiles.Plainò)
6.8
WHEN ö2ò:OSCLI(öDesktop -File $.BootFiles.Fancyò)
6.8
OTHERWISE: OSCLI(öDesktopò)
6.8
ENDCASE
6.8
There are numerous variations on this theme. You can use negative INKEY
values to test for a key being held down rather than waiting for a
keypress with GET$. If you like, you can put Plain and Fancy in, say,
the !System directory instead of creating a new directory, or you can
rename the Basic file !Run, create a directory called !Boot and move
!Run into it along with Plain and Fancy.
6.8
Obviously, you can adapt this idea to suit your purposes, but beware of
pressing R or <Delete> when you switch the computer on, since these will
reset your configuration!
6.8
Splitting the boot sequence into two parts like this was recommended
last month for making sure that the SCSIFiler module is properly
installed before the desktop is initialised. It also opens up a number
of other possibilities....
6.8
It has always seemed to me that the usefulness of the facility for
automatic saving of desktop boot files is limited (a) because they tend
to get cluttered up with unnecessarily opened directories and booted
applications, and (b) because they omit necessary things like virus
protection modules, extra screen modes, etc. Problem (a) can be reduced
by making sure that you only open those directories that you want open
and boot those directories that you want booted before you save the
desktop boot file (the equivalent of Plain or Fancy in the above
example); (b) can be solved by following the two-stage approach and
putting the more technical bits in a hand-crafted pre-desktop !Boot
file, which you will probably not want to change very often, while the
desktop boot file is left simply to run applications, open directories
and fire up the pinboard.
6.8
So far as I can see, you will still need to do some hand-editing of the
desktop boot file if you want a nonö-RISCáOSá3 awareò application to be
booted or run automatically. Alternatively, you can get an application
to auto-boot by having the desktop boot file automatically open the
directory that the application is in. Furthermore, you can get the
application to run automatically by editing its own !Boot file to run
the !Run file.
6.8
Tim Nicholson notes that you must also split the boot sequence into two
parts if you want to follow the suggestion in the March Acorn User for
altering the desktop initialisation banner.
6.8
In Archive 6.5 p33, Colin Singleton reported problems with trying to
switch from one öworldò to another by double-clicking on a second boot
file. He has concluded that you must reset the computer first, since
running the second boot file doesnæt clear memory first: it simply tries
to add the applications listed in it to those that are already running.
6.8
Finally, to end this section on boot files, a quote from Colin
Singleton, with whom I have a lot of sympathy: öThe autoboot facility is
not much use if it does only half the job. I need to be able to
understand what it has produced and to patch it up accordingly. I might
as well carry on using my old boot file, which is what I am doing. The
new feature is useless (and very confusing) for those users who do not
know how to build a boot file. Perhaps in time all software will be
Éawareæ of boot files, then the feature will be useful.ò
6.8
ARM3 too fast for Watford scanner (?)
6.8
Mr A. Shell found that, after he upgraded to RISCáOSá3 and installed an
ARM3, his Watford Electronics Hand Scanner 1990, Issue 2 (using a Geni
Scan-4500) stopped working. However, he has found that after entering
the command *Cacheáoff, the scanner works perfectly. When the scanning
is finished, *Cacheáon speeds the processing up.
6.8
Zooming in Draw
6.8
When I acquired Artworks, I thought one of its neatest features was the
ability to use the mouse to mark the area into which you want to zoom.
Now, I have found while reading the manual (Applications Guide p48) that
Draw does just the same ù in fact, it goes one better, because you donæt
need to select a zoom tool first, you just hold down <shift> and drag
with <adjust>. To return to your previous scaling you use <Ctrl-R>; the
manual also describes various other hot-key combinations to adjust the
scaling.
6.8
Turning CapsLock off
6.8
Peter Young has a few old, and some not so old, programs which will only
take upper case input, and putting *FX202,1 into the !Run file meant,
with RISCáOSá2, that he didnæt have to remember to press capslock first.
In RISCáOSá3, this call seems to turn off keyboard input entirely,
though it occasionally produces input different from what is typed for a
couple of presses before it crashes the machine.
6.8
I think, if I have interpreted the Programmersæ Reference Manual
correctly (pages 511-512 in the RISCáOSá2 manual), that the correct code
to turn capslock off while leaving the other keyboard settings unaltered
is *FX 202,16,239; the command *FX 202,16 will turn capslock off but may
alter some of the other settings.
6.8
What *FX 202 does is to alter the ökeyboard status byteò. If the command
is given in the form *FXá202,R1,R2 then R2 controls which bits of the
status byte are changed and R1 supplies the new bits. In technical
terms, the new value of the status byte is made equal to
6.8
(the old value AND R2) EOR R1
6.8
Therefore, to force a particular bit in the status byte to adopt value n
(either 0 or 1) you leave that bit unset in R2 and made equal to n in
R1; to leave a bit unchanged you set it in R2 and unset it in R1.
6.8
Capslock is controlled by bit 4 (the one with value 16), so to set it
(thus turning capslock off) you use the values 239 (= 255 minus 16) and
16 for R2 and R1 respectively.
6.8
The shortened form of the command, *FX 202,R1 has the same effect as *FX
202,R1,0
6.8
(Itæs not clear to me why *FX 202,1 should have worked either in
RISC¡OSá2 or on the BBC.)
6.8
Editing !Run files
6.8
Peter Young asks if one is allowed to amend the !Run files of commercial
programs. My answer is that there is no reason at all why you shouldnæt,
so long as you know what you are doing. You could, for instance, include
a command to turn capslock off (see above) or a command to run a printer
driver automatically. Some programs allow you to change preferences by
setting up system variables in the !Run file. In RISCáOSá2, some people
even amended the !Run file of Acornæs !Edit to make it run on a system
with lots of fonts.
6.8
ROM Speed
6.8
Seßn Kelly writes that the old ROM speed up trick still works on some
computers with RISCáOS 3.1. On an Archimedes, the ROM speed can be read
with the following Basic lines:
6.8
SYS öOS_UpdateMEMCò,0,0 TO R%
6.8
PRINT (R% AND &C0) DIV &40
6.8
The lowest speed is 0, the highest 2 Ö the MEMC data sheet defines a
value of 3 as Énot meaningfulæ although it appears to have the same
effect as 2. The speeds are not absolute, but depend on the computeræs
memory clock speed. On old A440, RISCáOS 3.1 selects a value of 2, so no
speed up is possible, but on an A5000, a value of 1 is set by RISCáOS
3.1 and changing this to 2 increases the machineæs speed by about 5%.
6.8
The ROM speeds can be set by using:
6.8
SYS öOS_UpdateMEMCò,&00,&C0: REM slowest, speed 0
6.8
SYS öOS_UpdateMEMCò,&40,&C0: REM speed 1
6.8
SYS öOS_UpdateMEMCò,&80,&C0: REM fastest, speed 2
6.8
These lines are included as programs on the monthly program disc,
together with the short program called ACK which, on Seßnæs un-sped-up
A5000, executes in about 1 second. Double-clicking on one of the speed
changers followed by ACK will show how the different speeds affect your
computer. An A5000 appears to run at speed 2 with no problems. Program
Speed2 can be automatically run by !Boot, providing a slight performance
boost to A5000s.
6.8
RMFaster-ing
6.8
Seßn Kelly also reports that *RMFaster on certain modules, such as
Basic, can produce a useful increase in speed for applications that read
the ROM a lot. Without an ARM3, the speed increase can be very large Ö
with the cache off, he has found Basic programs that run over 30% faster
with Basic in RAM. With the cache on, the increase tends to be about 5%,
so RMFaster-ing on an ARM3 machine is really a waste of memory unless
time is really important.
6.8
Interestingly, both ROM speed-ups and RMFaster-ing only produce a slight
speed increase, typically 5%, on an ARM3 machine. This appears to show
that the cacheæs hit rate is very high.
6.8
Also on the program disc ...
6.8
Also on the monthly program disc are a number of utilities from Rob
Davison: SmoothM ù a relocatable module which averages mouse coordinates
and is ideal for use in pixel-based art packages such as Paint or
Artisan. To use it, double click on the module and enable averaging with
the command *SmoothON. To restore normal use, enter the command
*SmoothOFF. This module is public domain and is, in fact, based on an
article which appeared in Archive 1.5 (February 1988) by Malcom
Banthorpe.
6.8
SolDrag and NormDrag are short programs to turn solid sprite dragging on
and off.
6.8
Tools and 22Sprites are modified toolsprites and high resolution icon
sprites.
6.8
Some Bugs
6.8
First, from Rob Davison:
6.8
There are quite a number still in the operating system. Most are very
obscure, but some are quite serious and one may be slightly embarrassing
to Acorn! Hopefully, they will do a ÉRISCáOS 3 Extras discæ to fix the
more important ones.
6.8
Å Impression style icons Ö There is a serious bug in this part of the
window manager. If the application you are writing uses a dialog box
similar to the in-built applications (e.g. Edit) when quitting, but
including the new style icons, the operating system reports an abort on
Data transfer after the application has quit. The solution is to close
and delete all windows yourself and call Wimp_Poll enough times to
ensure that they have all gone before quitting.
6.8
Å Paint Ö Load the application and repeatedly create 256 colour sprites
of 128x64 pixels. Paint bombs (usually) when the sixth sprite is created
with an ÉUnrecoverable internal error SpriteExtend: Bad pixel
translation tableæ.
6.8
The only good point is that your file is preserved in Wimp$ScrapDir
before Paint dies.
6.8
The problem mentioned in Archive, where the name in the save dialog box
is corrupted in some circumstances, still exists.
6.8
Å !Edit Ö This is a fairly worrying one (R.áW.áDarlington has found
similar problems). Edit has had the same bug since its first release in
RISCáOS 2.00. Sometimes, the text window is not redrawn properly and the
caret can appear to be on a different line. Text is deleted or inserted
at the wrong place and it can sometimes be quite a while before you
realise what is going on. I encounter this problem much more now because
of the excellent facilities for editing Basic programs. If Acorn canæt
get windows to redraw correctly in all circumstances, what chance do the
rest of us have? (Quick fix: press <f12>, <return>, <return> before
doing any major editing.)
6.8
Å Operating system bugs Ö I have one (and only one) 800Kb ÉEæ format
disc which works and verifies fine on RISCáOS 2.00 whereas RISCáOS 3.00
and 3.10 absolutely refuse to look at it and tell me ÉDisc not
formattedæ.
6.8
I have managed to get the dreaded ÉAbort on Data transferæ while using
interactive file copying but only under extreme provocation. It was much
more common in 3.00!
6.8
There is another problem where, if you set the MOUSE RECTANGLE to allow
the pointer off the left of the screen and then record button clicks,
the y-coordinate is set to Ö1 with the first returned button click. E.g.
6.8
*POINTER 1
6.8
MOUSE RECTANGLE -1000,-1000,2000 ,2000
6.8
MOUSE TO 100,500
6.8
REPEAT
6.8
MOUSE x%,y%,b%
6.8
PRINTTAB(0,0);öx=ò;x%;ö ò
6.8
PRINTTAB(0,1);öy=ò;y%;ö ò
6.8
PRINTTAB(0,2);öb=ò;b%;ö ò
6.8
UNTIL b%<>0
6.8
END
6.8
Run this and move the pointer off the left of the screen. Click a button
and the displayed y coordinate changes to Ö1 regardless of the last
position. (The solution is to do another mouse read immediately after
the UNTIL and use the values returned from that.)
6.8
Next, from Seßn Kelly:
6.8
!Paint has two bugs related to deleting rows and columns in sprites. The
first is that when columns to delete are selected by dragging right with
the mouse, it is not possible to delete the rightmost column of the
sprite (no matter how far it is zoomed in). The second is that, when
dragging rows to delete downwards, the topmost row (where the operation
was started) is not deleted.
6.8
If there is data in the RAM filing system, RISCáOS 3.1 complains if you
attempt to leave the desktop by selecting EXIT from the task manager
menu, although the RAMFS is not affected.
6.8
Sometimes, a RAMFS filer window stays on screen when the RAMFS has been
killed.
6.8
Finally, from R. W. Darlington:
6.8
When I load so many items on the iconbar that it has to scroll to reach
opposite ends and I then delete an item from the middle of the list, I
sometimes finds that as well as the deleted one disappearing, other
icons disappear leaving only their names. Also, all the directory icons
and application icons disappear from directory viewers leaving only
their names as reminders as to what is there.
6.8
In !Paint, when I try to x-scale or y-scale a sprite, I find that it
takes one column off the right hand edge and puts it at the left hand
edge.
6.8
Has anyone else experienced these or other bugs?
6.8
Matters Arising
6.8
Alarm (switching between GMT and BST)
6.8
(Archive 6.3p15 / 6.5p35) Colin Singleton confirms that the alarm set
for 1áa.m. on 7th Februaryá1994 is to remind you to set the BST on and
off dates in 1994.
6.8
Donæt worry: you donæt have to stay up to catch this alarm: it will come
up when you next switch the computer on.
6.8
Ken Cowap has sent in a description which he hopes will complement the
rather brief instructions in the Applications Guide (p132) on this
rather convoluted facility:
6.8
When this option is selected, Alarm will automatically switch between
GMT and BST times on the dates you specify. Click on the arrows to
change the time, day, month and year.
6.8
Entries must be for one calendar year only even though the öBST starts
on:ò date may already have passed. Any such past date will be ignored
but must be entered nevertheless.
6.8
As the changeover dates are liable to undefined variation from year to
year, Alarm will issue a warning during the month prior to that of the
next yearæs first expected changeover.
6.8
The warning will be recorded in the Alarm Browser Window as öApplication
alarm set by Alarmò, and the dates/times of valid changeover(s) will
still be activated. These alarms appear in dark grey and cannot be
selected. When the warning is activated, a message appears saying: öThe
dates for entering and leaving BST are no longer valid and should be
reset as soon as possible.ò and two options are offered: öReset them
laterò and öReset them now.ò The warning will be repeated automatically
at 24 hour intervals until öReset them nowò is selected and the dates
and times are reset.
6.8
Ken warns that anyone wanting to experiment by setting the system clock
into the future should take care to back up their alarms first, since a
ömove into the futureò will activate and lose all alarms set to go off
before that date. Also note that there is a long delay accompanied by
unexplained hourglass activity before the warning notice appears.
6.8
Impression dongle
6.8
(Archive 6.5 p32) Colin Singleton has been assured by Computer Concepts
that shorting the pins of the Impression dongle can do no harm.
Switching the computer off while Impression is running can cause
problems. Apparently, the reason is that Impression continually checks
that its dongle is present and, if it happens to be checking when power
is lost, the dongle is liable to receive a burst of static which renders
it inoperable. This will drain away if you leave it for a time (perhaps
a few hours) but the quick cure, according to CC, is to short the lines
to each other using a small coin rubbed against the rows of male pins.
Colin recommends removing the dongle from both the machine and the
printer first.
6.8
Getting the hare and tortoise into step
6.8
(Archive 6.6 p59) Jim Nottingham has written in response to my plea...
öthe solution is to fire up the computer in slow mode with a *Configure
Cache off command and run the !Arm3 application in the Boot file. This
brings up the computer with the cache on and the hare on the iconbar. If
you want the computer to boot up with the Arm3 cache off, add *Cache off
to his Boot file after running the Arm3 application.ò
6.8
Well! I must be completely dense. Iæve tried to follow these
instructions to the letter. I have typed *Configure Cache off at the
command line (and *Status confirms that the cache configuration is
öoffò) and I have a !Boot file (file type öDesktopò) the first two lines
of which read:
6.8
Filer_Boot ADFS::Four.$.!System
6.8
RUN system:!Arm3
6.8
When I boot up, the cache is off and the tortoise on the iconbar. When I
click once on the tortoise, the cache is turned on, but the tortoise
stays. When I click a second time, the hare appears but the cache is
turned off. Adding Cache on as the next line of the !Boot file doesnæt
seem to help. What do I do next (apart from swapping the names of the
two icons as Iæve suggested before!)?
6.8
Pinboard backdrop sprites
6.8
In Archive 6.4 p12, R. W. Darlington gave a suggested modification to
the !Boot file which results in a different backdrop being shown each
time the computer is reset. His method causes the available sprites to
be chosen in strict rotation. Geoffrey Rimmer has suggested a variation
of the same idea which would choose one of the sprites at random.
6.8
Assuming, as before, that there are 75 sprites called Sprit00 to Sprit74
in the directory PinSp, his suggested code is:
6.8
Set S$ <Sys$Time>
6.8
SetEval S$ S$ RIGHT5
6.8
SetEval NN STR(VAL(S$ RIGHT2 + S$ LEFT2)MOD 75)
6.8
If LEN(NN)=1 Then SetEval NN ö0ò +NN
6.8
SetEval Tile$Name öSpritò+NN
6.8
Pinboard
6.8
Backdrop -T ADFS::4.$.PinSp. <Tile$Name>
6.8
Finally ...
6.8
Page 140 of the User Guide says that the example commands to set
Alias$@PrintType and Alias$@RunType variables must have trailing spaces.
Does anyone know why?ááA
6.8
Supermarket Ö In Four Languages
6.8
Alex Thomas
6.8
This review is a language teacheræs perspective on the ÉSupermarketæ
language programs produced by New Era Software in four languages
(English, French, German and Spanish).
6.8
Surely, I thought, this must be every modern language teacheræs dream
software for the Archimedes. Just think of the realistic situations set
against the background of shopping in a supermarket which could meet the
demands of the National Curriculum (Modern Languages and IT) and the
GCSE syllabuses. This disc must, I thought, deal with asking for
particular items, quantities, containers, problems at the checkout,
queries about the bill, breakages, complaints, special offers, coupons,
shoplifting, advertising, job vacancies Ö the potential is tremendous.
6.8
With my mind buzzing with such expectations, I was eager to try out this
program with a class, so I sat down after school to run through it and
plan some meaningful tasks. I was hoping to use the German version, so
that was where I started. I needed to enter the shop name and a message
to go on the till receipts Ö everything was in German, so I was feeling
very positive about the program. (The function keys are used for accents
in all the languages.) The next screen asked for information about what
is bought, the price, the amount tendered, method of payment Ö still all
in German, as are the print commands, etc.
6.8
Having entered some information, I printed it out Ö a very basic till
receipt with my list of items and prices, which are totalled with the
amount of change calculated and my message from the first screen (thank
you). It was much the same as all those till receipts I have brought
back from various trips in recent years, except that at least the pupil
has to enter the items bought and understand approximately twenty items
of vocabulary which appear on the screen for each öcustomerò.
6.8
I began to plan tasks for my beginners using the printouts. One pupil
could produce one and the others ask questions to find out the prices.
We could produce them for different shops and compare prices.... but
then, I have a cupboard full of attractive, colourful supermarket
advertising leaflets from Germany, in class sets, surely it would be
better to use them!
6.8
I decided to go back to the program to see what else it has to offer
which the GCSE sets could use. I pressed öclearò to see what happened Ö
the chance to enter another list of items and prices! Since the computer
totals the prices and works out the change, you canæt even work on
complaints at the checkout, except by pretending that the wrong price
was entered.
6.8
There is no list of acceptable items, so there is no spellcheck, it
accepts complete nonsense Ö an item is any set of letters, a price any
number. There are no graphics, no variations on the basic layout and
content, nothing which will interest the pupils or give them a sense of
achievement, unless the teacher spends hours devising speaking tasks
based on till receipts.
6.8
Is it worth taking the whole class to the computer room to produce a
till receipt, or devising a flexible learning lesson with a variety of
small group activities so that this program can be used on the one
computer in my room? No, definitely not. I have some much better ideas
based on my wide selection of realia!
6.8
The programæs handbook suggests many sophisticated possibilities using
product files and bar codes which may be valid for teachers of
Technology, etc to develop. However, as a language teacher, I have not
yet found the time to work on these areas which seem to have little to
do with communication, verbal or written. In case I was too hasty in my
rejection of this program, I decided to use it with a class anyway. The
first pupil (below average year 9) got to the printing stage and said
öNow what?ò Ö öThatæs all it doesò, I replied. He returned to his group
to do the structured oral tasks I had set up, showed them his till
receipt and the rest asked, öWouldnæt it be quicker if we just wrote one
out miss?òááA
6.8
Hints and Tips
6.8
Å A5000 serial port problems Ö Several of you will have experienced
problems with dead or dying serial ports on their A5000s. Acorn are
aware of problems on early A5000 p.c.b.s and have a fix for them.
However, there are still some problems with static. Until Acorn find a
solution, the best we can do is take suitable precautions. (1) Use
braid-screened cable and connect the braid to the connector shells at
both ends. Also, never connect a cable when the machine at either end is
switched on. Always switch on both devices after the cable has been
connected.
6.8
Å Filer_CloseDir Ö On my 4Mb A3000, I like to open Érelatedæ windows to
various programs and then close them again when finished, by using
Filer_OpenDir <pathname> <position> and Filer_ CloseDir <pathname>
respectively. I put these commands in the !Run file of !BJ10e Turbo
Drivers, one before the command to run !Runimage and the other after.
Readers should be warned that the command Filer_CloseDir clashes with
CCæs Turbo Driver (v2.09b) when using their Compression filing system
(CFS) (v1.17). If the Turbo driver is loaded first and then CFS, you
will find that, when trying to quit the Turbo Driver, it goes into an
error loop with SWI &43303 not known and only a <ctrl-break> or <reset>
will release the computer so you lose all unsaved files, etc. No problem
occurs when they are loaded in reverse order or when Filer_ CloseDir is
deleted from the !Run file of !BJ10e.
6.8
Does anyone know whether any other programs clash with Filer_CloseDir?á
Brian Cocksedge, Midhurst.
6.8
Å Filofax printing Ö We had a letter printed on a piece of Filofax paper
which proved that you can do so with a Canon BJ200 with CCæs Turbo
Driver software using a custom page size of 95 ╫ 165 mm. If you use
Impression (II or Junior), it shows the print area so it is easy then to
create a suitable frame and choose a small typeface (say, 8 pt) and view
the page at 200%.á Brian Stewart, Nairn.
6.8
Å Inkjet printing Ö When inkjet/bubblejet printouts need a relatively
large amount of ink, the paper can become a little wrinkled. To remove
the wrinkles, pass the paper through a laser printer by printing a blank
page. This calendars the paper to its original smooth finish.á George
Foot, Oxted.
6.8
Å Laser toner cartridges Ö The first sign you get that a laser toner
cartridge is about to run out is a line down the paper which is
obviously very low on toner. If you örock the cartridge gentlyò, you may
be able to spread the toner out sufficiently to get a few more sheets
out of it. Try rocking first but then eventually, try shaking. Beware,
if you shake too soon, you can end up with toner all over the place!á
Colin Singleton, Sheffield.
6.8
Å ShowPage confusion Ö It has been said within the pages of Archive that
öShowPage does not work with RISCáOS 3ò. This is not entirely correct.
It will not work with RISCáOS 3 fonts, i.e. those which have their own
kerning tables, and it will not work with RISCáOS 3æs ROM fonts.
However, if you want to use ShowPage, all you need to do is to replace
the in-built fonts (Corpus, Homerton and Trinity) with ones within your
own font folder and included a FontRemove command to remove the ROM
fonts.ááA
6.8
Hints and Tips
6.9
Å Anti-aliased fonts Ö I find that anti-aliasing on a standard
resolution monitor gives a far too blurred image. My hint is to use the
outline version of the System font at an unexpanded point size. A bit of
experimentation is needed to get it right if you habitually use the
screen at some scale other than one to one but when you get it right,
the result is a nice fast, clean and clear font on any DTP or
wordprocessing package while you work on the text. Remember to change
the font to your preferred version for the final print. I am afraid I
canæt remember where I obtained the Outline System font.
6.9
On my Pentoms game, I changed the transfer coefficients to sharpen up
the edges of my fancy fonts but that does not work well/at all on
RISCáOS 3. Is there a way of getting a program to automatically check
which OS it is running under so that I can disable this facility where
it wonæt work? Or is there another way of sharpening RISCáOS 3 fonts?
Yes I know about turning off anti-aliasing but that is not quite the
same thing at all Ö bits of the letters are missed if you do that.á
Simon Anthony, Nottingham.
6.9
Å Backing up in one pass Ö The öNextò slot in the Task Manager can be
set from a !Boot file in RISC OS 3 to make backing up and copying of
full 800Kb discs occur in a single pass. Use the command
6.9
WimpSlot -next 864K
6.9
inside your !Boot file.á Barry Thompson,
6.9
Alternatively (for RISC OS 2 owners) you can allocate more memory to the
Next Task slot by issuing the Wimp_SlotSize SWI call from Basic. All
that you need is a Basic program containing the line:
6.9
SYS öWimp_SlotSizeò,-1,<slotsize>
6.9
where <slotsize> is in bytes (e.g. use 65536 for 64Kb.)
6.9
Simon Moy, NCS.
6.9
Å !Boot files are not strictly necessary within applications. They use
up disc space and slow down the opening of windows (especially over a
network). If an applicationæs !Boot file only contains the IconSprites
command, then this can be moved to the !Run file, and the !Boot file can
be deleted. The only effect is that the application will not show the
correct icon in the filer window until the application is actually run.á
Keith Harja, Derby.
6.9
Å Gods passwords Ö On this monthæs program disc is all you need for
getting the passwords for Gods. Andrew Ferguson, London N15.
6.9
Å Mono TIFF files Ö In reply to help for Ray Dawson in Archive 6.5 p18
for producing mono TIFF files from B&W scanned sprites. I have used
!MakeTiff version 2.00 by John Kortink to do exactly that. I examined
the resulting Tiff file using Graphics Workshop (under the emulator) and
Translator, and they both showed the converted sprite as a B&W image.á
Chris Bass, Grimsby.
6.9
Å Symbols for Impression Ö When using Impression, or even more so
Junior, it can sometimes be tedious to find a desired symbol from a font
such as Dingbats. Therefore, I have created a number of text files which
can be dragged into any Impression document. The format for such files
is ö« ò, without the quotes. This returns the type to its default size,
selects the desired font, inserts the character with ASCII code 174 and
resets the font to its default. N.B. The space at the end is essential.
This is so that one can do a <ctrl-right> to end of text. Without this
space, the font is not reset. I have given a number of pre-prepared ones
to Paul for inclusion on this monthæs program disc.á Neil Walker,
Norwich.
6.9
You need to be very careful with this one. I tried it on Impression 2.19
and it gave an internal error and Impression bombed out! This was
because I didnæt have the symbol font in my system. I tried it on
version 2.17 and it complained politely that it didnæt have Symbol font
and let me carry on. I presume that the difference is because
Impression, from 2.18 onwards, has no limit to the number of fonts it
can handle so that part of the code must have been changed. Donæt say we
didnæt warn you! Ed.
6.9
Å Testing printersæ on-line status Ö Here is a way of testing whether
the printer is on- or off-line:
6.9
10 *FX 3,10
6.9
20 PRINT CHR$(0);
6.9
30 a = INKEY(20)
6.9
40 a = ADVAL(-4)
6.9
50 *FX 3,0
6.9
60 *FX 21,3
6.9
70 IF a <> 1023 THEN
6.9
80 PRINT öPrinter not on lineò
6.9
90 ELSE
6.9
100 PRINT öPrinter on lineò
6.9
110 ENDIF
6.9
120 END
6.9
Paul Ribworth, Gloucester
6.9
Å Using high density discs Ö Until the advent of the A5000, all
Archimedes computers had an 800Kb 3╜ö disc drive so the problems of
different disc densities didnæt really arise. With the introduction of
the new A3000 and A4000 series, 1.6Mb drives are becoming more common
and some users are trying to save a few pence by formatting normal
density discs to 1.6Mb.
6.9
Users of BBC and Master computers learned that there is no point in
paying extra for 80 track discs as the cheaper 40 track were actually
identical. The same is NOT true of 800Kb and 1.6Mb discs. The magnetic
coating on high density discs uses finer particles than the coating used
on standard (double density) types. This is designed to accept higher
signal levels without distortion. When the higher capacity format is
used, the drive automatically uses a stronger magnetic field to imprint
the data on the discs surface.
6.9
Sometimes, good quality normal density discs can accept this level but
it does represent a severe overload. Even if all appears well at the
time, the larger particles used in the normal density coating are
frequently unable to retain the high level of magnetism required so it
can leak away in time making part of the data unreadable.
6.9
Also, you should not use high density discs in a normal density drive if
they have previously been formatted to 1.44 or 1.6Mb. The lower flux
levels used for the normal format may not be able to completely erase
the earlier data. This can then Ébreak throughæ and corrupt data saved
later at the lower flux levels used with the smaller format. It may
sometimes take more than a month for this to happen. So donæt be fooled
into thinking that everything is OK just because all seems to be well
when you first format the disc. Many Archimedes users who have
Éborrowedæ preformatted 1.44Mb discs from work to use in their 800Kb
drives have experienced this problem.
6.9
There is no reason why you cannot use a NEW high density disc at 800Kb,
it will just be more expensive.
6.9
Because of this, it is obviously useless to do what used to be common
practice with the old 40/80 track discs, namely try to format them to 80
tracks and if it didnæt work use them for 40 track. Once you have
attempted to format an 800Kb disc to 1.6 or 1.44 Mb there is no going
back. I have had some success using a tape head demagnetiser to
completely wipe out data on 800Kb discs which had been formatted to
1.6Mb so that they could be reformatted to 800Kb, but not everyone has
one of these.
6.9
PC drives all have a sensor which detects the extra hole in a high
density disc and wonæt allow you to specify the wrong format. For some
reason, Acorn didnæt implement this feature on the Archimedes although
the detector is present on all high density drives. It is therefore
possible, by accident, to format a normal density disc to 1.6Mb. On a
PC, to do this you need to drill a hole in the case of the disc so it
canæt happen unintentionally.
6.9
The most pernicious thing about this problem is that it can lead you
into a false sense of security. A normal density disc may format
perfectly to 1.6Mb and, for months, everything will appear to be well.
Then suddenly some of the data may become slightly corrupt, although the
disc may not actually appear to have any errors.
6.9
If your data is precious enough to be worth saving, itæs worth the extra
few pence that the proper discs cost. The only time that I have known
people use normal density discs successfully as high density was with
expensive branded discs costing about ú1.30 each. As this is
considerably more than the price of unbranded high density discs, it
seems a foolish risk to take.á David Holden, Sydenham.ááA
6.9
Hints and Tips
6.9
Å Anti-aliased fonts Ö I find that anti-aliasing on a standard
resolution monitor gives a far too blurred image. My hint is to use the
outline version of the System font at an unexpanded point size. A bit of
experimentation is needed to get it right if you habitually use the
screen at some scale other than one to one but when you get it right,
the result is a nice fast, clean and clear font on any DTP or
wordprocessing package while you work on the text. Remember to change
the font to your preferred version for the final print. I am afraid I
canæt remember where I obtained the Outline System font.
6.9
On my Pentoms game, I changed the transfer coefficients to sharpen up
the edges of my fancy fonts but that does not work well/at all on
RISCáOS 3. Is there a way of getting a program to automatically check
which OS it is running under so that I can disable this facility where
it wonæt work? Or is there another way of sharpening RISCáOS 3 fonts?
Yes I know about turning off anti-aliasing but that is not quite the
same thing at all Ö bits of the letters are missed if you do that.á
Simon Anthony, Nottingham.
6.9
Å Backing up in one pass Ö The öNextò slot in the Task Manager can be
set from a !Boot file in RISC OS 3 to make backing up and copying of
full 800Kb discs occur in a single pass. Use the command
6.9
WimpSlot -next 864K
6.9
inside your !Boot file.á Barry Thompson,
6.9
Alternatively (for RISC OS 2 owners) you can allocate more memory to the
Next Task slot by issuing the Wimp_SlotSize SWI call from Basic. All
that you need is a Basic program containing the line:
6.9
SYS öWimp_SlotSizeò,-1,<slotsize>
6.9
where <slotsize> is in bytes (e.g. use 65536 for 64Kb.)
6.9
Simon Moy, NCS.
6.9
Å !Boot files are not strictly necessary within applications. They use
up disc space and slow down the opening of windows (especially over a
network). If an applicationæs !Boot file only contains the IconSprites
command, then this can be moved to the !Run file, and the !Boot file can
be deleted. The only effect is that the application will not show the
correct icon in the filer window until the application is actually run.á
Keith Harja, Derby.
6.9
Å Gods passwords Ö On this monthæs program disc is all you need for
getting the passwords for Gods. Andrew Ferguson, London N15.
6.9
Å Mono TIFF files Ö In reply to help for Ray Dawson in Archive 6.5 p18
for producing mono TIFF files from B&W scanned sprites. I have used
!MakeTiff version 2.00 by John Kortink to do exactly that. I examined
the resulting Tiff file using Graphics Workshop (under the emulator) and
Translator, and they both showed the converted sprite as a B&W image.á
Chris Bass, Grimsby.
6.9
Å Symbols for Impression Ö When using Impression, or even more so
Junior, it can sometimes be tedious to find a desired symbol from a font
such as Dingbats. Therefore, I have created a number of text files which
can be dragged into any Impression document. The format for such files
is ö« ò, without the quotes. This returns the type to its default size,
selects the desired font, inserts the character with ASCII code 174 and
resets the font to its default. N.B. The space at the end is essential.
This is so that one can do a <ctrl-right> to end of text. Without this
space, the font is not reset. I have given a number of pre-prepared ones
to Paul for inclusion on this monthæs program disc.á Neil Walker,
Norwich.
6.9
You need to be very careful with this one. I tried it on Impression 2.19
and it gave an internal error and Impression bombed out! This was
because I didnæt have the symbol font in my system. I tried it on
version 2.17 and it complained politely that it didnæt have Symbol font
and let me carry on. I presume that the difference is because
Impression, from 2.18 onwards, has no limit to the number of fonts it
can handle so that part of the code must have been changed. Donæt say we
didnæt warn you! Ed.
6.9
Å Testing printersæ on-line status Ö Here is a way of testing whether
the printer is on- or off-line:
6.9
10 *FX 3,10
6.9
20 PRINT CHR$(0);
6.9
30 a = INKEY(20)
6.9
40 a = ADVAL(-4)
6.9
50 *FX 3,0
6.9
60 *FX 21,3
6.9
70 IF a <> 1023 THEN
6.9
80 PRINT öPrinter not on lineò
6.9
90 ELSE
6.9
100 PRINT öPrinter on lineò
6.9
110 ENDIF
6.9
120 END
6.9
Paul Ribworth, Gloucester
6.9
ÅUsing high density discs Ö Until the advent of the A5000, all
Archimedes computers had an 800Kb 3╜ö disc drive so the problems of
different disc densities didnæt really arise. With the introduction of
the new A3000 and A4000 series, 1.6Mb drives are becoming more common
and some users are trying to save a few pence by formatting normal
density discs to 1.6Mb.
6.9
Users of BBC and Master computers learned that there is no point in
paying extra for 80 track discs as the cheaper 40 track were actually
identical. The same is NOT true of 800Kb and 1.6Mb discs. The magnetic
coating on high density discs uses finer particles than the coating used
on standard (double density) types. This is designed to accept higher
signal levels without distortion. When the higher capacity format is
used, the drive automatically uses a stronger magnetic field to imprint
the data on the discs surface.
6.9
Sometimes, good quality normal density discs can accept this level but
it does represent a severe overload. Even if all appears well at the
time, the larger particles used in the normal density coating are
frequently unable to retain the high level of magnetism required so it
can leak away in time making part of the data unreadable.
6.9
Also, you should not use high density discs in a normal density drive if
they have previously been formatted to 1.44 or 1.6Mb. The lower flux
levels used for the normal format may not be able to completely erase
the earlier data. This can then Ébreak throughæ and corrupt data saved
later at the lower flux levels used with the smaller format. It may
sometimes take more than a month for this to happen. So donæt be fooled
into thinking that everything is OK just because all seems to be well
when you first format the disc. Many Archimedes users who have
Éborrowedæ preformatted 1.44Mb discs from work to use in their 800Kb
drives have experienced this problem.
6.9
There is no reason why you cannot use a NEW high density disc at 800Kb,
it will just be more expensive.
6.9
Because of this, it is obviously useless to do what used to be common
practice with the old 40/80 track discs, namely try to format them to 80
tracks and if it didnæt work use them for 40 track. Once you have
attempted to format an 800Kb disc to 1.6 or 1.44 Mb there is no going
back. I have had some success using a tape head demagnetiser to
completely wipe out data on 800Kb discs which had been formatted to
1.6Mb so that they could be reformatted to 800Kb, but not everyone has
one of these.
6.9
PC drives all have a sensor which detects the extra hole in a high
density disc and wonæt allow you to specify the wrong format. For some
reason, Acorn didnæt implement this feature on the Archimedes although
the detector is present on all high density drives. It is therefore
possible, by accident, to format a normal density disc to 1.6Mb. On a
PC, to do this you need to drill a hole in the case of the disc so it
canæt happen unintentionally.
6.9
The most pernicious thing about this problem is that it can lead you
into a false sense of security. A normal density disc may format
perfectly to 1.6Mb and, for months, everything will appear to be well.
Then suddenly some of the data may become slightly corrupt, although the
disc may not actually appear to have any errors.
6.9
If your data is precious enough to be worth saving, itæs worth the extra
few pence that the proper discs cost. The only time that I have known
people use normal density discs successfully as high density was with
expensive branded discs costing about ú1.30 each. As this is
considerably more than the price of unbranded high density discs, it
seems a foolish risk to take.á David Holden, Sydenham.ááA
6.9
Using RISCáOSá3.10
6.9
Hugh Eagle
6.9
More encouragement for the faint-hearted!
6.9
Stuart Bell says: öHaving read the RISCáOS Column for the past few
months, I approached the upgrade with caution, afraid of all sorts of
installation and compatibility problems. I guess that by the nature of
the things, itæs those people who encounter problems who write in,
thereby giving a false impression of the true situation. So, if youære
still with RISCáOS 2 and thinking about upgrading, be encouraged.
Installing RISCáOS 3 on my A310, including removing the main board and
installing the IFEL ROM carrier board took about an hour from start to
finish, and I experienced no unforeseen problems.
6.9
öHaving been warned of problems with Compression 1.1, I de-compressed
all files first. I await the free upgrade from CC. There is the reported
problem with early versions of Font-FX and thatæs in hand.
6.9
öA couple of warnings, though: As well as powering up with <Delete>
depressed, also make sure that youæve re-connected the keyboard first.
(Donæt laugh ù it could have been you! That cost me several minutes of
panic.) Secondly, alter the Font Size figure before loading your first
Impression document, which otherwise can take several minutes to load
with a 32Kb buffer.ò
6.9
Å Avie Electronics 4Mb A310 upgrade Ö The following information has come
from Avie: LK12 should be altered to 1-3 and 2-4. Issue 1 PCBs do not
have LK12 and require modification as follows:
6.9
Option 1: pins 2 and 24 on all of the ROMs are to be swapped. Remove
pins 2 and 24 from each ROM socket by bending them up. Join pin 24 on
all ROMs to GND. Join pin 2 on all ROMs to LA18 on IC28, pin 18.
6.9
Option 2: remove pin 2 from each stamped socket on PCB and strap a wire
between the pins and LA18. Likewise, pin 24 can be strapped to GND after
removing the pins in the stamped sockets.
6.9
Hardware problems
6.9
Watford Electronics ARM3 Ö When Colin Wood fitted a Watford Electronics
ARM3 upgrade to his A410 it didnæt work. öThe screen flashed red/blue,
but no beep. Just dead.ò As he had recently fitted RISCáOSá3, he decided
to replace the RISCáOSá2 chips and everything seemed OK, but when he put
the RISCáOSá3 chips back, again it didnæt work. Watfordæs help line
couldnæt help, so he returned the ARM3 and since they were (again) out
of stock he cancelled his order and got most (but not all, apparently)
of his money back. Another ARM3, from CJE Microæs, worked first time.
6.9
Watford A310 RAM upgrades Ö Watford Electronics say that they are aware
that their early A305/310 RAM upgrades do not work with RISCáOS 3 but
they do not have any solution. They simply recommend that you buy one of
their newer RAM upgrades instead because they do work with RISCáOS 3.
Fortunately, IFEL have stepped into the breach. They can offer new PAL
chips to plug into the Watford boards that will solve the problem. These
PAL chips are ú3 +VAT each from IFEL and you need to state whether you
have the 2Mb or the 4Mb version. (This refers to the upgrades that
consisted of two PCBs with a ribbon cable along the RHS of the machine.)
6.9
Program problems
6.9
QuicKey clash Ö J. Nichols reports that, if QuicKey is loaded from
within a !Boot file, it can remove the *Opt 4,2 status from the booted
disc resulting in a disc which no longer runs a !Boot file.
6.9
!Edit ù Following last monthæs reports of a öbugò in Edit we now have
the following from Tom Rank: öThere seemed to be a rare problem with
Edit the other day; my text (exported from Ovation) was displayed in a
most corrupted way, with a large amount of blank screen to start with
and then disintegrating words. I thought it was a problem with Ovation.
However, when I tried to show it to John Wallace of Risc Developments at
BETT, the file displayed without problems, as it did back on my own
machine the next day. Any idea why?ò
6.9
Fun School 4 (for the under 5s) ù Tom Rank found that this ran under
RISCáOSá3.00 but not 3.10, but Europress Software supplied an updated
disc very promptly which now works.
6.9
Freddy Teddy ù Topologika supplied a new version to Tom Rank on the spot
at BETT!
6.9
Ovation ù Tom Rank says you are urged to obtain 1.37S (dated 17 January
1993). This overcomes the saving with <F3> problem ù which really was a
problem, so do upgrade. They have also restored the Éselect allæ
shortcut Ö but only if you use the right-hand <Ctrl> key along with A
(to avoid the problem of catching <Ctrl-A> instead of <Ctrl-S> or just
<A>).
6.9
This version also contains three new printing options, not documented:
Fit, Centre and Registration marks. These should be self explanatory,
but Tom is not quite sure about them!
6.9
Break147 and SuperPool ù D. S. Allen got these to work using the
information provided by David Holden in the April column. He writes: öIn
Break147 there is one Basic program called !Snook which contains the
line
6.9
90SYSá26,64,64.
6.9
A REM statement in front of the SYS will cure the problem and the
program will then run under RISCáOSá3.1.
6.9
öSimilarly, in SuperPool there is a Basic program !Pool in the Data
directory in which line 60 has the same SYSá26,64,64 statement.
6.9
öNote that to make these changes, people will require the read/write
version of Mark Smithæs excellent ArcFS program.ò (Or, presumably, an
equivalent utility such as SparkFS.)
6.9
Superior Golf / Construction Set ù We reported in Archive 6.7 p43 that
Dave Wilcox had found that these did not work in RISCáOSá3.10. Rob
Brown, however, says he has had no problems with them.
6.9
Corruption ù Rob Brown says that this can be made to work by modifying
its !Run file to kill the RISCáOSá3 Shared C Library module and load the
very old version of the module supplied with the game. To do this,
include at the beginning of the !Run file the line:
6.9
RMKill SharedCLibrary
6.9
and then add at the end of the file the following two lines:
6.9
RMKill SharedCLibrary
6.9
RMLoad SharedCLibrary
6.9
to remove the old version and reload the RISCáOSá3 version of the
module. He points out that it may well be advisable to Quit any other
applications that may be using the RISCáOSá3 Shared C Library module
before running the game.
6.9
Freddyæs Folly ù Rob Brown advises that this game contains a !Run file
(in Basic) which includes an automatic Éauto-configurationæ of the
computeræs memory as well as setting up a number of initial program
parameters. The various auto-configuration elements should be deleted
from this file. A further complication is that the disc is copy
protected, but it should be possible to rename the original !Run file
(to say !RunOLD) and re-save a new !Run file containing only the initial
program parameters. He also advises that the game assumes that the
default disc drive is 0. For users with a hard disc this can easily be
set by typing:
6.9
Drive 0
6.9
at the command line (accessed by pressing function key <F12>) before
starting the game. Alternatively, the gameæs !Run file can be
appropriately amended by including the ö<Obey$Dir>ò command.
6.9
NOTE: the advice on Corruption and Freddyæs Folly is included in the
program compatibility chart which Rob Brown has compiled and which has
been included on the Archive monthly program disc. He will welcome any
information which will help him to make the chart as comprehensive and
up-to-date as possible. His address is öValtaneeò, Brighton Road, Lower
Kingswood, Tadworth, Surrey, KT20 6UP.
6.9
Aldebaran ù (see Archive 6.8 p23) Atle Mjelde Bσrdholt has contacted the
author and has learned that, on his A310 with IFELæs 2Mb upgrade, he has
to add 8Kb to the WimpSlot values in the !Aldebaran.!Run file (from
624Kb to 632Kb). Then everything works fine. He says this might be due
to the RAM upgrade: Aldebaran seems to work fine on any other Archimedes
with RISCáOSá3.1. He adds a final bit of advice: öGet a copy!ò
6.9
Printing
6.9
Printing to file
6.9
Tom Rank has found that the hint from Simon Moy in Archive 6.2.7 about
editing the number of text lines seems redundant under RISCáOSá3.10, and
that printing to a file (at least with the Epson LQ-860 driver) resulted
in a printout which aborted with an öaddress exception at &038B5BE0ò, a
frozen printer and an incomplete document (the last few millimetres were
lost). This is particularly irritating as printing to a file is the only
way, apart from buying a direct laser printer or a CC Turbo Driver, to
avoid the long wait for print out. (How about using the PROdriver shell
for use with Acorn drivers? See the review on page 43. Ed.)
6.9
Using fanfold paper
6.9
Tom Rank comments: öFeeding single sheets into a printer soon becomes a
pain, but sheetfeeders come expensive, so A4 fanfold paper seemed a good
idea (even though itæs about four or five times more expensive than
better quality photocopy paper at a discount stationer!). However, with
RISCáOS 3.00, I could never get the settings right, so the print always
crept up or down the page until it crossed the fold. With RISCáOS 3.10,
Iæve finally got it to work, whether by fluke Iæm not sure. Using the
LQ-860 printer driver with my Epson LQ-550 printer, the correct settings
from the paper sizes menu are: top margin 8mm and bottom margin 15mm;
save these with a name like ÉA4 Fanfoldæ and the margins can be
automatically set each time. These settings seem to work OK with single
sheets too.ò
6.9
Filing Systems
6.9
Beebug 5╝ö disc interface
6.9
Stuart Bell writes: öI got my Beebug 5╝ö disc interface (date 1989) to
work by setting the step rate for an 80 track double-sided drive to 12ms
(lower values may well work; Iæm just cautious), and whereas RISCáOSá2
worked with öReadyò (switch 6 on the interface) supplied by the on-board
PAL, RISCáOSá3 works more reliably with it passed through from the
drive.ò
6.9
Dismounting between filing systems
6.9
According to Mike Sawle, applications which frequently switch between
filing systems seem to require the *DISMOUNT command before selecting an
alternative filing system in order to ensure correct execution. Common
error messages are Ambiguous Disc Name and Bad Error Block.
6.9
Miscellaneous Hints & Tips
6.9
Å Faster copying, etc. ù Rob Davison recommends that if there is nothing
else you want to do when copying files, then click <Menu> over the filer
action window and choose ÉFasteræ.
6.9
Å In the midnight hour ù Atle Mjelde Bσrdholt found that, whenever he
switched his computer on between midnight and 1áa.m., a day was added to
the internal clock. He then found that this seemed to be caused by the
presence in his !Boot file of the command *SetáSys$Yeará1993 (which he
had included because he has some programs that set the year back to
1988). When this command is removed, the midnight hour problem goes
away. Does anyone know the reason?
6.9
Å Fan filters and the A5000 ù Tom Rank found that, although magazines
mention the need to change the filter from time to time, there was no
mention of how to do this and on fitting the RISCáOS 3.10 upgrade he
could see no filter anyway. Is there one, he asks? The Acorn
representative at BETT told him that the design of the machine made it
superfluous; he couldnæt quite follow why, but it was something to do
with the direction of airflow.
6.9
Å Flippinæ objects in Draw ù Having travelled all the way from
Derbyshire to the Acorn User Show, Tom Rank öasked the man on one of the
other magazinesæ stall if there was an equivalent in Draw to the Éflipæ
option in Paint, as itæs sometimes useful to turn a picture round to
face the other way. The expert, although helpful about other items,
couldnæt tell me, but my son revealed the following tip, which he said
he thought was obvious. Must talk to him more often....
6.9
öTo flip an object in Draw, select it and, from the Étransformæ menu
(RISCáOS 3), set x scale (or y scale or both) to Ö1 (minus 1). This also
works in the RISCáOS 2 version of Draw but there the Étransformæ option
is chosen from the Select menu.ò
6.9
Å Lost lines in Edit Ö Eric Ayers has found that double-clicking on
large text files to load them into Edit has caused several lines to be
missing from the middle of the text. Apparently, this does not happen if
he drags the files to the Edit icon on the icon bar. Any ideas?
6.9
Å More fonts in RISC-OS 3 Ö Gary Atkinson of KudlianSoft recommends the
following additions to the !Fonts.!Boot and !Fonts.!Run files to enable
one or more separate font directories to be added to and removed from
the font path simply by double-clicking on the fonts application
directory.
6.9
The !Fonts.!Boot file should be amended as follows:
6.9
| Boot file for !Fonts.
6.9
| Nothing happens if you put this in | a RISCáOS 2 machine except that
6.9
| the !Fonts sprite is set up Ö this | means that, when a RISCáOS2
!Fonts
6.9
| directory is seen the !Boot file
6.9
| will not be run; double clicking
6.9
| on the appropriate !Fonts will
6.9
| force installation.
6.9
|
6.9
| Take care when merging RISCáOS 2
6.9
| fonts with these (RISCáOS 3) fonts
6.9
| - many fonts are contained in the
6.9
| RISCáOS 3 ROM and thus do not
6.9
| appear in !Fonts; normally you
6.9
| should not copy the corresponding
6.9
| RISCáOS 2 fonts!
6.9
Iconsprites <Obey$Dir>.!Sprites
6.9
RMEnsure FontManager 2.89 Obey
6.9
| The next command boots up your
6.9
| normal font directory
6.9
FontInstall <Obey$Dir>.
6.9
SetEval MoreFonts 0
6.9
The !Fonts.!Run file should be amended as follows:
6.9
| !Run file for !Fonts,
6.9
| version 1.05 (20-Aug-91)
6.9
RMEnsure FontManager 2.89 Error These fonts are for use with
6.9
RISCáOS 2.12 or later
6.9
|Obey <Obey$Dir>.!Boot
6.9
| The extra *FontInstall means that,
6.9
| if you double-click the Fonts
6.9
| directory, all such directories
6.9
| will be re-searched for any new
6.9
| fonts.
6.9
SetEval MoreFonts MoreFonts EOR 1
6.9
IF MoreFonts=1 THEN FontInstall <Obey$Dir>. ELSE FontRemove <Obey$Dir>.
6.9
|FontInstall
6.9
The !Boot file is only run on the first time that the filer sees the
!Fonts application, hence the initialisation of MoreFonts to zero. Every
time the directory is double-clicked, the !Run file will toggle the
value of this variable between 0 and 1. This is done in the line:
6.9
SetEval MoreFonts MoreFonts EOR 1
6.9
If the value is 1, the FontInstall command adds the new directory to the
font path and initialises all of the fonts. If the value is 0, the
FontRemove command removes the temporary font directory from the font
path.
6.9
If you require more than one spare directory, you will need to use
different variables, such as MoreFonts2 or FancyFonts.
6.9
In practice, it is better to have a directory called fonts inside your
!Fonts application which contains your preferred normal fonts at
switch-on, and a directory called spare (for example) which contains the
set of fonts that you wish to switch in and out. Then in your !Boot
file, the FontInstall command becomes
6.9
FontInstall <Obey$Dir>.fonts.
6.9
and the IF...THEN statement in the !Run file has <Obey$Dir>.spare. in
place of the two occurrences of <Obey$Dir>. .
6.9
Miscellaneous Comments
6.9
FontEd
6.9
When Tom Rank spoke to an Acorn representative he was told that they
were not contemplating the release of FontEd and that it is NOT public
domain. An early version got there by mistake via SID and it really
ought not, he said, to be distributed by PD libraries.
6.9
The Acorn representative acknowledged that Acorn were unlikely to do
anything about this situation, as it was öonly an early version and
wonæt work on RISCáOS 3ò. According to Tom this is partially true; a
friend of his has had problems with version 0.28, but at least some of
the time it runs on an A5000. However, he observes that it is a pity
that Acorn actually seem to be discouraging anyone else from working on
fonts. (There is a version of FontEd on Careware 7, released in May
1990, but it has been updated since then. Acorn havenæt objected,
presumably because of the charitable aspect. Ed.)
6.9
Screen blanking during floppy disc access
6.9
Stuart Bell writes: öMany things are very much more elegant in RISCáOS 3
but with one notable exception. I couldnæt believe my eyes when I saw
what happens to the screen during floppy disc accessing. Whether my ARM3
cache is dis- or enabled, in mode 24 the screen either flashes or is
blanked when loading, saving or formatting. If RISCáOS 2 didnæt need to
do this, why is it allowed now? (It did, in fact, happen in mode 21
under RISCáOSá2 ù HE.) Some re-coding is needed, even if the resultant
code is a little slower. More significantly, who was the Acorn person in
authority who thought that it is acceptable in 1993 to produce a
computer which professes to be a Éworld-beateræ which, when using floppy
discs, looks like the Sinclair Spectrum (or was it the ZX81?) reading
from cassette tape circa 1983? This just looks so tacky. I know that
serious use demands a hard disc, but first impressions count for a lot,
and a lot of demonstrations will be on floppy-based A3010æs. This is not
good enough, Acorn.ò
6.9
Basic program compaction errors
6.9
R. W. Darlington writes: öI am writing on a matter of utmost urgency.
6.9
öThere seems to be a growing urge amongst programmers to use a program
compactor on Basic RunImage files. Unfortunately, I know of no Basic
compactor program that does not exhibit a certain disastrous fault.
6.9
öIf, for instance, a Basic program contains any floating point or pseudo
variables followed by a Basic keyword or statement, then when it is
compacted and the space between the variable and the keyword is removed,
that line will generate an error.
6.9
öFor instance, if the program contained the line
6.9
10 IF TRUE THEN VDU7
6.9
which when compacted becomes
6.9
10IFTRUETHENVDU7
6.9
the lack of space between TRUE and THEN will generate an error.
6.9
öThe same is true for any line containing a floating point variable:
6.9
10 ha=TRUE
6.9
20 IF ha THEN VDU7
6.9
will crash when compacted because of a lack of space between ha and
THEN.
6.9
öI have come across numerous examples of RunImage files which have these
errors in them. One of them is Acornæs new RISCáOS 3 !SciCalc. Others
are new versions of Translator and Creator.
6.9
öPlease can you draw Archive readersæ attention to these problems as
soon as possible? Or, if any reader knows of a Basic compactor that does
not produce these errors, please can they let us know where it may be
obtained?ò
6.9
Matters Arising
6.9
Setting Caps Lock (*FX 202)
6.9
Unfortunately, the advice I gave last month about using *FX 202 may have
been a bit confusing because, after explaining that Peter Young wanted a
command to turn Caps Lock on, I then described how to turn it off! The
command to turn Caps Lock on, leaving the other settings unchanged, is
*FXá202,0,239.
6.9
The shortened form *FXá202,32 should turn Caps Lock on, but may have
side effects.
6.9
Note also that, to make sure that the LED indicators are correctly
updated after a *FXá202 command, it is a good idea to follow it with the
simple command *FXá118.
6.9
The bits of the keyboard status byte have the following meanings:
6.9
bit value meaning
6.9
0 (1) 0 Alt off
6.9
1 Alt on
6.9
1 (2) 0 Scroll Lock off
6.9
1 Scroll Lock on
6.9
2 (4) 0 Num Lock on
6.9
1 Num Lock off
6.9
3 (8) 0 Shift off
6.9
1 Shift on
6.9
4 (16) 0 Caps Lock on
6.9
1 Caps Lock off
6.9
5 (32) (öNormally setò)
6.9
6 (64) 0 Ctrl off
6.9
1 Ctrl on
6.9
7 (128) 0 Shift enable off
6.9
1 Shift enable on
6.9
(This information is taken from the RISC¡OSá2 Programmersæ Reference Manual.)
6.9
Boot-up options (Archive 6.8 p26)
6.9
Peter Young has suggested that it might be better to use INKEY$ with a
delay of, say, 5 to 10 seconds instead of GET$ so that, if nobody
presses a key, the computer will continue with the boot file after a
short delay.
6.9
Unexpected messages from IDE filing system (Archive 6.8 p24)
6.9
Peter Young (who has a Beebug IDE interface) has confirmed that, even
after creating space for a directory cache, he still gets unexpected
messages unless he uses full pathnames. For instance, if he starts with
the commands
6.9
*DIR IDEFS::IDEDisc4.$.BASIC.B
6.9
*CAT
6.9
he gets a catalogue of the subdirectory ÉBæ as expected. However, if he
uses the abbreviated pathname instead:
6.9
*DIR $.BASIC.B
6.9
*CAT
6.9
he gets a catalogue of the directory ÉBASICæ even though the heading of
the directory listing correctly says that the CSD is IDEFS::IDEDisc4.$.
BASIC.B. The computeræs confusion is further demonstrated by the fact
that if he then enters:
6.9
*DIR ^
6.9
*CAT
6.9
it replies Directory É@æ not found.
6.9
ÉInterruptæ module (Archive 6.6 p55)
6.9
In March, we reported M. P. Sawleæs request for help in getting the
Interrupt module (Archive Shareware disc 6) working under RISCáOSá3, but
since then neither he nor we have heard anything. Does no-one else use
this module? Can its author help?
6.9
Using RISCáOSá3.10
6.9
Hugh Eagle
6.9
More encouragement for the faint-hearted!
6.9
Stuart Bell says: öHaving read the RISCáOS Column for the past few
months, I approached the upgrade with caution, afraid of all sorts of
installation and compatibility problems. I guess that by the nature of
the things, itæs those people who encounter problems who write in,
thereby giving a false impression of the true situation. So, if youære
still with RISCáOS 2 and thinking about upgrading, be encouraged.
Installing RISCáOS 3 on my A310, including removing the main board and
installing the IFEL ROM carrier board took about an hour from start to
finish, and I experienced no unforeseen problems.
6.9
öHaving been warned of problems with Compression 1.1, I de-compressed
all files first. I await the free upgrade from CC. There is the reported
problem with early versions of Font-FX and thatæs in hand.
6.9
öA couple of warnings, though: As well as powering up with <Delete>
depressed, also make sure that youæve re-connected the keyboard first.
(Donæt laugh ù it could have been you! That cost me several minutes of
panic.) Secondly, alter the Font Size figure before loading your first
Impression document, which otherwise can take several minutes to load
with a 32Kb buffer.ò
6.9
Å Avie Electronics 4Mb A310 upgrade Ö The following information has come
from Avie: LK12 should be altered to 1-3 and 2-4. Issue 1 PCBs do not
have LK12 and require modification as follows:
6.9
Option 1: pins 2 and 24 on all of the ROMs are to be swapped. Remove
pins 2 and 24 from each ROM socket by bending them up. Join pin 24 on
all ROMs to GND. Join pin 2 on all ROMs to LA18 on IC28, pin 18.
6.9
Option 2: remove pin 2 from each stamped socket on PCB and strap a wire
between the pins and LA18. Likewise, pin 24 can be strapped to GND after
removing the pins in the stamped sockets.
6.9
Hardware problems
6.9
Watford Electronics ARM3 Ö When Colin Wood fitted a Watford Electronics
ARM3 upgrade to his A410 it didnæt work. öThe screen flashed red/blue,
but no beep. Just dead.ò As he had recently fitted RISCáOSá3, he decided
to replace the RISCáOSá2 chips and everything seemed OK, but when he put
the RISCáOSá3 chips back, again it didnæt work. Watfordæs help line
couldnæt help, so he returned the ARM3 and since they were (again) out
of stock he cancelled his order and got most (but not all, apparently)
of his money back. Another ARM3, from CJE Microæs, worked first time.
6.9
Watford A310 RAM upgrades Ö Watford Electronics say that they are aware
that their early A305/310 RAM upgrades do not work with RISCáOS 3 but
they do not have any solution. They simply recommend that you buy one of
their newer RAM upgrades instead because they do work with RISCáOS 3.
Fortunately, IFEL have stepped into the breach. They can offer new PAL
chips to plug into the Watford boards that will solve the problem. These
PAL chips are ú3 +VAT each from IFEL and you need to state whether you
have the 2Mb or the 4Mb version. (This refers to the upgrades that
consisted of two PCBs with a ribbon cable along the RHS of the machine.)
6.9
Program problems
6.9
QuicKey clash Ö J. Nichols reports that, if QuicKey is loaded from
within a !Boot file, it can remove the *Opt 4,2 status from the booted
disc resulting in a disc which no longer runs a !Boot file.
6.9
!Edit ù Following last monthæs reports of a öbugò in Edit we now have
the following from Tom Rank: öThere seemed to be a rare problem with
Edit the other day; my text (exported from Ovation) was displayed in a
most corrupted way, with a large amount of blank screen to start with
and then disintegrating words. I thought it was a problem with Ovation.
However, when I tried to show it to John Wallace of Risc Developments at
BETT, the file displayed without problems, as it did back on my own
machine the next day. Any idea why?ò
6.9
Fun School 4 (for the under 5s) ù Tom Rank found that this ran under
RISCáOSá3.00 but not 3.10, but Europress Software supplied an updated
disc very promptly which now works.
6.9
Freddy Teddy ù Topologika supplied a new version to Tom Rank on the spot
at BETT!
6.9
Ovation ù Tom Rank says you are urged to obtain 1.37S (dated 17 January
1993). This overcomes the saving with <F3> problem ù which really was a
problem, so do upgrade. They have also restored the Éselect allæ
shortcut Ö but only if you use the right-hand <Ctrl> key along with A
(to avoid the problem of catching <Ctrl-A> instead of <Ctrl-S> or just
<A>).
6.9
This version also contains three new printing options, not documented:
Fit, Centre and Registration marks. These should be self explanatory,
but Tom is not quite sure about them!
6.9
Break147 and SuperPool ù D. S. Allen got these to work using the
information provided by David Holden in the April column. He writes: öIn
Break147 there is one Basic program called !Snook which contains the
line
6.9
90SYSá26,64,64.
6.9
A REM statement in front of the SYS will cure the problem and the
program will then run under RISCáOSá3.1.
6.9
öSimilarly, in SuperPool there is a Basic program !Pool in the Data
directory in which line 60 has the same SYSá26,64,64 statement.
6.9
öNote that to make these changes, people will require the read/write
version of Mark Smithæs excellent ArcFS program.ò (Or, presumably, an
equivalent utility such as SparkFS.)
6.9
Superior Golf / Construction Set ù We reported in Archive 6.7 p43 that
Dave Wilcox had found that these did not work in RISCáOSá3.10. Rob
Brown, however, says he has had no problems with them.
6.9
Corruption ù Rob Brown says that this can be made to work by modifying
its !Run file to kill the RISCáOSá3 Shared C Library module and load the
very old version of the module supplied with the game. To do this,
include at the beginning of the !Run file the line:
6.9
RMKill SharedCLibrary
6.9
and then add at the end of the file the following two lines:
6.9
RMKill SharedCLibrary
6.9
RMLoad SharedCLibrary
6.9
to remove the old version and reload the RISCáOSá3 version of the
module. He points out that it may well be advisable to Quit any other
applications that may be using the RISCáOSá3 Shared C Library module
before running the game.
6.9
Freddyæs Folly ù Rob Brown advises that this game contains a !Run file
(in Basic) which includes an automatic Éauto-configurationæ of the
computeræs memory as well as setting up a number of initial program
parameters. The various auto-configuration elements should be deleted
from this file. A further complication is that the disc is copy
protected, but it should be possible to rename the original !Run file
(to say !RunOLD) and re-save a new !Run file containing only the initial
program parameters. He also advises that the game assumes that the
default disc drive is 0. For users with a hard disc this can easily be
set by typing:
6.9
Drive 0
6.9
at the command line (accessed by pressing function key <F12>) before
starting the game. Alternatively, the gameæs !Run file can be
appropriately amended by including the ö<Obey$Dir>ò command.
6.9
NOTE: the advice on Corruption and Freddyæs Folly is included in the
program compatibility chart which Rob Brown has compiled and which has
been included on the Archive monthly program disc. He will welcome any
information which will help him to make the chart as comprehensive and
up-to-date as possible. His address is öValtaneeò, Brighton Road, Lower
Kingswood, Tadworth, Surrey, KT20 6UP.
6.9
Aldebaran ù (see Archive 6.8 p23) Atle Mjelde Bσrdholt has contacted the
author and has learned that, on his A310 with IFELæs 2Mb upgrade, he has
to add 8Kb to the WimpSlot values in the !Aldebaran.!Run file (from
624Kb to 632Kb). Then everything works fine. He says this might be due
to the RAM upgrade: Aldebaran seems to work fine on any other Archimedes
with RISCáOSá3.1. He adds a final bit of advice: öGet a copy!ò
6.9
Printing
6.9
Printing to file
6.9
Tom Rank has found that the hint from Simon Moy in Archive 6.2.7 about
editing the number of text lines seems redundant under RISCáOSá3.10, and
that printing to a file (at least with the Epson LQ-860 driver) resulted
in a printout which aborted with an öaddress exception at &038B5BE0ò, a
frozen printer and an incomplete document (the last few millimetres were
lost). This is particularly irritating as printing to a file is the only
way, apart from buying a direct laser printer or a CC Turbo Driver, to
avoid the long wait for print out. (How about using the PROdriver shell
for use with Acorn drivers? See the review on page 43. Ed.)
6.9
Using fanfold paper
6.9
Tom Rank comments: öFeeding single sheets into a printer soon becomes a
pain, but sheetfeeders come expensive, so A4 fanfold paper seemed a good
idea (even though itæs about four or five times more expensive than
better quality photocopy paper at a discount stationer!). However, with
RISCáOS 3.00, I could never get the settings right, so the print always
crept up or down the page until it crossed the fold. With RISCáOS 3.10,
Iæve finally got it to work, whether by fluke Iæm not sure. Using the
LQ-860 printer driver with my Epson LQ-550 printer, the correct settings
from the paper sizes menu are: top margin 8mm and bottom margin 15mm;
save these with a name like ÉA4 Fanfoldæ and the margins can be
automatically set each time. These settings seem to work OK with single
sheets too.ò
6.9
Filing Systems
6.9
Beebug 5╝ö disc interface
6.9
Stuart Bell writes: öI got my Beebug 5╝ö disc interface (date 1989) to
work by setting the step rate for an 80 track double-sided drive to 12ms
(lower values may well work; Iæm just cautious), and whereas RISCáOSá2
worked with öReadyò (switch 6 on the interface) supplied by the on-board
PAL, RISCáOSá3 works more reliably with it passed through from the
drive.ò
6.9
Dismounting between filing systems
6.9
According to Mike Sawle, applications which frequently switch between
filing systems seem to require the *DISMOUNT command before selecting an
alternative filing system in order to ensure correct execution. Common
error messages are Ambiguous Disc Name and Bad Error Block.
6.9
Miscellaneous Hints & Tips
6.9
Å Faster copying, etc. ù Rob Davison recommends that if there is nothing
else you want to do when copying files, then click <Menu> over the filer
action window and choose ÉFasteræ.
6.9
Å In the midnight hour ù Atle Mjelde Bσrdholt found that, whenever he
switched his computer on between midnight and 1áa.m., a day was added to
the internal clock. He then found that this seemed to be caused by the
presence in his !Boot file of the command *SetáSys$Yeará1993 (which he
had included because he has some programs that set the year back to
1988). When this command is removed, the midnight hour problem goes
away. Does anyone know the reason?
6.9
Å Fan filters and the A5000 ù Tom Rank found that, although magazines
mention the need to change the filter from time to time, there was no
mention of how to do this and on fitting the RISCáOS 3.10 upgrade he
could see no filter anyway. Is there one, he asks? The Acorn
representative at BETT told him that the design of the machine made it
superfluous; he couldnæt quite follow why, but it was something to do
with the direction of airflow.
6.9
Å Flippinæ objects in Draw ù Having travelled all the way from
Derbyshire to the Acorn User Show, Tom Rank öasked the man on one of the
other magazinesæ stall if there was an equivalent in Draw to the Éflipæ
option in Paint, as itæs sometimes useful to turn a picture round to
face the other way. The expert, although helpful about other items,
couldnæt tell me, but my son revealed the following tip, which he said
he thought was obvious. Must talk to him more often....
6.9
öTo flip an object in Draw, select it and, from the Étransformæ menu
(RISCáOS 3), set x scale (or y scale or both) to Ö1 (minus 1). This also
works in the RISCáOS 2 version of Draw but there the Étransformæ option
is chosen from the Select menu.ò
6.9
Å Lost lines in Edit Ö Eric Ayers has found that double-clicking on
large text files to load them into Edit has caused several lines to be
missing from the middle of the text. Apparently, this does not happen if
he drags the files to the Edit icon on the icon bar. Any ideas?
6.9
Å More fonts in RISC-OS 3 Ö Gary Atkinson of KudlianSoft recommends the
following additions to the !Fonts.!Boot and !Fonts.!Run files to enable
one or more separate font directories to be added to and removed from
the font path simply by double-clicking on the fonts application
directory.
6.9
The !Fonts.!Boot file should be amended as follows:
6.9
| Boot file for !Fonts.
6.9
| Nothing happens if you put this in | a RISCáOS 2 machine except that
6.9
| the !Fonts sprite is set up Ö this | means that, when a RISCáOS2
!Fonts
6.9
| directory is seen the !Boot file
6.9
| will not be run; double clicking
6.9
| on the appropriate !Fonts will
6.9
| force installation.
6.9
|
6.9
| Take care when merging RISCáOS 2
6.9
| fonts with these (RISCáOS 3) fonts
6.9
| - many fonts are contained in the
6.9
| RISCáOS 3 ROM and thus do not
6.9
| appear in !Fonts; normally you
6.9
| should not copy the corresponding
6.9
| RISCáOS 2 fonts!
6.9
Iconsprites <Obey$Dir>.!Sprites
6.9
RMEnsure FontManager 2.89 Obey
6.9
| The next command boots up your
6.9
| normal font directory
6.9
FontInstall <Obey$Dir>.
6.9
SetEval MoreFonts 0
6.9
The !Fonts.!Run file should be amended as follows:
6.9
| !Run file for !Fonts,
6.9
| version 1.05 (20-Aug-91)
6.9
RMEnsure FontManager 2.89 Error These fonts are for use with
6.9
RISCáOS 2.12 or later
6.9
|Obey <Obey$Dir>.!Boot
6.9
| The extra *FontInstall means that,
6.9
| if you double-click the Fonts
6.9
| directory, all such directories
6.9
| will be re-searched for any new
6.9
| fonts.
6.9
SetEval MoreFonts MoreFonts EOR 1
6.9
IF MoreFonts=1 THEN FontInstall <Obey$Dir>. ELSE FontRemove <Obey$Dir>.
6.9
|FontInstall
6.9
The !Boot file is only run on the first time that the filer sees the
!Fonts application, hence the initialisation of MoreFonts to zero. Every
time the directory is double-clicked, the !Run file will toggle the
value of this variable between 0 and 1. This is done in the line:
6.9
SetEval MoreFonts MoreFonts EOR 1
6.9
If the value is 1, the FontInstall command adds the new directory to the
font path and initialises all of the fonts. If the value is 0, the
FontRemove command removes the temporary font directory from the font
path.
6.9
If you require more than one spare directory, you will need to use
different variables, such as MoreFonts2 or FancyFonts.
6.9
In practice, it is better to have a directory called fonts inside your
!Fonts application which contains your preferred normal fonts at switch-
on, and a directory called spare (for example) which contains the set of
fonts that you wish to switch in and out. Then in your !Boot file, the
FontInstall command becomes
6.9
FontInstall <Obey$Dir>.fonts.
6.9
and the IF...THEN statement in the !Run file has <Obey$Dir>.spare. in
place of the two occurrences of <Obey$Dir>. .
6.9
Miscellaneous Comments
6.9
FontEd
6.9
When Tom Rank spoke to an Acorn representative he was told that they
were not contemplating the release of FontEd and that it is NOT public
domain. An early version got there by mistake via SID and it really
ought not, he said, to be distributed by PD libraries.
6.9
The Acorn representative acknowledged that Acorn were unlikely to do
anything about this situation, as it was öonly an early version and
wonæt work on RISCáOS 3ò. According to Tom this is partially true; a
friend of his has had problems with version 0.28, but at least some of
the time it runs on an A5000. However, he observes that it is a pity
that Acorn actually seem to be discouraging anyone else from working on
fonts. (There is a version of FontEd on Careware 7, released in May
1990, but it has been updated since then. Acorn havenæt objected,
presumably because of the charitable aspect. Ed.)
6.9
Screen blanking during floppy disc access
6.9
Stuart Bell writes: öMany things are very much more elegant in RISCáOS 3
but with one notable exception. I couldnæt believe my eyes when I saw
what happens to the screen during floppy disc accessing. Whether my ARM3
cache is dis- or enabled, in mode 24 the screen either flashes or is
blanked when loading, saving or formatting. If RISCáOS 2 didnæt need to
do this, why is it allowed now? (It did, in fact, happen in mode 21
under RISCáOSá2 ù HE.) Some re-coding is needed, even if the resultant
code is a little slower. More significantly, who was the Acorn person in
authority who thought that it is acceptable in 1993 to produce a
computer which professes to be a Éworld-beateræ which, when using floppy
discs, looks like the Sinclair Spectrum (or was it the ZX81?) reading
from cassette tape circa 1983? This just looks so tacky. I know that
serious use demands a hard disc, but first impressions count for a lot,
and a lot of demonstrations will be on floppy-based A3010æs. This is not
good enough, Acorn.ò
6.9
Basic program compaction errors
6.9
R. W. Darlington writes: öI am writing on a matter of utmost urgency.
6.9
öThere seems to be a growing urge amongst programmers to use a program
compactor on Basic RunImage files. Unfortunately, I know of no Basic
compactor program that does not exhibit a certain disastrous fault.
6.9
öIf, for instance, a Basic program contains any floating point or pseudo
variables followed by a Basic keyword or statement, then when it is
compacted and the space between the variable and the keyword is removed,
that line will generate an error.
6.9
öFor instance, if the program contained the line
6.9
10 IF TRUE THEN VDU7
6.9
which when compacted becomes
6.9
10IFTRUETHENVDU7
6.9
the lack of space between TRUE and THEN will generate an error.
6.9
öThe same is true for any line containing a floating point variable:
6.9
10 ha=TRUE
6.9
20 IF ha THEN VDU7
6.9
will crash when compacted because of a lack of space between ha and
THEN.
6.9
öI have come across numerous examples of RunImage files which have these
errors in them. One of them is Acornæs new RISCáOS 3 !SciCalc. Others
are new versions of Translator and Creator.
6.9
öPlease can you draw Archive readersæ attention to these problems as
soon as possible? Or, if any reader knows of a Basic compactor that does
not produce these errors, please can they let us know where it may be
obtained?ò
6.9
Matters Arising
6.9
Setting Caps Lock (*FX 202)
6.9
Unfortunately, the advice I gave last month about using *FX 202 may have
been a bit confusing because, after explaining that Peter Young wanted a
command to turn Caps Lock on, I then described how to turn it off! The
command to turn Caps Lock on, leaving the other settings unchanged, is
*FXá202,0,239.
6.9
The shortened form *FXá202,32 should turn Caps Lock on, but may have
side effects.
6.9
Note also that, to make sure that the LED indicators are correctly
updated after a *FXá202 command, it is a good idea to follow it with the
simple command *FXá118.
6.9
The bits of the keyboard status byte have the following meanings:
6.9
bit value meaning
6.9
0 (1) 0 Alt off
6.9
1 Alt on
6.9
1 (2) 0 Scroll Lock off
6.9
1 Scroll Lock on
6.9
2 (4) 0 Num Lock on
6.9
1 Num Lock off
6.9
3 (8) 0 Shift off
6.9
1 Shift on
6.9
4 (16) 0 Caps Lock on
6.9
1 Caps Lock off
6.9
5 (32) (öNormally setò)
6.9
6 (64) 0 Ctrl off
6.9
1 Ctrl on
6.9
7 (128) 0 Shift enable off
6.9
1 Shift enable on
6.9
(This information is taken from the RISC¡OSá2 Programmersæ Reference
Manual.)
6.9
Boot-up options (Archive 6.8 p26)
6.9
Peter Young has suggested that it might be better to use INKEY$ with a
delay of, say, 5 to 10 seconds instead of GET$ so that, if nobody
presses a key, the computer will continue with the boot file after a
short delay.
6.9
Unexpected messages from IDE filing system (Archive 6.8 p24)
6.9
Peter Young (who has a Beebug IDE interface) has confirmed that, even
after creating space for a directory cache, he still gets unexpected
messages unless he uses full pathnames. For instance, if he starts with
the commands
6.9
*DIR IDEFS::IDEDisc4.$.BASIC.B
6.9
*CAT
6.9
he gets a catalogue of the subdirectory ÉBæ as expected. However, if he
uses the abbreviated pathname instead:
6.9
*DIR $.BASIC.B
6.9
*CAT
6.9
he gets a catalogue of the directory ÉBASICæ even though the heading of
the directory listing correctly says that the CSD is IDEFS::IDEDisc4.$.
BASIC.B. The computeræs confusion is further demonstrated by the fact
that if he then enters:
6.9
*DIR ^
6.9
*CAT
6.9
it replies Directory É@æ not found.
6.9
ÉInterruptæ module (Archive 6.6 p55)
6.9
In March, we reported M. P. Sawleæs request for help in getting the
Interrupt module (Archive Shareware disc 6) working under RISCáOSá3, but
since then neither he nor we have heard anything. Does no-one else use
this module? Can its author help?
6.9
Using RISC OS 3
6.10
Program points
6.10
Å QuicKey ù Last month (Archive 6.9 p 61), we reported a problem with
this program. Ian Copestake has written to say that this problem was
cured by an update released in April 1992 ù over a year ago! ù and was
caused by a bug in RISCáOSá3. He says that customers can always obtain
minor updates like this by returning their original disc plus ú1 worth
of postage stamps (or a reasonable overseas equivalent). He also asks if
contributors can check that they have up-to-date versions before
reporting problems.
6.10
Å Fourth Dimension games ù A. H. Hunt had a problem with Black Angel
(öone of the casket segments was missing at the Planet Valve (23%)ò) but
this was rectified by 4D immediately. He also says that Break147 and
Saloon Cars run (for him) without any problems.
6.10
However, Arthur Taylor found that the hint by D. S. Allen in Archive 6.9
p62 on Break147 and SuperPool didnæt work for him. Perhaps
significantly, the relevant line of the Basic program was line 100 not
line 90 in his copy, and also his program wasnæt compressed but was
heavily protected. (I wonder whether the version of Break147 which A. H.
Hunt has would work on his machine, and whether Fourth Dimension can
supply it?)
6.10
Å Rotor Ö This game from Arcana does not work on RISCáOS 3 and Arcana
have, apparently, gone bust. Fortunately, Superior Software have bought
out the rights to the program and sell it as part of their öPlay it
Again, Sam 1ò compilation. Apparently, if you send your Arcana version
of Rotor to Superior with a cheque for ú10, they will send you a copy of
Play it Again, Sam 1.á John Waddell, Renfrewshire.
6.10
Å Recommended programs (which do work) ù Arthur Taylor strongly
recommends Simon Burrowsæ FontsPlus: he has created four fonts
directories and with FontsPlus on the iconbar he can choose to have all
or none of them active (if none, the ROM fonts are still available); if
he doesnæt load FontsPlus, then they are all available ö... simple as
that!ò
6.10
He says that other PD or shareware programs that seem to work fine with
RISCáOSá3.10 include: DiskBase v0.65, DiskCat v1.50 (disc cataloguers),
FuncKeys v2.02 and KeyWindow v1.40 (keystrips and keys from the desktop)
and a super neat new mode changer from Dave Thomas: !Mode v1.03 ù it can
store up to 8 modes in a small desktop window and seems very well
behaved.
6.10
Å Watford scanner Ö In Archive 6.8 p27, we reported problems with the
Watford Handscanner (1990, issue 2). Apparently, there is an upgrade to
the software (version 1.1) available from Watford.á D Webb, Cumbernauld.
6.10
Disc drive problems
6.10
Å 360Kb PC discs Ö Richard Fallas writes: öWhile trying to transfer data
to the hard drive of an old PC recently, I discovered that there are no
hard and fast rules about compatibility with 40 track discs. Previously,
I had used my switchable 40/80 track 5╝ö drive (with Beebug Interface)
under the emulator, having set up a suitable device in the config.sys
file. This no longer works under RISCáOS 3.10, so I tried to transfer
directly.
6.10
öThe disc format was correctly identified and the files written (with
switch set to 80 track) without hitch, but the PC didnæt want to read
them (using copy *.*), although it would give me the directory listing.
6.10
öBeing stubborn, I tried again, saving and copying file by file. This
worked... sometimes! The longer the file the greater the chance of a
glitch, but eventually I got all the files across. This worked on files
up to 75Kb in size, so persevere!ò
6.10
Å IDE drives ù Arthur Taylor advises that you should not assume that the
IDE support built into RISCáOSá3 will work with an IDE drive that has
been added to a pre-A5000 computer. He found with his IDE drive supplied
by DT that he had to set the number of IDE discs to zero in !Configure
and then run DTæs setup, after which he had no problems.
6.10
Å ST506 drive fitted to an A3000 ù Tony Flaherty was interested to read
of the hardware problem experienced by Colin Wood (Archive 6.9 p61) when
fitting a ARM3 to his A410, since he has recently experienced a similar
problem with his A3000. He writes:
6.10
öI have a basic ARM2 machine with RISC OS 3.1 and an Orion 2 Mb upgrade.
I recently added an external 20 Mb ST506 hard disc using an ex-PC MFM
drive and an Acorn external controller. The drive and a suitable power
supply/fan sit in a home-made expansion box. I suffer the usual A3000
problems with regard to the oxidation of the memory connectors. The
hard disc also tends to generate defects if the system is powered down
in an abnormal way (i.e. not <ctrl-shift-f12>).
6.10
öMy problem was symptomatically the same as Colinæs in that, initially,
the system froze completely while I was editing a First Word Plus
document eventually forcing me to press <reset>. The screen flashed red
then blue with no further action Ö a power down produced the same
results, I tried this several times to no avail. Finally in desperation,
I opened the box but nothing looked out of place (no charring or loose
leads). I powered up the machine and this time all was well, however,
when I verified the disc 20 or defects were reported, when these were
added to the discæs defect list, using *DEFECT, some of the files within
the first Word Plus application directory where corrupt and this had to
be restored from a backup.ò
6.10
Tony wonders, therefore, whether Colin Woodæs assumption that his
problem related directly to the ARM3 upgrade was correct. Could the
problem lie with RISC OS 3.1? Does anyone have any views on this?
6.10
Other matters arising
6.10
Å Cache control Ö In response to the comments about difficulty on
RISCáOS 3 with hares, tortoises and ARM3s, David Percival has sent in an
application that controls it properly. It evens notices if you have
typed in a cache-on or cache-off command or have executed one within a
program and it still displays the correct icon on the iconbar!á David
Percival, Swanley.
6.10
Å Redraw problems (Archive 6.8 p29) Ö A problem of incorrect screen re-
drawing in !Edit was mentioned. Tim Nicholson has had the same problem
with Deskedit! He says it seems to be a particular problem with
unformatted text that only has carriage returns/line feeds as paragraph
breaks and nowhere else. Since both pieces of software have the same
problem, he wonders if the bug is in the SharedCLib? Has anyone else had
the same problem?
6.10
Å Printing after Artworks (Archive 6.5 p31 and 6.8 p24) ù Roger King
reported a problem with spurious fine horizontal lines about 4mm long
scattered throughout printouts when printing from another application
after printing from Artworks. Steve Hutchinson found that putting his
LaserDirect podule in a different slot (as recommended by Computer
Concepts) solved this problem for him. Unfortunately, this didnæt work
for Roger. However, he has now found a cure: after printing from
Artworks, select öQueue controlò from the printer icon and then select
öFlush bufferò. He observes that it would seem that Artworks is leaving
something önastyò in the printer buffer, although a CC representative
with whom Roger discussed the problem suggested that Acornæs printer
drivers might be at fault.
6.10
Å Photocopying via LaserDirect (Archive 6.8 p24) ù Tim Powys-Lybbe has
got version 2.10 of the LaserDirect printer driver which works quite
satisfactorily and he has no more problems öphotocopyingò from Scanlight
Plus.
6.10
He adds cryptically that ösome things may not print totally as one would
expect in Paint or Scanlight Plus, particularly their positioning on the
page, but putting them into Draw or Impression totally solves the
problem.òááA
6.10
Hints and Tips
6.10
Å Altering Impression frames Ö Here is another one of those hints that
everyone but me probably knew about all the time: If you want to change
the attributes of several different frames, (like making them all
transparent) all you do is click on the first frame, call up Alter frame
(with <ctrl-f10>), make the changes and then click OK with <adjust>
instead of <select>. This keeps the Alter frame dialogue box on screen.
Then click <select> on the next frame to be changed and make the change
in the Alter frame dialogue box which is still there on screen. This
speeds things up no end.á Jochen Konietzko, K÷ln, Germany.
6.10
Å Background printing Ö Various comments in Archive have suggested that
you need the Ace PROdriver in order to get background printing. However,
Keith Sloanæs PD program !Spooler (on Shareware 24) works with a
Panasonic 1124 + Impression II on RISCáOS 3.11 Ö cheaper than using a
PROdriver!á Chris Dawson, Derby.
6.10
Å Disc storage boxes Ö Looking for new disc storage boxes? Look no
further than your local Supermarket or D.I.Y. Superstore! I have
recently purchased the Moduleá2000 Box and Lid (Ref. noæs. Unitá2 and
Lidá2) manufactured by Addis, the plastic kitchen accessory
manufacturers. The size of the box is 450╫190╫127.5mm and comes in
various colours. The combined cost of the box and lid recently was ú4.78
and it holds approximately 144 discs. (I have arranged them in four
rows, each holding 36 discs). What is more, it is made in Britain, like
the Acorn Archimedes, and better in style and strength. Give me Addis
any time!á Timothy Brown, Kent.
6.10
Å Floptical drives Ö I offer the following as ÉHintsæ arising out of the
fairly extended process of getting my floptical drives to work (with
much help from Morley), in the hope that they will be useful to other
new owners.
6.10
The drive will not work at all with older ROMs fitted to the SCSI
interface board Ö you need version 1.12 at least. If you already have a
SCSI hard disc (or other SCSI peripheral) there should be no termination
resistors in the floptical drive. They are easily removed but you have
to remove the drive from its case first Ö they are close to the ribbon-
cable connector on the underside of the drive.
6.10
The drive is recognized as two devices. The 21Mb disc counts as a hard
disc and appears as SCSIDrive5 in my case (as I already had a SCSI
drive), while the facility for reading and writing to ADFS discs counts
as a floppy drive. I could not get the floppy device to be recognized at
all using the SCSI_conf program on Morleyæs support disc, but had to do
it manually, using: *configure scsifslink 0 2 (followed by a reset).
This gives a Éfloppyæ icon called SCSIDrive0. (My drive arrived set up
as SCSI device 2 Ö you would need to modify the configure command if it
was set up to be another number.) There is no conflict between the SCSI
and ADFS floppy drives, although they are both called 0, and anyway the
computer will not allow you to call the SCSI floppy drive 1 if there is
no SCSI floppy drive 0.
6.10
The writing under the SCSI drive icons changes from the drive name to
the disc name when a disc is mounted. This is potentially confusing
until you know about it, because the default name of the 21Mb disc is
the number of the drive. I got into even worse confusion because I had
tested the Floptical on its own, so the disc became labelled ödisc4ò.
When I restored the real SCSI hard disc as well as the Floptical, I got
an error message saying there was a conflict of disc names.
6.10
By the way, since the floptical drive will not format discs, does anyone
know of a source of high-density floppies formatted ADFS 1.6Mb? Philip
Draper, Borehamwood.
6.10
In view of this problem with flopticals being unable to format 1.6Mb
discs, we are offering pre-formatted discs at ú17 for 10. Ed.
6.10
Å Pocket Book battery connections Ö The middle battery connector on the
Pocket Book/Psion 3 does not allow the use of AA batteries with indented
positive and/or negative terminals (e.g. Ever Readyæs rechargeable
cells.)á Paul Bisonnette, Otterfing, Germany.
6.10
Å SigmaSheet does not return to the desktop neatly. If programs such as
Ovation are running, their Alt-key combinations will be lost when
SigmaSheet returns. To solve this, amend the SIGSHEET program as
follows. Look at the end and find DEFPROCexit and change it to read:
6.10
DEFPROCexit
6.10
*FX 4
6.10
ON:*FX 225,1
6.10
*RMReInit InternationalKeyboard
6.10
IF INKEYÖ2 : END : ELSE *Quit
6.10
John Waddell, Renfrewshire.ááA
Hints and Tips
6.11
Å Amstrad CPC monitor link Ö Let me describe how to use the old monitor
left over from your Amstrad CPC for emergency use with your Archimedes.
6.11
You need a six-pin, 270-degree DIN female plug, like the one in your
CPC, a normal D-sub nine-pin male, to plug into your RGB socket on the
computer and some soldering skill. (If you use an A5000 or later, you
need a 15-pin VGA-compatible plug, instead.)
6.11
To make the setup even more user-friendly, you should invest in a two-
way, double switch, to cater for both mono and colour monitors.
6.11
The DIN plug has six pins, with the centre pin being mono-in. When seen
from the rear with the soldering lugs towards you, (as in the diagram
opposite) the pin for the red is top left (1), then comes green (2),
blue (3), sync (4) and signal earth (5).
6.11
On the 9-pin D-sub, pin number 1 is red, 2 is green and 3 is blue. Pin
number 4 is sync and 7 signal earth. The rest are unused. The
arrangement on the new machines is slightly different, as there are more
pins, but it is essentially the same!
6.11
Basically you connect 1 to 1, 2 to 2 and 3 to 3, but the addition of a
switch makes it much more useful. Before starting, switch on the
computer while pressing <0>, to change to monitortype 0 for 50Hz
monitors and TVs.
6.11
The switch on the cable is essential under two circumstances: You might
also want to use your TV as a colour monitor. Then you have to use the
Amstrad TV MP-2 modulator (still available). That does not use the
central monochrome pin, but the normal three RGB pins. You could make
two converters of course, but you might forget which is which. Instead,
you just flip the switch if the picture looks odd! Those with TVs that
accept RGB through the SCART connector should use those, of course!
A3010 owners should first try connecting to a TV, but the green CPC
monitor should be much sharper, if not having a higher resolution!
6.11
Sometimes, when running some games like MiG-29M, you might want to
switch back and forth as the headup display is almost invisible against
the sky if you have all colours connected to the middle pin. By
momentarily switching to the colour setting, everything yellow will
become easily visible, as it becomes black (or more correctly, a black-
ish green, if you use the green monochrome monitor)!
6.11
Turbo Challenge II becomes a real challenge in green. Chopper Force,
Bughunter II and Taipei work fine in green. Impression, Vector and
ArtWorks are essentially monochrome, if you donæt add colour yourself,
so they are not affected!á Tord Eriksson
6.11
Å BASIC64 application Ö I have, for a long time, toyed with the idea of
testing BASIC64, by running the PCW Benchmarks with it. The normal way
would be to RMLoad the BASIC64 module and then type *BASIC64 Ö not very
user-friendly, as you have to type in the paths each time.
6.11
Remembering David Pillingæs advice on the uses of the OSCLI command
(very odd to me, brought up on Spectrums and mainframes!) I wrote the
following Basic lines:
6.11
*DIR SCSI::Conner170M
6.11
*DIR OldRubbish.BASIC.BenchMARK
6.11
*CAT
6.11
INPUT öWhich file? ò;a$
6.11
OSCLI ö*BASIC64 -quit ò + a$
6.11
The *CAT shows me which files are available and OSCLI ö*BASIC64 -quitò
loads BASIC64 runs the program a$ and then quits. Your version will have
to include your drives and directories, of course! This programming
fragment, I called !RunImage.
6.11
Put this in the directory you have made called !Run64.
6.11
To make this an application, steal some !Sprites from a program you
like, rename the individual icon sprites to !Run64 and sm!Run64.
6.11
The next step is to make a copy of BASIC64 and drop that into the
directory. Now for the !Run file:
6.11
Iconsprites <Obey$Dir>.!Sprites
6.11
RUN <Obey$Dir>.BASIC64 -QUIT <Obey$Dir>.!RunImage
6.11
Alternatively, you could run the copy of BASIC64 that you might have in
your systemæs modules directory.
6.11
It seems idiotic to run BASIC64, in order to run BASIC64, to run the
program you have selected, but it works perfectly.
6.11
I tried using the more logical *RMLoad BASIC64, but then you fall into
the editor and we do not want that!
6.11
Finally, you need a !Boot file:
6.11
Iconsprites <obey$Dir>.!Sprites
6.11
(A sample Basic64 application is on this monthæs program disc.)á Tord
Eriksson
6.11
Å ColourCard and VIDC software Ö After I had installed my ColourCard and
(thanks to a hint in Archive) realised that I still would have to use a
VIDC module (Careware 18) to make my monitor display modes 12 and 15, a
problem arose. I had configured my machine to one of those wonderfully
large screen modes (1152╫848 logical pixels), and then when I found the
time to play a mode 15 game, (Tower of Babel, which is completely mouse-
controlled), there was no pointer!
6.11
This is what Nigel Star of Wild Vision told me: In a ColourCard mode,
the VIDC pointer is disabled and some games donæt re-enable it so all
you have to do is switch to mode 15 first, and only then start the
game.á Jochen Konietzko, K÷ln.
6.11
Å Combatting fiddlers Ö A solution for teachers who suffer from children
Éfiddlingæ with the palette, task windows, applications accessing the
hard disc and destroying files might be to use the RMKill command in the
!Boot file. Any or all of the following lines can be added to the !Boot
file.
6.11
RMKill ResourseFiler
6.11
RMKill ADFSFiler
6.11
RMKill PaletteUtil
6.11
RMKill Taskmanager
6.11
This will leave the iconbar empty. Pressing <reset> will give error
messages. If you want a particular program to run, this could be done
from the !Boot file or from an application launcher such as !Menon or
!Two. Directories can be opened in the same way. Switching on whilst
holding down <shift> avoids running the !Boot file and returns icons to
the iconbar.á Paul Harrigan, Hong Kong.
6.11
Å DragASprite module Ö After seeing the tip on the dragging of solid
sprites from a previous Archive, I decided to explore the DragASprite
module for myself. I have not worked on it exhaustively but I have come
across the following which users could put in their Basic programs.
6.11
The DragASprite module supports two SWIs but the more useful of these
two is the SWI DragASprite_Start. It requires the following parameters:
6.11
R0 control value
6.11
R1 1 (this seems to be the only value that works)
6.11
R2 pointer to sprite name
6.11
R3 points to start coordinates of the drag box
6.11
The control value consists of bits which affect the drag. The only ones
I have worked out are:
6.11
bit 6 allow dragging outside graphics window
6.11
bit 7 shadow the sprite
6.11
Bits 0 and 4 seem to allow only the value 5, as far as I can work out.
6.11
I have found that the two most useful values for the control value in R0
are:
6.11
&85 non-shadowed drag outside the graphics window
6.11
&C5 shadowed drag outside the graphics window
6.11
R2 points to the first character of a string which is the name of the
sprite to be used for the drag, for example öfile_fecò.
6.11
R3ápoints to four 32-bit coordinates which describe the start and size
of the drag box (which is the same size as the sprite).
6.11
This is about all I have been able to work out in the time I have spent
on it, but it is possible to modify Basic programs using the Save As
window to use DragASprite_Start instead of Wimp_ DragBox.
6.11
For example, in FormEd 1.24, modify line 4810, which normally reads:
6.11
4810 SYS öWimp_DragBoxò,,q%
6.11
to
6.11
4810 SYS öDragASprite_Startò,&C5 ,1,öFile_fecò,q%+8
6.11
Iæm sure a similar fix could be used for other programs to give solid
sprite dragging.á Robin Terry, Newcastle upon Tyne.
6.11
(Those who can afford ú100 for a RISCáOS 3 PRM will find more details on
page 3-299. Ed.)
6.11
Å Free space on hard discs Ö In Hints and Tips, Archive 5.12, Steve
Drain asked if the same problem of allocating 28Kb to each new directory
applies to IDE drives. I checked this for my A5000 40Mb drive and found
that 7Kb is allocated per directory which seems a reasonable compromise.
This is lucky as there seems to be no way to alter the default format
using HForm.
6.11
N.B. Count only reports the size of the data, not the actual space used
on the disc. This can only be found by using *FREE from the command line
before and after creating a directory/file and subtracting the values.
6.11
The structure of !Fonts is where most directories occur. In my case,
there are 111 directories requiring 777Kb of space initially, but since
each contains over 7Kb of data for IntMetrics and Outlines, the space is
not wasted. However, if 28Kb were allocated, as with Steveæs make of
SCSI drive, then 111 ╫ 28 = 3108Kb would be allocated. In my case, only
2625Kb would be used as font data, losing 483Kb on fonts alone! When
Computer Concepts released Compression, I thought that this would solve
space problems, but I was told by CC that it retains the directory
structure (I assume with the same overheads per directory) and is not
very effective at reducing the disc space taken up by !Fonts.
6.11
I have now installed SparkFS from David Pilling. Although each compacted
Spark file can contain lots of directories when opened, to the IDE
filing system it is only one file and only allocates one lot of 7Kb (or
28Kb for Steve). So it is not sensible to have a Spark file containing
less than 7Kb. (The Count facility is misleading as it only gives the
size of compressed data not the space allocated by the IDE drive.) There
is a speed penalty for using a Spark file but there is also a Spark
directory option which is a lot faster according to the booklet although
it seems to have a much larger disc space requirement of about 14Kb
which does not all seem to be recovered.
6.11
So the conclusions seem to be:
6.11
1) If possible, reformat with the smallest file allocation.
6.11
2) Only create a new directory if you are going to store an amount of
data comparable with the directory space (7Kb for my IDE drive, 28Kb for
Steveæs original SCSI).
6.11
3) Be aware of the overheads due to any compression system you use,
checking by using *FREE at the command line (particularly if it retains
directories.)
6.11
4) If using SparkFS on an A5000, ensure any Spark file will contain
at least 7Kb of data.
6.11
5) If space is tight, remember that a Spark directory will have space
overheads although it is faster.
6.11
It would be interesting to hear the findings from other people using
other compression systems, types of drive and any information on
reformatting A5000 IDE drives with different file allocation sizes.á
Alan Dawes, Ilford
6.11
Å Help_ with menus in C Ö In Archive 6.10 p8, Richard Simpson asks about
using help_ with menus. I enclose a program (on the monthly program
disc) to demonstrate a solution.
6.11
The program offers help via !Help in the following situations:
6.11
ááÅ The main iconbar icon.
6.11
ááÅ Menu (with sub-menu) from from the iconbar.
6.11
ááÅ Dialogue box from iconbar, including special processing for
version details.
6.11
ááÅ A simple window.
6.11
ááÅ Menu from the simple window.
6.11
The program doesnæt actually do anything and is quite long, so I wonæt
attempt to explain its operation here. There are a number of comments in
the code which should, hopefully, be sufficient for a C programmer using
help_.
6.11
The short-hand strings supported by !Help are (this is from !Helpæs
message file), note the spaces:-
6.11
\SááæClick SELECT to æ
6.11
\AááæClick ADJUST to æ
6.11
\GááæThis option is greyed out because æ
6.11
\DááæDrag SELECT to æ
6.11
\wááæwindowæ
6.11
\aááæADJUSTæ
6.11
\RááæMove the pointer right to æ
6.11
\TááæThis is the æ
6.11
\WááæThis window is æ
6.11
\dááæDrag ADJUST to æ
6.11
\sááæSELECTæ
6.11
Please bear in mind that the documentation in Releaseá4 is sketchy and
this may not be Acornæs preferred solution, but it works. Hope this is
of some use.á Joe Wood, Goring-by-Sea.
6.11
Å Impression master pages Ö To create a document with the same master
page as an earlier document in Impression, load the first document, save
a new copy with a new name, create a new chapter with the following
choices: Insert after current chapter / Restart page at 1 / Copy master
page and delete all of the chapters except the new one.á George Foot,
Oxted.
6.11
Å Numeric resets Ö I have a 420/1 and, because of lack of space on the
table where the computer lives, the keyboard has to be kept upright
behind the computer when it is not in use. One day, I turned the
computer on and was greeted by a display moving rapidly upwards and
slowly sideways. Adjusting the monitor had no effect. It turned out that
one of the numeric keys was being held down by the corner of the monitor
and the monitor type had been reconfigured as I switched on. So, if you
keep your keyboard upright (yes, I know itæs bad practice, but where
else can I keep it?) and your display goes crazy, try a <numeric> reset
before panicking!á P Young, Cheltenham
6.11
Å Pocket Book and BJ10ex problems Ö It appears that the Pocket Bookæs
built in Canon BJ10e driver does not work correctly with the Canon
BJ10ex. We have a printer driver (supplied to us from Psion via Richard
Collinson) which works. If you have this printer, send us a formatted
SSD or a disc and your problems will be over. Psion can also supply
other drivers on SSD if necessary.á Simon Moy, Archive.
6.11
Å SigmaSheet revisited Ö John Waddellæs SigmaSheet fix in last monthæs
Hints & Tips requires one more line within DEFPROCexit: *Country UK.
6.11
Å Solid icons Ö If the Édrag solid file iconsæ option is set in RISC OS
3, it causes applications like DrawPlus to reject the file as being of
an incompatible file format. This prevents files being dragged between
applications in the normal way.á Mike McNamara, Dunstable.ááA
6.11
Using RISCáOSá3.10
6.11
Hugh Eagle
6.11
Neil Dickson asks a jolly good question: have I or Archive ever had any
response from Acorn indicating that they are paying attention to this
column? Well, I havenæt (yet) and I think Paul would have told me if he
had. Surely, itæs inconceivable that Acorn are not interested in the
experiences that have been recounted, the suggestions offered and the
views expressed here. Isnæt it? Perhaps weæll have some comment for next
month. Letæs wait and see ...
6.11
RISCáOSá4 Wish List (continued)
6.11
Å Alarm ù (a) An option to display the digital clock not on the iconbar
but at the top right corner of the screen in front of all other windows.
(b) An option to set an alarm that goes off after every n (settable)
minutes Ö to remind you just how much time you are spending on the
machine!!?? (Rex Palmer)
6.11
Å Shutdown ù The <shift-ctrl-F12> routine should dismount any floppy
discs that may be present, then remind the user that they are still
there. (Peter Young)
6.11
All the following are from Neil Dickson:
6.11
Å Paint ù (a) Allow local fills with the ömaskò colour. (b) Use outline
fonts.
6.11
Å Edit ù (a) Use multiple fonts (and maybe accept graphic files: i.e.
have a simple wordprocessing option). (b) Update the font list each time
a new font directory is loaded (like Draw and Impression do.)
6.11
Å Printers ù (a) Put as much as possible of the code into ROM, to save
loading time. (b) A quicker method of ötogglingò within !Printers when
deciding which are active and which are inactive.
6.11
Å Calc ù Make it better, but less complicated than SciCalc. (E.g.
include memory buttons and a percentage button, and allow
multiplication, division, etc, by a constant.)
6.11
Å Draw ù (a) Optional detachable toolbox. (b) An option for redefining
the toolbox (e.g. to include zoom and edit tools.) (c) Patterned fills
(hatching, stripes, etc.)
6.11
Å Tidy windows ù Include a öTidy windowsò option on the desktop.
6.11
Å Filer multitasking ù An option to make all filer actions (load and
save, disc mounting, etc) multitask.
6.11
Å Replacement of system font ù Optional replacement of the system font
by an outline font on the desktop (like the Germans seem to have already
in RISCáOSá3.12)!
6.11
Å RMFaster ù An option to RMFaster various modules, such as
SharedCLibrary, from the Task Manager (rather than having to type in the
command at the command line).
6.11
Å Virtual memory ù For hard disc users.
6.11
Å Built in sounds ù A greater variety.
6.11
Å Simpler mode changing ù A less fiddly method.
6.11
Å Keyboard emulation of the mouse ù e.g. using <Alt> and the arrow keys.
6.11
Å Auto-scrolling of font menus ù Make the list of fonts scroll
automatically when the pointer reaches the bottom.
6.11
Å Compression of sprite files ù Either in addition to, or instead of,
compression of entire discs, arrange for sprite files to be compressed
always.
6.11
Å Font management ù Put a Font Manager on the icon bar showing a list of
available directories which you can select and deselect by clicking.
(Sounds like !FMaster from Risc User.)
6.11
Miscellaneous
6.11
Superfluous icons in template definitions
6.11
Mick Day has found numerous examples of template definitions in standard
RISCáOSá3 applications which contain extra unused icons. The ösaveò
window in Alarm is just one example: this has four superfluous icons.
(To see for yourself: find the template file inside Resources:$.
Resources, load it into FormEd, use the menu to assign vertical and
horizontal scroll bars and a size icon, then scroll around the window.)
He has also noted inconsistent naming of templates and numbering of
icons. If you use existing windows borrowed from existing applications,
beware that the templates may require more memory than you might expect
because of the space taken by the extra icon definitions and pay close
attention to the icon numbering. As Tim Nicholson comments: it is a
great pity that Acorn did not supply a suitable öcleanò set of templates
to work from.
6.11
öOS_Findò and image filing systems
6.11
In one of my programs, I need to be able to check that a specified
filing system object (which might be either a file or directory) is
actually present and, in particular, is not on a floppy disc that has
been removed. In RISCáOSá2, I found that the following code seemed
fairly foolproof:
6.11
ON ERROR LOCAL:PROCReport(öCanæt find ò+Object$):ENDPROC
6.11
SYS öOS_Findò,&40,Object$ TO FileHandle%
6.11
IF FileHandle%<>0 THEN SYS öXOS_Findò,0,FileHandle%
6.11
RESTORE ERROR
6.11
This relied on the fact that the SWI call öOS_Findò,&40 (which is the
general routine for opening a file) should öopenò Object$ whether it is
a directory or a file. However, with the arrival of öimageò filing
systems such as DOSFS and SparkFS, I found that this wouldnæt work,
because an attempt to öopenò a directory inside an image filing system
(e.g. a directory inside a SparkFS archive) resulted in an error
(contrary to the rules set out in the Programmeræs Reference Manual).
6.11
David Pilling says öthere are two entry points to SparkFS, one via the
OS image filing system, the other via a traditional FS entry. The code
in these after the entry point is the same. So it looks like it is the
OS that is faulting your operation and not SparkFS.ò
6.11
I have now rewritten my code so that it checks to see whether Object$ is
a directory and, if it is, it looks inside it for a file and tries to
open that. This seems to work with image filing systems as well as
others, but is a bit cumbersome to say the least (and as David Pilling
observes is still open to being fooled by cacheing). Does anyone know of
a simple and genuinely foolproof way of ensuring that a filing system
object is present?
6.11
Applications that refuse to Shutdown
6.11
Keith Gardner has experienced problems with applications that interfere
with the Shutdown process and cause the computer to hang. He refers to
advice in the June issue of Risc User, according to which the Shutdown
routine in RISCáOSá3 (which can be selected from the Acorn icon or by
pressing <ctrl-shift-F12>) cannot cope if more than one Run file is open
at the time of Shutdown. Run files are left open while applications are
running if there are any lines after the line that calls RunImage. One
way to avoid the problem is to remove surplus blank lines or lines
containing remarks (prefaced with a | ). However, applications sometimes
contain tidying up commands such as RMKill commands to get rid of
modules: in these cases, it may be necessary to Quit one or more
applications before selecting Shutdown.
6.11
Matters arising
6.11
Testing a printeræs on-line status
6.11
(Archive 6.9 p12) Mick Day found that the printer test routine published
in the June edition of Archive lied! It told him that the printer was
not on line whether it was or not, and the printer beeped if it was on
line. Tim Nicholson says that the routine (as previously published) can
fail for two reasons: Firstly, it assumes a printer buffer of 1024
bytes, but the actual size depends upon the setting of *Configure
PrinterBufferSize, which may be different from the default of 1Kb.
Secondly, the first line of the program redirects the whole output
stream to the printer, thus if the program is run from the desktop, the
output which normally goes to the Task window that the desktop
generates, goes to the printer instead as well as the test byte of
CHR$(0). Typically this stream will contain several control codes to
open the task window display and the Task window title, e.g. RUN
ADFS::DiscName.$.PrintTest. Although this stream is sent before running
the program, the FX 3 call at the top of the program is executed in time
to redirect this part way through and upset the printer.
6.11
Tim suggests the following variant of the routine:
6.11
*FX21,3
6.11
empty%=ADVAL(-4)
6.11
PRINT öPrinter is ò;
6.11
*FX3,10
6.11
PRINTCHR$(0);
6.11
a%=INKEY(20)
6.11
a%=ADVAL(-4)
6.11
*FX3,0
6.11
*FX21,3
6.11
IF a%<>empty% THEN
6.11
PRINT önot on lineò
6.11
ELSE PRINT öon lineò
6.11
ENDIF
6.11
END
6.11
This deals with the first problem by comparing the buffer length
immediately after flushing with the length after inserting the test byte
and pausing to allow throughput, and with the second by including a
PRINT statement before redirecting the output stream.
6.11
Tim notes that the original program would run correctly (subject to the
buffer size being correct) from the command line, i.e. after pressing
<f12>, and CHAINing or LOADing and RUNning.
6.11
Tim does not understand the supposed warning from Acorn about the use of
ADVAL(Ö4) (see Archive 6.7 p41) since it is a use specified in the Basic
manual. He can only assume it is a confusion with the use of positive
ADVAL parameters, which are only meaningful if a podule with an analogue
input which mimics that of the original BBC Micro is fitted. He has
experienced no difficulties using negative ADVAL parameters to inspect
the condition of buffers and is not aware of any differing action under
RISCáOSá3.1x as opposed to 2.0 with this facility.
6.11
Basic program compaction
6.11
(Archive 6.9 p65) Rex Palmer says that in his experience compacted
programs only cause problems when you try to alter them. The problem
seems to occur with both Edit and BasicEdit. If a compacted program is
loaded into either of these and any alterations made, then when the
program is re-saved, the line that has been altered will generate the
error even if the resulting error is not part of the line that was
altered!
6.11
Altering the keyboard status
6.11
(Archive 6.8 p27 and 6.9 p65) Rex Palmer has written to explain the
purpose of bit 7 (the öShift enableò bit) of the keyboard status byte.
When this bit is set, the <Shift> key reverses the action of the
<CapsLock> key. Thus, if you hold down <Shift> while pressing <CapsLock>
then release both keys, you put the computer in a state where pressing
the <Shift> key with a letter key gives you lower case letters. The
computer can be configured to start up in this state. Alternatively, the
command *FX202,128,111 will achieve the same effect ... since 111 = 255
Ö 128 Ö 16 the command sets bit 7 (Shift Enable on) and unsets bit 4
(Caps Lock on).
6.11
To recap, the most useful commands are likely to be:
6.11
*FX202,0,239 to set Caps Lock on
6.11
*FX202,16,239 to set Caps Lock off
6.11
*FX202,128,111 to select ShiftCaps
6.11
Programmeræs Reference Manual
6.11
The increase in the number of pages is not önearly 50%ò, as I said last
month, but is in fact over 70% (excluding the indexes, there were 1,882
pages in the RISCáOSá2 manual and there are over 3,200 in the new
edition.) Sorry about the mistake!
6.11
Arm3 hare and tortoise (again)
6.11
(Archive 6.6 p59, 6.8 p30 and 6.10 p63) With the help of Jim Nottingham,
I have found out the source of my problem. The Run file of the Aleph One
!Arm3 application should read:
6.11
IconSprites <Obey$Dir>.!Sprites
6.11
|Use only one of the lines
6.11
|below, comment out the other.
6.11
|Load <Obey$Dir>.CMdlUnix
6.11
Load <Obey$Dir>.CacheMdl
6.11
Load <Obey$Dir>.IconMdl
6.11
<Obey$Dir>.Kick CacheIcon
6.11
In my file, the CacheMdl line had somehow got REMæd out. I vaguely
remember that when I first tried to install !Arm3 with RISCáOSá3, I read
the instruction about öusing only one of the lines belowò as meaning
that only one of the following three lines should be used and, since I
assumed that I no longer needed öCacheMdlò because RISCáOSá3 now had a
module to deal with this, I removed it as well as the CMdlUnix line. On
looking at the file again, I now presume that you are only supposed to
remove one of these two lines, so I have reinstated the CacheMdl line
and everything seems fine. A case of trying to be too clever, it seems.
6.11
Redraw problems (and an alternative)
6.11
(Archive 6.8 p29 and 6.10 p63) Richard Hallas confirms that the problem
of incorrect screen redrawing in Edit and DeskEdit is indeed due to a
bug in the Shared C Library and that the problem seems to occur with
particularly long lines. He says that any program which uses the C
libraryæs text object feature will suffer from the bug until Acorn
corrects it in a future version of CLib. He adds that Acorn has been
aware of the problem for some time, so hopefully a fix should not be too
far off.
6.11
Richard used to use DeskEdit to produce files for input to PMS which
frequently involved very long input lines indeed (up to several hundred
characters). He would occasionally reposition the caret and start
typing, only to find that his input had gone into a separate part of the
file which was not on the screen! Partly because of this bug, he has now
moved over to using the public domain text editor, Zap, which he
thoroughly recommends: öIt has its own redraw routines, which are
unbelievably fast and totally accurate: plus you can get twice as much
text on the screen in multisync modes.òááA
6.11
Hints and Tips
6.12
Å Cfs and the cluttered iconbar Ö There are five drive icons on my
iconbar, together with five Cfs (i.e. Computer Conceptsæ Compression)
icons, so there is hardly room for anything else!
6.12
Since version 1.17 of Cfs, however, things have rather changed for the
better, due to the key combination <ctrl-insert> which lets you switch
between the Cfs and the normal window.
6.12
I now find that one Cfs icon on the iconbar is all I need. What I have
done is this: My !Boot file contains nine lines concerning Cfs:
6.12
<d>.!Cfs
6.12
(This runs the application. <d> gives the path for the program, as
described in Archive 3.9, p.8)
6.12
RMEnsure CFSModule 1.17 RMLoad <d> .!Cfs.CFSModule
6.12
RMEnsure CFSModule 1.17 Error CFSModule not loaded
6.12
(These two lines are just to make doubly sure.)
6.12
CFStemp <s>!Scrap.ScrapDir
6.12
NewCFS ADFS::0
6.12
NewCFS ADFS::intern
6.12
NewCFS SCSI::SCSIDrive0
6.12
NewCFS SCSI::SCSIDrive4
6.12
NewCFS SCSI::extern
6.12
(The last six lines duplicate the way in which everything was first set
up from the Cfs iconbar icons.)
6.12
With these commands in the !Boot file, it is now possible to delete all
but one Cfs icon from the iconbar and save the changes. Now one of my
drives (the one I use most often) can have its Cfs directory windows
opened directly. On all the others, I open the relevant uncompressed
window, then press <ctrl-insert>.á Jochen Konietzko, K÷ln, Germany
6.12
Å Impression arrows Ö Left and right arrows in Impression are extremely
easy to generate. You start with ö<ÖÖò or öÖÖ>ò and use <ctrl-R>
inbetween the characters to reduce the spacing (kerning) between the
characters so that you end up with ö<ÖÖò or öÖÖ>ò. Those two needed one
<ctrl-R> between the dashes and nine <ctrl-R>s between the angle bracket
(inequality sign) and the dash but it will depend on the font size.
(These ödashesò are produced in Impression with <shift-ctrl-hyphen>.
Actually, they are supposed to be minus signs, I think but I prefer them
to the öproperò dash which is <alt-152>. Certainly when I tried the
öproperò dash for this purpose, it produced öÿ>ò which isnæt quite as
good as the height is different and it doesnæt hit quite at the centre
of the angle of the hairpin.) You can see it better at a bigger point
size:
6.12
Two minus signs: öÖÖ>ò One dash: öÿ>>ò
6.12
In Times font, which I am using here, the long dash is slightly lighter
and doesnæt match the weight of the angle bracket. However, this trick
does depend on the particular font used Ö itæs a Ésuck it and seeò job.á
Ed.
6.12
Å Multistore alphabetical sorting Ö I recently created a large database
for my church roll in which there was a single name field presenting the
information in the form öSue Adamsò. I set up an index on this field
using the Surname function only to discover that it persisted in sorting
öSue Adamsò after öMargaret Adamsonò. An examination of BaseLib (found
by shift-clicking !Multistore and dragging into !Edit) revealed how the
Base Function FNsurn worked and led to the idea of creating another Base
Function, FNchristian, to select the Christian name and any initial.
Using !Edit, I adapted FNsurn and then saved it as a further Base
Function in BaseLib. Then, using the Sort facility with the expression
öFNsurn(@ Name)+FNchristian(@Name)ò, the names were sorted into correct
alphabetical order. It is necessary to quit and re-load Multistore to
ensure that it knows of the new Base Function. FNchristian is as
follows:
6.12
DEFFNchristian(A$):LOCALI%,C%
6.12
WHILERIGHT$(A$,1)=ö ò:A$=LEFT$(A$) :ENDWHILE:I%=LENA$: C%=ASCMID$(A$,I%)
6.12
WHILEI%>0AND((C%>64ANDC%<91)OR(C%> 96ANDC%<123)ORC%=45):I%-=1
6.12
C%=ASCMID$(A$,I%):ENDWHILE
6.12
IF INSTR(A$,ö ò)>0THEN=LEFT$(A$, I%-1)ELSE=öò
6.12
Colin Brockie, Kilmarnock.
6.12
Å Multiple stories on one page in Impression Ö It can sometimes be
extremely desirable to have two or more independent stories on a single
page in Impression. Normally, when you enter text in a single-frame page
and the text fills the frame, a new page is created and the text
continues to flow onto the new page. Creating a second frame on any
given page simply makes a local frame which does not exhibit this
ability to flow text onto a new page when it is full. However, if it
were possible to have two or more frames on a page which could
independently create new pages when full, this would be very useful Ö it
would make for easy creation of footnotes, for one thing.
6.12
I was recently asked how to achieve this effect by a user who was
setting opera libretti, and who wanted to have two columns side by side
for different languages. A two-column master page layout did not achieve
the desired effect because the text flowed from one column to the next
on the same page, rather than from any given column to the equivalent
column on the following page.
6.12
There is, in fact, a way of achieving the required effect in Impression,
but the technique is a little subtle.
6.12
How to do it Ö Either choose a suitable master page which exists already
or use the ÉNew master pageæ menu option to create an appropriate page
with the desired number of columns on it. Create whatever extra frames
you need on your master page in the normal way.
6.12
Now use the ÉShow flowæ option from Impressionæs iconbar menu to see how
the text will flow between the frames. Under normal circumstances, to
link frames into the text flow sequence you click <select> on the first
frame in the sequence, followed by <adjust> on the succeeding frames in
the correct order. However, it is not possible to remove frames from the
sequence using this method and so, if you try to alter the order of flow
which is automatically assigned on the master page, you will find you
are not able to do so. Therefore, the only way to remove a frame from
the text flow sequence is to actually delete it and then recreate it.
6.12
So, for each frame which is to contain its own page-creating story,
first select the frame and then open the ÉAlter frameæ dialogue box with
<ctrl-f10>. Make a note (mental or otherwise) of the X and Y coordinates
of the frame, close the dialogue box and press <ctrl-X> to cut the frame
to the clipboard. Immediately you have done this, press <insert> (or
<ctrl-V>) and paste the frame back to where you cut it from. Finally,
open the ÉAlter frameæ box again and restore the coordinates to what
they were before.
6.12
On the face of it, this seems pretty pointless. All you have done is
delete a frame and then put it back again in the same place. However,
the practical effect of the action is to un-link the frame from the text
flow sequence. If you choose ÉShow flowæ from the iconbar menu again,
you will see that the frame no longer has an arrow pointing to or from
it. (In fact, if you have a layout of three or more columns, you will
see that the flow has bypassed this frame, but still connects the
others.)
6.12
What this boils down to is that you can have as many individual stories
as you want on a single master page. Each story can consist either of a
separate frame or any number of linked frames. Any such set of frames on
an Impression master page will cause the creation of a new page when
filled with text in the document.
6.12
The layout shown in the illustration is not intended to be a serious
example but it merely illustrates the idea. The frames for both Story 1
and Story 2 have been linked, whilst the frame for Story 3 is a separate
entity, as is the frame for footnotes.
6.12
As for practical examples of this idea, one has only to look at the old-
style (RISC OS 2) Acorn manuals, such as the BBC Basic Guide or PRM.
These manuals all have a vertical line about a third of the way across
each page, to the right of which is the main text. The headings and sub-
headings all appear to the left of the line. Although the creation of
such pages by conventional methods would be perfectly possible, having
two independent stories (one for the main text, another for the
headings) would greatly simplify the process.
6.12
A similar idea commonly found in educational material is to have a
column, at the right hand side of the page, which contains comments
relating to the ideas presented in the main body of the text.
6.12
Another good use for this idea is the presentation of tabulated material
such as a printed index. If you want a column of numbers to be in a
different style to the reference text the numbers accompany, it is far
easier to have two independent stories than to apply a specific style
for each number on a line.
6.12
When using this approach, there is just one thing to watch out for. If
there is not a direct one-to-one correspondence between the number of
lines in the stories (which there may or may not be, depending on the
document), you must remember to press <ctrl-G> (which corresponds to the
ÉFrame=>Force to nextæ menu option) when you have typed in all the text
for the shorter story on each page. If you donæt do this, you may find
that, when you position the caret in the frame in which you want to
start typing, the text appears on the previous page. However, you will
soon get used to this.
6.12
As for footnotes, if you know that none of your footnotes will exceed a
single line in depth, you should create your footnote master page frame
to be just large enough to contain one line of text. Then, each time you
press <return>, the caret will advance one page. If you need longer
footnotes, however, make the master page frame large enough to hold the
largest note and remember to use the <ctrl-G> method.á Richard Hallas,
Huddersfield.
6.12
Is it possible to have two or more independent stories running side-by-
side in Ovation? If so, can anyone explain how? Ed.
6.12
Å Printing to files Ö I experienced the same problem as Tom Rank
(Archive 6.9 p63) with printing to a file. This involved an address
exception being caused at the end of each print run which prevented the
last few graphics lines from being printed. The problem is caused by
ADFSBuffers. Setting this to zero using:
6.12
*Configure ADFSBuffers 0
6.12
solves the problem.á Paul Mellor, Derby.
6.12
Å Vector overlays Ö The new version 1.10 of Vector offers the option to
draw lines with overlays (i.e. between 1% and 99% of the lineæs interior
is drawn in a different colour), a feature which makes drawing little
map sketches very simple.
6.12
A problem arises if you want to join two roads or two rivers without a
seam.Vector produces something like this (overlay 50%):
6.12
For a decent map you need, instead, something like this:
6.12
If, as in this case, all paths have the same width, it is simple: Just
select them all and merge them through the öSpecialò menu. (This also
saves memory: The five paths in the first picture take up 1071 bytes,
the merged path only 883 bytes.)
6.12
If the width differs, the thickest line will force its width upon all
the others, making a merge inadvisable; then you will have to apply
little öbeauty patchesò in the form of completely white rectangles to
cover the unwanted black lines.
6.12
While you rotate the rectangles to align them with the road, it is best
to switch the amount of detail shown on the screen from stage 5 to stage
3, so that all the rectangles appear just as thin black outlines (even
if they are not selected) and this makes an öinvisibleò shape rather
more easy to handle.
6.12
When you go about rotating those rectangles, it makes sense to lock
everything else first with <ctrl¡H> because else it is very simple to
rotate something else besides the little patch.á Jochen Konietzko, K÷ln,
Germany.ááA
Using RISCáOSá3.1
6.12
Hugh Eagle
6.12
SCSI problems
6.12
Barry Thompson found one day that he was unable to access the hard
drive, an Oak Worra Winnie 45Mb on an A340 with RISCáOSá3.11. The error
message, ÉDisc not understood ù has it been formatted?æ came into view.
On Oakæs advice, he refitted RISCáOSá2 and the message became ÉBad free
space map.æ Adrian Lookæs !FixMap was unable to help, so the disc had to
be reformatted and, of course, all the data was lost. Someone at Oak
suggested to Barry that SCSI can be less reliable with RISCáOSá3 than
with RISCáOSá2 and recommended doing a *Checkmap every couple of days
and, if errors were reported, to back everything up and reinitialise the
disc.
6.12
Synonymous pathnames
6.12
Mick Day writes, öI wrote some time ago that the operating system did
not check for synonymous valid references to the RAMDisc pathnames. This
is, in fact, more general. If full and accurate pathnames are always
used, this is no problem; and where removable media are concerned, it is
probably necessary. However, comparison of the ÉBytes freeæ or a CRC
number could have largely eliminated this. Alternatively, if an
abbreviated Disc Spec was given, the filer could have filled it in
completely and thus discovered identical manifestations of filer
windows! It does no harm, but is confusing. If you set the pathnames for
your harddisc in the following short program:
6.12
*Filer_OpenDir RAM::RamDisc0.$
6.12
*Filer_OpenDir RAM::0.$
6.12
*Filer_OpenDir RAM:$
6.12
*Filer_OpenDir SCSI::HardDisc4.$ | set these
6.12
*Filer_OpenDir SCSI::4.$| names to
6.12
*Filer_OpenDir SCSI:$| your system
6.12
*Filer_OpenDir ADFS::MCDay.$
6.12
*Filer_OpenDir ADFS::0.$
6.12
END
6.12
you will find, on running, three identical filer windows on the screen
for RAMDisc, three for Fixed disc and two ADFS floppy! I think this is
sloppy implementation, akin to not checking the disc before issuing
ÉFreeæ!ò
6.12
Top bit set characters
6.12
Mick Day uses a Star LC10 mainly for address labels. The dip switches
set it to the Epson character set. However, he sometimes needs to use
top-bit characters in foreign addresses. He thus has implemented a
complete look-up table for the characters 160-255, trying as near as
possible to get the Latin1 set. He says that, interestingly, it is
possible to dodge about and use the IBM set in addition to the Epson
set! The Basic program $.Latin1 on the monthly program disc summarises
it; anyone with a Star LC10 should be able to get it going. It might
work on some others as well.
6.12
Form feeds
6.12
Mick Day also writes: öI have spent a lot of time trying to stop the
PDriver module or its front end from issuing formfeeds. I would rather
decide for myself when the paper is to be thrown out onto the desk. Am I
missing some glaring instruction or is it really impossible to configure
this simple option? I experimented further with !Printers after reading
Tim Nicholsonæs article (Archive 6.10 pp 43-47), but got no further. I
suspect that the formfeed is done by PDriver; I have set the printer
configure to the start sequence instead of the end and removed the
formfeed character, but all to no avail. It means that if you drag a
single address to print on labels, you need a specific Printer with a
page length of 9 Ö a sledgehammer to crack a nut! I want one driver for
the printer which does what I tell it. Can anyone tell me definitively
if the terminal formfeed is configurable or not? Otherwise I could be
experimenting until I die!ò
6.12
Testing a printeræs on-line status
6.12
(See Archive 6.11 p51) Mick Day says that he prefers the following
routine to the one published last month (which he says is slower and
escape can interrupt it):
6.12
DEF FNCheckPrinter
6.12
*FX 5,1
6.12
*VDU 2,1,0
6.12
SYS öOS_Byteò,152,3 to ;f%
6.12
f%=f%AND2
6.12
*FX 21,3
6.12
VDU 3
6.12
*FX 5,5
6.12
=f%
6.12
(Iæm no expert in these matters, but I believe that the *FX 5,1 only
applies if your printer is connected to the parallel port and the *FX
5,5 might have unwanted effects if your system is set up differently
from Mickæs ù HE.)
6.12
He adds that the important point to emphasise is that öthe fundamental
difference between earlier Acorn systems and RISCáOSá3.1 is that, in
RISCáOSá3.1, once you have issued a VDU 3 or equivalent, you are dead!
You can only switch the printer on or press <esc> (if it is enabled).
Page 18 of the Release Notes specifically refers to freezing when
attempting to print to Énon-existentæ printers. They could have been
much more helpful here in only a few words. I wonder how many man-months
of time-wasting this has generated?ò
6.12
AZERTY keyboard
6.12
Mick Day says that, try as he might, he cannot get an AZERTY keyboard
with *Country/*Language/*Keyboard France. He knows of at least one
Belgian colleague who was impressed by his Archimedes but who did not
buy one because he could not get the keyboard he wanted. (We have a
couple of modules that get round this problem Ö for French and German,
anyway Ö they are on this monthæs program disc.)
12
The following are taken from extracts from recent Acorn Customer Service
Newsletters which Barry Thompson has kindly forwarded:
6.12
RISCáOSá3 CMOS problems
6.12
There have been a number of reports of systems not powering up properly.
Acorn suspect this is due to rogue CMOS RAM settings which occurred
while the system was used with RISCáOSá2 and they östrongly recommend
that a ÉDelete-power-onæ is performed before the RISCáOSá2 upgrade is
removed. This will ensure that CMOS RAM locations now used by RISCáOSá3
are set correctly.ò
6.12
First Word Plus ÉWindow Definitionæ error
6.12
If First Word Plus issues the message ÉWindow definition will not fitæ,
a ÉDelete power onæ will cure the problem (but may well, of course,
corrupt other CMOS settings)!
6.12
Maximum DOS partition sizes
6.12
DOSFS only supports DOS hard disc partitions up to 32Mb. If you create a
larger DOS partition, it will not be possible to access it from the RISC
OS desktop environment.
6.12
DOS partitions larger than 32Mb can only be accessed from within the PC
card or PC Soft (i.e. PC emulator) environment. Therefore, if you wish
to transfer files between a large DOS partition and a RISC OS based
filing system, this should be done via floppy disc(s) or another
(smaller) DOS partition.
6.12
Windows driver with the Acorn 486 card
6.12
Following on from the last point ...
6.12
The Windows Driver disc supplied with the PC card is in Acorn ADFS
format. So, if you have created a DOS partition which is larger than 32
Mb, it will not be possible to use the procedure outlined in the PC Card
User Guide to copy the file on this disc to the DOS partition. Instead,
you should use the following procedure:
6.12
ù From within the RISC OS desktop, format a blank floppy disc to 720Kb
DOS format.
6.12
ù Click <select> on the floppy disc drive icon to open a Filer window
showing the contents of the root directory of the DOS format floppy (at
this stage it will be empty).
6.12
ù Remove the DOS floppy and insert the Windows Driver disc. Click
<select> again and copy the file ARMVGA/DRV from the Windows Driver disc
to the DOS floppy.
6.12
ù Start the !PC Card application.
6.12
ù Insert the DOS floppy again.
6.12
ù At the DOS prompt type:
6.12
copy a:*.* C:\WINDOWS\SYSTEM
6.12
to copy the correct Windows driver for use with the PC card into the DOS
partition.
6.12
ù Load the \WINDOWS\SYSTEM.INI file into the DR DOS text editor by
typing at the DR DOS prompt:
6.12
C:\DRDOS\EDITOR C:\WINDOWS\ SYSTEM.INI
6.12
ù Use the cursor keys to move down to the line that reads:
6.12
display.drv=vga.drv
6.12
and change it to read:
6.12
display.drv=armvga.drv
6.12
ù Save the modified file by holding down <ctrl> and pressing <K> and
then <Q>. Then press <escape> to return to the DR DOS prompt.
6.12
ù The new driver will be loaded the next time you start Windows, and a
different hourglass shape will indicate its presence.
6.12
MEMC1a or no MEMC1a
6.12
The following short command can be used from within Basic to find out
whether a MEMC1a chip is fitted:
6.12
PRINT ?274 AND 1
6.12
If the result is 1 then a MEMC1a is fitted.
6.12
RISCáOSá4 Wish List (continued)
6.12
The following are from Richard Burnell:
6.12
Å Shutdown ù Include an öare you sureò window after you press <ctrl-
shift-F12> with an option to cancel the Shutdown, in case you press it
by accident.
6.12
Å Unlimited directories ù Allow more than 77 files in a directory.
6.12
Å Filer windows ù Allow file icons to be positioned where you want them
(as on an Apple Macintosh).
6.12
Å Other disc formats ù Include another extension to the filing system to
allow the reading and writing of Amiga and BBC B discs.
6.12
Å Outline fonts ù Allow unfilled outlines to be printed (without having
to convert them to paths in !Draw first) as you can in Windows on PCs.
6.12
Å !Draw and !Edit should warn you when you try to save files with names
that already exist.
6.12
Å !Draw ù When you drag selected objects, it would be helpful to see the
shape of the objects moving (as you do in Artworks), not just the
bounding box.
6.12
Å !Edit ù should allow the option not to strip line numbers to be saved
in the configuration.
6.12
Å Printer buffer ù Provide one that allows background printing. (Richard
observes that this was advertised as a feature in the pre-release
RISCáOSá3 reviews and finds it surprising that Acorn havenæt yet
released öa working printer buffer moduleò.)
6.12
Finally, a point from Roger King. A similar suggestion has been made
before but it is worth repeating:
6.12
ÅDistinguishing non-ADFS discs ù When a non-ADFS disc (e.g. a DOS disc)
is mounted, the disc drive icon on the iconbar should change to a
different colour. (Some form of indication like this is particularly
important because the directory names in Filer windows for DOSFS, as for
other öimage filing systemsò, are prefixed ADFS!) Roger receives many
discs through the post and increasingly often he finds that the discs
are DOS format, presumably because people buy them pre-formatted. The
great snag in using DOS discs in the Acorn environment is the shorter
length of filename allowed. Roger often checks and modifies files sent
to him, then saves them back to the same disc with a öUò (for öUpdatedò)
tacked onto the end of the filename. If the original file has a name 8
characters long and is on a DOS disc this results in the original file
being overwritten by the updated file since the öUò is discarded from
the filename!ááA
6.12