Use all your missiles before purchasing a single missile at the space station. Leave the station and lock on the station, but do not fire. Dock with the station and sell the missile. Leave the station and press M. A line will extend across the bottom of the screen to confirm correct code entry. Your inventory will have 256 missiles that may be sold or used.