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:
e4572a2
)
tool update
author
astoria-d
<astoria-d@mail.goo.ne.jp>
Mon, 23 Sep 2013 09:45:34 +0000
(18:45 +0900)
committer
astoria-d
<astoria-d@mail.goo.ne.jp>
Mon, 23 Sep 2013 09:45:34 +0000
(18:45 +0900)
tools/test-image/dd-img.sh
patch
|
blob
|
history
diff --git
a/tools/test-image/dd-img.sh
b/tools/test-image/dd-img.sh
index
5413687
..
be48cfc
100755
(executable)
--- a/
tools/test-image/dd-img.sh
+++ b/
tools/test-image/dd-img.sh
@@
-11,6
+11,13
@@
in_file=$in_name.nes
out_file1=$in_name-prg.bin
out_file2=$in_name-chr.bin
-dd if=$in_file of=$out_file1 bs=16 skip=1 count=2048
-dd if=$in_file of=$out_file2 bs=16 skip=2049
+echo in_file=$in_name.nes
+echo out_file1=$in_name-prg.bin
+echo out_file2=$in_name-chr.bin
+echo "processing...."
+
+dd if=$in_file of=$out_file1 bs=16 skip=1 count=2048 2> /dev/null
+dd if=$in_file of=$out_file2 bs=16 skip=2049 2> /dev/null
+
+echo "done."