Would you like to react to this message? Create an account in a few clicks or log in to continue.

A forum to show appreciation and respect for classic video game systems and games. Whether you're a modder, a programmer, or just a collector, this forum is about appreciating classic games and systems in a constructive community environment.
 
HomeHome  Latest imagesLatest images  SearchSearch  RegisterRegister  Log in  

 

 Starfox Overclocked

Go down 
2 posters
AuthorMessage
Drakon
Admin
Admin
Drakon


Posts : 1607
Join date : 2012-01-25
Location : Canada

Starfox Overclocked Empty
PostSubject: Starfox Overclocked   Starfox Overclocked EmptySun Jan 29, 2012 12:11 pm

Here's a playthrough of my gsu 2 starfox running at an amazing 42 mhz. The fastest I got the game running at was 48 mhz but once you go faster than 42 mhz the framerate stops improving so there's no point in having it run faster than 42.

Back to top Go down
https://16bitgamer.canadian-forum.com/
Drakon
Admin
Admin
Drakon


Posts : 1607
Join date : 2012-01-25
Location : Canada

Starfox Overclocked Empty
PostSubject: Re: Starfox Overclocked   Starfox Overclocked EmptyTue Jan 31, 2012 12:09 pm

Guide 2 taken from the made-by-bacteria forums:

First you need to realize that there's three versions of the superfx chip. The mario chip (first version), the gsu 1 (second version) and the gsu 2 (final version). All three chips are fully backward and forward compatible with each other meaning you can install any superfx game rom onto any of these three chips and it will play. The mario chip is just a beta version of the gsu 1 so the mario chip and gsu basically run the same. Both the mario chip and the gsu 1 suffer a lot of slowdown when the game is trying to draw over a certain amount of objects. Really I think the only difference between the gsu 1 and the mario chip is that the gsu 1 can overclock faster but when the chip is constantly suffering from slowdown lag the overclocking barely makes any difference. The gsu 2 however is a huge improvement over the gsu 1 / mario chip. The gsu 2 has way less slowdown therefore overclocking the gsu 2 really boosts the overall framerate of any superfx game.

So what you need to do is find a suitable gsu 2 doner cart. Keep in mind that certain superfx games require a certain amount of ram to run. Really I think that doom is the best overall donor cart. Doom is fairly cheap, it's got a US lockout chip, it has a gsu 2, and it has the most ram ever put into a gsu 2 cart. The only thing that doom carts lack is the ability to save.

After you find yourself a doom cart the next part is tricky and frankly extremely annoying. You need to desolder the tiny surface mount maskrom chip from the doom pcb. Desoldering the surface mount maskrom is a royal pain and most of the time results in the cartridge becoming damaged causing it to no longer work. If you do manage to get the maskrom off safely then you need to wire up small wires to all the solder points of where the maskrom used to be. Again it's easy to damage something while soldering these wires onto the small fragile solder pads. Here's the superfx maskrom to standard eprom wiring chart:

Starfox Overclocked Starfox2epromwiring

Taken from this site:

http://www.omgrofl.com/?p=23

If you manage to succeed with the wiring your cart should look something like this:

Starfox Overclocked Wiredyay

This picture's actually a gsu 1 pcb but the wiring mess would look pretty much the same. Once the wiring is finished if everything looks good then I suggest you epoxy the crap out of the solder pads and wires connected to where the eprom used to be. After your epoxy dries then you need to locate a rom of your favourite superfx game and burn it to an eprom. You should be careful though as me and doug discovered that there's a starfox 1 rom out there that actually kills a real superfx chip if you solder it into the cart. Once your eprom is burned you then solder it to those wires you attached using the above diagram to get the wiring right. If you managed to do this right the game will be able to turn on and run and play at normal speed.

Congradulations.....you're about.....2/3 of the way finished :bash:

The next part is the overclock. Each game has a different top speed it can overclock at without glitching or crashing. What I use to set the clock speed is just a half can or full can 4 pin crystal oscillator. You MUST use a 4 pin oscillator and not a 2 pin because the 4 pin produces a clock signal that the gsu 2 will accept but the 2 pin crystal won't. So you need to go on ebay or to your favourite electronics supplier and buy a range of crystal oscillator speeds. The default clock speed that all superfx chips are being fed is 21.4 mhz. I found that the fastest speed that all carts can run at is 28.3 mhz. But me and doug have built a number of carts that go faster than that. Our latest batch of starfox 1 carts (some were commissions and one became mine) are able to run at 42 mhz (probably even faster but I'm waiting on more oscillators to test this). Currently I have no clue why these three carts all run at 42 mhz but they all do. The first gsu 2 starfox 1 we built used an actual starfox 1 maskrom chip taken from a regular mario chip starfox 1 cart and soldered into the gsu 2 doom cart. However that cart freezes when you overclock it past 28.3 mhz. From all my research it seems that the rom in that maskrom is identical to the one that doug burned into the eproms on the carts that run at 42 mhz and beyond. So I guess using an eprom might help aid letting the cart run faster. The starfox 2 carts we produced we used the same eproms but they only can run at a top speed of 33 mhz, again I have no clue why.

