The PPC crowd has been quiet this week.
Does that mean youāve been busy coding? grin
(Or are you partying, as Ozzyās are wont to do?
The PPC crowd has been quiet this week.
Does that mean youāve been busy coding? grin
(Or are you partying, as Ozzyās are wont to do?
The PPC crowd has been quiet this week.
Sorry, busy getting firewalls going this week. Iāll try out 0.6c out
tomorrow (If I get time).
Does that mean youāve been busy coding? grin
Unfortunately, not SDL stuff
(Or are you partying, as Ozzyās are wont to do?
No, still recovering from last weekend, should recover just on time for
this weekend
Michael Samuel,
Surf-Net City - Internet Cafe and Internet Service Providers
Phone: +61 3 9593-9977
E-Mail:
WWW: http://www.surfnetcity.com.au/~michael/On Fri, 10 Apr 1998, Sam Lantinga wrote:
The PPC crowd has been quiet this week.
Shhhā¦be vewwwy vewwy quietā¦its bug hunting season.
Does that mean youāve been busy coding? grin
(Or are you partying, as Ozzyās are wont to do?
Iāve been working on a project for school using OpenGL
and lighting. (There are some screenshots on my web page
under BeOS projects) Pay particular attention to the
time in the upper right hand corner of the screens.
Best Regards,
David Sowsy> See ya!
-Sam Lantinga (slouken at devolution.com)
ā
Author of Simple DirectMedia Layer -
http://www.devolution.com/~slouken/SDL/
The PPC crowd has been quiet this week.
Does that mean youāve been busy coding? grin
(Or are you partying, as Ozzyās are wont to do?
Oh yeah, sorry busy with clearing up things b4 easter break(yuck, 4 assā¦
Oh and I forgot to mention, SDL-0.6c segfaults on my machine(with
linuxthreads etc. disabled), this leads my to think that the threads are
working(mikās machine may have a much older setup?) and something else is
broken. Iāll give you a log in if it pleases you.
I think P.T. is away at the moment-but he is planning a direct driver
version of SDL(a la svgalib without the lib) which is possible because
PowerMac frame buffers are a) regular(behave the same in all modes) and
b)share 95% of the drivers.
njhOn Fri, 10 Apr 1998, Sam Lantinga wrote:
The PPC crowd has been quiet this week.
Does that mean youāve been busy coding? grin
(Or are you partying, as Ozzyās are wont to do?
Oh yeah, sorry busy with clearing up things b4 easter break(yuck, 4 assā¦
Oh and I forgot to mention, SDL-0.6c segfaults on my machine(with
linuxthreads etc. disabled), this leads my to think that the threads are
working(mikās machine may have a much older setup?) and something else is
broken. Iāll give you a log in if it pleases you.
No, donāt be lead to think that!!!
Threads kinda works, but is nowhere near working enough to consider using
it
Hehā¦ testwin did this:
testwin: moving image
image moved
testwin: fading outā¦
nothing happened
testwin: fading inā¦
nothing happened
testwin: fading over
No kidding
All kinds of other wierdness happened (eg, the wav playing thing thought
it was working, but was VERY quiet. (cat sample.wav > /dev/dsp workedā¦
very funky!)
Anyway, it kinda worksā¦ Iāll see what I can do about loopwave*, and see
if I can get testwin to work properlyā¦ but I doubt that I couldā¦ (Itās
easier do debug a program that at least KNOWS that itās not working
I think P.T. is away at the moment-but he is planning a direct driver
version of SDL(a la svgalib without the lib) which is possible because
PowerMac frame buffers are a) regular(behave the same in all modes) and
b)share 95% of the drivers.
Heheheā¦ I was shocked when I relised that X uses the same video mode as
the text console when I first got X going
I think that the āAbstract Consoleā would be nice to support, because then
we also have Linux/m68k support ready to goā¦ But I suppose Iāll have to
get the console to actually work on my machine before that would be
useful. (Theory: if it works on my machine, itāll work on any
Michael Samuel,
Surf-Net City - Internet Cafe and Internet Service Providers
Phone: +61 3 9593-9977
E-Mail:
WWW: http://www.surfnetcity.com.au/~michael/On Sat, 11 Apr 1998 njh at cs.monash.edu.au wrote:
Date: Sat, 11 Apr 1998 09:47:46 +1000 (EST)
From: njh at cs.monash.edu.au
Reply-To: sdl at surfnetcity.com.au
To: sdl at surfnetcity.com.au
Subject: Re: LinuxPPC success?
On Fri, 10 Apr 1998, Sam Lantinga wrote:
Oh and I forgot to mention, SDL-0.6c segfaults on my machine(with
linuxthreads etc. disabled), this leads my to think that the threads are
working(mikās machine may have a much older setup?) and something else is
broken. Iāll give you a log in if it pleases you.
Do the compiler flags include -DFORK_HACK ? grin
If they do, and it still segfaults, Iāll take a look.
I think P.T. is away at the moment-but he is planning a direct driver
version of SDL(a la svgalib without the lib) which is possible because
PowerMac frame buffers are a) regular(behave the same in all modes) and
b)share 95% of the drivers.
That would be cool.
Hehā¦ testwin did this:
testwin: moving image
image moved
Great!
testwin: fading outā¦
nothing happened
testwin: fading inā¦
nothing happened
Um, actually, thatās because youāre not running in 8-bit mode. Setting
the palette in >8 bpp doesnāt do anything, of course. If you want it to
do the right thing, run:
testwin -bpp 8
It will emulate an 8 bpp mode on your hicolor or truecolor display.
All kinds of other wierdness happened (eg, the wav playing thing thought
it was working, but was VERY quiet. (cat sample.wav > /dev/dsp workedā¦
very funky!)
Odd. I donāt have this problem on my system, but DOOM is very quiet.
I donāt set the mixer volume at allā¦ I just send raw samples to the
device. ??
Does LinuxPPC use the OSS sound driver? The LinuxPPC sound driver might
be converting the 22050 Hz frequencies into something different based on
the DSP parameters I set and the available audio hardware.
Anyway, it kinda worksā¦
I'm glad to hear it.
Iāll see what I can do about loopwave*, and see
if I can get testwin to work properlyā¦ but I doubt that I couldā¦ (Itās
easier do debug a program that at least KNOWS that itās not working
grin It is working properly, nice to see.
I think that the āAbstract Consoleā would be nice to support,
Thereās no such thing as an abstract console. There is always
"set up the framebuffer" āset the paletteā ādetermine pixel formatā
āfind out if other video modes are availableā, all of which are API
dependent.
The closest thing to this right now is the GGI driver, which doesnāt
compile at the moment, come to think of it.
Iāll fix that and a couple of other minor things, along with hopefully
a .lib that works with Borland C++ and VC++ and release 0.6d
(Theory: if it works on my machine, itāll work on any
I used to believe in that too. My fairy godmother showed me the light.
smile
Um, actually, thatās because youāre not running in 8-bit mode. Setting
the palette in >8 bpp doesnāt do anything, of course. If you want it to
do the right thing, run:testwin -bpp 8
Canāt you provide gamma fading? Phil Tomsich does this in his
svgalib-pmac, and Iām sure that most recent graphics cards do this?
The closest thing to this right now is the GGI driver, which doesnāt
compile at the moment, come to think of it.
Not true; what mik was refering to was Geert U.'s frame buffer stuff,
which currently works on PPC, amiga, 68k and sparc. It is like GGI, only
a) it works, b) linus Torvalds doesnāt hate it.
Iād dig up a URL, but I canāt think where Iāve got one.
njhOn Sat, 11 Apr 1998, Sam Lantinga wrote:
Um, actually, thatās because youāre not running in 8-bit mode. Setting
the palette in >8 bpp doesnāt do anything, of course. If you want it to
do the right thing, run:testwin -bpp 8
It will emulate an 8 bpp mode on your hicolor or truecolor display.
Heheā¦ Ok, I should have at LEAST looked for something obvious, but weāll
assume that it works
All kinds of other wierdness happened (eg, the wav playing thing thought
it was working, but was VERY quiet. (cat sample.wav > /dev/dsp workedā¦
very funky!)Odd. I donāt have this problem on my system, but DOOM is very quiet.
I donāt set the mixer volume at allā¦ I just send raw samples to the
device. ??
Hmmā¦ It is the standard /usr/src/linux/drivers/sound/ stuff, but I
assume that Powermac Awacs support is fairly new, and may not be
perfectā¦
(Well, if you donāt mind Maelstromās sound playing the sounds from level 7
while youāre already on level 10, itās good enough
I think that the āAbstract Consoleā would be nice to support,
Thereās no such thing as an abstract console. There is always
"set up the framebuffer" āset the paletteā ādetermine pixel formatā
āfind out if other video modes are availableā, all of which are API
dependent.
The āAbstract Consoleā is similar to GGI, but it works, and it is only
available AFAIK on Linux/m68k and Linux/PPC.
Michael Samuel,
Surf-Net City - Internet Cafe and Internet Service Providers
Phone: +61 3 9593-9977
E-Mail:
WWW: http://www.surfnetcity.com.au/~michael/On Sat, 11 Apr 1998, Sam Lantinga wrote:
The āAbstract Consoleā is similar to GGI, but it works, and it is only
available AFAIK on Linux/m68k and Linux/PPC.
I should have seen the quotes. Iāll look around for it.
Canāt you provide gamma fading? Phil Tomsich does this in his
svgalib-pmac, and Iām sure that most recent graphics cards do this?
Nope, not cross-platform, unfortunately.
The only platform where this is standard is PPC. On the others, either
it doesnāt exist, or you have to get real intimate with the hardware.
Not true; what mik was refering to was Geert U.'s frame buffer stuff,
which currently works on PPC, amiga, 68k and sparc. It is like GGI, only
a) it works, b) linus Torvalds doesnāt hate it.
Iāll check it out.
Canāt you provide gamma fading? Phil Tomsich does this in his
svgalib-pmac, and Iām sure that most recent graphics cards do this?Nope, not cross-platform, unfortunately.
The only platform where this is standard is PPC. On the others, either
it doesnāt exist, or you have to get real intimate with the hardware.
Well, could you put it in, and provide the best solution available on the
hardware?(i.e. clut fading, gamma fading, MMX optimised 24bpp fading, etc)
I think the simplest interface would be to provide a white colour and a
black colour and map all the values between these?
It would be very useful; most games have fades here, there, and
everywhere!
njhOn Sun, 12 Apr 1998, Sam Lantinga wrote:
I think P.T. is away at the moment-but he is planning a direct driver
version of SDL(a la svgalib without the lib) which is possible because
PowerMac frame buffers are a) regular(behave the same in all modes) and
b)share 95% of the drivers.
That would be great. I looked at the Abstract Console stuff by Geert,
and unfortunately I donāt have any of the hardware that his project supports,
which makes it a little hard to develop an SDL driver for it.
(Sparc is not supported by his project)
If you want to start implementing an SDL low-level driver, take a look
at the GGI implementation. Itās the closest thing to a skeleton driver
that I have at the moment. I welcome comments.
That would be great. I looked at the Abstract Console stuff by Geert,
and unfortunately I donāt have any of the hardware that his project supports,
which makes it a little hard to develop an SDL driver for it.
Wellā¦ Write a drivers!
(Sparc is not supported by his project)
Oh, doh! Well, if you know a lot about your video card, feel free to
write a driverā¦ Iām sāposed to be writting the driver for my machine,
but Iāve yet to have a moment when I feel I can work on it in preference
to other workā¦
If you want to start implementing an SDL low-level driver, take a look
at the GGI implementation. Itās the closest thing to a skeleton driver
that I have at the moment. I welcome comments.
Ok, soonā¦
njhOn Mon, 13 Apr 1998, Sam Lantinga wrote:
I think P.T. is away at the moment-but he is planning a direct driver
version of SDL(a la svgalib without the lib) which is possible because
PowerMac frame buffers are a) regular(behave the same in all modes) and
b)share 95% of the drivers.That would be great. I looked at the Abstract Console stuff by Geert,
and unfortunately I donāt have any of the hardware that his project supports,
which makes it a little hard to develop an SDL driver for it.
(Sparc is not supported by his project)
Heheheā¦ Down here in Melbourne, you can pick up an old m68k for a couple
of hunderd $ (good olā trading post
If you want to start implementing an SDL low-level driver, take a look
at the GGI implementation. Itās the closest thing to a skeleton driver
that I have at the moment. I welcome comments.
Iāll try to get it running on my machine, but there is now way on earth
that Iāll be able to write the support from scratch
If anybody wants to try it, I can help debug it though. (Sam, you could do
it via ssh, and Iāll test it, but I guess most programmers like to see
what youāve done
BTW, thanks to Anthony Tong, X support under LinuxPPC should be usable now
for some REAL stuff
(On my 200Mhz 603e with a ATI Mach64, the testwin application ran slowly
Michael Samuel,
Surf-Net City - Internet Cafe and Internet Service Providers
Phone: +61 3 9593-9977
E-Mail:
WWW: http://www.surfnetcity.com.au/~michael/On Mon, 13 Apr 1998, Sam Lantinga wrote:
Date: Mon, 13 Apr 1998 14:12:49 -0700
From: Sam Lantinga
Reply-To: sdl at surfnetcity.com.au
To: sdl at surfnetcity.com.au
Subject: Re: LinuxPPC success?
Well, tarball works; compiles, doesnāt segfault, but every program is
missing SDL_LoadWAV. I canāt find any reason for it being commented out,
nor can I find where it is commented outā¦
[njh at crayfish test]$ ./testwm
Couldnāt initialize SDL: Failed loading SDL_LoadWAV:
/usr/lib/libSDLx11.so: undefined symbol: SDL_LoadWAV
[njh at crayfish test]$
Iāll keep lookingā¦
njh
Well, tarball works; compiles, doesnāt segfault, but every program is
missing SDL_LoadWAV. I canāt find any reason for it being commented out,
nor can I find where it is commented outā¦
[njh at crayfish test]$ ./testwm
Couldnāt initialize SDL: Failed loading SDL_LoadWAV:
/usr/lib/libSDLx11.so: undefined symbol: SDL_LoadWAV
[njh at crayfish test]$
Ahh, you have to remove /usr/lib/libSDLx11.so
Itās first in your ld.so.conf, and is old.
That might be why you were having segfaults.
Iāll keep lookingā¦
Grr, after I found that it was still reading the old library and I fixed
it, I had more sucess:
[njh at crayfish test]$ ./graywin
Segmentation fault
[njh at crayfish test]$ ./testwin
Segmentation fault
[njh at crayfish test]$
hmmmmā¦
njhOn Tue, 14 Apr 1998 @Nathan_J_Hurst wrote:
[njh at crayfish test]$ ./graywin
Segmentation fault
Grrr. Can you give me a login on your system?
Iāll keep lookingā¦
Grr, after I found that it was still reading the old library and I fixed
it, I had more sucess:[njh at crayfish test]$ ./graywin
Segmentation fault
[njh at crayfish test]$ ./testwin
Segmentation fault
[njh at crayfish test]$hmmmmā¦
Ummā¦ what are you doing wrong??? Did you forget to run /sbin/ldconfig or
something
For reference, today, I tested 0.6e on the LinuxPPC box at work, and it
ran fine. (And half of the staff at work tripped out on the warp demo
Michael Samuel,
Surf-Net City - Internet Cafe and Internet Service Providers
Phone: +61 3 9593-9977
E-Mail:
WWW: http://www.surfnetcity.com.au/~michael/On Tue, 14 Apr 1998 njh at cs.monash.edu.au wrote:
Date: Tue, 14 Apr 1998 18:35:59 +1000 (EST)
From: njh at cs.monash.edu.au
Reply-To: sdl at surfnetcity.com.au
To: sdl at surfnetcity.com.au
Subject: Re: LinuxPPC success?
On Tue, 14 Apr 1998 njh at cs.monash.edu.au wrote: