1
0
mirror of https://github.com/sehugg/8bitworkshop.git synced 2026-04-20 15:16:38 +00:00

atari8: wait/dma events, new kbd

This commit is contained in:
Steven Hugg
2022-09-03 15:00:43 -05:00
parent 56e8fca270
commit 5735135add
13 changed files with 87 additions and 39 deletions
+4 -4
View File
@@ -367,16 +367,16 @@ describe('Platform Replay', () => {
});
});
it('Should run atari5200', async () => {
await testPlatform('atari8-5200', 'acid5200.rom', 1100, (platform, frameno) => {
if (frameno == 999) {
await testPlatform('atari8-5200', 'acid5200.rom', 1200, (platform, frameno) => {
if (frameno == 1199) {
let s = '';
for (let i=0; i<40; i++) {
let c = platform.readAddress(0x722+i) & 0x7f;
let c = platform.readAddress(0x722+i-40) & 0x7f;
if (c < 0x40) c += 0x20;
s += String.fromCharCode(c);
}
s = s.trim();
assert.equal(s, "Passed: 12 Failed: 34 Skipped: 1");
assert.equal(s, "Passed: 13 Failed: 33 Skipped: 1");
}
});
});