home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 4862 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.6 KB

  1. Path: news.central.ntua.gr!not-for-mail
  2. From: hnick@central.ntua.gr (Nick C. Fotis)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Help for XPK needed
  5. Date: 5 Mar 1996 23:15:00 GMT
  6. Organization: National Technical University of Athens, Greece
  7. Message-ID: <4hihtl$s3n@zeus.central.ntua.gr>
  8. NNTP-Posting-Host: gate2-zeus.central.ntua.gr
  9. Keywords: xpk
  10. X-Newsreader: NN version 6.5.0 #1 (NOV)
  11.  
  12. Hiya.
  13. I have a program that creates a file, chunk by chunk. (ie. In start the filesize
  14. is 0, and then 5k gets added each time, till it reaches 900k)
  15. I would really want this file to be XPK compressed.  Now, I think I can done it
  16. as a whole (compressing the complete 900k file) but since this file gets
  17. created piece by piece, I think it would be better if there is a way that
  18. passes to the XPK packing each chunk as the chunk is ready.  
  19. Note that I *don't* want to compress each 5k chunk seperately, I want to 
  20. compress it as one thing, but feed the XPK packing with 5k chunks.
  21. Now, since I haven't done any XPK programming here is where you come in and
  22. share your experience. ;-)
  23. Code, or pseudo-code would very much be apreciated.
  24. Thanks,
  25. Alex
  26.  
  27. PS: basically, I am toying making something like DMS, but with XPK.  That 900k
  28.     being the image of a disk and 5k is the track size.
  29.  
  30. --
  31.  
  32. +----------------------------------------------------------------------------+
  33. | Alkinoos Alexandros Argiropoulos                  A1200, '030@40, 6MB Fast |
  34. | Athens, Greece                       "AAA is not a chipset...It's my name" |
  35. +----------------------------------------------------------------------------+
  36.