Basilio/js/Memory.js

37 lines
758 B
JavaScript
Raw Normal View History

/// <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 = [];
}
return Bank;
})();
2015-01-27 20:11:57 +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
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) {
};
Memory.romLock = true;
return Memory;
})();
2015-01-27 20:11:57 +00:00
//# sourceMappingURL=Memory.js.map