iOS icons I forgot.

This commit is contained in:
Will Scullin 2013-11-16 13:50:06 -08:00
parent 345b7b25f4
commit 0ef4109c41
3 changed files with 24 additions and 18 deletions

BIN
img/webapp-ipad.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.2 KiB

BIN
img/webapp-iphone.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.5 KiB

View File

@ -1248,27 +1248,33 @@ function CPU6502(options)
return result; return result;
}, },
dumpPage: function(page) { dumpPage: function(start, end) {
if (page === undefined) { var result = "";
page = pc >> 8; if (start === undefined) {
start = pc >> 8;
} }
var b, result = "", idx, jdx; if (end === undefined) {
for (idx = 0; idx < 16; idx++) { end = start;
result += toHex(page) + toHex(idx << 4) + ": "; }
for (jdx = 0; jdx < 16; jdx++) { for (var page = start; page <= end; page++) {
b = readByte(page * 256 + idx * 16 + jdx, true); var b, idx, jdx;
result += toHex(b) + " "; for (idx = 0; idx < 16; idx++) {
} result += toHex(page) + toHex(idx << 4) + ": ";
result += " "; for (jdx = 0; jdx < 16; jdx++) {
for (jdx = 0; jdx < 16; jdx++) { b = readByte(page * 256 + idx * 16 + jdx, true);
b = readByte(page * 256 + idx * 16 + jdx, true) & 0x7f; result += toHex(b) + " ";
if (b >= 0x20 && b < 0x7f) {
result += String.fromCharCode(b);
} else {
result += ".";
} }
result += " ";
for (jdx = 0; jdx < 16; jdx++) {
b = readByte(page * 256 + idx * 16 + jdx, true) & 0x7f;
if (b >= 0x20 && b < 0x7f) {
result += String.fromCharCode(b);
} else {
result += ".";
}
}
result += "\n";
} }
result += "\n";
} }
return result; return result;
}, },