al - Audio Library Functions gDP - DP GBI Macros gdSP - General GBI Macros gSP - SP GBI Macros gt - Turbo Microcode RDP gu - Graphics Utilities Math - Math Functions nuSys - NuSystem os - N64 Operating System sp - Sprite Library Functions uh - Host to Target IO 64DD - N64 Disk Drive
|
n64mdiskSyntaxn64mdisk [config file] n64mdisk -m [master data file name]
Explanation
When creating the master data, be sure to use the libleo.a and libultra_rom.a libraries for linking. (The libraries libleo_d.a and libultra_d.a are for debugging.) Please create a disk for final checking using master data linked to libleo.a and libultra_rom.a, and conduct sufficient debugging with this disk before submitting the master. A master production config file can be specified as follows (here named n64mdisk.yes): % n64mdisk n64mdisk.yes [for Partner-N64NW] C> n64mdisk n64mdisk.yes [for Partner-N64PC]Following is an example of such a config file followed by details about each line: USE GWRITE gwrite DISK TYPE AUTO IPL LOAD ADDRESS 0x80000400 RAM START LBA AUTO RAM END LBA AUTO INITIAL CODE NINT GAME VERSION 11 DISK NUMBER 22 DISK USE 0 DESTINATION CODE JAPAN COMPANY CODE 1 FREE AREA 0x123456789abcUSE GWRITE Specifies NO or gwrite. When NO is specified, the ROM INIT. FILE line must also be specified (see below). When gwrite is specified, the master�s ROM region data is created based on the contents of the gwrite file. If the RAM region data is specified in the gwrite file, then RAM region data is also created. Example: USE GWRITE gwrite Example: USE GWRITE NO DISK TYPE Specifies the disk type. Numerical values of 0 to 6 can be specified. For details, see Chapter 11 of the N64 Disk Drive Programmer's Guide. Example: DISK TYPE 0 IPL LOAD ADDRESS Specifies the IPL load address. Refer to Chapter 11 of the N64 Disk Drive Programmer's Guide for the load address. When an address is specified in gwrite with the leowrite -a xxxxxx command, it is given priority. Example: IPL LOAD ADDRESS 0x80000400 IPL LOAD SIZE Specifies the IPL load size. When data is created with gwrite this data is not needed (it is ignored). Refer to Chapter 11 of the N64 Disk Drive Programmer's Guide for information about IPL size. Example: IPL LOAD SIZE 8 ROM INIT. FILE Specifies the image file for ROM region data. This must be specified when no data is created using gwrite. Conversely, when gwrite is used to create data, this cannot be specified. Example: ROM INIT. FILE romimage RAM START LBA Specifies the start LBA for RAM region data. When AUTO is specified, the RAM region start LBA is set according to the disk type specified by DISK TYPE. Specify AUTO even if a RAM region is not being used. Example: RAM START LBA AUTO Example: RAM START LBA 1500 RAM END LBA Specifies the end LBA for RAM region data. When AUTO is specified, the end LBA is automatically set from the RAM region image file size specified by gwrite or RAM INIT. FILE. Example: RAM END LBA AUTO Example: RAM END LBA 2000 RAM INIT. FILE Specifies the image file for RAM region data. Example: RAM INIT. FILE ramimage Note: When there is a clearly specified value for RAM END LBA, the RAM region from the start LBA to the specified end LBA is secured. But at that time, the portions of data where initial values are not specified by gwrite or RAM INIT. FILE are enclosed by 0xFF markers. For details concerning all of the following specifications, see Chapter 6 of the N64 Disk Drive Programmer's Guide. INITAL CODE Specifies the initial code, which must contain at least four ASCII characters. Example: INITIAL CODE NINT GAME VERSION Specifies the game version, which must be at most a two-digit decimal number. Example: GAME VERSION 1 Example: GAME VERSION 99 DISK NUMBER Specifies the disk number, which must be at most a two-digit decimal number. Example: DISK NUMBER 0 Example: DISK NUMBER 99
RAM USE
Example: RAM USE 0x0
|