PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

Porting Quake to a unique piece of hardware

Hello all. I have been reading this forum for a couple months and I have been reviewing the source code for Quake I. I must admit that almost all of my programming experience is in embedded designs and I am not great with Microsoft OS's.

I wanted to ask a question about the code and I don't expect anyone to explain everything to me, but basically, if I wanted to remove the OS type hooks in this code, how hard will it be? Would you say that every file calls some function built into the OS or are there just a few I need to change (such as the prints, file access and video/sound output)?

I'm excited about trying to port this to an ARM based processor running at only 90MHz, but having the benefit of not running through an overhead OS with lots of arbitration that will slow the game down. Thanks for any tips anyone might offer!


Michael
While I can't really explain the coding side (although I have a feeling it won't be an easy job) what exactly is the hardware you're using? Sounds interesting.
Its actually just a project that I am doing for myself and I thought it would be fun to port Quake to it.

It uses a Cirrus Logic EP7312 at 90MHz with 32MB of flash memory and 64MB of SDRAM. It uses a 9bit TFT LCD at 240x160 which would be great with Quake since all of the graphics are 8bit (as far as I could tell by pulling apart the .pak files). Since I planned on making the code access my hardware directly with no OS overhead (just calls to my low level drivers), I am estimating about 5fps (with no audio at first). I'd be happy with 2fps. It would just be so cool to make it work on my hardware!!!! 8O
So it's a custom made device? Awesome. Sounds like it'll be quite a project though.