[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference 7.286::atarist

Title:Atari ST, TT, & Falcon
Notice:Please read note 1.0 and its replies before posting!
Moderator:FUNYET::ANDERSON
Created:Mon Apr 04 1988
Last Modified:Tue May 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:1433
Total number of notes:10312

1150.0. "linea" by BRUMMY::LOXTON () Wed Jul 03 1991 07:42

    	I have partly written a Dungeon Master type game in C on an STe and
    havebeen using linea7 bitblt to copy graphic blocks to the physical
    screen.
    	On the STe with the blitter switched on it works fine but if I
    switch the blitter off the first block copy appears to continue copying
    memory indefinately until memory not allocated to the screen is
    overwritten and the cpu hangs.I get the same problem on an stfm with no
    blitter.                                      
    	I thought that the linea routine would use the blitter if available
    and software if not,but the parameter settings should be the same.
    
    	I've tried recompiling the source with the blitter switched of but
    it made no difference.
    
    	Any ideas.
    
    		Thanks
    			Brian.
T.RTitleUserPersonal
Name
DateLines
1150.1AIDEV::HUTCHINSONHutchWed Jul 03 1991 12:168
Brian,

I can't help you ref the blitter/lineA conflict but I caution you to consider
the use of non-lineA routines.  The current word from Atari is that LineA will
not be supported in future versions of the OS.  It *should* work OK now but you
might run into problems in  the future.

Hutch
1150.2Software Blitter?VFOVAX::PATTERSONThe world is flat, it's the universe thats roundWed Jul 03 1991 13:354
	Could be a bug in the Line-A routine, try using a software blitter
	program.

Jim
1150.3HELP NEEDED ON COPY-RASTER!!!AIDEV::MISKINISMon Dec 02 1991 18:0430
Hello,

	I've been trying to get the LINEAE routine (copy raster form)
	to work from MWC (Mark Williams C), but can't seem to get it
	right...  Has anyone done this from ANY higher level language?

	In the LINEA.H include file, there's la_blit structure, which
	I'm filling (correctly I think), but according to the internals
	book, the address of this must be placed in A6.

	A conflicting statement in the include file says that the LINEA
	routines take their arguments from global variables, and the
	exceptions are the BITBLT and SPRITE functions...

	Help!  I need to be able to copy arbitrary rectangles from the
	screen->screen, screen->RAM, and RAM-> screen, from C!!!

	Actually, I even tried to create a pre and post routine like:

	stuff_a6();  pushes a6 on the stack, copies the address of the 
		     la_blit structure to a6
	lineae();
	restore_a6(); pops a6 off the stack...

Has anyone managed to get this linea call to work from C???

Thanks!

_John_