Nabu video

Document what is being done to recover original NABU software and hardware, and discuss clever hacks for fixing the NABU.
MagnumPEI
Posts: 44
Joined: Mon Apr 03, 2023 2:07 pm
Location: Canada

Re: Nabu video

Post by MagnumPEI »

DJ Sures wrote: Thu May 11, 2023 11:16 amyou won't regret it for the price.

One bit of warning. When you press the button, it creates a sucking action. If you release the button, any solder in the tube falls out. So you do NOT want to release the button while the tube is over the circuit board :D Lesson learned!

What I do is suck the solder, and keep the button held. Move the sucker over to an old container, release the button and the solder falls out into the container.
That sucks - literally. :mrgreen:
User avatar
DJ Sures
Posts: 347
Joined: Tue Mar 28, 2023 8:36 pm
Location: nabu.ca
Contact:

Re: Nabu video

Post by DJ Sures »

MagnumPEI wrote: Thu May 11, 2023 12:10 pm
DJ Sures wrote: Thu May 11, 2023 11:16 amyou won't regret it for the price.

One bit of warning. When you press the button, it creates a sucking action. If you release the button, any solder in the tube falls out. So you do NOT want to release the button while the tube is over the circuit board :D Lesson learned!

What I do is suck the solder, and keep the button held. Move the sucker over to an old container, release the button and the solder falls out into the container.
That sucks - literally. :mrgreen:
Da dum Ching!
User avatar
productiondave
Posts: 117
Joined: Tue Mar 28, 2023 10:01 pm

Re: Nabu video

Post by productiondave »

DJ Sures wrote: Thu May 11, 2023 4:42 pm
MagnumPEI wrote: Thu May 11, 2023 12:10 pm
DJ Sures wrote: Thu May 11, 2023 11:16 amyou won't regret it for the price.

One bit of warning. When you press the button, it creates a sucking action. If you release the button, any solder in the tube falls out. So you do NOT want to release the button while the tube is over the circuit board :D Lesson learned!

What I do is suck the solder, and keep the button held. Move the sucker over to an old container, release the button and the solder falls out into the container.
That sucks - literally. :mrgreen:
Da dum Ching!
Two snares and a cymbal fall off a cliff.
TorontoNabu
Posts: 19
Joined: Sun Apr 30, 2023 3:39 pm

Re: Nabu video

Post by TorontoNabu »

Well the de-solder-er arrives tomorrow, and just in time. Powered up the Nabu and I see this now....
2023-05-11-220355.jpg
Which according to Rudy's handy dandy debug manual looks like U46 - HM4864P is bad. Will do some probing around to see and pick up some replacement parts & sockets.

I accidentally left it on overnight, I wonder if this is just an early death of a DRAM chip, I'm tempted to replace them all if this is the case. I'll report on the effectiveness of the tool after I fix the Nabu boo-boo.
User avatar
DJ Sures
Posts: 347
Joined: Tue Mar 28, 2023 8:36 pm
Location: nabu.ca
Contact:

Re: Nabu video

Post by DJ Sures »

good thing you left it on to give it the "burn in" test :D or in this case "burn out" haha
TorontoNabu
Posts: 19
Joined: Sun Apr 30, 2023 3:39 pm

Re: Nabu video

Post by TorontoNabu »

No joy in Nabu land so far. I was checking all the system DRAM outputs and they all look similar, which I assume is OK. So my initial guess of the U47, or one of the HM4864P, being bad based on the diagnostic guide and image on screen was incorrect.

So I went about creating some VDP test code to see if I can pin point what is going on. It is banging away on the VDP RAM and checking all bit patterns at every location. So far looks like random data read back.

BTW, to do this I am hijacking the serial out from HCCA and banging out text to see what is happening. Since I don't have any EEPROM's yet to program I am doing this by starting up the IA and the Nabu which luckily still loads the test code and runs it. Once serial data starts spitting out the HCCA the IA freaks out a bit, i just close it and start minicom (any terminal would work), and capture the output from my test code.

