MAMEWorld >> EmuChat
View all threads Index   Flat Mode Flat  

Matt Ownby
Daphne Creator
Reged: 09/12/08
Posts: 45
Loc: Western USA
Send PM
Re: Star Rider VideoGraphicGenerator timers finally solved after many hours :)
02/12/14 08:16 AM


> I agree, unbelievably cool!
>
> Laserdisc games were some of my favorites, I'm glad to see progress made in
> documenting them. They have to be moving into "High risk of being lost forever"
> territory now don't they? Those discs are pushing 30 years old.
>
> Regardless, I remember doing MIPS emulation in my classes, which was fun, but nowhere
> near the level of complexity in what Matt achieved. I love reading about this stuff
> so I can get a better idea of how real emulation is done.

We've captured almost all of the rare/interesting discs that we'd be sad about losing using techniques we've honed over the past 10+ years. So the chance of completely losing them is pretty much gone. However, we are continually refining our capturing technique and our next goal is to capture the raw voltage coming from the laserdisc player's composite port using a analog->digital converter and that is going to take some FPGA knowledge that I don't currently have (but will work to acquire once I am done with my current projects). If we have a complete raw voltage dump of the entire disc, I think it will be pretty safe to say that we will have permanently archived them. Good news is most of my discs I've owned since 1999,2000,2001 are in pretty much the same state they were when I bought them. The advantage of living in a dry climate?


Re: Star Rider, I made a big break through tonight and got the williams "rug" pattern showing up. Video below:

http://my-cool-projects.blogspot.com/2014/02/star-rider-boot.html


