TIP: Click on subject to list as thread! ANSI
echo: cis.languages
to: TONY CAPPELLINI 76370,2104 (X)
from: Zack Sessions 76407,1524
date: 1990-05-29 16:23:51
subject: #3917-#C and JOoysticks

#: 3943 S3/Languages
    29-May-90  16:23:51
Sb: #3917-#C and JOoysticks
Fm: Zack Sessions 76407,1524
To: TONY CAPPELLINI 76370,2104 (X)

I didn't misunderstand you, I realized you were asking about C and not
assembler. Its just that even though C has a very rivh function library, there
are many things OS9 can do which are covered with specific function calls.
That's the purpose of the _os9() function. Check it out on page 3-26 in the
Microware C manual. It serves the same purpose as BASIC09's SYSCALL function.
(well, similar). The _os9() function gives you the ability to make all the
Getstat and Setstat calls in the OS9 tech ref which are not covered by a
function in the function library.

Also, note in the example code which was posted has a syntax error. A return
statement which is intended to return a value must have the value enclosed in
parentheses, ie, return(-1);

Zack

Oh yes, all those $$$ in a assembler listing is probably references to base 16
numbers. $20 is decimal 32, etc.

There is 1 Reply.

SOURCE: compuserve via textfiles.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.