Vanguard scrolling graphics problem.

Lurch666

Active member
Feedback
21 (100%)
Credits
4,519CR
Got a nice Vanguard original from philmurr.

Was not producing a picture.Tracked that down to an inverter turning the sync to positive instead of negative so I just moved the connection to the other side (74LS05 moved connection from pin 3 to pin 4) to keep the sync from being inverted.

So I got video but as you can see it's not showing the scrolling graphics properly:


I have checked the roms and swapped out the memory but nothing made any difference.

I'm now trying to figure out which part of the circuit handles the scrolling but there's not much info on the net that I can find.

Anyone got any experience with this?

I know the game is running at the wrong speed.This started to happen after I first had it so I'm assuming the fault is getting worse and now it's affecting the speed of the scrolling as well.
 

Lurch666

Active member
Feedback
21 (100%)
Credits
4,519CR
Found a lead in the memory map for vanguard.

According to the info I found on the arcade restoration workshop webpage the scroll is mapped to 0X3200 and 0X3300.

these values are referenced on the schematic as going into 2 X 74LS374s that then feed into 4 X 74LS283s.

The 283 chips are 4 bit binary adders so this made me think that maybe they move the screen to scroll it some way.

Anyway I tested by piggybacking with a spare 283 chip.

I put them onto chips 9,10 and 12 I got no difference but on 11 the screen appeared correct.

Game speed is still wrong but I'm hoping when I replace the faulty chip that might go away.

Nearly there and hopefully this will give me help on fixing scrolling in my choplifter.
 

Lurch666

Active member
Feedback
21 (100%)
Credits
4,519CR

As you can see the scrolling is now fixed since the 74LS283 has been replaced.

Unfortunately the speed problem isn't gone.

I have also noticed that the energy dumps are not appearing.

This problem started to appear whilst I was fixing this board and got worse as time went on.

No idea what could be causing this so just going to have to keep looking.

Also just noticed in demo mode the lives are not going down each time the ship dies.

Lurch6662018-10-07 17:47:10
 

Lurch666

Active member
Feedback
21 (100%)
Credits
4,519CR
Looking closely I have noticed that not only are the lives not going down but there is no activity in the top part of the screen.There should be a flashing dot on the map showing which part of the stage you are on and the energy gauge should slowly rise.

It looks like certain routines are not being done in the main gameplay loop-this could be the reason the game is running too fast.

I have narrowed it down to possibly being the 74154 that handles the chip select for the roms and also sends a signal to other chips that seem to trigger other routines namely the LS138 at 38.

Checking the 74154 I'm not measuring any activity on pin 4 and also pin 11 that is supposed to activate rom 7 seems inactive as well (not sure if it's just a very quick pulse that my scope could be missing).

Removing rom 7 has no effect on the gameplay so I have ordered some replacement 74154s and have fitted a socket.

Will see if this makes any difference.
 

Lurch666

Active member
Feedback
21 (100%)
Credits
4,519CR
Still kicking my butt!

Got the 74154 but it didn't fix the problem.

I bent pin 4 out on the 74154 to check the signal and got one so I replaced the 74LS183 at 38 that it connects to and still no fix.

Have noticed I get a little colour corruption on the status area on the top of the screen and on startup I get some activity on pin 4 of the 74154 but that's all the change I got.

I have just replaced all 8 of the program roms even though they checked ok just to see if they were failing in circuit but that's not done anything either.

Next is to check the parts of the circuit that IC 34,38 and 49 connect to.
 

Lurch666

Active member
Feedback
21 (100%)
Credits
4,519CR
After changing half a dozen chips relating to memory access and addressing and getting nowhere I got help from a nice dude at the klov forums.

Turns out it was the 74LS121 running the interrupts on the 6502.It was stuck low because the 121 had failed so was only running the interrupt routines and missing everything else.

I had checked that chip and seen it was held low but my lack of understanding means I dismissed it as something that was supposed to kept low so at least I have I learned something new.

Fitted a new 121 and the game is now back to normal.

Just added the speech board and it appears correct at the start of the game.

Going to make a proper adaptor now with the controls connected so I can test the whole thing.
 
Top