The details:
Using the schematics to understand how the video RAM maps to the pixels rendered on the RGB monitor is quite a difficult and slow process.
Total video memory capacity: 384x256 pixels
Total video memory that is addressable by the CPU and blitter ICs: 320x256 pixels
^ - this took me FOREVER to figure out! so hard!!! (and yes, now that I've solved it, it seems kinda obvious when you consider other Williams games, but hindsight is so much clearer)
The video memory is composed of six 8k DRAM chips for a total storage capacity of 49,152 bytes. Each byte contains two pixels, thus giving a total capacity of 98,304 pixels. The video hardware will render 6 pixels every 1 microsecond to the monitor (via a 6 MHz clock). The video hardware also uses the horizontal counters (divided by 2) to keep track of the horizontal position of the CRT gun. The horizontal counters loop from 0-129 which means that horizontal resolution is effectively (129/2 * 6) which is 384. Boom! This took me forever to validate even though I suspected it for quite some time because I had mistakenly calculated the DRAM size as being 2k, not 8k. 98,304 divided by 384 gives us our vertical resolution of 256.
How did I conclude that the addressable video memory is 320x256? I did it by emulating the game far enough to take some screenshots. But it's easier in hindsight. I already knew that the video RAM ranges from 0-0x9FFF so simply dividing 0xA000 by 256 gives 160 bytes per line. And there are 2 pixels per byte, hence 320 pixels per line.
How does the game hardware know where to put these 320 pixels on this 384 pixel line? By the Horizontal PROM, U74, which provides some margins on the left and right side to account for the horizontal blanking/sync non-visible area.







Entire thread
Subject Posted by Posted on
* Star Rider VideoGraphicGenerator timers finally solved after many hours :) Matt Ownby 02/10/14 07:03 AM
. * Re: Star Rider's steering mechanism casm  02/21/14 03:11 AM
. * Re: Star Rider's steering mechanism drewcifer  02/21/14 10:57 AM
. * Re: Star Rider's steering mechanism StilettoAdministrator  02/21/14 11:15 AM
. * STAR RIDER 19 FEB 2014 PROGRESS :) Matt Ownby  02/19/14 06:51 PM
. * Re: STAR RIDER 19 FEB 2014 PROGRESS :) Quantum Leaper  02/20/14 07:29 AM
. * Re: STAR RIDER 19 FEB 2014 PROGRESS gregf  02/20/14 12:20 AM
. * Re: STAR RIDER 19 FEB 2014 PROGRESS :) casm  02/19/14 10:09 PM
. * Re: STAR RIDER 19 FEB 2014 PROGRESS :) Antny  02/19/14 09:47 PM
. * Re: STAR RIDER 19 FEB 2014 PROGRESS :) Matt Ownby  02/20/14 12:14 AM
. * Re: STAR RIDER 19 FEB 2014 PROGRESS :) Ramirez  02/20/14 02:46 AM
. * Re: STAR RIDER 19 FEB 2014 PROGRESS :) Anonymous  02/20/14 02:56 AM
. * Re: STAR RIDER 19 FEB 2014 PROGRESS :) StilettoAdministrator  02/20/14 01:07 AM
. * Re: STAR RIDER 19 FEB 2014 PROGRESS :) Anonymous  02/20/14 03:23 AM
. * Re: STAR RIDER 19 FEB 2014 PROGRESS :) R. Belmont  02/20/14 11:21 PM
. * Re: STAR RIDER 19 FEB 2014 PROGRESS :) Anonymous  02/21/14 11:55 AM
. * Re: STAR RIDER 19 FEB 2014 PROGRESS :) R. Belmont  02/21/14 06:28 PM
. * Re: STAR RIDER 19 FEB 2014 PROGRESS :) Anonymous  02/21/14 08:29 PM
. * Re: STAR RIDER 19 FEB 2014 PROGRESS :) WarrenO  02/21/14 08:46 PM
. * Re: STAR RIDER 19 FEB 2014 PROGRESS :) Anonymous  02/21/14 09:23 PM
. * Re: STAR RIDER 19 FEB 2014 PROGRESS :) Matt Ownby  02/21/14 07:09 PM
. * Re: STAR RIDER 19 FEB 2014 PROGRESS :) WarrenO  02/21/14 08:10 PM
. * Re: STAR RIDER 19 FEB 2014 PROGRESS :) Anonymous  02/21/14 08:32 PM
. * Re: STAR RIDER 19 FEB 2014 PROGRESS :) R. Belmont  02/21/14 10:44 PM
. * Re: STAR RIDER 19 FEB 2014 PROGRESS :) Anonymous  02/22/14 01:50 AM
. * Re: STAR RIDER 19 FEB 2014 PROGRESS :) Matt Ownby  02/22/14 02:31 AM
. * Re: STAR RIDER 19 FEB 2014 PROGRESS :) Anonymous  02/22/14 02:44 AM
. * Re: STAR RIDER 19 FEB 2014 PROGRESS :) Matt Ownby  02/23/14 10:41 PM
. * Re: STAR RIDER 19 FEB 2014 PROGRESS :) Anonymous  02/23/14 11:33 PM
. * Re: STAR RIDER 19 FEB 2014 PROGRESS :) SmitdoggAdministrator  02/21/14 06:35 PM
. * Re: STAR RIDER 19 FEB 2014 PROGRESS :) Olivier Galibert  02/21/14 01:09 PM
. * Re: STAR RIDER 19 FEB 2014 PROGRESS :) Anonymous  02/21/14 09:16 PM
. * Re: STAR RIDER 19 FEB 2014 PROGRESS :) drewcifer  02/21/14 12:00 PM
. * Re: STAR RIDER 19 FEB 2014 PROGRESS :) Matt Ownby  02/21/14 12:09 AM
. * Re: STAR RIDER 19 FEB 2014 PROGRESS :) R. Belmont  02/21/14 03:01 PM
. * Re: STAR RIDER 19 FEB 2014 PROGRESS :) remax  02/22/14 11:28 AM
. * Re: STAR RIDER 19 FEB 2014 PROGRESS :) Ramirez  02/19/14 09:31 PM
. * Re: STAR RIDER 19 FEB 2014 PROGRESS :) StilettoAdministrator  02/19/14 08:36 PM
. * Re: STAR RIDER 19 FEB 2014 PROGRESS :) Pernod  02/19/14 07:43 PM
. * Re: Star Rider VideoGraphicGenerator timers finally solved after many hours :) Rygar9  02/11/14 01:18 AM
. * Re: Star Rider VideoGraphicGenerator timers finally solved after many hours :) Matt Ownby  02/11/14 01:27 AM
. * Re: Star Rider VideoGraphicGenerator timers finally solved after many hours :) R. Belmont  02/11/14 06:18 PM
. * Re: Star Rider VideoGraphicGenerator timers finally solved after many hours :) Matt Ownby  02/12/14 08:08 AM
. * Re: Star Rider VideoGraphicGenerator timers finally solved after many hours :) Rygar9  02/12/14 01:55 AM
. * Re: Star Rider VideoGraphicGenerator timers finally solved after many hours :) Matt Ownby  02/12/14 08:16 AM
. * Re: Star Rider VideoGraphicGenerator timers finally solved after many hours :) casm  02/14/14 01:00 AM
. * Re: Star Rider VideoGraphicGenerator timers finally solved after many hours :) Matt Ownby  02/14/14 06:28 PM
. * Re: Star Rider VideoGraphicGenerator timers finally solved after many hours :) casm  02/14/14 07:52 PM
. * Re: Star Rider VideoGraphicGenerator timers finally solved after many hours :) Matt Ownby  02/14/14 09:30 PM
. * Re: Star Rider VideoGraphicGenerator timers finally solved after many hours :) Antny  02/15/14 03:06 AM
. * Re: Star Rider VideoGraphicGenerator timers finally solved after many hours :) Anonymous  02/15/14 05:36 PM
. * Re: Star Rider VideoGraphicGenerator timers finally solved after many hours :) casm  02/14/14 10:27 PM

Extra information Permissions
Moderator:  Robbbert, Tafoid 
1 registered and 143 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 4194