> Si, What are you doing! replace that last bit thus:- > > read.byte: > ld c,data > ld b,0 > inir ; reads 256 bytes > inir ; reads next 256 bytes > echk ; a macro to check for an unrecovered read error > ret > > Once it has been determined that data is ready to be read, then at least one > sector is in the buffer waiting! I'm sure I've told you this before! There's > no need to check bit 3 on every word read this aint a dumb controller chipset > ala bobs HD;-) > > Somthing like you're check before each read will be fine for getting drive ID > data and when reading other variable length data fields during diadnostics ie > sector + ECC data etc. but NOT for single or multiple sector-sized reads or > writes:-)
Okay okay.... I'd realised that last night -- I missread the standards sheet :( But.... it still doesn't seem to make a difference, and I'm still having problems as regards missing bytes... I *think* the signal is bouncing a lot.. Distance to drive, I reckon. Have to checkk :( > Hey Si don't I get a prototype board? or at least a pcb layout so I can build > my own to begin development of my cp/m+ bios with it? Yep, you will -- when Martin's finished... at the moment, we're only reading half sectors... > If the prototype inteface is functional then maybe it'd be a good idea to let > serious programers buy them at cost so we can get into talking to the HD an > produce some standard utils that'll just need port changes to work with the > real thing when that is complete:-) Yep! > Otherwise you'll be the only one fluent at talking low-level IDE I/O and ALL > the utility software will be down to you to develop before you can get the > multiROM in a sale-able condition! *grinS* Oh, and btw: here's a q: what do you think of the partition data, and where should the boot sector of the active partition be loaded and called from? I was thinking of at &4000, namely because it'd mean the DOS could be loaded into external memory ;) > Regards > Johnathan. > > PS re hacking the HD into Masterdos.... > Why not hack the RamDrive routines instead and get upto 5 x 780k native > partitions on it? Not enough space... the DOS takes up *just* 16k... I've had to hack out a lot of routines to get it working in there, and I *still* get dodgy sector reads :( > PPS If I was BOB I'd page the DISC2 address space between the FDC and the IDE > card using spare bits in the internal sam-elite printer strobe port and have > an IDE port on the oposite end to the parallel socket! Welll.... he wants to use LPT2 ... stupid bugger :( Si Cooke

