From 5bd921f59b9b95eb5ab2cc7a739c3d3149e4ccfc Mon Sep 17 00:00:00 2001 From: ian Date: Sun, 6 Feb 2005 23:40:33 +0000 Subject: [PATCH] update to conform to README.protocol r1.7 --- cebpic/make-idlocs | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/cebpic/make-idlocs b/cebpic/make-idlocs index a1447c5..fba3a35 100755 --- a/cebpic/make-idlocs +++ b/cebpic/make-idlocs @@ -5,8 +5,12 @@ $_=shift @ARGV; m/^\d+$/ or die; $_<32 or die; -push @a, $_ ? '0x00' : '0x80'; -push @a, sprintf "0x%02x", $_; +# @a is the ID locations, one byte per array entry, +# with $a[0] being the first ID location (ie 0x200000). +# Values must be in hex (or otherwise suitable for the assembler). + +$a[0]= sprintf "0x%02x", $_; +$a[1]= $_ ? '0x00' : '0x80'; printf "; automatically generated - do not edit\n" or die $!; for ($i= 0x200000; -- 2.30.2