home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!olivea!charnel!sifon!thunder.mcrcim.mcgill.edu!homer.cs.mcgill.ca!bpat
- From: bpat@cs.mcgill.ca (Patrick BETREMIEUX)
- Newsgroups: comp.sys.atari.st.tech
- Subject: Re: Sending objc_draw to a memory buffer rather than screen
- Message-ID: <BzLBC0.AKt@cs.mcgill.ca>
- Date: 21 Dec 92 03:36:00 GMT
- References: <1992Dec11.094743.20421@aber.ac.uk> <1gohmmINN18lg@rs1.rrz.Uni-Koeln.DE> <1gpi5cINN1487@rs1.rrz.Uni-Koeln.DE>
- Sender: news@cs.mcgill.ca (Netnews Administrator)
- Organization: SOCS - McGill University, Montreal, Canada
- Lines: 37
-
- In article <1gpi5cINN1487@rs1.rrz.Uni-Koeln.DE> kim@vax.mpiz-koeln.mpg.dbp.de writes:
- >In <1gohmmINN18lg@rs1.rrz.Uni-Koeln.DE> aeg03@rrz.uni-koeln.de (Jan T. Kim) writes:
- >
- >>I think they can come from (and go to) any rectangular bitmap you
- >>choose. The bitmaps must be specified by descriptors called
- >>MFDB's. Pointers to the MFDB of the source bitmap and to the MFDB
- >>of the target bitmap are passed to the vro_cpyfm() function.
- >>Among other things, the MFDB contains a pointer to the actual
- >>bitmap, and if this pointer happens to be a NULL pointer, the VDI
- >>will use an MFDB of its own that describes the screen, and
- >>therefore blit from/to the screen.
- >>The answer to your question is, therefore, the blits come from/go
- >>to any bitmap that you specify. If you specify the screen by
- >>passing a NULL pointer, the blits will come from/go to where the
- >>VDI thinks the screen is.
- >
- >I'd like to correct myself before others do... as it can be
- >concluded from the first paragraph, the screen is not specified
- >by passing a NULL pointer to the vro_cpyfm() function, but by
- >passing a pointer to an MFDB which contains a NULL pointer at the
- >location where a pointer to a bitmap is expected.
- >
- >Just to be exactly precise.
- >
- >Greetinx, Jan
- >
- > +- Jan Kim -- X.400: S=kim;OU=vax;O=mpiz-koeln;P=mpg;A=dbp;C=de -+
- > | Internet: kim@vax.mpiz-koeln.mpg.dbp.de |
- > | |
- > *----=< hierarchical systems are for files, not for humans >=-----*
-
- If 0 is specified as pointer to the bitmap, then VDI will check the logbase
- pointer, and use this as address. So you can change the screen's logical
- address and use VDI and AES without any problems (ie, they will both draw
- to the place you specified).
-
- Patrick.
-