Xain'd Sleena (Technos)

Jacmar

Active member
vacBacker
Feedback
1 (100%)
Credits
861CR
Got a feeling this could be a bit of an epic adventure .... it's showing signs already ...
Technos 2 pcb board set and looks similar to Double Dragon which I've fixed a few of. Maybe that'll come in handy, maybe not.
Not a game I've ever owned or played before but seems to have plenty of admirers out there so looking forward to getting it running... Here's the top pcb ...

IMG_8483.jpeg

First up a little clean and it scrubbed up nicely, no obvious signs of damage or previous repairs .... and I was quite hopeful of a working game ... but alas it booted to absolutely nothing ... black screen, no sound, nothing ... no sync on the monitor ... ok well might not be that bad, maybe just missing it's sync and sure enough no sync signal on the Jamma edge pin P ...
At this point I wasn't hopeful of schematics and thought I may have to use double dragon schematics to help here as it probably uses some similar circuitry. But there are schematics out there (Solar Warrior) which is some good news!

Straight forward catch here to begin ...
The CSYNC signal is generated by an XOR gate within IC60 (LS86) on the bottom PCB. HSYNC and VSYNC are fed into pins 1 and 2, with the combined CSYNC signal output on pin 3.
Both input signals were present and correct (15.6kHz & 57 Hz) but there was no output on pin 3. A quick piggyback got me a picture on screen so I replaced the LS86 which restored CSYNC to the Jamma edge connector ... hooray ... unfortunately though now all I get is garbage on the screen ... boo

fl1.1.jpg

OK clearly game code not running ... so firstly I need to check the Program ROMs ...and then CPU activity. And I quickly found a couple of things which got my hopes up again for a quick fix ... While checking the program roms I noticed one ROM (one of the sub cpu prog roms) looked to have a bent leg in the socket ... which was confirmed when removed.

fl1.2.jpg

ROM verified fine and went back in the socket (leg straightened) ... The other program ROMs also verified good so was hopeful of improvement, but this made zero difference and I'm still getting the same garbage on screen...

Next I go looking at the CPU's ... this board has three of them and all three are socketed ... there are 2x 6809E and 1x 6089 ... but I want to know for sure which one does what, so a bit of research later and now I know it has a main cpu - IC89 (6809E) a sub cpu - IC30 (6809E) and a sound cpu - IC62 (6809) ... except ... someone must've been swapping these around on this board at some point because the 6809 is in the main cpu socket !! and a 6809E is in the sound cpu socket !! This is not correct because these are not pin compatible despite being very closely related. Soooo I think ok ... this is the problem, and I swap the cpu's back around making sure the correct one is in the correct socket ... and boot up .... nah still the same garbage on screen. Hmmmm maybe one or more of these cpu's are toast if someone's been playing around with them. So I replace all 3 cpu's with some of my own CPU's and again it makes no difference. So hopes of the quick fix diminish and now I've got some nagging worries that if someone has been swapping cpu's about what else have they been up to ??!! :rolleyes:

