2015-01-23 06:05:27 +00:00
|
|
|
/// <reference path="Byte.ts" />
|
|
|
|
var Bank = (function () {
|
|
|
|
function Bank(fill) {
|
2015-01-27 20:11:57 +00:00
|
|
|
if (typeof fill === "undefined") { fill = 0; }
|
2015-01-25 20:06:11 +00:00
|
|
|
this.data = [];
|
2015-01-23 06:05:27 +00:00
|
|
|
}
|
|
|
|
return Bank;
|
|
|
|
})();
|
2015-01-27 20:11:57 +00:00
|
|
|
|
2015-01-23 06:05:27 +00:00
|
|
|
var MemoryMap = (function () {
|
|
|
|
function MemoryMap(type, index) {
|
|
|
|
this.Set(type, index);
|
|
|
|
}
|
|
|
|
MemoryMap.prototype.Set = function (type, index) {
|
|
|
|
this.type = type;
|
|
|
|
this.index = index;
|
|
|
|
};
|
|
|
|
return MemoryMap;
|
|
|
|
})();
|
2015-01-27 20:11:57 +00:00
|
|
|
|
2015-01-23 06:05:27 +00:00
|
|
|
var Memory = (function () {
|
|
|
|
function Memory() {
|
|
|
|
}
|
|
|
|
Memory.Init = function () {
|
|
|
|
};
|
2015-01-27 20:11:57 +00:00
|
|
|
|
2015-01-25 20:06:11 +00:00
|
|
|
Memory.Get = function (location) {
|
|
|
|
return new Byte(0);
|
|
|
|
};
|
2015-01-27 20:11:57 +00:00
|
|
|
|
2015-01-25 20:06:11 +00:00
|
|
|
Memory.Set = function (location, value) {
|
|
|
|
};
|
2015-01-23 06:05:27 +00:00
|
|
|
Memory.romLock = true;
|
|
|
|
return Memory;
|
|
|
|
})();
|
2015-01-27 20:11:57 +00:00
|
|
|
//# sourceMappingURL=Memory.js.map
|