C# Class NewSF64Toolkit.MemoryManager

Mostra file Open project: mib-f8sm9c/NewSF64Toolkit

Public Methods

Method Description
AddBank ( byte bankNo, byte bankData, uint startPos ) : void
ClearBanks ( ) : void
HasBank ( byte bankNo ) : bool
LocateBank ( byte bankNo, uint offset ) : BankData
MemoryManager ( ) : System
ReadByte ( byte bankNo, uint offset ) : byte
ReadFloat ( byte bankNo, uint offset ) : float
ReadInt ( byte bankNo, uint offset ) : int
ReadShort ( byte bankNo, uint offset ) : short
ReadUInt ( byte bankNo, uint offset ) : uint
ReadUShort ( byte bankNo, uint offset ) : ushort
RemoveBank ( byte bankNo, uint startPos ) : void
WriteFloat ( byte bankNo, uint offset, float val ) : void
WriteShort ( byte bankNo, uint offset, short val ) : void
WriteUShort ( byte bankNo, uint offset, ushort val ) : void

Private Methods

Method Description
Overlaps ( uint start1, uint end1, uint start2, uint end2 ) : bool

Method Details

AddBank() public method

public AddBank ( byte bankNo, byte bankData, uint startPos ) : void
bankNo byte
bankData byte
startPos uint
return void

ClearBanks() public method

public ClearBanks ( ) : void
return void

HasBank() public method

public HasBank ( byte bankNo ) : bool
bankNo byte
return bool

LocateBank() public method

public LocateBank ( byte bankNo, uint offset ) : BankData
bankNo byte
offset uint
return BankData

MemoryManager() public method

public MemoryManager ( ) : System
return System

ReadByte() public method

public ReadByte ( byte bankNo, uint offset ) : byte
bankNo byte
offset uint
return byte

ReadFloat() public method

public ReadFloat ( byte bankNo, uint offset ) : float
bankNo byte
offset uint
return float

ReadInt() public method

public ReadInt ( byte bankNo, uint offset ) : int
bankNo byte
offset uint
return int

ReadShort() public method

public ReadShort ( byte bankNo, uint offset ) : short
bankNo byte
offset uint
return short

ReadUInt() public method

public ReadUInt ( byte bankNo, uint offset ) : uint
bankNo byte
offset uint
return uint

ReadUShort() public method

public ReadUShort ( byte bankNo, uint offset ) : ushort
bankNo byte
offset uint
return ushort

RemoveBank() public method

public RemoveBank ( byte bankNo, uint startPos ) : void
bankNo byte
startPos uint
return void

WriteFloat() public method

public WriteFloat ( byte bankNo, uint offset, float val ) : void
bankNo byte
offset uint
val float
return void

WriteShort() public method

public WriteShort ( byte bankNo, uint offset, short val ) : void
bankNo byte
offset uint
val short
return void

WriteUShort() public method

public WriteUShort ( byte bankNo, uint offset, ushort val ) : void
bankNo byte
offset uint
val ushort
return void