🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.sys.acorn.tech
2 messages
2 total messages Started by wgt-a Thu, 15 Oct 1992 19:38
Help!!!!!!
#345
Author: wgt-a
Date: Thu, 15 Oct 1992 19:38
20 lines
1391 bytes
This is just a quick query for the new tech newsgroup!

How can you call OS_Cli from assembler, and have errors passed back?

The obvious way is to use XOS_Cli, but this appears to still report errors that
occur in the execution of the CLI command string. What I want is for the V flag
to be set as per a normal X... SWI call, without any output from the execution
of the OS_Cli command.

However, it appears not to be possible. What am I doing wrong?

Ta for the help in advance,

William

+-----------------------------------------------------------------------------+
| +-----+           +---------------------------------+  +=======+ +++++   /| |
| +-----+           | JANET: wgt-a@minster.york.ac.uk |  | 1380K | +++++  /-| |
|   :0              +---------------------------------+  +=======+ +++++ /  | |
+-----------------------------------------------------------------------------+
Re: Help!!!!!!
#357
Author: burke
Date: Fri, 16 Oct 1992 14:26
13 lines
1199 bytes
In article <719177922.20896@minster.york.ac.uk>, wgt-a@minster.york.ac.uk writes:
> How can you call OS_Cli from assembler, and have errors passed back?

Don't call OS_Cli; it really isn't that useful from assembler except for very
simple cases (you waste time decoding the string). Just use the underlying OS
call directly.

e----><----p | Stephen Burke           | Internet: burke@vxdesy.desy.de
 H   H   1   | Gruppe FH1T (Liverpool) | DECnet:   vxdesy::burke (13313::burke)
 H   H  11   | DESY, Notkestrasse 85   | BITNET:   BURKE@DESYVAX or SB2@UKACRL
 HHHHH   1   | 2000 Hamburg 52         | JANET:    sb2@uk.ac.rl.ib
 H   H   1   | Germany                 | Phone:    + 49 40 8998 2282
 H   H 11111 | HERA, the world's largest electron microscope!
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads