Przejdź do głównej zawartości

25 light-years away from home - Vega, part 2

The good news - i have got scans of vega schematics (big thanks to Kold666)
The bad news - hardware is quite old (early 80s .. possibly 1982 or 1983) (read: unique and complicated) and schems are buggy as hell.

The biggest problem so far - no reference images/screenshots/flyer pics. Nothing. I have no f***ing idea about the real game.

So any info will be greatly appreciated.

Schems are as mysterious as the pcb pics i got - no info about the major ICs.
But looking at pinout i have identifed all of them as:

- i8035 (mcu)
- AY 3-8910 (sound)
- PPI 8255 (i/o)
- INS 8154 (i/o + ram)
- DP 8350 (crt controller)

AY is used only for generating sfx. Afaik there's no music. Sound chip is connected in unusual way - AY data lines are tied to address bus and AY address/data write selection is connected to mcu R/W line. So, writing any data to address NNN within range mapped to AY - results in setting AY address register to value NNN. Reading from address MMM store MMM in AY data register. Weird, isn't ?

Graphics hardware consist of four different "blocks":

- text layer - 1bpp fonts with hardcoded (PROM) color for each character. Bullets and some type of enemies are made of characters on text layer.
- four "type1" sprites - simple format, 32x32 pixels, horizontal flip, direct color (1r1g1b + extra unknown bit). Used mainly for enemies (spaseships)
- single "type2" sprite , used for player's ship/explosion only- 32x64 object made of 32x4 slices.
- single (?) "type3" sprite - not emulated yet. Quite big (possibly 64x64) obejcts (planets, asteroids) with special 2kb lookup table.

So far, the most complicated to emulate was the type 2 player sprite. It's auto-animated (based on vblank counter). There's also a 256x4 PROM used as a lookup table , connected in a bit weird way :


Here's some (test/temporary) formula i'm using to draw the sprite:

And now few fresh screenshots. Sprite positions (type1 and type2 (last pic)) and colors may be wrong:


Komentarze

Popularne posty z tego bloga

$7dc

There was not much progress in 2011. I've been lately very busy with my work projects ( this and this one). But at least i've prepared a TO-DO list for 2012 ;) : 1. VEGA ( Olympia, 1982 ) I have recently got Vega PCB. Special thanks to Mark Frisbee for help. Unfortunately board has few faults ( no sound, gfx glitches ) and inverted colors (like early Nintendo boards). Theres a couple solutions for the latter problem. I have decided to mod the pcb a bit and invert the digital signals before the DAC (made of resistors). Here's a video from attract mode: So, next step is to emulate the game :) 2. TIME ATTACKER ( Shonan, 1980 ) Currently i'm making schematics of video section. It's similar to classic Pong discrete logic, but a bit more complicated (game has Z80 cpu). TA is a breakout clone, with special add-ons like oil zones and moving enemies ( btw : background color - blue or black - is selectable with a jumper on board ): 3. WHEELS & FIRE ( ...

The art of rippping.

New board arrived. " Spinkick " by Seojin/Heasung (notice the big epoxy block with "HEC" logo). PCB is 'almost' working, but there's no way to insert coin(s) and start the game (probably one of the input buffer chips is broken... very common). And yes, it's rip-off of the Sega's "Free Kick" game, running on really weird korean hardware based on MSX2 home computer ( plus additional sound cpu (Z80) and extra logic to handle a bit different (than in MSX2) rom banking ). Game ROMs contains hacked MSX2 bios - they removed all (c) texts, blanked font area and added few mods here and there to skip boot sequence. Also, for some unknown reason, Yamaha v9938 VDP is hidden in big and heavy epoxy block. Probably to make a fake impression of being orginal, not stolen piece of hardware. So .. what's the point of use MSX2 as the base ? I have NO idea... Imho it's way easier to start from scratch and design own, simple hardware (vdp...

Sonic Blast Man.

Few words about an arcade bootleg game called ' Sonic Blast Man 2 Special Turbo '. The game is a slighty modified copy of Taito's 'Sonic Blast Man 2'. It runs on hardware ( custom chinese, not the NSS ) "borrowed" from Super Nintendo home console. Just few eproms, rams, three custom QFP chips (there's also another, odler version of the hw, with 6 of them) and Lattice PLD - to handle the most annoying part, protection. So... What's the point to encrypt/protect pirate game? To hide the 'real' (in fact - stolen ) game code and data? Or maybe to annoy other bootlegers? No idea. Kold666 already dumped the ROMs while ago. Unfortunately the pcb is no longer available for additional testing or analysis. The data encryption is not as simple as in other arcade SNES hacks (Killer Instinct, Final Fight 2). But with great help from Andreas Naive it's finally broken. Also the in-game protection checks are now gone (took me a couple of hours t...