home *** CD-ROM | disk | FTP | other *** search
- Path: ulke.hiMolde.no!ulke!espen
- From: Espen.Berntsen@himolde.no (Nameless)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: Fastmem to chip
- Date: 28 Feb 1996 15:11:18 GMT
- Organization: Molde College, Department of Computer Science
- Message-ID: <2066.6632T258T2869@himolde.no>
- References: <517.6624T116T387@himolde.no> <542.6624T1040T2116@sn.no> <4gj2gn$f9c@sunsystem5.informatik.tu-muenchen.de>
- NNTP-Posting-Host: ulke.himolde.no
- X-Newsreader: THOR 2.21 (Amiga;SOUP)
- Originator: espen@ulke
-
- >: >What is the fastest way of copying a memory area from Fastmem into a
- >: >Rastport? What I want to do, is build a map in FastMem, and copy it into a
-
- >The only function writing to a rastport from any mem is
- >writepixelarray8. But when used on planar modi, it will be lot slower
- >from fast than any other method from chiponly...
-
- >Do allocate a bitmap. copy into it from your array (that's cpu fast->chip).
- >then do blitbitmaprastport().
-
- So I have to make a routine to copy from FastMem to a bitmap in Chip... I have
- to get the bitmap pointers from the bimap structure, is that compatible with gfx
- cards?
-
- And is the blitter fast enough to copy a LARGE mem area in one frame, so it
- won't be any visible crap on screen?? For some reason I believe this to be too
- slow *sigh* I really hate those chip->chip copys.
-
- Or is it possible to freeze the refresh of a screen, until an event occur, thus
- letting me copy the fastmem area straight into the windows rastports bitmaps?
- That is, displaying the old view until I have copied the new data into the
- bitmaps, and THEN display the new data?? Nah, sounds highly unlikely.
-
- Speaking of size, if I open a 1280x1024 screen, I would get a maparea of
- 1024x896 pixels resulting in 917504 bytes allocated. That means I have to copy
- that much in one blitter operation. Which also means the refresh will be down to
- about 4 frames pr second. It will of course speed up a little on gfx cards if
- this is a legal way of doing it. The problem is also the little available chip
- mem. I won't be able to get any mods in there, but I guess that won't be a
- problem since people that opens such a screen will have a gfxcard leaving 2MB
- free for stuff..
-
- I really want 1986 back. With 320x256 screens , one configuration, hardware
- banging, few colors, and chip tunes :-/
-
- --
- This excellent message was brought to you at 28-Feb-96 03:57:59 by
-
- Nameless@ask.himolde.no <> Nameless @ IRC <> http://www.himolde.no/~espen
- =============================================================================
- .. one mans constant is another mans variable
-