Data Structures | Enumerations | Functions

ines_convert.h File Reference

#include "unif_types.h"
#include <stdio.h>
Include dependency graph for ines_convert.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  ines_info_t
struct  mapr_num_table_t

Enumerations

enum  CART_TYPE { CART_UNIF, CART_INES, CART_INVALID }

Functions

void make_unif_file_from_nes (const char *unif_file, const char *ines_file)
void get_ines_mapper (const char *board_name, ines_info_t *info)
CART_TYPE get_cart_type (const char *filename)
UNIF_RETURN_CODE write_header (FILE *file)
UNIF_RETURN_CODE write_mapr (FILE *file)
UNIF_RETURN_CODE write_name (FILE *file)
UNIF_RETURN_CODE write_prg (FILE *file, uint8_t *prg_code, size_t size)
UNIF_RETURN_CODE write_chr (FILE *file, uint8_t *chr_code, size_t size)
UNIF_RETURN_CODE write_read (FILE *file)
UNIF_RETURN_CODE write_tvsc (FILE *file)
UNIF_RETURN_CODE write_dinf (FILE *file)
UNIF_RETURN_CODE write_batr (FILE *file)
UNIF_RETURN_CODE write_pck (FILE *file, uint8_t *prg_code, size_t size)
UNIF_RETURN_CODE write_cck (FILE *file, uint8_t *chr_code, size_t size)

Enumeration Type Documentation

enum CART_TYPE
Enumerator:
CART_UNIF 
CART_INES 
CART_INVALID 

Definition at line 13 of file ines_convert.h.


Function Documentation

CART_TYPE get_cart_type ( const char *  filename )

Definition at line 561 of file ines_convert.c.

Here is the call graph for this function:

void get_ines_mapper ( const char *  board_name,
ines_info_t info 
)

Definition at line 482 of file ines_convert.c.

Here is the call graph for this function:

Here is the caller graph for this function:

void make_unif_file_from_nes ( const char *  unif_file,
const char *  ines_file 
)

Definition at line 436 of file ines_convert.c.

Here is the call graph for this function:

Here is the caller graph for this function:

UNIF_RETURN_CODE write_batr ( FILE *  file )

Definition at line 132 of file ines_convert.c.

Here is the call graph for this function:

Here is the caller graph for this function:

UNIF_RETURN_CODE write_cck ( FILE *  file,
uint8_t *  chr_code,
size_t  size 
)

Definition at line 107 of file ines_convert.c.

Here is the call graph for this function:

Here is the caller graph for this function:

UNIF_RETURN_CODE write_chr ( FILE *  file,
uint8_t *  chr_code,
size_t  size 
)

Definition at line 278 of file ines_convert.c.

Here is the call graph for this function:

Here is the caller graph for this function:

UNIF_RETURN_CODE write_dinf ( FILE *  file )

Definition at line 372 of file ines_convert.c.

Here is the call graph for this function:

Here is the caller graph for this function:

UNIF_RETURN_CODE write_header ( FILE *  file )

Definition at line 40 of file ines_convert.c.

Here is the call graph for this function:

Here is the caller graph for this function:

UNIF_RETURN_CODE write_mapr ( FILE *  file )

Definition at line 204 of file ines_convert.c.

Here is the call graph for this function:

Here is the caller graph for this function:

UNIF_RETURN_CODE write_name ( FILE *  file )

Definition at line 230 of file ines_convert.c.

Here is the call graph for this function:

Here is the caller graph for this function:

UNIF_RETURN_CODE write_pck ( FILE *  file,
uint8_t *  prg_code,
size_t  size 
)

Definition at line 83 of file ines_convert.c.

Here is the call graph for this function:

Here is the caller graph for this function:

UNIF_RETURN_CODE write_prg ( FILE *  file,
uint8_t *  prg_code,
size_t  size 
)

Definition at line 260 of file ines_convert.c.

Here is the call graph for this function:

Here is the caller graph for this function:

UNIF_RETURN_CODE write_read ( FILE *  file )

Definition at line 59 of file ines_convert.c.

Here is the call graph for this function:

Here is the caller graph for this function:

UNIF_RETURN_CODE write_tvsc ( FILE *  file )
 All Data Structures Files Functions Variables Enumerations Enumerator Defines