Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!zaphod.mps.ohio-state.edu!casbah.acns.nwu.edu!nucsrl!tellab5!vpnet!sandv!PHDragon From: PHDragon@sandv.UUCP.UUCP (Alan Sheltra) Newsgroups: comp.os.os9 Subject: Re: what are these files for? Summary: ? Keywords: stdpats, stdptrs Message-ID: <78@sandv.UUCP> Date: 2 Apr 91 05:17:59 GMT References: Lines: 34 > roccella@pilot.njin.net (Matthew Roccella) writes: > > Hello, > I was wondering if somebody out there may help me. I have > bought a copy of OS-9 for my RADIO SHACK TRS-80 COLOR COMPUTER some > time ago. In the SYS directory of my BASIC09 diskette, there are the > files: "stdpats" and "stdptrs." I don't know what these files are for. > The manual, as far as I know, does not mention them All it says is > that "stdpats" contains some kind of "fill" patterns, but it does not > say how to use them. The STDPATS and STDPTRS files are for use in a graphics window... the STDPAT are indeed fill patterns that are defined and used by the FILL cmd in B09 (or the FFIL call 1B 4F)... STDPTRS are describe a the mouse cursor pointers... To make use of the STDPATS and STDPTRS files in a B09 program you must first "merge" them to any window type screen (This GPloads them into pre-defined buffers), then it's a matter of calling up the correct GRP #, BUFF # ... B09 has cmds to handle this easily: RUN gfx2(path,"pattern",grp,patnum) .... where the GRP # can be #203 .... two color patterns #204 .... four color patterns #205 .... 16 color patterns After selection a foreground color with the GFX2 color cmd, select the pattern # you want to use... then use the FILL cmd to fill in that color and Pattern... (always return to Grp #0, Pattern #0 when done!) Refer to your OS9 manual - OS9 Windowing System for more info... -- ////////////////////////////////////////////////////////// // PHDragon@SandV - SysOp@ZOG (SysOp of Zog's Cavern // // (818) 761-4721 // //////////////////////////////////////////////////////////