osFlashChange [Function]

Switches when multiple Flash ROMs are used.

Syntax

#include <ultra64.h>
void    osFlashChange(u32 flash_num);

Description

This is a function which switches the chips of 1M Flash used when using multiple 1M Flash ROMs.

Argument "flash_num" indicates the used Flash number.  You can specify the number from 0 to 3.  When using just one 1M Flash, specify 0.

When using two 1M Flash ROMs, execute osFlashChange(0) to use the first 1M Flash and osFlashChange(1) to use the second 1M Flash.

After switching the 1M Flash used, you can use each 1M Flash just as when one 1M Flash is used.

When using multiple 1M Flash ROMs, be sure to use the Flash ROMs of the same ID.

By switching multiple 1M Flash ROMs, it is possible to expand the recording area up to the maximum of 4M bits (by using four 1M Flash ROMs).

Reference

Revision History

07/07/2000  This function was added.