You are not logged in.
Lost Password?

All Posts (litephiter)




#41
Re: VBDE/GCCVB issues
Posted on: 2016/12/30 18:29
Virtual Freak
Joined 2007/4/14
Canada
52 Posts
Long Time User (12 Years)
Here's my code. It's a lightly modified version of one of the samples that comes packaged with VBDE. All it does is populate the displays with a bunch of red rectangles in a diagonal pattern. I made the charmap and bgmap using VIDE.

//Include library, charmap, charset
#include libgccvb.h
#include "testchmap.h"
#include "testchset.h"

int main()
{
//Initialize variables
int x = 30;
int y = 20;
int i = 30;

//Initial setup
vbDisplayOn();

//Copy tileset and tilemap into memory
copymem((void*)CharSeg0, (void*)testchset, 256*16);
copymem((void*)BGMap(0), (void*)testchmap, 450*16);

//Setup worlds
//(This uses structs to access world data, the old method using functions is commented out)
WA[31].head = (WRLD_ON|WRLD_OVR);
WA[31].w = 384;
WA[31].h = 224;
//vbSetWorld(31, (WRLD_LON|WRLD_OVR), 0, 0, 0, 0, 0, 0, 384, 224);

while(i > 20)
{
WA[i].head = (WRLD_ON|WRLD_OVR);
WA[i].w = 384;
WA[i].h = 224;
WA[i].gx = x;
WA[i].gy = y;
x = x + 30;
y = y + 20;
i--;
//vbSetWorld(30, (WRLD_RON|WRLD_OVR), 0, 0, 0, 0, 0, 224, 384, 224);
}

WA[20].head = WRLD_END;
//vbSetWorld(29, WRLD_END, 0, 0, 0, 0, 0, 0, 0, 0);

//Set brightness registers
vbDisplayShow();

//Main loop (Empty because we're done but don't want to reach the end)
for (;;){vbWaitFrame(0);}

return 0;
}
Top

Topic | Forum


#42
Re: VBDE/GCCVB issues
Posted on: 2016/12/29 21:50
Virtual Freak
Joined 2007/4/14
Canada
52 Posts
Long Time User (12 Years)
Good advice, but I'm wondering if anyone has any insight into what's causing the underlying issue.

