<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE>RealCount</TITLE>
<LINK REV="owns" TITLE="Sergio Monesi" HREF="mailto:sergio@monesi.com">
<LINK REL="made" TITLE="Sergio Monesi" HREF="mailto:sergio@monesi.com">
</HEAD>
<BODY BACKGROUND="graphics/back1.jpg" BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#B23333" VLINK="#FF1010" ALINK="#FF0000">
<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0 WIDTH="100%">
<TR ALIGN=LEFT>
<TD WIDTH=197 VALIGN=BOTTOM>
<A HREF="index.html"><IMG ALIGN=TOP BORDER=0 SRC="mosaicgraphic/TopLeft1.jpg" ALT="Sergio's Nexus" WIDTH="197" HEIGHT="148"></A>
</TD>
<TD WIDTH=41>
<IMG ALIGN=TOP SRC="mosaicgraphic/TopCent1.jpg" ALT="" WIDTH="41" HEIGHT="148">
</TD>
<TD ALIGN=LEFT>
<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0 WIDTH="100%">
<TR><TD COLSPAN=2 HEIGHT=15><IMG BORDER=0 SRC="graphics/pixel.gif" ALT="" WIDTH="1" HEIGHT="1"></TD></TR>
<TR><TD COLSPAN=2 HEIGHT=3 BGCOLOR="#E1E1DF"><IMG BORDER=0 SRC="graphics/pixel.gif" ALT="" WIDTH="1" HEIGHT="1"></TD></TR>
<TR><TD COLSPAN=2 HEIGHT=3 BGCOLOR="#EEEEE3"><IMG BORDER=0 SRC="graphics/pixel.gif" ALT="" WIDTH="1" HEIGHT="1"></TD></TR>
<TR><TD HEIGHT=103 BGCOLOR="#F4F4E1" VALIGN=TOP ALIGN=CENTER>
<TABLE BGCOLOR="#E0E0C0" CELLPADDING=2 CELLSPACING=1 BORDER=0>
<TR><TD>
<TABLE CELLPADDING=0 CELLSPACING=0 BORDER=0>
<TR> <TD NOWRAP COLSPAN=4 BGCOLOR="#B4B4A1"><FONT SIZE="-2"><B>REALCOUNT</B>:</FONT></TD>
</TR>
<TR><TD COLSPAN=4 HEIGHT=2></TD></TR>
<TR> <TD ALIGN=LEFT HEIGHT=20><A HREF="#download"><IMG BORDER=0 SRC="newnavbar/small_link.gif" ALT="" WIDTH="18" HEIGHT="18"></A></TD><TD NOWRAP ALIGN=LEFT VALIGN=MIDDLE HEIGHT=20 WIDTH=80><FONT SIZE="-2"><A HREF="#download">&nbsp;Download</A></FONT>
<FONT SIZE="-2"></FONT></TD>
<TD COLSPAN=2>&nbsp;</TD>
</TR>
<TR> <TD ALIGN=LEFT HEIGHT=20><A HREF="mapexpl.html"><IMG BORDER=0 SRC="newnavbar/small_fff.gif" ALT="" WIDTH="18" HEIGHT="18"></A></TD><TD NOWRAP ALIGN=LEFT VALIGN=MIDDLE HEIGHT=20 WIDTH=178 COLSPAN=3><FONT SIZE="-2"><A HREF="mapexpl.html">&nbsp;E-Format Expl.</A></FONT>
<FONT SIZE="-2"></FONT></TD>
</TR>
</TABLE>
</TD></TR>
</TABLE>
</TD>
<TD HEIGHT=103 BGCOLOR="#F4F4E1" VALIGN=TOP ALIGN=CENTER>
<TABLE BGCOLOR="#E0E0C0" CELLPADDING=2 CELLSPACING=1 BORDER=0>
<TR><TD>
<TABLE CELLPADDING=0 CELLSPACING=0 BORDER=0>
<TR> <TD NOWRAP COLSPAN=4 BGCOLOR="#B4B4A1"><FONT SIZE="-2"><B>SOFTWARE</B>:</FONT></TD>
</TR>
<TR><TD COLSPAN=4 HEIGHT=2></TD></TR>
<TR> <TD ALIGN=LEFT HEIGHT=20><A HREF="fsck.html"><IMG BORDER=0 SRC="newnavbar/small_ff8.gif" ALT="" WIDTH="18" HEIGHT="18"></A></TD><TD NOWRAP ALIGN=LEFT VALIGN=MIDDLE HEIGHT=20 WIDTH=80><FONT SIZE="-2"><A HREF="fsck.html">&nbsp;FSCK</A></FONT>
<FONT SIZE="-2"></FONT></TD>
<TD ALIGN=LEFT HEIGHT=20><A HREF="pppdriver.html"><IMG BORDER=0 SRC="newnavbar/small_ffa.gif" ALT="" WIDTH="18" HEIGHT="18"></A></TD><TD NOWRAP ALIGN=LEFT VALIGN=MIDDLE HEIGHT=20 WIDTH=80><FONT SIZE="-2"><A HREF="pppdriver.html">&nbsp;PPPdriver</A></FONT>
<FONT SIZE="-2"></FONT></TD>
</TR>
<TR> <TD ALIGN=LEFT HEIGHT=20><A HREF="fcfs.html"><IMG BORDER=0 SRC="newnavbar/small_fcd.gif" ALT="" WIDTH="18" HEIGHT="18"></A></TD><TD NOWRAP ALIGN=LEFT VALIGN=MIDDLE HEIGHT=20 WIDTH=80><FONT SIZE="-2"><A HREF="fcfs.html">&nbsp;FCFS</A></FONT>
<FONT SIZE="-2"></FONT></TD>
<TD ALIGN=LEFT HEIGHT=20><A HREF="zip.html"><IMG BORDER=0 SRC="newnavbar/small_ff8.gif" ALT="" WIDTH="18" HEIGHT="18"></A></TD><TD NOWRAP ALIGN=LEFT VALIGN=MIDDLE HEIGHT=20 WIDTH=80><FONT SIZE="-2"><A HREF="zip.html">&nbsp;Info-ZIP</A></FONT>
<FONT SIZE="-2"></FONT></TD>
</TR>
<TR> <TD ALIGN=LEFT HEIGHT=20><IMG BORDER=0 SRC="newnavbar/realcount.gif" ALT="" WIDTH="20" HEIGHT="18"></TD><TD NOWRAP ALIGN=LEFT VALIGN=MIDDLE HEIGHT=20 WIDTH=80><FONT SIZE="-2"><B>&nbsp;RealCount</B></FONT>
<FONT SIZE="-2"></FONT></TD>
<TD ALIGN=LEFT HEIGHT=20><A HREF="hsc.html"><IMG BORDER=0 SRC="newnavbar/small_ff8.gif" ALT="" WIDTH="18" HEIGHT="18"></A></TD><TD NOWRAP ALIGN=LEFT VALIGN=MIDDLE HEIGHT=20 WIDTH=80><FONT SIZE="-2"><A HREF="hsc.html">&nbsp;HSC</A></FONT>
<FONT SIZE="-2"></FONT></TD>
</TR>
<TR> <TD ALIGN=LEFT HEIGHT=20><A HREF="nuke.html"><IMG BORDER=0 SRC="newnavbar/small_ff8.gif" ALT="" WIDTH="18" HEIGHT="18"></A></TD><TD NOWRAP ALIGN=LEFT VALIGN=MIDDLE HEIGHT=20 WIDTH=80><FONT SIZE="-2"><A HREF="nuke.html">&nbsp;NUKE</A></FONT>
<FONT SIZE="-2"></FONT></TD>
<TD COLSPAN=2>&nbsp;</TD>
</TR>
</TABLE>
</TD></TR>
</TABLE>
</TD></TR>
<TR><TD COLSPAN=2 HEIGHT=3 BGCOLOR="#EEEEE3"><IMG BORDER=0 SRC="graphics/pixel.gif" ALT="" WIDTH="1" HEIGHT="1"></TD></TR>
<TR><TD COLSPAN=2 HEIGHT=3 BGCOLOR="#E1E1DF"><IMG BORDER=0 SRC="graphics/pixel.gif" ALT="" WIDTH="1" HEIGHT="1"></TD></TR>
<TR><TD COLSPAN=2 HEIGHT=18><IMG SRC="graphics/pixel.gif" WIDTH=300 HEIGHT="1"></TD></TR>
</TABLE>
</TD>
<TD ALIGN=LEFT WIDTH="100%">
<IMG ALIGN=TOP BORDER=0 SRC="mosaicgraphic/TopRight1.jpg" ALT="" WIDTH="114" HEIGHT="148">
</TD>
</TR>
<TR>
<TD WIDTH=197 VALIGN=TOP>
<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0>
<TR><TD><A HREF="computing.html"><IMG SRC="mosaicgraphic/LeftComputing.jpg" ALT="Computing" BORDER=0 WIDTH="197" HEIGHT="37"></A></TD></TR>
<TR><TD><A HREF="projects.html"><IMG SRC="mosaicgraphic/LeftSoftware.jpg" ALT="Software" BORDER=0 WIDTH="197" HEIGHT="28"></A></TD></TR>
<TR><TD><A HREF="movies/index.html"><IMG SRC="mosaicgraphic/LeftMovies.jpg" ALT="Movies" BORDER=0 WIDTH="197" HEIGHT="29"></A></TD></TR>
<TR><TD><A HREF="me.html"><IMG SRC="mosaicgraphic/LeftMyself.jpg" ALT="Myself" BORDER=0 WIDTH="197" HEIGHT="30"></A></TD></TR>
<TR><TD><A HREF="links1.html"><IMG SRC="mosaicgraphic/LeftLinks.jpg" ALT="Links" BORDER=0 WIDTH="197" HEIGHT="28"></A></TD></TR>
<TR><TD><IMG SRC="mosaicgraphic/LeftBot1.jpg" ALT="" WIDTH="197" HEIGHT="54"></TD></TR>
</TABLE>
</TD>
<TD VALIGN=BOTTOM COLSPAN=3>
<CENTER>
<IMG SRC="mosaicgraphic/realcount1.jpg" ALT="RealCount: Improved Desktop Count" WIDTH="447" HEIGHT="162">
<BR><H3>New RealCount 1.05 available now!</H3>
</CENTER>
</TD>
</TR>
</TABLE>
RealCount provides a desktop Count facility similar to the Filer but, unlike
Filer, shows the real disc space that the counted directory uses together
with a number of other useful statistics.<BR>
RealCount can be used as a stand-alone application alongside the standard
RISC OS Count or also as a complete Count replacement.
<P>
In fact, on <A HREF="mapexpl.html">E-Format discs</A> (ie floppies, hard discs and RAM disc but not
archives, for example) a directory uses a fixed space (2048K) but because of
the organisation of the disc map it usually eats up some extra space that can
be used by small files stored in it.
<P>
Moreover, because of the sectors boundaries and disc map constraints, some
extra disc space is wasted at the end of the various files (eg on a disc with
512 bytes sectors, a 513 bytes file uses 1024 bytes of disc space).
<P>
This is how a RealCount window looks like:
<P>
<IMG SRC="screens/rcwin_2.gif" WIDTH="375" HEIGHT="250">
<P>
As you can see, it shows the following statistics:
<DL>
<DT> Files
<DD> This shows the number of files and their total length, as shown by the standard Count
<DT> Directories
<DD> This shows the number of directories and the space they uses (ie number of directories multiplied by 2048)
<DT> Wasted sectors
<DD> This is the disc space wasted because of unused shared map chunks. For a detailed description
of the reasons of this space you can read the <A HREF="mapexpl.html">E-Format Map explanation</A> document:
in short, this space is caused by the organisation of the disc map and can be filled only by small files.
<DT> Sectors rounding
<DD> This is the space wasted because of sectors boundaries and disc map constraints. This space cannot be recovered.
<DT> Total
<DD> This is the sum of the values above and is the total space used by the counted directory.
</DL>
<P>
As you can see, the figure given by a standard RISC OS Count window (773807 bytes) is
only 70.9% of the total space used by this directory (mainly due to the high number of
wasted sectors).<BR>
In some cases where there are a lot of directories full of medium-sized files
the situation may be even worse. On my harddisc the sources of DeskLib uses
5Mb of disc space although only 36.6% of this space (ie 1.7Mb) is effectively
used by the 1408 files while the remaining space is used by the 414 directories
(16.9%, ie 828Kb) and by the incredibly high number of wasted sectors (39.9%, ie 1.9Mb)!
<P>
<H3><A NAME="riscos4">RISC OS 4</A></H3>
RealCount is <B>not</B> fully compatible with <A HREF="http://www.riscos.com/">RISC OS 4</A>. In particular, it doesn't properly handle
discs formatted by RISC OS 4 and will simply count them in a plain way (ie. without calculating
the actually used space). I have no plans, at the moment, to make RealCount (or any of my other
disc-related programs but <A HREF="nuke.html">nuke</A>) fully RISC OS 4 compatible.
<P>
<H3><A NAME="download">Downloading</A></H3>
You can download the latest version from this page:<BR>
<UL>
<LI> <A HREF="archives/rcount105.spk"><IMG SRC="icons/archive.gif" ALIGN=BOTTOM BORDER=0 WIDTH="34" HEIGHT="29">&nbsp;RealCount 1.05</A>
(Spark archive, 46 Kbytes)
</UL>
RealCount is also available at
<A HREF="ftp://micros.hensa.ac.uk/local/riscos/filemanager/realcount.arc">HENSA</A>,
although I can't guarantee that they have the very latest version.
<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0>
<TR ALIGN=TOP>
<TD ROWSPAN=3><IMG BORDER=0 SRC="mosaicgraphic/BotLeft1.jpg" ALT="" WIDTH="51" HEIGHT="104"></TD>
<TD HEIGHT=57><A HREF="mailto:sergio@monesi.com"><IMG BORDER=0 SRC="mosaicgraphic/BotMidTop1.jpg" ALT="&copy; Sergio Monesi" WIDTH="144" HEIGHT="57"></A></TD>
<TD ROWSPAN=3><IMG BORDER=0 SRC="mosaicgraphic/BotRight1.jpg" ALT="" WIDTH="87" HEIGHT="104"></TD></TR>
<TR>
<TD ALIGN=CENTER HEIGHT=20 BGCOLOR="#F4F4E1"><FONT FACE="Arial, Helvetica, Homerton" SIZE=-2><B>Updated: 10 Sep 1999</B></FONT></TD>
</TR>
<TR>
<TD><IMG BORDER=0 SRC="mosaicgraphic/BotMidBot1.jpg" ALT="" WIDTH="144" HEIGHT="27"></TD>
</TR>
</TABLE></BODY>
</HTML>
