Blitz (74/81)

From:David McMinn
Date:23 Mar 2001 at 09:51:08
Subject:Re: Works on CGfx...

Hi Thorsten

Did you not get my reply to this when you sent something like this a while ago?

> Screen 0,0,0,640,256,8,$8000,"Works on CGfx?",0,0

This kind of screen should have nothing to do with CGFX, since it's AGA only.
Make sure whoever is using your program has the PAL or NTSC monitor drivers in
devs:monitors/ or use ScreenTags or the NCS and an ASL requester to get the
DisplayID.

Or does CGFX have automatic mode promotion?

> ShowBitMap 0 ; Show TitlePicture

This might be the problem, try using:

*scr.Screen = peek.l(addr screen(0))
BltBitMapRastPort_ Addr BitMap(0),0,0,*scr\RastPort,0,0,w,h,$C0
; where w is width of bitmap and h is height of bitmap

> CopyBitMap 1,0 ; Could this crash on CGfx?

No, again, this should have nothing to do with CGFX so it should not crash. It
will all work internally on Blitz bitmaps.

> I really don't understand why this program crash on cgfx... Do
> you have any idea? Are there any BlitzCommands dont work on Cgfx
> like "GetaShape", "Cycle" "InitCycle", "FNSPrint", "Block",
> "Zone" ...?
>
> Is there any different between "VWait" and "NVWait" in the
> function and/or compatible? (not the exesizze)

VWait bangs the hardware in Blitz mode, and I think it uses WaitTOF_ in Amiga
mode. NVWait always uses WaitTOF_.

> Does anyone have a nice startup-code to select the screenmode with hook
> maybe..... but hook must not be... only a nice screenmode requester,
> standart should be 640x256.... any screenmode available.... Systemfriendly
> code (SystemCommands_) would be very nice... thx....!!!

I sent this using the NCS last time you asked a question like this. And there
is an example of ASL requesters and hooks (although I doubt whether you'd need
to use a hook) in Aminet dev/basic called hookfunc.lha (or maybe hook.lha).
Curt Esser has another example of ASL screenmode selecters
http://members.nbci.com/curt_esser.



|) /\ \/ ][ |) |\/| c |\/| ][ |\| |\| | dave@blitz-2000.co.uk
http://members.nbci.com/david_mcminn | ICQ=16827694
Gonnae nae dae that?

---------------------------------------------------------------------
To unsubscribe, e-mail: blitz-list/-unsubscribe@netsoc.ucd.ie
For additional commands, e-mail: blitz-list/-help@netsoc.ucd.ie