Even when I compile code that was written by other people (who actually know what they're doing), it still looks glitchy on my VB.

Is it possible VBDE isn't configured correctly?
Top

Topic | Forum


#43
VBDE/GCCVB issues
Posted on: 2016/12/28 23:23
Virtual Freak
Joined 2007/4/14
Canada
52 Posts
Long Time User (12 Years)
I was experimenting in VBDE earlier today, trying to see if I could use my new FlashBoy to run my own code on actual Virtual Boy hardware. I only know the very basics of programming in C, so I started by modifying one of the more simple demo files.

I was able to get my code to compile, and it seems to run well in RealityBoy. When I flash to the FlashBoy and try to run it on the VirtualBoy, though, it's all... blinky. It looks like the mirrors aren't syncing properly with the LEDs, or something. The image is there, but it's strobing out of control, and there are vertical gaps.

I thought the problem might be with my code, so I compiled the first VBDE demo project (a static image of the PlanetVB logo) and flashed it. Same problem: I could make out the image, but it was strobing like crazy and interrupted by vertical gaps.

Just to be sure that the problem wasn't with my FlashBoy, I flashed it with a commercial rom. The commercial rom played perfectly.

Is this a common problem? Does anyone know how I might go about addressing it?
Top

Topic | Forum


#44
Re: bad display
Posted on: 2016/12/7 4:19
Virtual Freak
Joined 2007/4/14
Canada
52 Posts
Long Time User (12 Years)
I'd be interested in a how-to.
Top

Topic | Forum


#45
Re: Ben Heck display ribbon clip
Posted on: 2016/11/23 0:38
Virtual Freak
Joined 2007/4/14
Canada
52 Posts
Long Time User (12 Years)
You're a font of knowledge.

Hmm... I'm no longer so eager to try this, but I may see if I can get some of these things printed locally anyhow.
Top

Topic | Forum


#46
Re: Ben Heck display ribbon clip
Posted on: 2016/11/22 23:15
Virtual Freak
Joined 2007/4/14
Canada
52 Posts
Long Time User (12 Years)
So, RunnerPack: messing with the big screws on the mounting plates definitely causes misalignment? Do you think there would be any way to apply one of these clips safely, in that case?

For example, would you be able to keep making small adjustments to the tightness of that one screw until everything was aligned again?
Top

Topic | Forum


#47
Re: Ben Heck display ribbon clip
Posted on: 2016/11/21 16:55
Virtual Freak
Joined 2007/4/14
Canada
52 Posts
Long Time User (12 Years)
From Ben:

Oh right. That hook doesn't print well unless you use support material.

So I printed it solid and used a Dremel to carve a niche into it for the PCB.

-Ben
Top

Topic | Forum


#48
Re: Ben Heck display ribbon clip
Posted on: 2016/11/21 15:26
Virtual Freak
Joined 2007/4/14
Canada
52 Posts
Long Time User (12 Years)
I noticed that, but I figured it was just the crappy freebie STL-viewer software I was using. If you're seeing it too, it must be an issue with the file.

I've sent another email to Ben, so we'll see if he gets back to me.

Agreed that it's too soon to say whether this is a replacement for the oven method. I have a dead stock VB in my game cabinet that I'll experiment on, if I can get access to some of these clips.
Top

Topic | Forum


#49
Ben Heck display ribbon clip
Posted on: 2016/11/20 21:57
Virtual Freak
Joined 2007/4/14
Canada
52 Posts
Long Time User (12 Years)
Some of you may have seen the post on the PlanetVB front page about Ben Heck's new Virtual Boy teardown video.

In the video, he devises a new and interesting way of dealing with the display ribbon issue. Rather than try to reinforce the ribbon with packing tape or solder it together, he uses a 3D printer to make a little plastic clip that fits around the top of the display PCB, holding the ribbon tight against the contacts.

I emailed Ben, and he graciously sent me an STL file for the clip. I have no 3D printing experience, and am not sure if this will work, but maybe someone else on the forums has access to that equipment and can test it out and let us know. I'm attaching the file.

Ben says it's best to pad the inside of the clip with some foam. He recommends Funky Foam.

Attach file:


stl Ribbon Cable Clip.stl Size: 24.98 KB; Hits: 134
Top

Topic | Forum


#50
I got my displays repaired by H.P. Lovethrash
Posted on: 2016/9/3 4:10
Virtual Freak
Joined 2007/4/14
Canada
52 Posts
Long Time User (12 Years)
Hi, PlanetVB.

A couple months ago, I was looking for information on what itís like to get your VB display ribbons repaired by mail. I just wanted to take a second to talk about my experience, in case anyone else is looking.

The backstory:

About ten years ago, I found a Virtual Boy on top of a heap of junk at a flea market. I tried to talk the owner down, but he absolutely would not take any less than $15. It was still ridiculously cheap, and is definitely one of the greatest secondhand bargains of my life.

When I popped in the six AA batteries and powered it up, though, only the righthand display was working. There was no image in the left eyepiece. I went to the internet for help, and thatís when I learned about the ribbon problem.

For the next month, I was obsessed with getting the VB open so I could try the oven fix. I ordered a shitty gamebit off eBay. I managed to remove about four screws before the bit was stripped bare. I got frustrated and gave up. I ended up not touching my VB for nearly a decade.

The repair:

A couple months ago, I found myself with a few extra AAs, and I remembered the Virtual Boy. I expected that whatever was wrong with it ten years ago would be even worse by now, but when I powered it up, I was amazed: it was working perfectly. Over the next few days I played probably 20 hours of Mario Tennis. I spent $100 ordering more games on eBay. I felt like I was 10 years old again, except this time I could have all the VB gear I wanted. Take that, mom and dad.

After a couple weeks, though, whatever semi-magical force* had revived my VB was wearing off. First the left eye started showing intermittent glitches, and then after a few more days it was virtually unplayable. This time, I wasnít going to bother with the oven method. I was going to get some professional help.

As soon as the VB stopped working properly, I got in touch with H.P. Lovethrash. For anyone who doesnít knowóor who has found this post on GoogleóH.P. is a member of these forums who, for a fee, will allow you to mail him your VB displays for repair. He uses solder to attach the ribbons to the display PCBs, which is thought to be a longer-lasting and more reliable repair than the oven method.

Dealing with H.P. was very low-stress. We arranged the whole thing by email, with about a weekís worth of back-and-forth. I donít want to say what his price was, because he may decide to change it at some point. But I thought it was very fair.

To disassemble my VB this time, I ordered a new gamebit screwdriver (a picture of it is below). Unlike the disappointing gamebit I was using back in 2006, this one seems like itís made of actual steel. It had no problem accessing and turning those infamously tricky recessed screws. The same VB that had stymied me for a decade was in pieces in about five minutes. I used a magnetic #0 Phillips screwdriver to get the displays off their mounts.

The single most nerve-wracking aspect of this entire transaction, for me, was shipping. Iíve heard of people using cottony cloth or bubble wrap to protect the displays in transit, but neither of those options sounded safe to me. I was worried about electrostatic discharge damaging the circuitry, so I called around to local laptop repair places until I found a guy who was willing to give me some static-shielding bags for free. The bags were designed for 2.5-inch hard drives. I folded them in half and they fit the VB displays perfectly. Once the displays were snug in the bags, I wrapped them in about ten layers of bubble wrap, put them in a cardboard box, and mailed them to H.P.

From start to finish, the whole repair process took about two and a half weeks: one week to ship to H.P, a few days for him to do the repair, and then another few days for return shipping. A picture of what I found when I opened the package is below (displays-zoom-out.jpg).

Nintendo built these displays using a $10 million piece of machinery. H.P. remanufactured them with nothing but some gumption and a soldering iron. I was very impressed with his handiwork.

It took me about 15 minutes to get everything reinstalled. I powered up the system, and it worked flawlessly on the first try. It is, as far as I can tell, completely repaired.

I've attached some close-ups of what H.P. did, below.

You can see where the plastic part of the ribbon has been stripped away, exposing bare copper underneath. Iím a little concerned that some of the copper thatís still exposed will eventually corrodeóbut exposed traces seem unavoidable with this type of repair. And if it extends the life of the VB even a little bit, it will have been well worth it.

Is it permanently fixed? Iíll let you know in another ten years. In any case, Iíd recommend H.P.ís services to anyone with VB display problems.

*My theory is that the heat and humidity in my non-air-conditioned apartment may have caused the glue on the ribbons to regain some of its stick, temporarily.

Attach file:



jpg  display-1.JPG (123.96 KB)
478_57ca2ea59b3a7.jpg 800X442 px

jpg  display-2.JPG (111.21 KB)
478_57ca2eafb0680.jpg 800X389 px

jpg  displays-zoom-out.JPG (152.07 KB)
478_57ca2eb951af6.jpg 800X600 px

jpg  screwdriver.JPG (203.84 KB)
478_57ca2ec28c5a6.jpg 800X600 px
Top

Topic | Forum