aboutsummaryrefslogtreecommitdiffstats
path: root/test/e2e/fibo
diff options
context:
space:
mode:
authorJan Tuomi <jans.tuomi@gmail.com>2024-02-25 20:08:32 +0200
committerJan Tuomi <jans.tuomi@gmail.com>2024-02-25 20:08:32 +0200
commit5776a07e6a3def343996c5ec83cd69242f7ea23a (patch)
treedfe91cff071a60be9fd9fc674625b8b462e06f27 /test/e2e/fibo
parent3ac72608e8fc708277137fde62193c8763268ff5 (diff)
Add tests, fix bugs
Diffstat (limited to 'test/e2e/fibo')
-rw-r--r--test/e2e/fibo/bootstrap.atk162
-rw-r--r--test/e2e/fibo/test_fibo.py2
2 files changed, 2 insertions, 2 deletions
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)