Welcome, Guest. Please login or register.

What openbor you prefer: Double dragon,battletoads or final fight !? by lirexpatrio
[December 07, 2012, 07:15:27 pm]


what are your favorite games OpenBOR?! by lirexpatrio
[December 07, 2012, 07:09:46 pm]


Post Some Awesome Videos by maxman
[December 07, 2012, 05:51:39 pm]


Can @cmd playmusic "aaaa" 1 also increse music sound ? by BeasTie
[December 07, 2012, 05:24:38 pm]


Streets of Rage: Silent Storm by mtrain
[December 07, 2012, 03:45:05 pm]


Site will be down for maintenance on 12/8/2012 thru 12/10/2012 by Damon Caskey
[December 07, 2012, 07:42:42 am]


Cancelled SOR 3d Remake by riccochet
[December 07, 2012, 03:58:33 am]


Dungeon Fighter: B.O.R. by msmalik681
[December 07, 2012, 03:24:27 am]


[TUTORIAL] How to create 4 Games of OpenBOR in 1 CD (650 MB) by magggas
[December 06, 2012, 09:46:25 pm]


custknife by Bloodbane
[December 06, 2012, 09:34:09 pm]


blockfx help by B.Kardi
[December 06, 2012, 04:09:14 pm]


street of age 4 hd by corradlo
[December 06, 2012, 01:41:36 pm]


ClaFan - Classic Fantasy ver 1.17 by soniczxblade
[December 06, 2012, 05:01:20 am]


Bug Archive by Bloodbane
[December 06, 2012, 02:00:44 am]


"Bio-Doom" and "Gears of Doom" by BulletBob
[December 05, 2012, 10:07:21 pm]


Contra Locked 'N' Loaded v2 by Bloodbane
[December 05, 2012, 09:39:43 pm]


Downloadable OpenBoR Manual by BeasTie
[December 05, 2012, 08:31:24 pm]


Having trouble testing changes by B.Kardi
[December 05, 2012, 03:05:53 pm]


DragonBall Absalon by msmalik681
[December 05, 2012, 02:52:13 pm]


[Hi-Res] Swamp by Vibrant
[December 05, 2012, 10:47:14 am]


  • Dot Guests: 152
  • Dot Hidden: 0
  • Dot Users: 0

There aren't any users online.



Author Topic: Dreamcast 3.0 status.  (Read 26182 times)

0 Members and 2 Guests are viewing this topic.

Offline SX

  • Administrator
  • Hero Member
  • *****
  • Posts: 2700
    • LavaLit
Re: Dreamcast 3.0 status.
« Reply #195 on: June 19, 2009, 04:47:55 pm »
No that still won't be fixed until I move the video over from SDL to kos pvr.  But on the bright side..... 8 bit 320x240 was never 90 fps and it usually doesn't dip below 60 fps unlike previous version where it stood around 55~45 fps...

Offline SX

  • Administrator
  • Hero Member
  • *****
  • Posts: 2700
    • LavaLit
Re: Dreamcast 3.0 status.
« Reply #196 on: June 19, 2009, 10:17:51 pm »
Oops do not burn that binary.  I forgot to put it back to dreamcast mode.  I was using that one with nulldc emulator.  I will post another binary that will work for dreamcast.

P.S.
Neils loading screen is no longer used.....   It would require a bit of work to make it compatible with SDL or kos pvr because it was an image that was formatted for vram direct writes which we no longer do.


Anyways here is the new dreamcast compatible binary.
« Last Edit: June 19, 2009, 10:34:06 pm by SX »

Offline CE

  • Hero Member
  • *****
  • Posts: 1102
  • Working on Rage of the Streets v2
    • DCEvolution.net
Re: Dreamcast 3.0 status.
« Reply #197 on: June 20, 2009, 04:15:48 am »
Did a quick test burn and it works great! :) - Will do some more testings tonite when I got some free time.

