[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Ciderpress for OS/X?



On Aug 15, 4:29 pm, "Michael J. Mahon" <mjma...@aol.com> wrote:
> datajerk wrote:
> > On Aug 13, 10:49 pm, mdj <mdj....@gmail.com> wrote:
> >> On Aug 14, 2:19 pm, datajerk <dataj...@gmail.com> wrote:
>
> >>> Thanks.  Identical results as before.
> >> If you're running under BASIC.SYSTEM you should be able to do a:
>
> >> printf("\x04pr#3\n");
>
> >> Which would be the equivalent of
>
> >> PRINT CHR$(4) ; "PR#3"
>
> ProDOS likes the ctl-D to be the first character on a line,
> that is, the first character after a CR.  Try printing:
> "\x0d\x04pr#3\n"

Isn't the CR EOT (ctrl-D) sequence the way Apple DOS recognises
commands while ProDOS detects the PRINT Applesoft token execution and
then looks for a control-D?

Shouldn't a C program running under BASIC.SYSTEM use the BE03 DOSCMD
vector to pass a command to BASIC.SYSTEM? See section A.3.1 of the P8
TRM.

Hmm, it says that this only works in deferred mode so you would need a
small BASIC program to run the C program.