Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!gatech!hao!oddjob!gargoyle!ihnp4!ihwpt!knudsen From: knudsen@ihwpt.ATT.COM (mike knudsen) Newsgroups: comp.sys.m6809 Subject: Re: Syscall() function Message-ID: <1708@ihwpt.ATT.COM> Date: Fri, 29-May-87 13:45:45 EDT Article-I.D.: ihwpt.1708 Posted: Fri May 29 13:45:45 1987 Date-Received: Sun, 31-May-87 07:48:10 EDT Organization: AT&T Bell Laboratories - Naperville, Illinois Lines: 23 Keywords: BASIC09 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: "Just say NO to MS-DOS!"