🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.amiga.tech
Article #6225

Wait(scanline) type function?

#6225
From: Joseph Peck
Date: Wed, 31 Oct 1990 20:19
20 lines
1020 bytes
Well, time to ask another programming question. 

Is there a nice way using Lattice C to perform a Wait type function
that puts my program to sleep until a given scanline is passed?

Basically, I am using DrawImage to place a small picture on the    
screen and move it around.  I am using WaitTOF() to keep things
moving around at 60Hz, but DrawImage can't finish the draw in time
near the top of the screen (flicker, and random color splotches
depending on what bitplane it has gotten through by then).

I want to avoid assembler for now, but I didn't see a way to 
utilize the copper for this in C in the RKM.

Any clues?

Thanks,
 Joe Peck
 peck@ral.rpi.edu
  
Technical Details
Message-ID: <K-9%S^+@rpi.edu>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!zaphod.mps.ohio-state.edu!rpi!peck

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!zaphod.mps.ohio-state.edu!rpi!peck
From: peck@ral.rpi.edu (Joseph Peck)
Newsgroups: comp.sys.amiga.tech
Subject: Wait(scanline) type function?
Summary: I would like one.....
Message-ID: <K-9%S^+@rpi.edu>
Date: 31 Oct 90 20:19:01 GMT
Organization: Rensselaer Polytechnic Institute, Troy NY
Lines: 20