# VOGONS

## Search results

### Re: INT 8 (IRQ 0) - what is correct frequency?

The 1193182 Hz and 1193184 Hz and 1193181.666 Hz makes no difference because crystals have error about +/-20ppm at standard temperature. Thank you mkarcher and ripsaw8080 for your answers. It is about 54.9254 ms. It is not 55 ms.

### Re: INT 8 (IRQ 0) - what is correct frequency?

Thank you ripsaw8080. It means the crystal frequency is 1193182 Hz and the "8254" timer counts to 65536 (interrupt at overflow)? It also means that OPL2/OPL3 frequency isn't 49716 Hz but 49715,91(6) Hz.

### INT 8 (IRQ 0) - what is correct frequency?

This interrupt is named ninetenth seconds interrupt (1/18 s). Part of sources states the interval is 55 ms. Part of sources states the interval is 65536/1193180 s = 54.925493 ms and part states the interval is 65536/1193184 s = 54.925309 ms. Where is the truth?... I need correct frequency to …

### Re: Can anyone help me fix my Adlib(OPL2) emulation?

00(RNG&bit8 cleared)=0(0 degrees) 01(RNG set, bit 8 cleared)=0x4000(90 degrees?) 11(RNG cleared, bit 8 set)=-0x4000(270 degrees) 10(RNG and bit 8 set)=-0x8000(180 degrees==0 degrees) So it would only be 3 possibilities indeed? Although I don't know the 16-bit range to phase conversion it uses(0- …

### Re: Can anyone help me fix my Adlib(OPL2) emulation?

Superfury , I checked for you my algorithm and DBOPL algorithm and I played test file with Snare Drum that due to the midibox documentation uses feedback. NO, THERE IS NO FIXED FEEDBACK. uint16_t hh=(p13>>22); uint16_t tmp=0xC0*(hh&0x100) ^ ((noise&1)<<14); /*... here standard code for waveform ... …

### Re: Can anyone help me fix my Adlib(OPL2) emulation?

That's documented in the description of the OPL3 rhythm mode in one of the earlier linked threads in one of our two threads ( http://midibox.org/forums/topic/18625-opl3-percussion-mode-map/ ). The orange and yellow PM -> waveLUT -> feedback is clearly there. It's explained in more detail in the box …

### Re: Can anyone help me fix my Adlib(OPL2) emulation?

It sounds like some buffer ran out during playback or perhaps some cutoff (16-bit overflow)? Do not forget that in Additive Synth mode the output can be greater than 16-bit. The multiplier is set to 32/32 for the rhythm channels using it (forced full according to documentation, as it it was set to …

### Re: Can anyone help me fix my Adlib(OPL2) emulation?

That 8088 player has many bugs. But you also have a problem because that player on DBOPL has no strange noise in crystal2.HSC (at 1:00 - 1:05). You can compare playback on UniPCEmu and from dosbox (you can record WAV with Ctrl+F6). without rhytm mode the differences with playing at 44100 (dosbox) …

### Re: Can anyone help me fix my Adlib(OPL2) emulation?

superfury , I will try this player in DosBox and if it works under DosBox I will return informtion about bugs. Regarding Crystal2.HSC - this player on DosBox plays near correct but at: 0:08 - unnatural rhythm absent in Crystal2.exe - bug synchronised with change of track.* 1:15 - in my emulation …

### Re: Can anyone help me fix my Adlib(OPL2) emulation?

superfury wrote: Should I use the mentioned software to play them (the 8088 one)? You should use any software that correctly plays HSC files. HSC Tracker by Electronic Rats has bugs. I don't know "The 8088 one" will play it without bugs.

### Re: Can anyone help me fix my Adlib(OPL2) emulation?

superfury Record (in 49716 Hz WAV ) your playback form JazzPopMix.HSC and Crystal2.HSC and PM* me I can check you play it correctly. I know these two tracks and there are good test for non-rhythm mode. *) PM bacause of copyright. Nobody will answer you whether you play a track well when you give it …

### Re: Can anyone help me fix my Adlib(OPL2) emulation?

superfury I propose play on your emulator old-title-tune.hsc and crystal2.hsc. You will find them in cta-adlib.zip found by google. This zip has badly signed authors (including these tracks). The old-title-tune.hsc helped me with attack/decay problems (there will be hearable differences if badly …

### Re: CSM in OPL2 (YM3812)

Thank you Jo22 . I will look at it. If there will be something interesting and leaving questions, I return to this thread. Edit: these documentations are very thin. There are no word about CSM. You can only read CSM means "Composite Speech synthesis", register 08, bit 0x80. No more... My question is …

### Re: CSM in OPL2 (YM3812)

Composite Speech Mode Was it a speech synthesizer? If Yes it will be very interesting to me to implement it but I need data/documents to do it. I have no OPL1/OPL2 or OPL3 chip now. After searching "Composite Speech Mode" (I found Composite Sine Mode) I was found that timer 1 was used to trigger …

### CSM in OPL2 (YM3812)

Is there any interesting thing in the CSM mode of OPL2 (abandoned in OPL3)? I cannot find any documentation to this mode other than short description that was used to obtain "composited voices". What registers should it controlled after it was turned on? This mode is unimplemented in known emulators …

### Re: Can anyone help me fix my Adlib(OPL2) emulation?

I started my implementation of OPL2 like emulator about 1-2 months ago. The library is now finished. Maybe I find some bugs and I will correct them. Maybe I implement CSM if there was anything interesting there (unimplemented in many emulators). You started to implement your OPL2/OPL3 GNU-licensed …

### Re: Drums on truly real OPL2

There's also some checks on the header fields for unsupported chips (all other chips than the YM3812 and Game Blaster (SAA1099) being unsupported). Although it drives the Game Blaster in a mono configuration (it sends one command to both left and right chips). In my converter written in PHP I also …

### Re: Drums on truly real OPL2

After reading your comments, I've now implemented a VGM player into UniPCemu. It's based on https://vgmrips.net/wiki/VGM_Specification Although I don't have any VGM files to test it with. You will find files in this topic It theoretically (as in untested so far) supports playing VGM files for both …

### Re: A DOS program to test OPL2 percussion (0xBD)

I'm unaware of anyone else with problems creating an account on SourceForge, but perhaps you can contact the admins there to see what the issue is. Many people may have a problem, you can see from the weekly number of bugs reported on sourceforge (see pic above). It is total number not DosBox …

### Re: A DOS program to test OPL2 percussion (0xBD)

ripsaw8080 , thank for the information. I see you are one of author of DosBox. The RAC has other problem under DosBox. Error: Current XMS driver does not support Get handle table (2f/4309). I can prepare bug reports here (so I am blocked on sourceforge). Do you have working account on sourceforge? …

Page 1 of 3