The Militia Act of 1792 which provided, in part:
So I can go buy an M16? That would be the modern equivalent of "a good firelock or musket." Also I think they would have a problem with "able-bodied" (violates the ADA), "white" (various Civil Rights Acts along with the 14th Amendment), male (EEO no-no right there), citizen (What about "undocumented workers"?), "who is or shall be of age of eighteen years" and "under the age of forty-five years" (Age Discrimination). So it sounds to me like everyone is in the militia. Therefore the 2A applies to everyone. Machine Guns for EVERYBODY !!!!
Well, if you've read Miller, yeah, pretty much.
Funny how little play that actually gets, though.