Page 1 of 1

nkpatcher HD allocation address convertions

Posted: Sat Mar 19, 2005 4:42 pm
by dvanbrunt
I was reading the forum topic: viewtopic.php?t=2630

I'm curious as to if anyone knows how to get the desired # for the maximum allocation address of F

Eg. He said he made his 120GB cut down to 0x0d59e6e0 (~110GB).
How do you get the convertion from 110 GB to the hex number 0x0d59e6e0

I want to know the process so I can convert my 80GB HD F to only be 60GB.

Anyone?

Dan

Posted: Wed Mar 23, 2005 2:28 pm
by nobspangle
there are 512bytes in a block, 1000000000 bytes in a harddrive Gigabyte.

110 x 1000000000 / 512

214843750

in hex

CCE4166

Easiest way to transfer between decimal and hex is with the windows calculator. If you want to do it by hand

Code: Select all

214843750 / 16 = 13427734 r6
13427734 / 16  = 839233   r6
839233 / 16    = 52452    r1
52452 / 16     = 3278     r4
3278 / 16      = 204      r14
204 / 16       = 12       r12
12 / 16        = 0        r12
substitute A for 10, B for 11, C for 12 etc. and read the remainders from bottom to top gives CCE4166

BIG help

Posted: Wed Mar 23, 2005 5:35 pm
by dvanbrunt
Thanks nobspangle,

I knew that this wasn't voodoo.
:D

Dan