PDA

View Full Version : How to calculate free space size?


vbexpert
25th August 2003, 12:58 PM
Hi,

In order to put my commerical programs to the rom. I run the following command to calculate free space size on 4.00.11 and 4.00.16.

perl splitrom.pl rom.nb1 -ob 0x81ec0000 | perl calcgaps.pl 0x3ffff

I got the following result. Can someone tell me how to convert the result into actual byte size. Thanks a lot.

ROM 4.00.11:
start0=81040000
size0=0010000
start1=81740000
size1=00040000
start2=81b00000
size2=003c0000

ROM 4.00.16:
start0=81040000
size0=0010000
start1=81740000
size1=00040000
start2=81cc0000
size2=00200000