Small PCX Viewer (Users)
> I'll give you an example: Years ago I came across an excellent 128 byte
> program for displaying a 320x200 PCX file (this was after I'd coded a
> slightly larger program in TP to do the same). So I already knew when I
> saw this little program that the header for a PCX file was 128 bytes, the
> same length as this program (obviously done on purpose). Like most people
> I suspect who knew this I also immediately realized that the code could be
> easily combined with a 320x200 PCX file to make a self displaying graphics
> file. However when I stepped back I also realized that since the program
> included file handling code that if there was no separate file that the
> file handling code wasn't needed thus a combined file could be smaller.
> That is to say if there was no file then no file handling was required.
> I'm sure the author of the 128 byte program realized this hence 128 bytes
> in size to make that point even though from memory he never actually stated
> it in his source.
Digressing, but I found a PCX viewer that's only 56 bytes! The author also has a PCX-to-EXE utility. Actually quite relevant to this example, anyway.
http://agrgic.tripod.com/dl/
Complete thread:
- Question: best performance of hard disk reading - Pablo, 17.07.2010, 20:36 (Users)
- Question: best performance of hard disk reading - Laaca, 17.07.2010, 22:39
- Question: best performance of hard disk reading - Rugxulo, 18.07.2010, 02:01
- Question: best performance of hard disk reading - Arjay, 18.07.2010, 09:59
- Question: best performance of hard disk reading - Pablo, 19.07.2010, 09:24
- Question: best performance of hard disk reading - Rugxulo, 19.07.2010, 12:59
- Question: best performance of hard disk reading - Arjay, 19.07.2010, 16:24
- Small PCX Viewer - Paul, 19.07.2010, 20:03
- Small PCX Viewer / Arminio Grgic's website - Arjay, 20.07.2010, 11:32
- Question: best performance of hard disk reading - RayeR, 22.07.2010, 00:14
- Question: best performance of hard disk reading - marcov, 22.07.2010, 05:55
- Question: best performance of hard disk reading - Arjay, 22.07.2010, 08:19
- Small PCX Viewer - Paul, 19.07.2010, 20:03
- Question: best performance of hard disk reading - Arjay, 19.07.2010, 16:24
- Question: best performance of hard disk reading - Rugxulo, 19.07.2010, 12:59
- Question: best performance of hard disk reading - Pablo, 19.07.2010, 09:24
- Question: best performance of hard disk reading - Arjay, 18.07.2010, 09:59
- Question: best performance of hard disk reading - Rugxulo, 18.07.2010, 02:01
- Question: best performance of hard disk reading - DOS386, 23.07.2010, 07:05
- Question: best performance of hard disk reading - Laaca, 17.07.2010, 22:39