Quote from: SX
Neils loading screen is no longer used.....   It would require a bit of work to make it compatible with SDL or kos pvr because it was an image that was formatted for vram direct writes which we no longer do.

Okay, then. No biggie. I love that it displays /bgs/loading.gif instead! :)

but I would propose to allow the modder to define their own image upon start up. Something like /bgs/startup.gif (or simply use title.gif if no startup.gif / loading.gif is found).

This was something I meant to propose for quite a while anyway.




Here is another build.  This one no longer uses SDL for audio handling and uses KOS's snd_stream library instead.

Do you think it's worth it to compare this to Neill Corlett's implementation in the original Dreamcast port ? - I remember that regarding sound playback he specifically mentioned in his release documentation that he was capable of what he called "AICA kung fu"  ;D

Now, I am really not sure what he meant with that, but it sure sounds like something special.

« Last Edit: June 20, 2009, 12:00:56 pm by CE »
http://dcemulation.org/index.php5?title=OpenBORManual


How to mod:
1 Pick an interesting game: There are plenty of 8-bit/16-bit classics waiting for a remake
2 Rip your own sprites & stages
3 Use a custom palette: http://borrevolution.vg-network.com/tutorial.htm
4 Check your offsets: http://lavalit.com:8080/index.php?topic=1099.0


Did you know?
Using void main()
{
playgif("data/my.gif", 0, -4, 1);
}

as spawnscript streams a GIF anim instead of loading it

Offline CE

  • Hero Member
  • *****
  • Posts: 1102
  • Working on Rage of the Streets v2
    • DCEvolution.net
Re: Dreamcast 3.0 status.
« Reply #198 on: June 20, 2009, 01:51:09 pm »
Here is another build.  This one no longer uses SDL for audio handling and uses KOS's snd_stream library instead.  I don't see a performance difference but to be honest I'm testing it against nullDC Emulator which isn't the fastest even on a dual core duo.....

Some differences in comparision to the proof of concept build that I noticed:
  • 90-100 fps
  • faster loading (?!)
  • less sound hickups during loading

This build has less echoing in sound in general: Occurs maybe once in a level in my test mod. I didn't notice it in the last build at first, but it's there and in this build there is definitely less echoing, but there is still some. It seems to be related to sound effects, but I am not sure. - Like I wrote in my previous post: maybe it's possible to check Neill Corlett's source to see what he did to get sound working as flawless as it used to be.
« Last Edit: June 20, 2009, 01:54:12 pm by CE »
http://dcemulation.org/index.php5?title=OpenBORManual


How to mod:
1 Pick an interesting game: There are plenty of 8-bit/16-bit classics waiting for a remake
2 Rip your own sprites & stages
3 Use a custom palette: http://borrevolution.vg-network.com/tutorial.htm
4 Check your offsets: http://lavalit.com:8080/index.php?topic=1099.0


Did you know?
Using void main()
{
playgif("data/my.gif", 0, -4, 1);
}

as spawnscript streams a GIF anim instead of loading it

Offline CE

  • Hero Member
  • *****
  • Posts: 1102
  • Working on Rage of the Streets v2
    • DCEvolution.net
Re: Dreamcast 3.0 status.
« Reply #199 on: June 21, 2009, 05:18:43 pm »


BlackAura posted a tutorial on Paletted Textures @ DCEmulation: http://dcemulation.org/phpBB/viewtopic.php?f=29&t=99166

It confirms what was previously only assumed: The Dreamcast's PVR renders everything at 32-bit internally!
« Last Edit: September 09, 2009, 08:57:19 am by CE »
http://dcemulation.org/index.php5?title=OpenBORManual


How to mod:
1 Pick an interesting game: There are plenty of 8-bit/16-bit classics waiting for a remake
2 Rip your own sprites & stages
3 Use a custom palette: http://borrevolution.vg-network.com/tutorial.htm
4 Check your offsets: http://lavalit.com:8080/index.php?topic=1099.0


