On Tuesday 02 April 2002 18:24, you wrote: > > Where can I find source code for pmext / pmarc? > > You can't. :( > But Maarten ter Huurne made a nice extension for LHA that allows it to > extract PMA files. Check his webpage: www.stack.nl/~mth
http://www.stack.nl/~mth/msx/crossdev/ It contains C source code. I also have Java code, if you prefer that, mail me. I based the decompression routines on UnPMA by Alwin Henseler, which is written in Z80 assembly: http://huizen.dds.nl/~alwinh/msx/software/index.htm >From the README.PMA of the PMA-enhanced LHA: === PMA files are generated by PMARC, a CP/M archiver by Yoshihiko Mino that was popular among MSX users. While the archive structure of PMA files was understood by LHA, the compression method ("-pm2-") wasn't. I took the (MSX assembly) sources of Alwin Henseler's UnPMA program, translated them to C and integrated them with the LHA sources. The result is an LHA program that can extract everything the original LHA could, and PMA files as well. The new source is in the "pm2*" files, take a look if you're interested. These sources were tested with success on Linux, FreeBSD, Solaris and HP-UX. Hopefully they will work on other systems as well. I fixed some warnings by adding #include statements. If your system complains about a missing include file, try removing the corresponding #include statement. === Bye, Maarten -- For info, see http://www.stack.nl/~wynke/MSX/listinfo.html
