ntr_bootrom/trunk/IrisMainp/include/private/IrisMainMemeoryDefine.h

56 lines
2.0 KiB
C
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

//====================================================================
// IrisMainMemeoryDefine.h
// IRIS メインメモリ定数
//
// Copyright (C) 2003 NINTENDO Co.,Ltd.
//====================================================================
#ifndef _IRIS_MMEM_DEFINE_H
#define _IRIS_MMEM_DEFINE_H
#ifdef __cplusplus
extern "C" {
#endif
//----------------------------------------------------------------------
// メインメモリ コマンド
//----------------------------------------------------------------------
// 4サイクル目のデータ
#define MMEMD4_PARTIAL_REFRESH_NONE 0x0003 // パーシャルリフレッシュ無し
#define MMEMD4_BURST_CONTINUOUS 0x001c // 連続バースト(224バイト)
#define MMEMD4_BURST_MODE 0x0000 // バーストモード
#define MMEMD4_PAGE_MODE 0x0020 // ページモード
#define MMEMD4_SB1 0xffc0 // 1固定
// 5サイクル目のデータ
#define MMEMD5_1ST_R4_W3 0x0002 //
#define MMEMD5_BURST_WRITE 0x0000 // バーストライト
#define MMEMD5_CLOCK_TRIGGER_UP 0x0100 // クロック立上り
#define MMEMD5_BURST_LINER 0x0200 // バーストリニア・シーケンス
#define MMEMD5_SB1 0xe430 // 1固定
// 6サイクル目のアドレス
#define MMEMP_SB1 0x004003fe // 1固定
#define MMEMP_CLOCK_TRIGGER_UP 0x00000400 // クロック立上り
#define MMEMP_BURST_WRITE 0x00000000 // バーストライト
#define MMEMP_BURST_LINER 0x00001000 // バーストリニア・シーケンス
#define MMEMP_1ST_R4_W3 0x00004000 //
#define MMEMP_BURST_MODE 0x00000000 // バーストモード
#define MMEMP_PAGE_MODE 0x00010000 // ページモード
#define MMEMP_BURST_CONTINUOUS 0x000e0000 // 連続バースト(224バイト)
#define MMEMP_PARTIAL_REFRESH_NONE 0x00300000 // パーシャルリフレッシュ無し
#ifdef __cplusplus
} // extern "C"
#endif
#endif // _IRIS_MMEM_DEFINE_H