| 1 |
; |
| 2 |
; Test various directives that "fill" memory. |
| 3 |
; |
| 4 |
; This came about because Dennis Debro posted about .align not |
| 5 |
; doing the right thing to the Stella list. Thomas Mathys was |
| 6 |
; able to trace this to v_align, which uses the first value |
| 7 |
; instead of the second as the actual fill byte. Fixed as of |
| 8 |
; release 2.20.12 I hope. :-) |
| 9 |
; |
| 10 |
; Peter H. Froehlich |
| 11 |
; phf at acm dot org |
| 12 |
|
| 13 |
.processor 6502 |
| 14 |
.org 0 |
| 15 |
|
| 16 |
; .ds fills with $a5 as required, works |
| 17 |
.ds 33, $a5 ; always filled $a5 |
| 18 |
; .align fills with *align* value prior to 2.20.12 |
| 19 |
.align 64, $f5 ; filled $40 <2.20.11, fills $f5 now |
| 20 |
.align 256, $5f ; filled $0 <2.20.11, fills $5f now |
| 21 |
|
| 22 |
.end |