Date : Mon, 05 Mar 2007 08:33:37 +0000 (GMT)
From : info@... (Sprow)
Subject: ANN: AsmPDP v1.07 PDP-11 Assembler
In article <070305015502@...>,
Jonathan Graham Harston <jgh@...> wrote:
> >Message-ID: <4ebdbd8172info@...>
>
> Sprow <info@...> wrote:
> > > AsmPDP is a PDP-11 assembler which will run on any platform
> >
> > One minor problem when running it on the BBC ARM CoProcessor is that it
> > uses the *SETTYPE command, so fails just 2 lines from the end.
>
> That should end:
>
> PROCCloseAll:ON ERROR PROCexit(errs%)
> IF out$<>"":PROCSetType(out$,&1C5)
> IF lst$<>"":PROCSetType(lst$,&FFF)
> PROCexit(errs%)
> END
Easy as that.
> > There are 4 obvious solutions to this
> > - delete line 350/360
>
> Then the output files won't be correctly typed.
True, deleting the lines was only a work around for absence of set type.
> > - change PROCSetType to do some different checking on the value of os%
>
> I can't check os% as the host/os does not give any information
> about whether there is a *SetType command or not. Only attempting
> to issue the command will tell you if it is there.
>
> > - use OS_File 18 instead
>
> No 8-bit filing systems or OSes that I know of implement OsFile 18.
But surely on the same basis that you can't test based on os% it would be OK
to issue OS_File 18 using SYS"XOS_File" and looking at V flag? I guess
though it's easier to write a utility called "Settype" and keep it in your
library than it is to write something that sits on OSFileV.
Cheers,
Sprow.