Did you know?
Using void main()
{
playgif("data/my.gif", 0, -4, 1);
}

as spawnscript streams a GIF anim instead of loading it

Offline SX

  • Administrator
  • Hero Member
  • *****
  • Posts: 2700
    • LavaLit
Re: Dreamcast 3.0 status.
« Reply #200 on: July 09, 2009, 11:43:54 pm »
Needed some time off from OpenBOR, but I think this weekend I should be able to wrap up the Dreamcast with PVR support and proper video mode supported.  Then I believe I'm done and Dreamcast is fully up to date.

Offline CE

  • Hero Member
  • *****
  • Posts: 1102
  • Working on Rage of the Streets v2
    • DCEvolution.net
Re: Dreamcast 3.0 status.
« Reply #201 on: July 10, 2009, 01:14:06 am »
Needed some time off from OpenBOR, but I think this weekend I should be able to wrap up the Dreamcast with PVR support and proper video mode supported.  Then I believe I'm done and Dreamcast is fully up to date.

I think that's it, yeah. There are minor! audio issues in the last two builds (when switching from Neill Corlett's ADPCM implementation to the unified code with stereo support), but it's rarely ever noticalbe so I would focus in the video acceleration first.


Here are the relevant links I posted on this topic:
Some helpful links & tutorials on setting up the video modes via KOS:
BTW: BlackAura posted a tutorial on Paletted Textures @ DCEmulation: http://dcemulation.org/phpBB/viewtopic.php?f=29&t=99166



- Looking forward to help with testing.  :wide_smile:
http://dcemulation.org/index.php5?title=OpenBORManual


How to mod:
1 Pick an interesting game: There are plenty of 8-bit/16-bit classics waiting for a remake
2 Rip your own sprites & stages
3 Use a custom palette: http://borrevolution.vg-network.com/tutorial.htm
4 Check your offsets: http://lavalit.com:8080/index.php?topic=1099.0


Did you know?
Using void main()
{
playgif("data/my.gif", 0, -4, 1);
}

as spawnscript streams a GIF anim instead of loading it

Offline CE

  • Hero Member
  • *****
  • Posts: 1102
  • Working on Rage of the Streets v2
    • DCEvolution.net
Re: Dreamcast 3.0 status.
« Reply #202 on: July 10, 2009, 10:45:24 am »
Regarding widescreen:

There recently was a thread about this at DCEmulation: http://dcemulation.org/phpBB/viewtopic.php?p=1008998#p1008998



- Do you think it's possible to implement a video mode that squashes a 16:9 screen into 4:3 so a modern HDTV could stretch it out to 16:9 ?

I did this myself with a video I encoded in the Dreamcast's Sofdec format: The source was a 16:9 video in 720x576 which I encoded in 4:3 at 640x480. I insert the CD into the Dreamcast and set the TV to VGA and then the display to 16:9 and the video plays at its original aspect ratio.
http://dcemulation.org/index.php5?title=OpenBORManual


How to mod:
1 Pick an interesting game: There are plenty of 8-bit/16-bit classics waiting for a remake
2 Rip your own sprites & stages
3 Use a custom palette: http://borrevolution.vg-network.com/tutorial.htm
4 Check your offsets: http://lavalit.com:8080/index.php?topic=1099.0


Did you know?
Using void main()
{
playgif("data/my.gif", 0, -4, 1);
}

as spawnscript streams a GIF anim instead of loading it

Offline CE

  • Hero Member
  • *****
  • Posts: 1102
  • Working on Rage of the Streets v2
    • DCEvolution.net
Re: Dreamcast 3.0 status.
« Reply #203 on: July 15, 2009, 06:42:25 am »
News from the Paletted Textures thread @ dcemulation.org:

http://dcemulation.org/phpBB/viewtopic.php?f=29&t=99166

