mirror of
https://github.com/sehugg/8bitworkshop.git
synced 2024-11-21 23:30:58 +00:00
fixed tests
This commit is contained in:
parent
5b7e0a6330
commit
c486fb6cf1
@ -228,7 +228,7 @@ describe('Platform Replay', () => {
|
||||
var platform = await testPlatform('vcs', 'brickgame.rom', 72, (platform, frameno) => {
|
||||
if (frameno == 62) {
|
||||
var cstate = platform.saveControlsState();
|
||||
cstate.SA = 0xff ^ 0x40; // stick left
|
||||
cstate.pia.SA = 0xff ^ 0x40; // stick left
|
||||
platform.loadControlsState(cstate);
|
||||
}
|
||||
});
|
||||
|
@ -85,7 +85,7 @@ describe('Worker', function() {
|
||||
compile('dasm', '\tprocessor 6502\n\torg $f000\n MAC mack\n lda #0\n ENDM\nfoo: mack\n mack\n', 'vcs.mame', done, 4, 4);
|
||||
});
|
||||
it('should NOT assemble DASM', function(done) {
|
||||
compile('dasm', '\tprocessor 6502\n\torg $f000 ; this is a comment\nfoo asl a\n', 'vcs', done, 0, 0, 2);
|
||||
compile('dasm', '\tprocessor 6502\n\torg $f000 ; this is a comment\nfoo asl a\n', 'vcs', done, 0, 0, 3);
|
||||
});
|
||||
/*
|
||||
it('should assemble ACME', function(done) {
|
||||
|
Loading…
Reference in New Issue
Block a user