gilmore@vms.macc.wisc.edu (Neil Gilmore) (12/31/89)
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 | +-----------------------------------------------------------------------+
frankg@nikhefk.UUCP (Frank Geerling) (01/02/90)
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
gilmore@vms.macc.wisc.edu (Neil Gilmore) (01/04/90)
>Call in C: > vro_copyfm(handle,wr_mode,pxyarray,&psrcMFDB,&pdesMFDB); > >Hopes this helps. Sorry, it doesn't. Neither did any of the other numerous C examples. I need a working example in assembly. C does quite a lot of the work itself, and an example in it covers up details which I might need (that's why you use C, right?). I'll be posting an analysis of the menu probably sometime next week. +-----------------------------------------------------------------------+ | Kitakaze Tatsu Raito Neil Gilmore internet:gilmore@macc.wisc.edu | | Jararvellir, MACC, UW-Madison bitnet: gilmore@wiscmac3 | | Middle Kingdom Madison, Wi | +-----------------------------------------------------------------------+