mirror of
https://github.com/MoleskiCoder/EightBitNet.git
synced 2025-02-04 09:30:38 +00:00
29 lines
1.1 KiB
C#
29 lines
1.1 KiB
C#
namespace EightBit
|
|
{
|
|
namespace Files
|
|
{
|
|
namespace Symbols
|
|
{
|
|
// seg id=1,name="RODATA",start=0x00F471,size=0x0000,addrsize=absolute,type=ro,oname="sudoku.65b",ooffs=1137
|
|
public class Segment : NamedSection
|
|
{
|
|
public int Start => this.TakeInteger("start");
|
|
public int Size => this.TakeInteger("size");
|
|
public string AddressSize => this.TakeString("addrsize");
|
|
public string Type => this.TakeString("type");
|
|
public string OName => this.TakeString("oname");
|
|
public int OOFFS => this.TakeInteger("ooffs"); // ?? Offsets, perhaps?
|
|
|
|
public Segment()
|
|
{
|
|
_ = this._hex_integer_keys.Add("start");
|
|
_ = this._hex_integer_keys.Add("size");
|
|
_ = this._enumeration_keys.Add("addrsize");
|
|
_ = this._enumeration_keys.Add("type");
|
|
_ = this._string_keys.Add("oname");
|
|
_ = this._integer_keys.Add("ooffs");
|
|
}
|
|
}
|
|
}
|
|
}
|
|
} |