 |
forums.ps2dev.org Homebrew PS2, PSP & PS3 Development Discussions
|
| View previous topic :: View next topic |
| Author |
Message |
BlitX
Joined: 18 Mar 2005 Posts: 2
|
Posted: Fri Mar 18, 2005 2:42 pm Post subject: Questions about porting a game |
|
|
Hi , I'm new to the ps2dev and I'm trying to port the doom legacy to the ps2 Doom Legacy, if you dont know this is a port of the original doom to varios OS's and plataforms, a ps2 port would be cool because DoomLegacy has split screen support.
Well I have two questions:
1 - Now I'm having some trouble to plot things to screen, using gskit. Let me tell you what I did. I created a TEXTURE and set it to 8bits and made a byte array of 320*200 to simulate the vga dos screen , and uploaded the texture, the problem is the PALETTE , I cant seem to find any example in using palettes with gskit . do you know some "trick" that will do the job?
2- Timer.. in dos the code substitute the timer interrupt by a timer handler , something like that.
Install_Handler(int_num my_int_function) , so is there a way to install a handler like that in the ps2? and make it run like every 10ms or every 20ms..
I have some screenshot of what I have done until now here:
http://blitx.n3dev.org/ps2doom
as you can see it stops at Vid_init() , I already made the gskit init stuff and its working ok, just need palettes to work the right way.
Thanks in advance
sorry for my bad english
I always dreamed in playing doom in my ps2 :] |
|
| Back to top |
|
 |
Darren
Joined: 12 Jul 2004 Posts: 23
|
Posted: Sat Mar 19, 2005 9:45 am Post subject: |
|
|
| Although I don't know much about the author or this project you can look at ps2quake in the cvs for some useful tips. |
|
| Back to top |
|
 |
BlitX
Joined: 18 Mar 2005 Posts: 2
|
Posted: Sat Mar 19, 2005 3:32 pm Post subject: |
|
|
| hmm.. thank you I'll check the cvs , hopefully it will help me getting doom to work. |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|