In message <02DC89C1-1B16-4CDF-A631-05D8CE9B72EA@xxxxxxx> Peter van der Vos <peterthuis@xxxxxxx> wrote: > Op 6-feb-2008, om 18:36 heeft Matthew Thompson het volgende geschreven: >> In message <5DC4AC75-1B7B-42B4-9A36-98C2FF34AE91@xxxxxxx> >> Peter van der Vos <peterthuis@xxxxxxx> wrote: >> > [..] >>> Can you dump the first sector? >> >> How do I do that? > I was afraid you would ask that..... Dave can answer that question > much better. Maybe he can add a 'display sector' so other people can > help to get things working. > I downloaded !ROFS and looked at the source. It is very readable and > all the debug functions are in there. If you dare to change source > code yourself: in the file ROFS (or ROFS2007) in the directory Libs > (inside !ROFS) you can find the procedure: > DEF PROCROFS_read_drive(d%) > REM Try to read a drive. > ... > some lines down you will find: > PROCDisplayField_SetValue(0, Object_Stats%, 7, "") > PROCDisplayField_SetValue(0, Object_Stats%, 8, "") > PROCDisplayField_SetValue(0, Object_Stats%, 9, "") > ENDPROC > ENDIF > REM PROClist_sector(buff%) > ^^^ remove this REM and maybe the program displays the first sector. > Send it here (or to me) and maybe we can work it out. In reply to be posting about nothing being different, I deleted !ROFS,installed a new copy and re-ran it without the patch added to it and got a different set of numbers, maybe these provide something useful - Volume label her choice bytes per sector 8292 sectors per cluster 114 bytes per cluster 945288 reserved sectors 29797 Number of FATs 117 Sectors per FAT 21842 Sectors in root dir 109 Base of root dir 1004411681 FAT type and retu cheers Matthew -- Message sent from an IYONIX www.iyonix.com Using RISC OS 5 : RISC OS Open Ltd www.riscosopen.co.uk --- To alter your preferences or leave the group, visit //www.freelists.org/list/iyonix-support Other info via //www.freelists.org/webpage/iyonix-support