home *** CD-ROM | disk | FTP | other *** search
- Path: informatik.tu-muenchen.de!fischerj
- From: fischerj@informatik.tu-muenchen.de (Juergen "Rally" Fischer)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: Qblit intereference again
- Date: 29 Feb 1996 14:42:19 GMT
- Organization: Technische Universitaet Muenchen, Germany
- Distribution: world
- Message-ID: <4h4e0b$ljq@sunsystem5.informatik.tu-muenchen.de>
- References: <4gb6om$104@sunsystem5.informatik.tu-muenchen.de> <PETERM.96Feb29111630@tui.maths.irl.cri.nz>
- NNTP-Posting-Host: hphalle2i.informatik.tu-muenchen.de
- Originator: fischerj@hphalle2i.informatik.tu-muenchen.de
-
-
- In article <PETERM.96Feb29111630@tui.maths.irl.cri.nz>, peterm@maths.grace.cri.nz (Peter McGavin) writes:
- |> Distribution: world
- |> References: <4gb6om$104@sunsystem5.informatik.tu-muenchen.de>
- |> Organization: Industrial Research Ltd
- |> In-reply-to: fischerj@Informatik.TU-Muenchen.DE's message of 20 Feb 1996
- |> 01:05:26 GMT
- |> Lines: 21
- |>
- |> fischerj@Informatik.TU-Muenchen.DE (Juergen "Rally" Fischer) writes:
- |> >My Qblit function still locks up if OS does small blits between it.
- |> >help please.
- |>
- |> A few other things to check:
- |>
- |> Make sure the same bltnode is not being used for 2 blits at the same
- |> time. Don't clear the first field in the bltnode (which is used
- |> internally by the system) while the bltnode is in use by the system.
-
- well, but as I wait for _bltbsy before, it won't happen that I use the
- bltnode struc bevore I was cleanup:ed...
-
- |>
- |> Be careful with CPU busy-loops and priorities. If the program CPU
- |> busy-loops for QBlit() to finish and a lower-priority task owns the
- |> blitter at the instant QBlit() is called, then the lower-priority task
- |> can't get the CPU to disown the blitter ---> result lockup. IMO, it's
-
- aaaaah! goooood idea :) I will use waittof to see if this is the reason.
-
- |> better to Wait() for a Signal() from the QBlit() cleanup function than
- |> to busy-loop.
-
- mhm, I'm lazy in this case, and with waittof it shouldn't be too much
- overhead.
- Anyone got example code for signaling ?
-
- |>
- |> The first blit in every QBlit() chain must initialise _all_ the
- |> blitter registers for the blitter channels used.
- |> --
- |> Peter McGavin. (p.mcgavin@irl.cri.nz)
- |>
-