From 5776a07e6a3def343996c5ec83cd69242f7ea23a Mon Sep 17 00:00:00 2001 From: Jan Tuomi Date: Sun, 25 Feb 2024 20:08:32 +0200 Subject: Add tests, fix bugs --- test/e2e/fibo/bootstrap.atk16 | 2 +- test/e2e/fibo/test_fibo.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'test/e2e/fibo') diff --git a/test/e2e/fibo/bootstrap.atk16 b/test/e2e/fibo/bootstrap.atk16 index 0fe2a9d..9b024e6 100644 --- a/test/e2e/fibo/bootstrap.atk16 +++ b/test/e2e/fibo/bootstrap.atk16 @@ -1,4 +1,4 @@ -@let sp RH +@let SP RH ; vector table fields @let vector_table 0x10 diff --git a/test/e2e/fibo/test_fibo.py b/test/e2e/fibo/test_fibo.py index 6dae09b..a7146fc 100644 --- a/test/e2e/fibo/test_fibo.py +++ b/test/e2e/fibo/test_fibo.py @@ -8,7 +8,7 @@ def test_fibo(): source = f.read() obj = assemble(source, filename) - rom_image = pad_bytearray(obj) + rom_image = pad_bytearray(obj.program) machine = Machine() machine.load_rom_image(rom_image) -- cgit v1.3