johanberntsson / ozmoo

A Z-machine interpreter for the Commodore 64 and similar computers
GNU General Public License v2.0
117 stars 19 forks source link

Suggestion for changing error message on wrong color index #37

Closed demesos closed 3 years ago

demesos commented 3 years ago

The command line options for setting colors give an "Unknown option: " response if the color is outside the range of the Z-code palette. I made the mistake of using C64 color indices instead of the Z-code numbers and was confused by "Unknown option: -sc:15", because it gave me the idea that the option "-sc" is wrong. A feedback like "Color index for -sc is out of range, please be sure to use the Z-code palette" would be more helpful.

johanberntsson commented 3 years ago

Thanks. I've committed this change.