Welcome, Guest. Please login or register.

Author Topic: Probs with P96 and Intuition Screenbuffers  (Read 9631 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline Micha1701Topic starter

  • Newbie
  • *
  • Join Date: Aug 2002
  • Posts: 37
    • Show all replies
    • http://www.lanser-online.de.vu
Probs with P96 and Intuition Screenbuffers
« on: December 17, 2002, 01:33:32 PM »
Hi @all!

I´m writing a program using the Intuition Screenbuffers for doublebuffering on a 16bit Screen.

Now I want to paint a rectangle (with four lines) with Draw() and Move(). Before doing this I set the color with SetRGB32() or giving a Colortable while opening the screen with OpenScreenTags(). (I tried both options)

Now my problem. The setting of the color only works with the first Screenbuffer (Bitmap allocated while opening the Screen). The second has its own not changeable color. Even when I change the color while the Buffer is on- or offscreen...

Its also equal which RastPort I use for painting. The
ScreensRastport, WindowRastport or one of the LayerRastports which I created for the Buffer Bitmaps...

Is there anything else I can do? This "mistake" only happens on P96
Screens... On CGX everything works fine....

-Micha
-Micha
 

Offline Micha1701Topic starter

  • Newbie
  • *
  • Join Date: Aug 2002
  • Posts: 37
    • Show all replies
    • http://www.lanser-online.de.vu
Re: Probs with P96 and Intuition Screenbuffers
« Reply #1 on: December 17, 2002, 03:16:22 PM »
I had problems using ScrollVP(). The program always crashed...

Screenbuffers work fine. Also with P96. Only the thing with the colors will not work. Tobias Abt (P96 creator) means that this should work and is only an error in my Code.... (I hope so, but where is it???)...

I also don´t want to use specific functions of the P96.library because the program should also run under CGX.... (CGX is emulated by the p96.library but not vice versa)
And functions like Move() and Draw() doesn ´t exists in P96 or CGX library....

Has anybody made a program working with intuitionscreenbuffers under P96?

-Micha
-Micha
 

Offline Micha1701Topic starter

  • Newbie
  • *
  • Join Date: Aug 2002
  • Posts: 37
    • Show all replies
    • http://www.lanser-online.de.vu
Re: Probs with P96 and Intuition Screenbuffers
« Reply #2 on: December 19, 2002, 01:59:00 PM »
Has anybody here ever made a programm which used Intuition Screenbuffers and runs under P96?

How can I made them work probably?

I recognized that the BitMap created with AllocScreenbuffer() is not a P96 BitMap and therefor cannot be locked...

Perhaps this is the main "bug" in my programm and when its gone all runs perfect???

-Micha
-Micha