[openbeos] Re: "Porting" video drivers from R5 to Haiku. Any changes required?
- From: "Axel Dörfler" <axeld@xxxxxxxxxxxxxxxx>
- To: openbeos@xxxxxxxxxxxxx
- Date: Fri, 29 Sep 2006 11:31:35 +0200 CEST
Siarzhuk Zharski <zharik@xxxxxx> wrote:
> One of my friends asked me to help in running S3 Savage graphic card
> under Haiku. He tried to use BeSavage++ drivers available on bebits
> (http://bebits.com/app/3378) but have no success - black screen and
> hang
> up on system initialization. VESA driver on same system is OK. I have
> build those sources for Haiku but the behavior was the same. Is it
> required to change something in R5 driver source code to force it to
> work under Haiku?
It shouldn't be necessary. The only thing I know that Haiku is more
strict about are const data. For example this works fine on BeOS, but
won't on Haiku:
char *a = "b";
*a = 'c';
"b" is a read-only location and cannot be changed this way (this also
crashes in BeOS userland).
The other thing would be B_USER_CLONEABLE_AREA but we've disabled this
flag for now.
Of course, there might be slight incompatibilities between the
app_server API that we know, and the one implemented by BeSavage++. Is
there any way to emulate such a card?
Bye,
Axel.
- Follow-Ups:
- [openbeos] Re: "Porting" video drivers from R5 to Haiku. Any changes required?
- From: Siarzhuk Zharski
- [openbeos] Re: "Porting" video drivers from R5 to Haiku. Any changes required?
- From: Jérôme Duval
- References:
- [openbeos] "Porting" video drivers from R5 to Haiku. Any changes required?
- From: Siarzhuk Zharski
Other related posts:
- » [openbeos] "Porting" video drivers from R5 to Haiku. Any changes required?
- » [openbeos] Re: "Porting" video drivers from R5 to Haiku. Any changes required?
- » [openbeos] Re: "Porting" video drivers from R5 to Haiku. Any changes required?
- » [openbeos] Re: "Porting" video drivers from R5 to Haiku. Any changes required?
- » [openbeos] Re: "Porting" video drivers from R5 to Haiku. Any changes required?
- [openbeos] Re: "Porting" video drivers from R5 to Haiku. Any changes required?
- From: Siarzhuk Zharski
- [openbeos] Re: "Porting" video drivers from R5 to Haiku. Any changes required?
- From: Jérôme Duval
- [openbeos] "Porting" video drivers from R5 to Haiku. Any changes required?
- From: Siarzhuk Zharski