Quote from: BB Hood
Just for reference if anybody can't get the PT list to work is because mostly likely you initialized default PVR settings (ie. pvr_init_defaults( ); ). So what you need to do is create your own PVR init settings like so:
pvr_init_params_t params = {
/* Enable opaque, translucent polygons and punch thru with size 16 */
{ PVR_BINSIZE_16, PVR_BINSIZE_0, PVR_BINSIZE_16, PVR_BINSIZE_0, PVR_BINSIZE_16 },

/* Vertex buffer size 512K */
512*1024
};
^ put that above[/u] your main function and in your main function call:
/* Init PVR API */
if (pvr_init(&params) < 0)
return -1;

Reference (BlackAura Post)
http://dcemulation.org/index.php5?title=OpenBORManual


How to mod:
1 Pick an interesting game: There are plenty of 8-bit/16-bit classics waiting for a remake
2 Rip your own sprites & stages
3 Use a custom palette: http://borrevolution.vg-network.com/tutorial.htm
4 Check your offsets: http://lavalit.com:8080/index.php?topic=1099.0


Did you know?
Using void main()
{
playgif("data/my.gif", 0, -4, 1);
}

as spawnscript streams a GIF anim instead of loading it

Offline SX

  • Administrator
  • Hero Member
  • *****
  • Posts: 2700
    • LavaLit
Re: Dreamcast 3.0 status.
« Reply #204 on: August 18, 2009, 10:04:17 am »
I'm going to resume my work and try to finish up Dreamcast port.  I have been uber busy at work.... but things are starting to slow down where I'm not working 55+ hours a week.  So, If I remember correctly....   Need to implement alternative video modes, but prior to that we need to step away from SDL because its not optimized for this Console.  That being the case I will now implement PVR blitting support.  Once completed I will introduce alternative video modes then I think I'm complete!

Offline CE

  • Hero Member
  • *****
  • Posts: 1102
  • Working on Rage of the Streets v2
    • DCEvolution.net
Re: Dreamcast 3.0 status.
« Reply #205 on: September 09, 2009, 08:41:11 am »
Seems Chilly Willy found a problem with 800x600 support in KOS:

http://dcemulation.org/phpBB/viewtopic.php?p=1011447#p1011447

Quote from: Chilly Willy
Sorry if this is considered thread necromancy, but I wanted to ask about 800x608 mode... that's disabled in the repo.

/* 800x608 NTSC 60Hz (VGA) [BROKEN!] */
/* DM_800x608_VGA */
{
DM_800x608,
320, 240,
VID_INTERLACE,
1/*CT_ANY*/, /* This will block the mode from being set. */
0,
262, 857,
164, 24,
21, 82,
141, 843,
24, 264,
0, 1,
{ 0, 0, 0, 0 }
},

Note how the video cable field is used to prevent the mode from being selected. I've verified that in Doom. I have support for 800x608 with the VGA cable in the code, but the mode never worked right, so I looked at the source to see why and discovered the above. Is that going to be fixed at some point? That's the highest mode my 21" TIMM will support, and I'd love to have it available.




PS: as you may have noticed I've split the last few posts to this topic and will lock this thread until SX is back with news.

Admins, Mods and Developers should still be able to reply.

« Last Edit: September 09, 2009, 09:32:38 am by CE »
http://dcemulation.org/index.php5?title=OpenBORManual


How to mod:
1 Pick an interesting game: There are plenty of 8-bit/16-bit classics waiting for a remake
2 Rip your own sprites & stages
3 Use a custom palette: http://borrevolution.vg-network.com/tutorial.htm
4 Check your offsets: http://lavalit.com:8080/index.php?topic=1099.0


Did you know?
Using void main()
{
playgif("data/my.gif", 0, -4, 1);
}

as spawnscript streams a GIF anim instead of loading it

 



 0%




mighty
SimplePortal 2.3.3 © 2008-2010, SimplePortal