2001-10-08 07:51:45

by Denis Vlasenko

[permalink] [raw]
Subject: Have problems with big kernel? Here is a loadlin replacement

Hi folks,

Some time ago I have been bitten by loadlin refusing
to load bzImages bigger than 1023623 bytes (well,
that's the size of biggest one which it can load for me).

Tried to fix it. Decided that fiddling with that much
asm is not productive. Wrote a replacement. See attached tar.
It works for me. It is as much alpha as it can probably
be, but it works. I have lots of ideas how to improve it.

If you have similar problems with bzImage+loadlin,
try it. I use Borland C 3.1 and TASM to compile it.
--
Best regards, VDA
mailto:[email protected]


Attachments:
linld01.tar.gz (16.00 kB)

2001-10-09 06:56:06

by Denis Vlasenko

[permalink] [raw]
Subject: Re: Have problems with big kernel? Here is a loadlin replacement

Hi folks,

Replying to myself is strange, but...

V> Some time ago I have been bitten by loadlin refusing
V> to load bzImages bigger than 1023623 bytes (well,
V> that's the size of biggest one which it can load for me).

V> Tried to fix it. Decided that fiddling with that much
V> asm is not productive. Wrote a replacement. See attached tar.
V> It works for me. It is as much alpha as it can probably
V> be, but it works. I have lots of ideas how to improve it.

Improved it. It has commandline params now :-)
This means included .exe is almost usable
(if you are fine with hardcoded vga=0x303 or ready to
patch it with binary editor)

TODO: initrd, vga=xxx
--
Best regards, VDA
mailto:[email protected]


2001-10-09 07:33:26

by Denis Vlasenko

[permalink] [raw]
Subject: Re: Have problems with big kernel? Here is a loadlin replacement

Oh no, it happens again... forgot to attach the tar...
--
Best regards, VDA
mailto:[email protected]


Attachments:
linld02.tar.gz (21.44 kB)