OSDN Git Service
(root)
/
motonesfpga
/
motonesfpga.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7eab6fb
)
test senario updated.
author
astoria-d
<astoria-d@mail.goo.ne.jp>
Thu, 5 Sep 2013 06:44:04 +0000
(15:44 +0900)
committer
astoria-d
<astoria-d@mail.goo.ne.jp>
Thu, 5 Sep 2013 06:44:04 +0000
(15:44 +0900)
tools/test-image/sample1.asm
patch
|
blob
|
history
diff --git
a/tools/test-image/sample1.asm
b/tools/test-image/sample1.asm
index
b3d7129
..
e3b8780
100644
(file)
--- a/
tools/test-image/sample1.asm
+++ b/
tools/test-image/sample1.asm
@@
-30,6
+30,8
@@
\r
;;dma test data.
\r
ldy #$00
\r
+ ldx #$41
\r
+ stx $00
\r
ldx #$00
\r
dma_set:
\r
;;y pos
\r
@@
-37,7
+39,13
@@
dma_set:
sta $0200, y
\r
iny
\r
;;tile index
\r
- tya
\r
+ lda $00
\r
+ cmp #$5b
\r
+ bne inc_tile
\r
+ lda #$41
\r
+ sta $00
\r
+inc_tile:
\r
+ inc $00
\r
sta $0200, y
\r
iny
\r
;;attribute
\r
@@
-46,7
+54,7
@@
dma_set:
iny
\r
;;x pos
\r
txa
\r
- adc #$0
6
\r
+ adc #$0
3
\r
tax
\r
rol
\r
sta $0200, y
\r