mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 10:12:06 +00:00
Allow ds to take multiple values to repeat for a count (#725)
Fixes #722
This commit is contained in:
@@ -1,14 +1,14 @@
|
||||
SECTION "test fixed", ROM0[0]
|
||||
|
||||
FixedStart:
|
||||
ds 8, (@ - FixedStart) * 2 + zero
|
||||
ds 8, (@ - FixedStart) * 2 + zero
|
||||
ds 6, (@ - FixedStart) * 2 + zero
|
||||
ds 10, (@ - FixedStart) + zero, (@ - FixedStart) * 3 + zero, (@ - FixedStart) * 4 + zero
|
||||
|
||||
SECTION "test floating", ROM0
|
||||
|
||||
FloatingStart:
|
||||
ds 8, (@ - FloatingStart) * 2 + zero
|
||||
ds 8, (@ - FloatingStart) * 2 + zero
|
||||
ds 6, (@ - FloatingStart) * 2 + zero
|
||||
ds 10, (@ - FloatingStart) + zero, (@ - FloatingStart) * 3 + zero, (@ - FloatingStart) * 4 + zero
|
||||
|
||||
SECTION "zero", ROM0[0]
|
||||
zero:
|
||||
|
||||
Binary file not shown.
@@ -6,3 +6,4 @@ Label:
|
||||
ds 5, .other - Label - 5 ; Expressions should work...
|
||||
ds 60, .last - Label ; ...even if not constant
|
||||
.last
|
||||
ds 11, $67, $89
|
||||
|
||||
@@ -1 +1 @@
|
||||
****<2A><><EFBFBD><EFBFBD><EFBFBD>EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE
|
||||
****<2A><><EFBFBD><EFBFBD><EFBFBD>EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEg<EFBFBD>g<EFBFBD>g<EFBFBD>g<EFBFBD>g<EFBFBD>g
|
||||
Reference in New Issue
Block a user