From 9f8a3c8b09b463c29b0ce32e87429f0b87f68b1c Mon Sep 17 00:00:00 2001 From: ian Date: Wed, 7 Dec 2005 01:27:55 +0000 Subject: [PATCH] fix merged sba/lba settings --- cebpic/merge-hex | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cebpic/merge-hex b/cebpic/merge-hex index 6a17761..df6598d 100755 --- a/cebpic/merge-hex +++ b/cebpic/merge-hex @@ -36,8 +36,8 @@ while (<>) { if (s/^000001//) { # End of File, p11 $eof= $orgline; - if ($lba) { $orgline= ":020000040000f8"; $lba=0; } - elsif ($sba) { $orgline= ":020000020000fc"; $sba=0; } + if ($lba) { $orgline= ":020000040000FA\n"; $lba=0; } + elsif ($sba) { $orgline= ":020000020000FC\n"; $sba=0; } else { next; } } elsif (s/^000004(....)$//) { $lba= hex($1)<<16; } # Ext'd Linear Addr, p6 elsif (s/^000002(....)$//) { $sba= hex($1)<<4; } # Ext'd Seg. Addr., p7 -- 2.30.2