Anyway start scoping the main CPU pins and all looks ok ... no issues with reset or halt, clocks are all present and correct ... Address and Data lines toggling away ... then moved to the nearby LS245 (IC88) buffering its data, and all the signals between it and the CPU look fine but one signal on the other side of the buffer (D3 on the databus) looks really iffy - mostly noisy low with a few thin spikes up to about 2v max here and there ... ok what's going on here ... looked like it was being pulled low and yeah got the multimeter out and found a 23 ohm short between that pin and ground. My heart sank a little bit at this point because I realised that this signal was going to pop up on a number of IC's it being on the data bus :(

fl1.3.jpg

At least 7 pages of the schematics (as you can see above) where the Data Bus appears ... so loads of buffers and latches no doubt ... first thing i did was disconnect the bottom pcb which confirmed the short on the top pcb ... then I checked every page of the top pcb schematics and found 16 IC's connected to D3 :cry: stuck a piece of yellow tape on each one ... I've made them stand out more on the pic below ... Every one of them had the partial short to ground on the pin carrying the D3 signal. But which one was the bad one with the internal short? Or was there a small bridge somewhere on a trace? I checked all the traces I could see and didn't see any issues with a bridge, so unless it was a trace bridge under a chip, it was a chip itself shorted ...
So my approach here was to make small strategic cuts in the traces to split the marked IC's up into groups and narrow down the short to certain areas and IC's ... I've also marked below the general route of the traces (in blue) connecting this signal on these IC's .... and the first cut (marked with the red X) was to isolate the five IC's on the left hand side of the board ...

fl1.4.jpg

I wanted to do this using the smallest unnoticeable cuts as possible and ones that could be easily reinstated and not look obvious, so looked for vias on the solder side where I could cut the trace right next to the via and then repair later by just popping a bit of solder in the via with a drip out over the side to rejoin to the track ... that was the idea anyway !
In the end I reinforced the rejoin with a tiny bit of wire just to make sure .. looked reasonably subtle in the end, looking from a normal distance, when touched up with a little bit of solder mask ...

fl1.5.jpg

So that first cut removed all 23 ohm shorts on the IC's on the left hand side of the board, ruling them out as the culprit and moving attention to the eleven IC's on the right hand side ... The next cut was made just below the LS244 above the dipswitches, splitting the 11 IC's into a group of 5 below and 6 above the cut ... did this one right at the bottom of the IC leg between it and the trace, again easy enough to fill that tiny break with solder and it not look obviously messy ...

fl1.6.jpg

This removed the short on the six IC's above that cut and narrowed the culprit down to one of the five IC's below that cut...

Cut 3 isolated the 2x LS245's lowest down (on the next pic) and they lost the short, which left the 2x LS244's and 1x LS174 as the three remaining suspects ...

Cut 4 isolated the 174 from the 244's and it kept the short while the LS244's lost it ... gotcha

fl1.7.jpg

So 4 tiny trace cuts found the murderer !! IC79 (LS174) and I confirmed it with a snip of its offending D3 signal carrying leg, and proved the short was 100% on the chip itself ...
Replaced the chip, and fixed all the tiny trace breaks I'd made ... so with all connections re-made and no more partial shorts I fired it up feeling quite happy with myself ...

fl1.8.jpg

And now all I'm getting is a solid blue (sometimes purple) screen :cry::cry::cry::cry: :ROFLMAO::ROFLMAO:
Had a quick look to make sure that D3 signal is now normal looking and it is, and double checked all my traces, which are good ...
Ended the first session on this board here, with the feeling this one could have quite a number of issues ...... we'll see ...
 

Jacmar

Active member
vacBacker
Feedback
1 (100%)
Credits
861CR
OK made some progress on this ....
Boot appears to be be stalling, executing code but stuck in some kind of loop .... seen this before and wondering if got a bad ram or IC on the databus ..
Did some scoping and SLICEing on the relevant RAM and bus buffers/latches but no hugely obvious signs of a bad IC ... The only suspect was the main cpu's LS245 databus buffer at IC88 ... was showing errors on SLICE ... but that doesn't automatically scream 'bad IC'. LS245 buffers (and 244 / 374 etc) can show errors in SLICE when connected to a shared data bus, even when working ok. Bus loading and signal timing can affect the results, so errors alone don’t prove the chip is faulty.
Indeed when I increased the propagation time to 150/200ns most (if not all) of those errors disappeared, but I had nothing else to go on at this point, and so to know 100% either way, I just replaced it..

fl2.0.jpg

This didn't improve anything but at least I'd ruled it out .... (new chip also tests with similar errors at 50ns)

So still concentrating around the main cpu, sub cpu, data bus and mcu circuitry, did a load more scoping, and some slicing ... but nothing major standing out ..
couple of address pins on the sub cpu stuck low but this I deduced was just part of the boot stall ...

Took a while but found it ... COIN 1 input stuck LOW ... I've read about this before, games not booting because of a stuck coin input ... must be a routine in the code checking for coin release and if the cpu doesn't see that high signal it gets stuck in a release-wait loop and prevents startup from progressing..
Anyway multimeter showed it shorted to ground ... which meant either the trace had a bridge somewhere, the LS244 receiving the input had an internal short, or the maybe the filter cap on the line had shorted. (I didn't spot at first that the same signal also went to the LS04 at IC76 to be inverted and sent to the coin counter)
So I ruled out a bridge on the trace first, then I removed the filter cap, (unlikely culprit but easy to check) and then snipped the leg (pin8) of the LS244 input ... but that just removed the short from the LS244 (ruling it out) and it was still on the line, it was then I saw the connection to the LS04 at IC76 and quick SLICE test showed it not only shorted to ground on pin 11 (coin1 input), but also shorted to 5v on pin 6 (coin2 counter output - nicely labelled CUNT2 :)) !

fl2.1.jpg

So as you can see that was removed and replaced and I was very hopeful this would get me a booting game ... but no still getting the solid blue screen .. :( except now it starts light blue and then changes to the deeper blue, so it does feel like there is a difference, which there should be if it's now progressing past the coin check routine ...
But it's still not booting and I'm starting to suspect maybe the MC68705 mcu is bad as there is very little activity on it other than a few blips on a few lines immediately after power up, like it initialises but then doesn't exchange any data, it's not in reset and it has a healthy clock. I check its connected TTL and they appear to be working ok. I've been messing around quite a bit with software recently and thought if I can patch out the MCU from the program code, at least during startup, I'll see if that's what is causing the boot to stall. So done that and hey presto ....

fl2.2.jpg

Only got Text/Character/Hud layer, and there is the obvious blue background/colour issue but the game is running (y)

Rather than troubleshoot the MCU further at this point I'm going to get the graphics issues fixed and then come back to the MCU, either look at replacing it, or more likely a full patch out in software ...

Fixed the colours pretty quickly, bad 2148 Palette Ram at IC94 ... (had a few of these recently) with 4 ropey looking outputs ....

fl2.3.jpg

Replaced and restored global palette (y)

fl2.4.jpg

fl2.5.jpg

So game appears to be running ok, can credit up and start a game ...
But there are NO sprites, NO backgrounds and NO audio ....
I've had a poke around and I think the sprites and backgrounds are missing due to the priority PROM at IC59 (Shown below) not functioning correctly ...

fl2.6.jpg

Data bits from each of the 4 graphics layers (Text/Sprites/BG1/BG2) converge into a couple of LS25's and then into the PROM on pins 4-7 where I do have toggling signals, but the 2 output pins (11 and 12) are both stuck low and this is why only the text layer can be seen on screen. When I pull pin 12 high I get sprites (below left) and when I pull pin 11 high I get one of the background layers (below right), pull both high the game tends to crash but I have seen some other background layer pop up ...

fl2.7.jpg

All those layers look ok so I'm hoping a replacement PROM will reveal all graphics on screen together and complete the graphics fixes . But no more time on the test bench since ... so next chance I get I'll knock up a replacement for the prom on a winbond 512 / prom adapter to check this theory 100% ... Then if all good I'll move onto the complete lack of audio ....
 
Last edited:

Jacmar

Active member
vacBacker
Feedback
1 (100%)
Credits
861CR
So I burned a replacement for the PROM (PT-0) at IC59 on a Winbond ... and at first it looked like it made no difference, still just the text layer visible ... wasn't until the attract mode gameplay demo kicked in I saw we now also had sprites on screen too !!

fl3.0.jpg

But still no backgrounds ... this had me thinking maybe the prom isn't at fault ... or maybe the prom is faulty AND there is another issue with backgrounds ... I scoped the new prom outputs and now I had a healthy signal on one of them, but the other still stuck low ...

fl3.1.jpg

Does look like a signal trying to come through ... something pulling it low perhaps ... multimeter out and yes another short to ground !!
I know its not this new prom, so what's it connected to ... circled the inputs above ... 1x LS257 pin3 (IC81) and a bank of 4x LS153's pin2 (IC70-73) ...
Here we go again ... but this time found it first time ! Tiny cut through the trace next to a via (on the solder side of pcb) where the trace branched off to the single LS157 and immediately lost the short everywhere else ... Ok so now the short is only present on the LS157 (pin3 - ground) and I fire up the board to see if we now have a healthy output from the prom and into the bank of LS153's ...

fl3.2.jpg

And we do, and for the first time so far, I see some backgrounds !
I was still expecting some issues because I've cut that trace, so the prom's output signal is not going into the suspect LS157 and I'm pretty sure that's why the background colours are all off, but this is now very promising, I snip pin3 on the LS157 to 100% confirm the chip is shorted internally and it is ... so the culprit is removed and replaced and the tiny trace I cut repaired ...

fl3.3.jpg

And powered up to ...

fl3.4.jpg

fl3.5.jpg

All graphics layers present and correct ! Game coins up, starts and all controls work ... (y)
I did try the original prom (PT-0) back in it's socket but unfortunately it is faulty (just get backgrounds , no text or sprites) :(

Next up ... the audio fix ...
 
Last edited:

Jacmar

Active member
vacBacker
Feedback
1 (100%)
Credits
861CR
Complete loss of audio usually means a problem either at the beginning of the circuitry or at the end ... I usually check the amplifier first and I'd heard buzzing from it numerous times so I was fairly confident it was ok. Then I always go to cpu, ram and rom ...
I know the CPU is ok because I put in a known worker and the ROM has verified contents, so I scope all the usual pins looking for anomalies and the data signals between cpu, ram, rom and the ym2203's are looking a little bit weak ... fortunately the sound rom and both yamaha 2203 chips are socketed so I take them out and now the data signals are looking really ropey ... with only the cpu and ram left in the board and connected to the sound data bus, and knowing the cpu is OK, it must be a bad ram chip ... so that gets replaced ...

fl4.0.jpg

And still there's no sound, or so I thought ... then with the volume cranked all the way up, and when the attract gameplay kicked in, I could just about make out some sounds. Just sound effects ... no music ...

Looking at the schematic there are 3 channels of audio ... 2 music channels and 1 sound effects channel.
Out comes the audio probe and first I'm checking for the music channels coming from the YM3014 DAC's (IC96 & IC97) .... and there is music coming from both chips on outputs pin2 ... from there the signals should go into 4558 op-amps (IC98 & IC99) on pin3, and they do, both present and correct ... but there is no audio out on pin1 ... on either op-amp ...

The sound effects come directly out of the YM2203's (pins 18,19,20) and combine with the 2 channels of music, with all 3 channels then going into another 4558 op-amp (IC111) on pin3 ... I've highlighted the paths of the 3 analogue audio channels on the schematics below ... and how the signals all die at the op-amps, ultimately showing no audio to the amp other than some barely audible sound fx.

fl4.1.jpg
RED - Sound fx ... LIGHT BLUE - Music Channel 1 ... DARK BLUE - Music Channel 2 ... GREEN - Combined Audio to Amp

Decided to swap out all 4558 op-amps (along with one 100uF capacitor I had to remove to install a socket and chip for IC111)

fl4.2.jpg

And now have glorious audio !!!
 

Bods

Senior Member
vacBacker
Feedback
5 (100%)
Credits
5,389CR
Nice going mate:), It's one Techno's games I've never looked at to be honest

Disclaimer: I'm in no way an expert and have done very little board repairs so far but just try looking at it from a more basic view to save people making costly mistakes with audio faults

As ive said many times if you have no audio or very low, check amp is working can just put finger on pins see if you get buzzing, if Taito machines check the separate audio 12v supply is okay because the fuse holders/fuse can get dirty and if ok go straight to the op amps there are so prone to failure and easiest thing to replace, not going to fix every audio issue but probably 80% or more on Taito boards not sure on others as only those and Outrun ive replace them on so far that had audio issues, Outrun probably 50%
Got some Space Gun boards I need to work on , someone has been desoldering the Yamaha chips, cpu and others around it, it's a quite a mess now, probably a few broken tracks and I'd put money on it the op amps were faulty which haven't been touched at all on all 3 pcbs, when I get round to it I'm going to sort all the mess out first and test and find still no audio until the op amps replaced
 

Jacmar

Active member
vacBacker
Feedback
1 (100%)
Credits
861CR
Thanks guys, just to draw a bit of a line under this one then ....

I put the original CPU's back in their (correct) sockets and they are all good. (y)

The MC68705 microcontroller must be faulty (n) (or its onboard rom contents corrupt) ... the game doesn't work with the original Xain Program ROM which uses it... I am NOT using the bootleg ROM ... I've patched the original Japanese P9-0 1 (IC66) Program ROM ... removing the MCU start-up, keepalive and ROM-check error dependencies, and replaced the MCU’s gameplay lookup function with an equivalent calculation, rather than forcing zero results (which is what the bootleg rom does) ... and although I'm yet to do a full playthrough (so it's not been tested under every gameplay situation) it's looking good so far with zero issues!

I would prefer to replace the MCU but despite the fact that replacement 68705's are available, I reckon getting one programmed would be nigh on impossible these days ... if anyone does have the ability though please let me know !

Similar the Bipolar PROM ... the Winbond-512 is doing the job but I would prefer a replacement or smaller solution ...

PARTS FAILED/REPLACED
Video Board - LS86 (SYNC)
Main Board - LS174, LS04, 2148 (Palette Ram), 7114 Bipolar PROM, LS157, MC68705 (patched out) ... (I also removed a LS245 but it was fine)
Main Board (Sound) - 6116 Ram, 3x 4558 op-amp

IMG_8694.jpeg
 
Top