Once you get your hand on 4 pin crystal oscillators at various speeds we're ready to perform the overclock modification. Don't worry about installing an oscillator that's too fast if the gsu 2 runs too fast the game will either glitch or crash but the gsu 2 is extremely resiliant and no damage will occur. I don't recommend wiring up an oscillator over 50 mhz as no game can run at that speed and I don't want to find out exactly how much punishment the gsu 2 can take before it melts or explodes.

A 4 pin crystal oscillator is a fairly simple device, inside of it is a crystal and a small circuit that makes it oscillate at the frequency marked on the oscillator. It's basically just a really small self contained clock circuit. There's four pins on crystal oscillators, one pin is power (vcc), another pin is ground, the third pin is clock signal out, and the fourth pin is unused. If you need to find the pinout of oscillators just google it they're all identical. Really all you need to do is wire up power and ground to the oscillator and then feed the clock output into the clock pin of the gsu 2. Crystal oscillators work on anything between 3.3v to 7v from the datasheets I read so the +5v in the superfx cartridge is just perfect for running your crystal oscillator.

To locate the clock pin on the gsu 2 chip just look at the pcb and find the clock circuit to the right of the gsu. The clock circuit is that little rectangular plastic ceramic resonator attached to a small hex inverter chip (should be marked as hcu04). That's the on board clock circuit that only has one thick trace connecting it to the gsu 2. You need to disconnect this thick clock signal trace using your favourite exacto knife or trace disconnecting tool. Then you need to solder a wire to the part of this trace that connects to the gsu 2, the other end of this wire connects to the crystal oscillator clock output pin. Then you need to find the snes cartridge pinout to figure out what pins are power (vcc) and ground. Just google the snes cartridge pinout it takes about 3 seconds if you know what you're doing. Then attach wires to the pcb for vcc and ground and wire them into your crystal oscillator to power it. And if you did everything correctly then you'll have the cartridge running at whatever speed your crystal oscillator is rated at.

It's very important that the gsu 2 clock input trace is completely disconnected from the on board clock circuit otherwise the overclock mod won't work. All you're doing is disconnecting the clock signal being fed into the gsu 2 and feeding it your own clock signal at your personal favourite speed.

Unfortunately both the mario chip and gsu 1 suffer from huge amounts of slowdown making it a complete waste of time to overclock either of these chips. Because the gsu 2 is the only chip that really improves when overclocked you're forced to solder games onto a gsu 2 pcb which is very frustrating and difficult.

.....As you can see this isn't exactly beginner s#it
Back to top Go down
https://16bitgamer.canadian-forum.com/
Drakon
Admin
Admin
Drakon


Posts : 1607
Join date : 2012-01-25
Location : Canada

Starfox Overclocked Empty
PostSubject: Re: Starfox Overclocked   Starfox Overclocked EmptyTue Jan 31, 2012 12:15 pm

I also want to point out that the fastest these starfox 1 carts run at is an amazing 48 mhz. However once you get to 42 mhz the gsu 2 is running at its peak framerate. Once you go over 42 mhz the framerate is the same but the gameplay is sped up so it's best to leave it at 42 mhz.
Back to top Go down
https://16bitgamer.canadian-forum.com/
Drakon
Admin
Admin
Drakon


Posts : 1607
Join date : 2012-01-25
Location : Canada

Starfox Overclocked Empty
PostSubject: Re: Starfox Overclocked   Starfox Overclocked EmptyTue Jan 31, 2012 1:49 pm

Here's a video showing the framerate increase between the default speed and overclocked:

Back to top Go down
https://16bitgamer.canadian-forum.com/
Drakon
Admin
Admin
Drakon


Posts : 1607
Join date : 2012-01-25
Location : Canada

Starfox Overclocked Empty
PostSubject: Re: Starfox Overclocked   Starfox Overclocked EmptyWed Feb 01, 2012 9:08 pm

Also a HUGE thanks to Doug for wiring up eproms to gsu 2 carts. I don't have the tools and probably don't have to skill to do that part of the job (Surface mount desoldering / resoldering is very easy to damage the cart). Without Doug this mod probably wouldn't have happened. I figured out how to properly overclock these carts but it seems that whenever we use maskroms the games can't run very fast. However when we use eproms we seem to be able to get more speed out of the games. We tried using an actual starfox 1 maskrom taken from a mario chip pcb but that cart could only play at 28.322 mhz, any faster and it would crash.

Really Doug's superfx repro carts are nothing but the best quality for the best price.

Also a big thankyou to robivy64. He used a 4 pin crystal oscillator on his mario chip cart and was very helpful when I asked him about it. Thanks to robivy64 I looked into learning what a 4 pin oscillator is, how it works, and eventually wound up using 4 pin oscillators in my overclock circuit since the old superfx overclock guide didn't work at all for me.
Back to top Go down
https://16bitgamer.canadian-forum.com/
Drakon
Admin
Admin
Drakon


