Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.os.os2.programmer.porting > #291 > unrolled thread

What about SDL on OS/2?

Started byMentore <mentore.siesto@libero.it>
First post2013-10-18 00:18 -0700
Last post2013-10-20 17:35 +0000
Articles 3 — 3 participants

Back to article view | Back to comp.os.os2.programmer.porting


Contents

  What about SDL on OS/2? Mentore <mentore.siesto@libero.it> - 2013-10-18 00:18 -0700
    Re: What about SDL on OS/2? Dave Yeo <dave.r.yeo@gmail.com> - 2013-10-18 08:19 -0700
      Re: What about SDL on OS/2? "Mentore Siesto" <mentoreshoryu@fattimiei.zx> - 2013-10-20 17:35 +0000

#291 — What about SDL on OS/2?

FromMentore <mentore.siesto@libero.it>
Date2013-10-18 00:18 -0700
SubjectWhat about SDL on OS/2?
Message-ID<394da4c7-66e3-43bb-b184-df955fa462dc@googlegroups.com>
Hello all.

Having recently tried to launch an SDL application on OS/2 (which sadly crashed completely my machine... It didn't happen in months!), I was wondering some things about SDL.

- IIRC, the last SDL on OS/2 is 1.2.10. Am I right? How difficult could it be to try and port the latest SDL?

- I know for a fact that SDL gives BGR images instead of RGB if Panorama VESA is used, while the correct order is used if SNAP is installed. I wonder where one could add some code to check this and fix the byte order of the bitmaps (i.e. a command-line parameter which could tell SDL to change the bitmap byte ordering).

- I won't touch OpenGL, since we have a limited and software-only version. Though... Oh well.

- Did someone else experience crashes in launching an SDL application? I remember porting some simple SDL software and now I can't do it no more, if I don't bring up another (and much older) machine just for this job.

Thanks a lot.
Mentore

[toc] | [next] | [standalone]


#292

FromDave Yeo <dave.r.yeo@gmail.com>
Date2013-10-18 08:19 -0700
Message-ID<52615171$0$61256$c3e8da3$5e5e430d@news.astraweb.com>
In reply to#291
Mentore wrote:
> Hello all.
>
> Having recently tried to launch an SDL application on OS/2 (which sadly crashed completely my machine... It didn't happen in months!), I was wondering some things about SDL.
>
> - IIRC, the last SDL on OS/2 is 1.2.10. Am I right? How difficult could it be to try and port the latest SDL?

I recently tried the latest 1.2.x with no joy. It built but wouldn't 
initialize the video IIRC. Porting the recently released 2.x would 
presumably harder. There is a GCC port at 
http://bauxite.sakura.ne.jp/software/os2/#sdl

>
> - I know for a fact that SDL gives BGR images instead of RGB if Panorama VESA is used, while the correct order is used if SNAP is installed. I wonder where one could add some code to check this and fix the byte order of the bitmaps (i.e. a command-line parameter which could tell SDL to change the bitmap byte ordering).
>
> - I won't touch OpenGL, since we have a limited and software-only version. Though... Oh well.
>
> - Did someone else experience crashes in launching an SDL application? I remember porting some simple SDL software and now I can't do it no more, if I don't bring up another (and much older) machine just for this job.
>
> Thanks a lot.
> Mentore

[toc] | [prev] | [next] | [standalone]


#293

From"Mentore Siesto" <mentoreshoryu@fattimiei.zx>
Date2013-10-20 17:35 +0000
Message-ID<0KhBVN5juOdd-pn2-dh4FcKdOy6FG@localhost>
In reply to#292
Il giorno Fri, 18 Oct 2013 15:19:06 UTC, Dave Yeo 
<dave.r.yeo@gmail.com> ha scritto:

> Mentore wrote:
> > Hello all.
> >
> > Having recently tried to launch an SDL application on OS/2 (which sadly crashed completely my machine... It didn't happen in months!), I was wondering some things about SDL.
> >
> > - IIRC, the last SDL on OS/2 is 1.2.10. Am I right? How difficult could it be to try and port the latest SDL?
> 
> I recently tried the latest 1.2.x with no joy. It built but wouldn't 
> initialize the video IIRC. Porting the recently released 2.x would 
> presumably harder. There is a GCC port at 
> http://bauxite.sakura.ne.jp/software/os2/#sdl

Thanks, Dave. I'll give it a try, but without much hope... Seeing my 
eCS machine freeze so brutally doesn't make me happy, seems almost 
like my Win7 machine at work :D

Mentore

[toc] | [prev] | [standalone]


Back to top | Article view | comp.os.os2.programmer.porting


csiph-web