VOGONS

Common searches


Search results

Display options

Re: OPL2LPT

I suppose you could also just leave the reads of port 388h in there, because it's 'only' 6 of them normally. Most code will probably just write to port 389h and leave dx to 389h when they perform the 35 reads. So if you would only patch reads for port 389h, you're probably good to go.

Re: OPL2LPT

What this experimental version does is to check which instruction caused the fault. If it's a read, it's patched out. This way we need to pay the cost of the fault only for the writes. We still need to ensure that we don't access the OPL2 chip too fast, so a delay is added to the write handling in …

Re: MT-32 and Soundcard Speakers?

in MT-32 General
Is there a list of Intelligent Mode games out there? I assume there is. The SoftMPU site has a list of intelligent mode games that work with SoftMPU at least: https://github.com/bjt42/softmpu/wiki/Compatible-Intelligent-Mode-Games Here is another list: https://www.vogons.org/viewtopic.php?f=7&t= …

Re: MT-32 and Soundcard Speakers?

in MT-32 General
Do I need SoftMPU to make this setup work? I thought the AWE32 would handle everything and I didn't need the Intelligent Mode stuff? You only need intelligent mode for certain games. The AWE32 does not support intelligent mode, so you would need SoftMPU to get those games working with the MT-32. …

Re: MT-32 and Soundcard Speakers?

in MT-32 General
Ok so I do need the mixer then? How does that loop into the chain? My mixer has two stereo inputs and an output (plus a bunch of mic inputs, but I don't need those). No, there's an onboard mixer on the SB. That's what you need to use. See this LGR video where he basically does the same thing, but …

Re: MT-32 and Soundcard Speakers?

in MT-32 General
Yes, you can loop the output of the MT-32 into the line-in of your SB AWE32. You can then use the mixer on the AWE32 to mix the line-in audio with the SB's own audio to the line-out (the line-in is probably muted by default, so just plugging in the MT-32 probably won't make you hear anything yet. …

Re: OPL2LPT

Not sure if it was mentioned before, but I couldn't find any info on how it actually works. So here is a reference to the relevant source code: https://github.com/pdewacht/adlipt/blob/master/opl2test/OPL2.cpp This is how you do a write to an OPL2 register. On a real AdLib you first write the …

Re: OPL2LPT

"custom-hacked DOSBox" !! Tell us more :cool: Yea, I've used the inpout32 library (http://www.highrez.co.uk/Downloads/InpOut32/) to redirect port writes in DOSBox to physical addresses on the host machine. That allows you to use a physical printer port from DOSBox, for example (so I could drive the …

Re: x86 software vs hardware clocks

in PC Emulation
IBM VGA array was originally integrated on the motherboard of PS/2 models, so they were the first implementations, not VGA cards. IBM also made a VGA ISA card, or as they call it, the "PS/2 feature adapter": http://4.bp.blogspot.com/-5WVa9cCQew8/VQXmfp66hMI/AAAAAAAACb0/-TwQG8cepPQ/s1600/20150315_ …

Re: OPL2LPT

I wondered why they designed the chip like that anyway. Most chips have a bus interface that just keeps the bus busy until the chip is done. For example, I timed a write to the SN76489 chip, and that was 42 CPU cycles at 4.77 MHz. So about 11 IO cycles. But then I thought: Perhaps Yamaha realized …

Re: OPL2LPT

Not quite; as explained previously by Jepael, there is still additional overhead in the form of parallel-port I/O operations. Essentially, to get the equivalent of one write to I/O address 388H, multiple writes to the parallel port addresses are necessary to simulate what would be handled at the …

Re: Is worth DOS programming in these days?

Oooo! Do you share the source? I'd like to play with it. Yea, I uploaded the code of that release here: https://www.dropbox.com/s/urrzyy23gtvcc4p/1991donut_final.zip?dl=0 It's a mess... requires Turbo C++ 3.1 I've moved to OpenWatcom since. Which is much faster. However, I never did a straight port …

Re: Is worth DOS programming in these days?

Templates is one of my "most awesome features" in C++, it is pretty handy. I fully agree! The most awesome template trick I've done is for the Marching Cubes algorithm: https://en.wikipedia.org/wiki/Marching_cubes My implementation has a templatized class for the grid size: MarchingCubes . Inside …

Re: Is worth DOS programming in these days?

I can't say much about C++ as it seems so monstrous to me. Maybe I'm just too dumb to use it efficiently but after watching some of Stroustrup's talks I was like "Interesting but I'd rather use something simple." Again, this could be the case of Stroustrup throwing pearls before the swine but the …

Page 82 of 226