polpo / picogus

Emulation of ISA sound cards on Raspberry Pi Pico (GUS, Adlib, MPU-401, Tandy, CMS)
GNU General Public License v2.0
518 stars 34 forks source link

PGUSINIT Usage is wrong #5

Closed SuperIlu closed 1 year ago

SuperIlu commented 1 year ago

The usage specifies "/b" as option to set the base address, the option parsing uses "/p" to scanf() port_override

SuperIlu commented 1 year ago

Also, I just noticed: /d n - force DMA interval to n æs. Default: 0, Min: 1, Max: 256

default is 0, but minimum value is 1?

and isn't the value an uint8_t? Wouldn't that make the max:=255 (same for sample buffer size)?

arkayii commented 1 year ago

Since we're talking about this area, I'll mention this very minor, errr, quibble. As the MS-DOS environment is typically non case-sensitive, it might be appropriate to allow/parse switch parameters in both upper and lower case.

SuperIlu commented 1 year ago

submitted a PR for this #6