How to port SDL to FPGA

Hi guys,

I want to port SDL to FPGA platform. Does anyone know which functions I
should rewrite? Thank you all!

Regards,

Shupeng

Are you going to design “hardware” specifically for accelerating the SDL API,
or do you have a video subsystem and stuff running in FPGA already?

In the latter case, I suppose it’s like porting SDL to any other platform.
Can’t fill you in on the details, but a good starting point would be to look
at backends for similar platforms.On Sunday 07 November 2010, at 21.59.53, Shupeng Sun wrote:

Hi guys,

I want to port SDL to FPGA platform. Does anyone know which functions I
should rewrite? Thank you all!


//David Olofson - Consultant, Developer, Artist, Open Source Advocate

.— Games, examples, libraries, scripting, sound, music, graphics —.
| http://consulting.olofson.net http://olofsonarcade.com |
’---------------------------------------------------------------------’

Thank you for your reply. Actually, I want to run Chocolate Doom on FPGA. As
Chocolate Doom uses SDL, I need to know how SDL calls FPGA drivers. I have
already written drivers for FPGA, but I don’t know how to let SDL call these
drivers. From website, I get little helpful information about how to port
SDL to a new platform. Could you recommend some documentations with more
details? As I am new to SDL, I really want a tutorial instructing me step by
step. Thank you!On Mon, Nov 15, 2010 at 6:27 PM, David Olofson wrote:

On Sunday 07 November 2010, at 21.59.53, Shupeng Sun < @Shupeng_Sun> wrote:

Hi guys,

I want to port SDL to FPGA platform. Does anyone know which functions I

should rewrite? Thank you all!

Are you going to design “hardware” specifically for accelerating the SDL
API, or do you have a video subsystem and stuff running in FPGA already?

In the latter case, I suppose it’s like porting SDL to any other platform.
Can’t fill you in on the details, but a good starting point would be to look
at backends for similar platforms.

//David Olofson - Consultant, Developer, Artist, Open Source Advocate

.— Games, examples, libraries, scripting, sound, music, graphics —.

| http://consulting.olofson.net http://olofsonarcade.com |

‘---------------------------------------------------------------------’


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

Hey.

There is a dummy video backend in SDL which is supposedly where one
should start. I’m not aware of any tutorials or high level
documentation for this task. That doesn’t mean it isn’t out there.

Good luck,
– Brian.On 15 November 2010 23:58, Shupeng Sun wrote:

Thank you for your reply. Actually, I want to run Chocolate Doom on FPGA. As
Chocolate Doom uses SDL, I need to know how SDL calls FPGA drivers. I have
already written drivers for FPGA, but I don’t know how to let SDL call these
drivers. From website, I get little helpful information about how to port
SDL to a new platform. Could you recommend some documentations with more
details? As I am new to SDL, I really want a tutorial instructing me step by
step. Thank you!

Hi,

Thank you for your reply! I am now working on audio part. Can you offer
me some advice on where to start? Thank you again. Have a good day!On Tue, Nov 16, 2010 at 4:19 AM, Brian Barrett <brian.ripoff at gmail.com>wrote:

Hey.

There is a dummy video backend in SDL which is supposedly where one
should start. I’m not aware of any tutorials or high level
documentation for this task. That doesn’t mean it isn’t out there.

Good luck,
– Brian.

On 15 November 2010 23:58, Shupeng Sun <@Shupeng_Sun> wrote:

Thank you for your reply. Actually, I want to run Chocolate Doom on FPGA.
As
Chocolate Doom uses SDL, I need to know how SDL calls FPGA drivers. I
have
already written drivers for FPGA, but I don’t know how to let SDL call
these
drivers. From website, I get little helpful information about how to port
SDL to a new platform. Could you recommend some documentations with more
details? As I am new to SDL, I really want a tutorial instructing me step
by
step. Thank you!


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

What interface is your FPGA using? How does it output video? It could
be embedded in a Nintendo for all we know.On Mon, Nov 15, 2010 at 6:58 PM, Shupeng Sun wrote:

Thank you for your reply. Actually, I want to run Chocolate Doom on FPGA. As
Chocolate Doom uses SDL, I need to know how SDL calls FPGA drivers. I have
already written drivers for FPGA, but I don’t know how to let SDL call these
drivers. From website, I get little helpful information about how to port
SDL to a new platform. Could you recommend some documentations with more
details? As I am new to SDL, I really want a tutorial instructing me step by
step. Thank you!

On Mon, Nov 15, 2010 at 6:27 PM, David Olofson wrote:

On Sunday 07 November 2010, at 21.59.53, Shupeng Sun wrote:

Hi guys,

I want to port SDL to FPGA platform. Does anyone know which functions I

should rewrite? Thank you all!

Are you going to design “hardware” specifically for accelerating the SDL
API, or do you have a video subsystem and stuff running in FPGA already?

In the latter case, I suppose it’s like porting SDL to any other platform.
Can’t fill you in on the details, but a good starting point would be to look
at backends for similar platforms.

//David Olofson - Consultant, Developer, Artist, Open Source Advocate

.— Games, examples, libraries, scripting, sound, music, graphics —.

| http://consulting.olofson.net http://olofsonarcade.com |

‘---------------------------------------------------------------------’


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

Now I have written C files to drive audio and video. If I know how to
include these C files into SDL, my problem will be sovled. Am I clear?On Tue, Nov 16, 2010 at 5:11 PM, Jeremiah wrote:

What interface is your FPGA using? How does it output video? It could
be embedded in a Nintendo for all we know.

On Mon, Nov 15, 2010 at 6:58 PM, Shupeng Sun <@Shupeng_Sun> wrote:

Thank you for your reply. Actually, I want to run Chocolate Doom on FPGA.
As
Chocolate Doom uses SDL, I need to know how SDL calls FPGA drivers. I
have
already written drivers for FPGA, but I don’t know how to let SDL call
these
drivers. From website, I get little helpful information about how to port
SDL to a new platform. Could you recommend some documentations with more
details? As I am new to SDL, I really want a tutorial instructing me step
by
step. Thank you!

On Mon, Nov 15, 2010 at 6:27 PM, David Olofson wrote:

On Sunday 07 November 2010, at 21.59.53, Shupeng Sun <@Shupeng_Sun> wrote:

Hi guys,

I want to port SDL to FPGA platform. Does anyone know which functions
I

should rewrite? Thank you all!

Are you going to design “hardware” specifically for accelerating the SDL
API, or do you have a video subsystem and stuff running in FPGA already?

In the latter case, I suppose it’s like porting SDL to any other
platform.

Can’t fill you in on the details, but a good starting point would be to
look

at backends for similar platforms.

//David Olofson - Consultant, Developer, Artist, Open Source Advocate

.— Games, examples, libraries, scripting, sound, music, graphics —.

| http://consulting.olofson.net http://olofsonarcade.com |

‘---------------------------------------------------------------------’


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

Hi,

have a look to: http://www.genode-labs.com/products/fpga-graphics?set_language=en

–Armin___________________________________________________________
GRATIS! Movie-FLAT mit ?ber 300 Videos.
Jetzt freischalten unter http://movieflat.web.de

I want one.

2010/11/19 Armin Steinhoff :> Hi,

have a look to: http://www.genode-labs.com/products/fpga-graphics?set_language=en

–Armin


GRATIS! Movie-FLAT mit ?ber 300 Videos.
Jetzt freischalten unter http://movieflat.web.de


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org