Given that only vertical frequency is given, is it possible to calculate horizontal frequency based on information given in mame -listinfo ?
You can estimate it.
The idea is:
(horz freq) / (number lines) = vert freq or
horz freq = (vert freq) * (number lines)The thing is you also have to allow time for the beam to move back to the top of the screen (vert blank time period). I'll assume the blank period runs ~25-30 lines, but it varies.
horz = (vert freq) * (number lines + 25 blank lines)Lets look at cclimber: video ( screen raster orientation horizontal x 256
y 224 aspectx 4 aspecty 3
freq 60.000000 ) & ssprint: video ( screen raster orientation horizontal x 512
y 384 aspectx 4 aspecty 3
freq 60.000000 )
cclimber: lines = 224, vert freq = 60Hz, so
60Hz * (224 + 25) = 60Hz * 249 = 14940Hz = ~15 kHz
ssprint: line = 384, freq = 60, so
60Hz * (384 + 25) = 60Hz * 409 = 24540Hz = ~24.5kHz
Also, look out for vertical games like pacman (use x res instead of y) and stacked montior games like punchout (divide y res by number of monitors).