Re: Help needed

From: Ruud Baltissen (Ruud.Baltissen_at_abp.nl)
Date: 2001-09-03 11:42:26

Hallo Martijn,

> (In that case, you may want to use LBA adressing
> instead - most disks > 500MB probably support that. No conversion
> required).

I first have to find out what LBA exactly is. If LBA deals with 256 sectors
and 256 heads, then LBA is equivalent to lineair coding which simplifies
things a lot.
Unfortunately most disks I have laying around are < 500 MB :( So I cannot
use LBA anyway (for the moment).

> block(t,h,s)= (t * HDHEADS + h ) * HDSECT + s

That is correct. But now I need someone willing to translate this equation
in ML. The only way _I_ know how to do multiplications is by doing a loop of
addititions. And I know that this certainly not the fastest way. So therefor
my plea for help.
Same for the division-stuff.

The most important thing for me is the TTHS/Lineair conversion. Once I know
how this is done, I could do the Lineair/BAM conversion myself.
   ___
  / __|__
 / /  |_/     Groetjes, Ruud
 \ \__|_\
  \___|       http://Ruud.C64.org




       Message was sent through the cbm-hackers mailing list

Archive generated by hypermail 2.1.1.