Building Consoles For Fun
tierra writes "Indiviuals writing their own games is one thing, but try building your own console. Russ Christensen, and his team put together in class, dive into the fun of using an old Nintendo system to house their customized XSA-50 Board. They also uses a XSA Extender to hook their personal console up to a monitor instead of a TV. They programmed Tetris and Space Invaders for their console using a system they call CASM."
If you're going to make the games yourself, and the console yourself - dammit, build the TV yourself too, you lazy bastard!
"Moderate drinking can help prevent amputated limbs" -- Abigail Zuger, NYTimes, 12/31/02
For the love of God, what does he think he's doing?
Wow, I wish I had the kind of classes that would let me build stuff like this in them....but noooo, all we could do is sit there, read the books, and take the tests. Never actually applying the knowledge that we just learned.......
--CypherDragon
take the little Cappuciono PC and fill it with top notch hardware
But will you be able to get it down to $150 to compete with the Nintendo GameCube?
Will I retire or break 10K?
[flame off][humor on]
"Our professor allowed us to take a different approach, using an ICDS Enhanced Hot Water Drill, a cage full of GM hamsters and some pantyhose we have created our own version of the worlds very first Wheel. We carved it straight of a rock wall! We call it Wheel Revolution. The wheel was a revolution, and it revolves, so we're getting double-usage out of the name. Bob is able to put his hands on the axis of the wheel while Pete holds his ankles and runs. We'll be holding a public demo for a few days so stop on over and try it out!"
" Our engineering professor liked the idea of us really getting back to the basics."
Operator, give me the number for 911!
From what I've read, the X-box is nothing more than a PIII PC with some mods to make it "different".
...
Some very serious mods to make it different. For starters, it has little to no OS overhead, it's memory structure is unified and more efficient than a PC's and it doesn't waste memory managing memory since all of it's ram is dedicated to the single application (game) that is running.
If this has already been done, please post links.
Just do a search for XBox emulation. It hasn't been done, and the primary reason is that the XBox game discs are written in reverse order from regular DVDs. This gives the advantage of speeding up read access because the data is read from the outside in, but also it prevents piracy.
There are a whole slew of other reasons why the XBos isn't just a PC, and why a PC can't really just magically be turned into an Xbox without some serious software trickery. I once thought it would be possible, but after looking into it I realized it's going to be a little harder than anybody initially thought.
Now -- what I -- WOULD -- love to see is a project very closely resembling the Indreama, put together by someone who really knows a whole lot about video game consoles, and willing to take a risk on a different business model than has traditionally been used by the video game industry.
Hmm. Maybe I should post my ideas in my journal....
"Everything you know is wrong. (And stupid.)"
Moderation Totals: Wrong=2, Stupid=3, Total=5.
1) Unified memory architecture.
2) Close to Win32, but not quite.
3) Liberal use of hashing and checksumming.
The XBE executable format is actually pretty interesting - it's similar to Win32's PE, but with many more flags and tables - for example, bitfields for what mediums are acceptable to run the game off of (DVD, hard drive, CD-RW, etc.) Each section and the relocation address tables have a SHA-1 hash taken of it, the header containing the section offsets and hashes of each is itself hashed, digitally signed using PKE, and then encrypted.
The hard drive also uses the ATA spec's password protection, although that's already been bypassed and the drive dumped. In any case, most people with homebrew code are using the neXgen or EvoX dashboards to run an FTP server on the XBox for uploading and downloading files to the HDD, so you don't have to muck about with IDE cables.
Most of the modchips out there right now work by tying the chip enable pin on the on-board BIOS to to ground, and emulating the BIOS directly on the LPC bus to allow execution of unsigned code and ignore mismatched media flags. (BTW, kudos to MSFT for complicating things with a floating ground... more than a few early modchips were responsible for fried PCs while doing in-circuit programming.)
How exactly does CASM differ from C? I don't see any ASM type code in there, it just looks like C. I realize that it isn't quite C, but hmmm... I'm interested in more details about the compiler/processor.
Anybody else surprised by the fact that it took 9000 lines of code. Having done similar projects in VHDL, it should take less than 1000. Looking at their code, I understand why. They did not use any of the more complex VHDL features. No generics or loops. The entire project was just poorly thought through.
Cool idea though.
Actually, being written in Reverse Order does not automatically mean that the drive "Spins in reverse".
It is true that the data is written from the outside in. This is done for the said reasons of giving the XBox a speed advantage.
The Gamecube doesn't need such advantages since the proprietary DVD based mini-disc of the Gamecube has a fairly fast seek time AND transfer rate. Of the three systems (I have all three) the Gamecube load times are the fastest by a considerable amount.
As for the XBox's unified memory architecture, it's not something games have to "make use of". It's just the way the system works. I'll agree, a huge percentage of XBox games are shovelware from either the PC or the PS2, but I promise you that Halo on a PC of equal system specs to that of an Xbox is going to run like shit even if it's a PC specific port.
I'm aware of the work being done in XBox emulation, and I follow it very closely. That's why I know it's been harder than anybody initially thought. I never claimed it was impossible or that it wouldn't be done. It will, however, take more than just a little bit of software trickery.
Whether or not the DVD's can be force-read off of a standard PC DVD rom drive through direct hardware hitting is yet to be determined, but things aren't looking good.
On a side note, it is nice to see XBox controllers finally being used on the PC. See this link if interested.
"Everything you know is wrong. (And stupid.)"
Moderation Totals: Wrong=2, Stupid=3, Total=5.
No, it does not read discs backwards, inside out, or back to front. Here is how a disc is layed out.
I don't need no instructions to know how to rock!!!!
Remember back in the day when Sun was trying to push their JavaStation box? It was suppose to run a JavaOS on an Intel processor. It wasn't all that successfull.
Well, the lab I used to work at let some of the undergraduates take home the stacks of spare JavaStations we had laying around. =) The theory was that if you could install Linux and Quake on the OS, you would have a fully functioning console box, open sourced, that could run Quake. For those of you who are interested in mass producing console boxes, here are the lessons learned:
1. You need to be able to store the console operating system on an image server.
2. You need a serial port connector, or a LapLink connector, or a BOOTP enabled network card in the console box.
3. You need to install your OS on a testing machine, and strip down all of the extra functionallity (notepad, emacs, vi, and everything else). This is the process of optimizing your open source operating system. Set up the console box as you would a normal gaming system.
4. Take an image of the machine with some product, such as Altiris LabExpert.
5. Push the basic OS onto new machines, as needed.
6. Write documentation, develop games, etc.
7. Get a CD burner and burn games onto the CDs.
8. Package machines and CDs (seperately, probably).
9. Sell machines at cost plus a markup for time and effort.
10. Attempt to do a few things well and specialize.
The graphics: impressive.
The nintendo for a case: most impressive.
The fact that they use the word 'foo' in the tetris source code: pure credibility
It's hard to tell the cool to chill, my favorite hotel room has a view to an ill.
As I recall, the ColecoVision was made with completely off-the-shelf parts. Wouldn't be too difficult to re-build one of those things. It was probably one of the few video game consoles that you could actually rebuild from scratch.
I think. My memory is pretty hazy and I haven't openned mine up in years.
J
I love projects like this. May just the fact that they succeeded inspire others to try the same thing.
On a tangent, this is the kind of thing that's been very possible for some time, but most people blindly assume that it's much too difficult. Similarly, writing a compiler for a high level language is a relatively easy project. You could do it in a semester course, or a month of spare time, but mention "writing a compiler" to the great majority of programmers, even those with lots of experience, and they run away in terror.
Personal chip design reached critical mass back around 1994.