[Freedos-devel] FreeDOS MODE: UPXing CPIs?

2004-04-27 Thread Eric Auer
Hi, I found that a very small way to decompress CPI files would be using UPX to compress them and then patch the decompression process. Here is a sketch. I think this should work with both open source and NRV versions of UPX. Copy file to 60k sized buffer at X:0x100 If no UPX signature found,

Re: [Freedos-devel] FreeDOS MODE: UPXing CPIs?

2004-04-27 Thread Bernd Blaauw
Eric Auer schreef: Hi, I found that a very small way to decompress CPI files would be using UPX to compress them and then patch the decompression process. Here is a sketch. I think this should work with both open source and NRV versions of UPX. Same thing as making an EXE non-decompressable by

Re: [Freedos-devel] FreeDOS MODE: UPXing CPIs?

2004-04-27 Thread Bart Oldeman
On Tue, 27 Apr 2004, Bernd Blaauw wrote: Eric Auer schreef: Hi, I found that a very small way to decompress CPI files would be using UPX to compress them and then patch the decompression process. Here is a sketch. I think this should work with both open source and NRV versions of UPX.