Article View: comp.sys.atari.st
Article #39939Re: My request about menus.
From: Frank Geerling
Date: Mon, 01 Jan 1990 22:03
Date: Mon, 01 Jan 1990 22:03
65 lines
2423 bytes
2423 bytes
In article <2885@dogie.macc.wisc.edu> gilmore@vms.macc.wisc.edu (Neil Gilmore) writes:
>Due to the kind intervention of Steve (up at thelake), I now have the
>info I need. He sent me a menu converted to C using rsc2c.ttp (the
>program I can't get to work). It'will give me all the info I need to get
>menus working properly. Still nothing definitive on vro_cpyfm yet,
>though. An example would be nice, though, as last night I tried a simple
>example, thoroughly compared and crosschecked with the Abacus book, the
>ST Applications book, the GFA manual, and the Laser C manual. Still no
>results.
>
>+-----------------------------------------------------------------------+
>| Kitakaze Tatsu Raito Neil Gilmore internet:gilmore@macc.wisc.edu |
>| Jararvellir, MACC, UW-Madison bitnet: gilmore@wiscmac3 |
>| Middle Kingdom Madison, Wi |
>+-----------------------------------------------------------------------+
The german Atari Profi book reads on page 245:
COPY RASTER, OPAQUE(VDI 109)
void vro_copyfm(handle,wr_mode,pxyarray,psrcMFDB,pdesMFDB)
int handle,wr_mode,pxyarray[];
MFDB *psrcMFDB,*pdesMFDB;
{
intin[0]=wr_mode;
i_ptr(psrtMFDB); /* contrl[7/8] = psrcMFDB */
i_ptr2(pdesMFDB); /* contrl[9/10] = pdesMFDB */
pioff = pxyarray;
contrl[0] = 109;
contrl[1] = 4;
contrl[2] = 1;
contrl[3] = 1;
contrl[6] = handle;
vdi();
pioff = ptsin;
}
Call in C:
vro_copyfm(handle,wr_mode,pxyarray,&psrcMFDB,&pdesMFDB);
Hopes this helps.
--
Frank Geerling
(frankg@nikhefk.uucp)
Usenet: {seismo, philabs, decvax}!mcvax!frankg@nikhefk
Normal mail: Frank Geerling
NIKHEF-K (PIMU)
Postbus 4395
1009 AJ Amsterdam
The Netherlands
Frank Geerling
(frankg@nikhefk.uucp)
Usenet: {seismo, philabs, decvax}!mcvax!frankg@nikhefk
Normal mail: Frank Geerling
NIKHEF-K (PIMU)
Postbus 4395
1009 AJ Amsterdam
The Netherlands
Technical Details
Message-ID:
<608@nikhefk.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!clyde.concordia.ca!uunet!mcsun!hp4nl!nikhefk!frankgReferences:
<2885@dogie.macc.wisc.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!clyde.concordia.ca!uunet!mcsun!hp4nl!nikhefk!frankg From: frankg@nikhefk.UUCP (Frank Geerling) Newsgroups: comp.sys.atari.st Subject: Re: My request about menus. Message-ID: <608@nikhefk.UUCP> Date: 1 Jan 90 22:03:35 GMT References: <2885@dogie.macc.wisc.edu> Reply-To: frankg@nikhefk.UUCP (Frank Geerling) Organization: Nikhef-K, Amsterdam (the Netherlands). Lines: 65