.
avgn.jpg
Hi Fwirt, try this. The libgccvb headers I’m using are in here. The program uses objects to display an image made up of 9 characters.
#include #include #include const BYTE chBoo[] = { 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x40, 0x00,0x90,0x00,0xe4,0x00,0xa4,0x00,0xb9, /*Char0*/ 0x00,0x00,0x00,0x00,0x54,0x15,0xa9,0x6a, 0xff,0xff,0xff,0xff,0x7d,0xea,0x69,0xfa, /*Char1*/ 0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00, 0x16,0x00,0x6f,0x00,0xbf,0x01,0xbf,0x01, /*Char2*/ 0x00,0xfd,0x40,0xfe,0x40,0xe6,0x40,0xb6, 0x7e,0x76,0x79,0x5a,0x54,0x5e,0x40,0x6e, /*Char3*/ 0x7d,0xff,0xff,0xef,0xff,0xdb,0x55,0xdb, 0x55,0xd7,0x55,0xe5,0xa5,0xf6,0xa9,0xf9, /*Char4*/ 0xff,0x06,0xff,0x06,0xff,0x06,0xaf,0x06, 0xff,0xbf,0xff,0x6f,0xff,0x16,0xab,0x05, /*Char5*/ 0x00,0x7d,0x00,0xb9,0x00,0xf4,0x00,0xe4, 0x00,0x90,0x00,0x40,0x00,0x00,0x00,0x00, /*Char6*/ 0xa9,0xfd,0x55,0xfe,0xab,0xff,0xff,0xff, 0xfe,0xaf,0xa9,0xaa,0x54,0x55,0x00,0x00, /*Char7*/ 0xaf,0x15,0xaf,0x7e,0xab,0x6e,0xaa,0x16, 0x6a,0x01,0x15,0x00,0x00,0x00,0x00,0x00, /*Char8*/ }; const HWORD objBoo[] = { 144,0xC000,108,0, 152,0xC000,108,1, 160,0xC000,108,2, 144,0xC000,116,3, 152,0xC000,116,4, 160,0xC000,116,5, 144,0xC000,124,6, 152,0xC000,124,7, 160,0xC000,124,8 }; int main() { WA[31].head = WRLD_ON | WRLD_OBJ; WA[30].head = WRLD_END; copymem((void*)CharSeg0, (void*)chBoo, 144); // 9 * 16 bytes copymem((void*)OAMBase, (void*)objBoo, 72); // 9 * 8 bytes VIP_REGS[SPT3] = 8; VIP_REGS[SPT2] = -1; VIP_REGS[SPT1] = -1; VIP_REGS[SPT0] = -1; vbDisplayOn(); vbDisplayShow(); while(1) { vbWaitFrame(1); } }
Programs compiled with Cygwin require the cygwin1.dll to run.
VB + FlashBoy, BIN £175.
http://cgi.ebay.co.uk/Nintendo-Virtual-Boy-with-Flashboy-development-cart_W0QQitemZ300194973775QQihZ020QQcategoryZ62054QQssPageNameZWDVWQQrdZ1QQcmdZViewItem
Hmm. Okay, I got it working.
Works for me. Firefox 2.0.0.11.
dasi
Okay, using the old gccVB I’ve compiled a very simple program that displays a few characters on actual hardware. Woo!
However, when I compile exactly the same program with the new gccVB, the chars aren’t displayed (but it does still work on an emu). Any ideas?
How many have been made and sold so far?
http://www.vr32.de/modules/newbb/viewtopic.php?topic_id=2989&forum=1
How are things progressing with your sprite engine, jorgeche?
Thanks! Did you see any graphics corruption in Platformer, Pacman, or Space Invaders?
dsc06636.jpg
I’m guessing all US VBs have HW-USA-3 on the box near the serial number?
VN 10326837 6 HW-USA-3
If cleaning with dish-washing liquid doesn’t work, you could try using baking soda to get rid of the smell . Test on an inconspicuous area first.
By the way, I’d try giving your eyeshade a wash per the instruction booklet.
> Is there a way to submit user reviews of games?
There is! Simply go to the page of the game you want to review and click *Reviews* in the menu at the top.