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

No bug. A trailing comma at the end of an array-initialiser list is A-Okay ANSI C.

You should still use asm arrays though, as they don’t need to be compiled.

-mRa isn’t a valid tile reduction option. Typo?

  • This reply was modified 16 years, 3 months ago by dasi.

The wiki has started to pick up some spam via the discussion comments. Probably best to restrict comments to registered users only.

http://www.vr32.de/modules/dokuwiki/doku.php?id=graphics_overview

Flash Boy on ebay, Spanish seller, ends 6 August:
http://cgi.ebay.co.uk/ws/eBayISAPI.dll?ViewItem&item=260269102517

Another Flash Boy auction by the same seller, winning bid £92:
http://cgi.ebay.co.uk/ws/eBayISAPI.dll?ViewItem&item=260260827593

To display a non-transparent black, set one of the palette entries in your palette to 00b.

> would you guys say Wario World and V-Tetris are worth $35?

V-Tetris is $12 from Play-Asia.

The holes are approximately 45 mm deep. The bit above is only 40 mm long. To make it long enough you’d need to modify it.

Edit: beaten 😛

It appears the bit linked to above isn’t long enough for the two deep screws. You have been warned.

  • This reply was modified 16 years, 4 months ago by dasi.

Yankeesfan239 wrote:
where can i buy the tool already made ?

This is the tool you need: http://cgi.ebay.co.uk/ws/eBayISAPI.dll?ViewItem&item=380046336230

Try omitting the leading underscore from the symbol name:

extern const BYTE binary_myfile_bin_start[];

BYTE abc = binary_myfile_bin_start[0];
//etc..

Alternatively, in Visual C++, go to File / Advanced Save Options, set Line endings to Unix (LF), and click OK. Then save your file(s).

Hi RP,

Here’s the patch with my changes to v0.8.1.

> I can just edit the bitmaps and make will automatically pick
> up the changes.

Yep, check out the new manual chapter: Grit in project builds.

dasi

It’s a command-line tool that converts 4 colour indexed images (bmp, gif, png, etc) into 8x8p 2bpp tiles and map data for the VB. The output is C/asm arrays.

  • This reply was modified 16 years, 6 months ago by dasi.
  • This reply was modified 16 years, 6 months ago by dasi.
  • This reply was modified 16 years ago by dasi.

Edit: Grit for Virtual Boy has been updated to v0.8.1.

  • This reply was modified 16 years, 6 months ago by dasi.
  • This reply was modified 16 years, 6 months ago by dasi.

Hi Alberto,

I think what’s sorely needed is a good graphics editor + converter/exporter more than anything else.

Visual C++ Express Edition and Programmer’s Notepad are already very capable IDEs for GCC, and also allow you to run external tools like Reality Boy.

  • This reply was modified 16 years, 6 months ago by dasi.

Well, it might give some idea of the number of possible entrants. 🙂

It’d be interesting to know how many flashboy owners are using them for development, vs for playing roms, or as an addition to their VB collection. Maybe put up a poll?

KR155E wrote:
Batch 3 – on sale

It still says sold out on the order page.

Nice work, FG.

#define REG_SDLR	*(volatile u8*)(0x02000010)
#define REG_SDHR	*(volatile u8*)(0x02000014)
#define REG_SCR	*(volatile u8*)(0x02000028)

#define K_MASK  0xFFFC

u16 __key_curr = 0, __key_prev = 0;

void key_poll()
{
	REG_SCR = (S_INTDIS | S_HW);
	while (REG_SCR & S_STAT);

	__key_prev= __key_curr;
	__key_curr= ((REG_SDHR << 8 ) | REG_SDLR) & K_MASK;
}

Try this.

  • This reply was modified 15 years, 7 months ago by dasi.

How to install gccVB 2007/03/26

Install Cygwin with with make, gcc, flex, patch, tar, gzip, autoconf, gperf, and bison. Extract vb_v810_gcc_03.tar.gz. In the cygwin bash shell run:

./make_v810.sh

. . .

Next, download and compile crt0.s like so:

v810-as -o crt0.o crt0.s

and copy crt0.o to cygwin/usr/local/v810/lib.

Finally, get the libgccvb headers from here.

. . .

How to use gccVB with Microsoft Visual Studio / Visual C++ Express Edition

Install MSYS. In Visual C++, in Tools/Options go to Projects and Solutions/VC++ Directories, and add msys/bin and cygwin/usr/local/bin.

Start a new Makefile Project. Enter name and location. Leave ‘Create directory for solution’ unchecked. Click OK.

In the next dialog enter:

Build command line:
make -f makefile.mak build 2>&1 | sed -e ‘s/\(.[a-zA-Z]\+\):\([0-9]\+\):/\1(\2):/’

Clean command line:
make -f makefile.mak clean

Refs: Tonc, devkitPro.

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