knudsen@ihwpt.ATT.COM (mike knudsen) (05/29/87)
Was: Re: pdcom program...where's the syscall procedure?
References: <343@potpourri.UUCP>
[This was a reply, but novavax can't find potpourri.
Aren't mail paths wonderful?]
Syscall() is like gfx(), gfx2(), and inkey() -- it should
be on your BASIC09 disk in object code. Its use is
described in your manual. Both statements assume you
have Level 2 OS9. If not, find a friend with L2 and copy
syscall off his disk and copy the manual page for it.
Syscall lets you set up all the 6809 registers (using a TYPE
structure) and call right into OS9. Very handy, like for
reading the hi-res mouse or saving graphics to disk.
Also, some issue of the 68 Micro Journal had assembler source
for a syscall. It's pretty easy to do. Just be sure to
set up your register TYPE the same order as in Level 2 B09
so you'll be compatible with everyone else's.
--
Mike J Knudsen ...ihnp4!ihwpt!knudsen Bell Labs(AT&T)
Delphi: RAGTIMER CIS: <memory failure, too many digits>
"Just say NO to MS-DOS!"