Posts : 1607
Join date : 2012-01-25
Location : Canada

Starfox Overclocked Empty
PostSubject: Re: Starfox Overclocked   Starfox Overclocked EmptyMon Jun 25, 2012 12:46 am

Back to top Go down
https://16bitgamer.canadian-forum.com/
Soulis

Soulis


Posts : 7
Join date : 2012-06-23

Starfox Overclocked Empty
PostSubject: Re: Starfox Overclocked   Starfox Overclocked EmptyMon Jun 25, 2012 2:48 am

This is an amazing mod but there's one thing that i noticed. The overclocked version is not just a frame rate improvement. It also has a faster game speed. Its literally a 2x fast forward mod except for the sound which plays at its original speed.

I remember playing this game on an older emulator, it would do the same thing. I noticed that the music during the intro (with the spaceship coming from above) doesn't have enough time to complete its sequence. The video ends too early so you don't hear the whole music, it just cuts, normally it has a proper ending that syncs with the video. If you play the sequence at normal speed you will notice this as it has a bigger duration. The same thing happens with the rest of the game like the part where the crafts take off. You hear "Emegerncy, Emegerncy" and some other stuff but because the video runs 2x faster it ends too early so you don't hear the whole sequence, it cuts before its over. You also reach the boss before the soundtrack has the chance to complete itself. You hear only half of the music. In the end, the whole game can be completed in half time.

Now, i don't know if that was intentional since, originally, the game is indeed a bit slow (both in speed and frame rate). But is there a way to make the game run smoother by increasing its frame rate without making it run faster like its on a fast forward? In the same way a PC game runs smoother when you install a faster video card and it runs with a higher frame rate but the game speed is intact?
Back to top Go down
Drakon
Admin
Admin
Drakon


Posts : 1607
Join date : 2012-01-25
Location : Canada

Starfox Overclocked Empty
PostSubject: Re: Starfox Overclocked   Starfox Overclocked EmptyMon Jun 25, 2012 8:58 am

Soulis wrote:
This is an amazing mod but there's one thing that i noticed. The overclocked version is not just a frame rate improvement. It also has a faster game speed. Its literally a 2x fast forward mod except for the sound which plays at its original speed.

I remember playing this game on an older emulator, it would do the same thing. I noticed that the music during the intro (with the spaceship coming from above) doesn't have enough time to complete its sequence. The video ends too early so you don't hear the whole music, it just cuts, normally it has a proper ending that syncs with the video. If you play the sequence at normal speed you will notice this as it has a bigger duration. The same thing happens with the rest of the game like the part where the crafts take off. You hear "Emegerncy, Emegerncy" and some other stuff but because the video runs 2x faster it ends too early so you don't hear the whole sequence, it cuts before its over. You also reach the boss before the soundtrack has the chance to complete itself. You hear only half of the music. In the end, the whole game can be completed in half time.

Now, i don't know if that was intentional since, originally, the game is indeed a bit slow (both in speed and frame rate). But is there a way to make the game run smoother by increasing its frame rate without making it run faster like its on a fast forward? In the same way a PC game runs smoother when you install a faster video card and it runs with a higher frame rate but the game speed is intact?

I've had a million people point this out and ask the same question. The game times scripted sequences based on when certain events finish. If you want to re-program the game, be my guest. The game is perfectly playable, even though everything moves faster your arwing also moves faster as well so it just takes getting used to. Whoever programmed starfox based the timing of a lot of things on the superfx clock speed since the superfx is pretty much doing everything anyway. Starfox is a "rail shooter" meaning it's just one big scripted game. The timing of the game script is completely based on the superfx clock speed. You would need to reprogram the game for the new clock speed. As far as I know, there's nobody out there who's capable of doing this, and there probably never will be.

Peronsally I think we should be happy that you can even overclock a real superfx cart at all with this being the only minor issue (it's not that big of a deal really). We're extra lucky that we can overclock a superfx game to this high of a speed. Starfox is the only superfx game that goes this fast without glitching and crashing. Everytime I push the overclock speed faster I have to sit there playing the game to see if it'll glitch or crash (sometimes I play for hours before this happens).
Back to top Go down
https://16bitgamer.canadian-forum.com/
Sponsored content





Starfox Overclocked Empty
PostSubject: Re: Starfox Overclocked   Starfox Overclocked Empty

Back to top Go down
 
Starfox Overclocked
Back to top 
Page 1 of 1
 Similar topics
-
» Overclocked Starfox and Starfox 2
» My overclocked starfox 2 commission for: Kevin L.
» Starfox overclocked (and other superfx games)
» My overclocked starfox 1 + 2 commissions for: Arseen
» Starfox overclocked: James McCloud edition

Permissions in this forum:You cannot reply to topics in this forum
 :: Projects / Showcase :: Completed Projects-
Jump to: