Skip to content

Commit af1c0ae

Browse files
committed
Update tests
This reflects new output generated by this new scheme
1 parent 2650653 commit af1c0ae

129 files changed

Lines changed: 23865 additions & 8915 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

tests/functional/05.asm

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,12 @@ __END_PROGRAM:
2626
ret
2727
__CALL_BACK__:
2828
DEFW 0
29-
3029
ZXBASIC_USER_DATA:
3130
_a:
32-
DEFW 0000h
33-
DEFB 01h
31+
DEFW __LABEL0
32+
_a.__DATA__.__PTR__:
33+
DEFW _a.__DATA__
34+
_a.__DATA__:
3435
DEFB 00h
3536
DEFB 00h
3637
DEFB 00h
@@ -42,6 +43,9 @@ _a:
4243
DEFB 00h
4344
DEFB 00h
4445
DEFB 00h
46+
__LABEL0:
47+
DEFW 0000h
48+
DEFB 01h
4549
; Defines DATA END --> HEAP size is 0
4650
ZXBASIC_USER_DATA_END EQU ZXBASIC_MEM_HEAP
4751
; Defines USER DATA Length in bytes

tests/functional/06.asm

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,17 +26,21 @@ __END_PROGRAM:
2626
ret
2727
__CALL_BACK__:
2828
DEFW 0
29-
3029
ZXBASIC_USER_DATA:
3130
_a:
32-
DEFW 0000h
33-
DEFB 02h
31+
DEFW __LABEL0
32+
_a.__DATA__.__PTR__:
33+
DEFW _a.__DATA__
34+
_a.__DATA__:
3435
DEFB 00h
3536
DEFB 00h
3637
DEFB 00h
3738
DEFB 00h
3839
DEFB 00h
3940
DEFB 00h
41+
__LABEL0:
42+
DEFW 0000h
43+
DEFB 02h
4044
; Defines DATA END --> HEAP size is 0
4145
ZXBASIC_USER_DATA_END EQU ZXBASIC_MEM_HEAP
4246
; Defines USER DATA Length in bytes

tests/functional/07.asm

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,12 @@ __END_PROGRAM:
2626
ret
2727
__CALL_BACK__:
2828
DEFW 0
29-
3029
ZXBASIC_USER_DATA:
3130
_a:
32-
DEFW 0001h
33-
DEFW 0004h
34-
DEFB 02h
31+
DEFW __LABEL0
32+
_a.__DATA__.__PTR__:
33+
DEFW _a.__DATA__
34+
_a.__DATA__:
3535
DEFB 00h
3636
DEFB 00h
3737
DEFB 00h
@@ -56,6 +56,10 @@ _a:
5656
DEFB 00h
5757
DEFB 00h
5858
DEFB 00h
59+
__LABEL0:
60+
DEFW 0001h
61+
DEFW 0004h
62+
DEFB 02h
5963
; Defines DATA END --> HEAP size is 0
6064
ZXBASIC_USER_DATA_END EQU ZXBASIC_MEM_HEAP
6165
; Defines USER DATA Length in bytes

tests/functional/09.asm

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,12 @@ __END_PROGRAM:
2626
ret
2727
__CALL_BACK__:
2828
DEFW 0
29-
3029
ZXBASIC_USER_DATA:
3130
_a:
32-
DEFW 0000h
33-
DEFB 05h
31+
DEFW __LABEL0
32+
_a.__DATA__.__PTR__:
33+
DEFW _a.__DATA__
34+
_a.__DATA__:
3435
DEFB 82h
3536
DEFB 00h
3637
DEFB 00h
@@ -41,6 +42,9 @@ _a:
4142
DEFB 00h
4243
DEFB 00h
4344
DEFB 00h
45+
__LABEL0:
46+
DEFW 0000h
47+
DEFB 05h
4448
; Defines DATA END --> HEAP size is 0
4549
ZXBASIC_USER_DATA_END EQU ZXBASIC_MEM_HEAP
4650
; Defines USER DATA Length in bytes

tests/functional/10.asm

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,17 @@ __END_PROGRAM:
2626
ret
2727
__CALL_BACK__:
2828
DEFW 0
29-
3029
ZXBASIC_USER_DATA:
3130
_a:
32-
DEFW 0000h
33-
DEFB 01h
31+
DEFW __LABEL0
32+
_a.__DATA__.__PTR__:
33+
DEFW _a.__DATA__
34+
_a.__DATA__:
3435
DEFB 02h
3536
DEFB 03h
37+
__LABEL0:
38+
DEFW 0000h
39+
DEFB 01h
3640
; Defines DATA END --> HEAP size is 0
3741
ZXBASIC_USER_DATA_END EQU ZXBASIC_MEM_HEAP
3842
; Defines USER DATA Length in bytes

tests/functional/11.asm

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,12 @@ __END_PROGRAM:
2626
ret
2727
__CALL_BACK__:
2828
DEFW 0
29-
3029
ZXBASIC_USER_DATA:
3130
_a:
32-
DEFW 0001h
33-
DEFW 0003h
34-
DEFB 05h
31+
DEFW __LABEL0
32+
_a.__DATA__.__PTR__:
33+
DEFW _a.__DATA__
34+
_a.__DATA__:
3535
DEFB 82h
3636
DEFB 40h
3737
DEFB 00h
@@ -62,6 +62,10 @@ _a:
6262
DEFB 00h
6363
DEFB 00h
6464
DEFB 00h
65+
__LABEL0:
66+
DEFW 0001h
67+
DEFW 0003h
68+
DEFB 05h
6569
; Defines DATA END --> HEAP size is 0
6670
ZXBASIC_USER_DATA_END EQU ZXBASIC_MEM_HEAP
6771
; Defines USER DATA Length in bytes

0 commit comments

Comments
 (0)