Basilio/js/Memory.js

32 lines
741 B
JavaScript
Raw Normal View History

/// <reference path="Byte.ts" />
var Bank = (function () {
function Bank(fill) {
if (fill === void 0) { fill = 0; }
2015-01-25 20:06:11 +00:00
this.data = [];
}
return Bank;
})();
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;
})();
var Memory = (function () {
function Memory() {
}
Memory.Init = function () {
};
2015-01-25 20:06:11 +00:00
Memory.Get = function (location) {
return new Byte(0);
};
Memory.Set = function (location, value) {
};
Memory.romLock = true;
return Memory;
})();
//# sourceMappingURL=Memory.js.map