We're using cookies to ensure you get the best experience on our website. More info
Understood
@dasiRegistered August 8, 2007Active 4 months ago
188 Replies made

Now that Guy’s document is available I can’t see any reason to keep the wiki where it simply duplicates DT’s out-of-date document, the V810 manual, or the development manual. Any original wiki content can be archived. I’m on board with repurposing the wiki as a comprehensive Virtual Boy programming tutorial.

The PAL SNES power adaptor is AC so it shouldn’t really be used with the Virtual Boy which takes DC. I’d get a japanese adaptor tap (which takes a 5.5 x 2.1mm DC jack) and the EU version of this adaptor (I have the UK version):

http://avslgroup.com/en/product/174.001EU

Vulpes wrote:
I noticed some very minor display glitch and would like to hear your opinion whether this is the infamous display glitch from detaching display cables or something else

Something else. Possibly a scatch or dust on the display window, lens or mirror. See also:

Screen issue…
http://www.planetvb.com/modules/newbb/viewtopic.php?topic_id=3504

Black line question
http://www.planetvb.com/modules/newbb/viewtopic.php?topic_id=4724

A workaround for this bug is to compile with -mno-prolog-function.

If you haven’t already, ask the seller to remove the listing.

I’ve reported the listing under the category “copyright and trademark” as a replica item, the listing of which is against ebay policy.

  • This reply was modified 11 years, 8 months ago by dasi.

I don’t think you’re using the fixed linker script, or you wouldn’t be getting the undefined reference errors to __gp and __data_start. In your makefile specify the linker script you want the linker to use with the -T option, e.g. -Tpath/vb.ld.

I’m not sure why you’re getting the undefined references to memcpy. Are you including string.h in blox2.c?

Hi. Try compiling with the linker script and crt0 attached to this post. This should fix the overlapping sections error.

Nice work.

> This just leaves 3D Tetris and Red Alarm, both of which are likely issues with the bit string ops.

Which bitstring instructions do they use?

Hi. This tripped me up too. It turns out only the even byte addresses in SRAM are accessible. The Flashboy has 8K of SRAM.

Hi. It may be that the crt0.o you’re using isn’t setting up the column table correctly. Try the one I’ve attached.

You’ve fixed the slowdown, but not the graphics corruption. The backround isn’t displayed correctly on the right screen, and there’s no sound.

Try using the version of libgccvb included with the drawsync demo.

Hi. Try compiling the demo attached to this post. Make sure the path is correct in the makefile. What happens when you run make from the cygwin command prompt?

Akumie doesn’t have the Mario demo. See this post.

I don’t know if this helps but here’s a Virtual Boy pinout from:

http://consolingmyself.co.uk/post/732430949/retrode-virtual-boy-adapter-build-3#disqus_thread

---------------------------------------
Sega Edge       Signal          VB Edge
---------------------------------------
A1              gnd             1, 2
A2              +5v             54
A3              a8              15
A4              a11             22
A5              a7              17
A6              a12             24
A7              a6              19
A8              a13             26
A9              a5              21
A10             a14             28
A11             a4              23
A12             a15             30
A13             a3              25
A14             a16             32
A15             a2              27
A16             a17             34
A17             a1              29
A18             gnd             33
A19             d7              38
A20             d0              39
A21             d8              37
A22             d6              42
A23             d1              43
A24             d9              41
A25             d5              46
A26             d2              47
A27             d10             45
A28             d4              50
A29             d3              51
A30             d11             49
A31             +5v             36, 53
A32             gnd             59, 60
B1              N/A             -
B2              N/A             -
B3              N/A             -
B4              a9              18
B5              a10             20
B6              a18             13
B7              a19             11
B8              a20             16
B9              a21             -
B10             a22             -
B11             a23             -
B12             N/A             -
B13             N/A             -
B14             N/A             -
B15             N/A             -
B16     /C_OE (Output Enable)   35
B17     /C_CE (Chip Enable)     31
B18             N/A             -
B19             N/A             -
B20             N/A             -
B21             N/A             -
B22             d15             40
B23             d14             44
B24             d13             48
B25             d12             52
B26             N/A             -
B27             N/A             -
B28     /LDSW (not used)        -
B29     /UDSW (not used)        -
B30             N/A             -
B31             N/A             -
B32     /CART_IN (not used)     -
---------------------------------------

FuriousJorge, what version of the compiler are you using? What errors are you getting?

jzagal, try compiling the attached demo. Make sure the path is correct in the makefile. Then open a command prompt and run ‘make’ in the drawsync directory.

Attachments:

HorvatM, blitter has also written a clear and detailed description of the VIP drawing process in his wiki article on direct screen drawing which you may find useful.

  • This reply was modified 12 years, 10 months ago by dasi.

Cool. Thanks, akumie.

Attachments: