Out of plain curiosity

A forum for general AmigaOS 4.x support questions that are not platform-specific
Post Reply
User avatar
Posts: 88
Joined: Tue Jul 12, 2011 2:56 pm
Location: Groningen, Netherlands

Out of plain curiosity

Post by OldFart »


When I was fiddling around with my X5000's KickStart drawer, a couple of weeks ago, I came to wonder what does a piece of software, as located in KickStart and suffixed by '.KMOD' have what it would not have when NOT located in said drawer.
In other words: What makes a KMOD a KMOD?

Just curious.

X5000, gotten out of storage again halfway November, 2021.
Dead MicroA1
A1200 in ElBox, c/w Blizzard '040 @ 50MHz + SCSI module, ZIV-board c/w (o.a.) cv64/3d + flickerdoubler + FastATA-ZIV + Lots of SCSI gear.
RaspBerry Pi 2B, 3B, 4B (4Gb) & 4B (8Gb) attached to Aten QubiC 4-port KVM
User avatar
Beta Tester
Beta Tester
Posts: 1687
Joined: Mon Dec 20, 2010 7:25 pm
Location: Copenhagen, Denmark

Re: Out of plain curiosity

Post by nbache »

It's not the fact that the filename is ending in .kmod which does anything (that wouldn't have been very Amiga-like, would it?).

But if you put a module in the "Kickstart" dir and list it in your Kicklayout file (located in the same dir), then it will be loaded during the first part of the boot as part of the Kickstart.

I suppose the .kmod ending would stand for "kickstart module" or similar and has just become a practical convention to use, so even if you encounter the file out of context, you know it's one of the modules meant as part of the Kickstart.

There are probably also some requirements for an executable which makes it able to be used as a part of the Kickstart; I'm not sure about those. But there are several different types of modules in Kickstart, like drivers, handlers, filesystems, libraries etc., so it probably depends on the type.

There can even be plain text files in there (they wouldn't normally have the .kmod ending, though).

Best regards,

User avatar
AmigaOS Core Developer
AmigaOS Core Developer
Posts: 1475
Joined: Wed Mar 09, 2011 1:36 pm
Location: Sydney, Australia

Re: Out of plain curiosity

Post by tonyw »

The ".kmod" files are usually drivers and libraries, as Niels said. They are all loaded by the Loader, when it finds their name in the Kicklayout configuration. They don't *have* to be in the Kickstart/ drawer (since they are listed in the Kicklayout file with their path), but it is convenient to keep them all together.

Kickstart modules can be run when loaded, or after DOS starts, or when called: it's all spelled out in the "struct Resident" that is present in every such program and scanned by the Loader.
Post Reply