I'll do more probing around VDP DRAM with specific patters to try and isolate. My fear is the 9918a is dead. Those little buggers are hard to find, was thinking of the F18a. Any recommendations?

Cheers
User avatar
DJ Sures
Posts: 347
Joined: Tue Mar 28, 2023 8:36 pm
Location: nabu.ca
Contact:

Re: Nabu video

Post by DJ Sures »

So you can boot into text mode? It just goes funky in mode G2?

If that's the case, you could put the tms99 in bitmap mode, meaning it splits the memory into 3rds. You can use NABULIB for that. A good test could be to simply draw a horizontal line across the center of each tile. Use this project: https://github.com/DJSures/NABU-LIB/tre ... c%20Bitmap

Essentially just loop from and draw a line from the top left to the top right. Move down one Y pixel and do it again. Keep doing that until you see where it starts to go funky. That will tell you approx what memory area is messed up. Get the approx memory address, divide it by the number of vdp ram chips and bob's your uncle.
greghol
Posts: 13
Joined: Tue Mar 28, 2023 9:40 pm
Location: Sacramento, CA, USA

Re: Nabu video

Post by greghol »

TorontoNabu wrote: Mon May 15, 2023 5:07 am BTW, to do this I am hijacking the serial out from HCCA and banging out text to see what is happening. Since I don't have any EEPROM's yet to program I am doing this by starting up the IA and the Nabu which luckily still loads the test code and runs it. Once serial data starts spitting out the HCCA the IA freaks out a bit, i just close it and start minicom (any terminal would work), and capture the output from my test code.

Cheers
This is exactly one of the uses for the 8251A hack. You could use this for serial out for debugging by writing to 90h and 91h to display debug info. No need to switch the console using redirect.com just write to the keyboard controller to send chars out. Make sure you preserve RX enable in 91h so the key board will still work. Looks like DJ got a good suggestion otherwise but if you need some debug info too then this would be the way.

See: viewtopic.php?t=12

Greg
TorontoNabu
Posts: 19
Joined: Sun Apr 30, 2023 3:39 pm

Re: Nabu video

Post by TorontoNabu »

DJ Sures wrote: Mon May 15, 2023 7:32 am So you can boot into text mode? It just goes funky in mode G2?

If that's the case, you could put the tms99 in bitmap mode, meaning it splits the memory into 3rds. You can use NABULIB for that. A good test could be to simply draw a horizontal line across the center of each tile. Use this project: https://github.com/DJSures/NABU-LIB/tre ... c%20Bitmap

Essentially just loop from and draw a line from the top left to the top right. Move down one Y pixel and do it again. Keep doing that until you see where it starts to go funky. That will tell you approx what memory area is messed up. Get the approx memory address, divide it by the number of vdp ram chips and bob's your uncle.
Thanks DJ, that's a good suggestion. I'm also using this as a Z80 assembly training exercise so sticking with stand alone for now. I will switch to C and use the library soon, and leverage all your good work. :)

I'm planning to alternate one data bit on/off (or one chip) at a time continuously to ensure RAS, CAS, & R/W, & address & data are correct for each chip. I'm fairly sure the 9918 is gone, writing & reading VDP RAM now produces random result which kind of aligns with the picture I posted of kind of random noise on the display. Does anyone knows a source for TMS9918 in Canada or even Toronto for these? I can always roll the dice and go ebay or overseas.
TorontoNabu
Posts: 19
Joined: Sun Apr 30, 2023 3:39 pm

Re: Nabu video

Post by TorontoNabu »

greghol wrote: Mon May 15, 2023 4:27 pm This is exactly one of the uses for the 8251A hack. You could use this for serial out for debugging by writing to 90h and 91h to display debug info. No need to switch the console using redirect.com just write to the keyboard controller to send chars out. Make sure you preserve RX enable in 91h so the key board will still work. Looks like DJ got a good suggestion otherwise but if you need some debug info too then this would be the way.

See: viewtopic.php?t=12

Greg
I'll take a closer look! Thanks Greg. I'll need to dig up my USB/RS232 (5V level) adaptor.

Cheers
Post Reply