Code: Select all
10 FOR A=#BFF0TO#BFF6:REABB:POKEA,B:NEXTA:DATA162,224,160,191,76,134,250
20 FOR A=#BFE0TO#BFED:REABB:POKEA,B:NEXTA
30 DATA 0,0,0,0,0,0
40 DATA 0
50 DATA 127
60 DATA 16,0,0
70 DATA 9,0,10
Code: Select all
ldx #$E0
ldy #$BF
jsr $FA86
Lines 30 to 70 contain the AY registers but we're only concerned with the last line (70). The sound is set up to generate a Triangle waveform on Channel A and at pitch 9.
I then duplicated the same program on Oricutron and Euphoric (under dosbox) and these were the results..
Oricutron 0.5 is perfectly in tune with Real machine
Euphoric 1007 under dosbox is at a lower pitch than the real machine.
Euphoric 1007 not under dosbox is at a lower pitch than the real machine.
Caloric 0.1 plays a pitch way higher than any of the above emulators
All emulators under Windows XP Media Centre Edition
Also to note is WAVE(all versions) are also one unit lower than the actual value sent to the EG Period regisrter so for the above code one would place 08 in the EGC column instead of 09. This is a fault of WAVE