[Gllug] endian.h

rich at annexia.org rich at annexia.org
Mon Feb 10 11:51:13 UTC 2003


On Wed, Jun 20, 2001 at 11:31:47PM +0100, Andrew Halliwell wrote:
> > On Fri, 7 Feb 2003, rich at annexia.org uttered the following:
> > > One man's dubious extension is another man's useful feature I s'pose.
> > 
> > In many cases, but strfry() and memfrob() are perhaps not the most
> > useful of extensions.
> 
> What the hell does stirfry do?

strfry -- see the man page!

> I found a man page for memfrob and it does appear to be a bit of a waste of
> space. A routine like that would be better off in a non-essensial lib, or
> written by the programmer if he feels the need.
> (Which I can't see many people doing)

<obhack>
The functions are jokes of course, but actually I have come across
a case where 'memfrob' could be used. Back in the day I used to have
a CPC-464 game called F-16 Combat Pilot by a company called Digital
Integration. It came on tape, so when I got a disk drive I had to
crack the game to copy it onto a disk (a 3" disk, naturally). The
game code puzzled me for all of about 10 minutes - it didn't seem to
be Z80 assembler at all. That was until I noticed strings of bytes
42, 42, 42, ... The game was actually 'encrypted' on tape by XORing
the whole thing with the number 42. Duh!
</obhack>

Rich.

-- 
Richard Jones, Red Hat Inc. (London, UK) http://www.redhat.com/software/ccm
http://www.annexia.org/ Freshmeat projects: http://freshmeat.net/users/rwmj
MONOLITH is an advanced framework for writing web applications in C, easier
than using Perl & Java, much faster and smaller, reusable widget-based arch,
database-backed, discussion, chat, calendaring:
http://www.annexia.org/freeware/monolith/

-- 
Gllug mailing list  -  Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug




More information about the GLLUG mailing list