Mail Archives: djgpp/2014/07/10/18:09:24
Mateusz,
I have a few genuine MPU401 (SCC-1 and MM-401) along with some sound
blasters if you want me to run some tests on additional hardware.
Your system specs, OS, test app, and source code would be helpful in
this case.
Also include the exact Turbo C and DJGPP compiler you're using so I can
replicate your results.
Matt D.
On 7/10/2014 4:20 PM, Mateusz Viste wrote:
> Hi,
>
> I am trying to write to a hardware port from within djgpp, using
> outportb(). It does work from time to time, but often outportb() will
> make the whole PC reboot. Specifically I am writing to port 0x330 (to a
> MPU401 adapter). If using the same code with turbo C, it works
> perfectly. Hence I am wondering: are there any special "rules" I should
> be aware of when trying to outportb() from within protected mode?
>
> regards,
> Mateusz
>
>
- Raw text -