home *** CD-ROM | disk | FTP | other *** search
- Path: news.salford.ac.uk!ais-ck-012
- From: D.A.Reed@chemistry.salford.ac.uk (Doug Reed)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: AGA-Assembly problems :(
- Date: Tue, 06 Feb 96 20:51:34 GMT
- Organization: University of Salford
- Message-ID: <4f8f0m$70g_004@salford.ac.uk>
- References: <rade-1601961437210001@cip-mac6.coli.uni-sb.de> <4elqnb$9dc@sunsystem5.informatik.tu-muenchen.de> <4esfue$klh@news.uni-c.dk>
- NNTP-Posting-Host: ais-ck-012.salford.ac.uk
- X-Newsreader: News Xpress Version 1.0 Beta #3
-
- In article <4esfue$klh@news.uni-c.dk>,
- christ@apollo.roskildees.dk (Christian Hessenbruch) wrote:
- >: |>
- >: |> 3. I've another question on the display modulos ($108, $10a). I
- know I
- >: |> have to set them to -8
- >: |> when I display an AGA-pic (FMode=3). But why? How is this
- calculated? What
- >: |> values do I need to display an 8-bpl-picture with FMode=0? (it
- should
- >: |> work, but I couldn't work it out)
- >: with fmode = 0 it should be same values like on OCS!
- >: on fmode = 3 I always managed to get proper display with all modulos
- 0.
- >: no -8 ... -8 sounds like having too much display dma!
- >
- >I belive the reason is that the bitmap lines has to be aligned
- >to 8 when using fmode 3, and as your lines are 40 the DMA will
- >adjust to 48 (6*8) and then you readjust by setting modulo -8.
-
- The modulos should be exactly the same as in OCS/ECS even when in
- FMODE=$xxx3, what should change is DDFSTOP this, if I remember
- correctly, changes to $00b8 for a 40 byte lo-res screen. Also the start
- of the screen display(+ every line) must be on an 8-byte boundary (use
- CNOP 0,8 before the screen's asm-label and 8*n byte width screens).
-
- Doug.
-