I don't trust you
where did you get these numbers from? did you make them up? first you go "bruh bruh bruh" on me and then you drop this. couldn't you at least look around a bit?! since when has OPZ been clocked at 4MHz? who said that it does? the chip's been designed to run at NTSC colorburst frequency, damn it! on top of that, you didn't have to make up anything. AT ALL. fixed frequency is simpler than eating with a fork. you just write the frequency IN HERTZ (!!), the block and that's it. really? were these numbers necessary? oh man....
This commit is contained in:
parent
838646800a
commit
1f1b9fcc87
4 changed files with 70 additions and 45 deletions
|
|
@ -362,6 +362,7 @@ void DivPlatformArcade::tick(bool sysTick) {
|
|||
chan[i].freq+=chan[i].arpOff<<7;
|
||||
}
|
||||
}
|
||||
chan[i].freq+=OFFSET_LINEAR;
|
||||
if (chan[i].freq<0) chan[i].freq=0;
|
||||
if (chan[i].freq>=(95<<7)) chan[i].freq=(95<<7)-1;
|
||||
immWrite(i+0x28,hScale(chan[i].freq>>7));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue