I got an e-mail from diamond saying that MTAPPACK isn't really used to pack Kolibri executables nowadays since kernel got support for KPACK-packed executables. This means that my MTAPPACK port is of no use :)
So now I ported KPACK. Links are kpack-bin.tar.bz2 (14K) and kpack-src.tar.bz2 (42K). Take'n'use, hope you like it ;)
There's one problem. I'm not sure it will work as-is on x86 CPUs since I have x86_64 myself. If you may check that, please mail me on results.
Wednesday, July 25, 2007
Another fine port - KPACK
Posted by
mike.dld
at
9:47 PM
0
comments
Monday, July 23, 2007
MTAPPACK - asm/libc Linux port - done!
OK, here we go. It was already done the day before yesterday, but I had a problem running it resulting in segmentation fault. The problem was that I didn't add a simple line into mtappack.asm which looks like "add esp, 16" (damn "C" call convension) and thought that was LZMA library causing the error. I figured out later that I defined "__stdcall" as nothing, which I then replaced with "__attribute__((stdcall))".
I think this port cannot be compiled with MASM anymore since I added "if"/"end if" and escaped some lines with "\" in mtappack.asm and not sure if MASM supports them. But it compiles with FASM quite fine (why would anyone use MASM? maybe its COFF files are incompatible with Microsoft's linker used on Win32). You are welcome to help me there.
Ported binaries along with source code are available from my site, but I've also mailed it to diamond so it may be further available from his site. Get them as mtappack-bin.tar.bz2 (17K) and mtappack-src.tar.bz2 (177K) archives respectively. I've also included APlib library into source package (which is not in the original MTAPPACK archive). Everything is under GPL, and copyrights holder of MTAPPACK, including this Linux port, is diamond.
I feel like I have to work on standard libraries now a bit more because I know they have some bugs and just need to be better.
Posted by
mike.dld
at
4:07 AM
0
comments
Friday, July 20, 2007
MTAPPACK - asm/libc Linux port
I wasn't able to write anything within last month since I had no Internet connection at home but had much things to do at work. Now as everything is fine, I've also started to port MTAPPACK to my Gentoo box, to be able to execute it on kolibrios.org server and make it possible to release daily or weekly builds of Kolibri.
Work is partially done. Since I didn't want to hardly modify diamond's code, I decided to write wrappers to WinAPI functions, and I've succeded it this task quite enough. Let's see what I'll have tomorrow, maybe it'll work already.
Posted by
mike.dld
at
6:46 PM
0
comments