CosmosOS / Cosmos

Cosmos is an operating system "construction kit". Build your own OS using managed languages such as C#, VB.NET, and more!
https://www.goCosmos.org
BSD 3-Clause "New" or "Revised" License
2.94k stars 552 forks source link

AC97.Initialize causes OS to hang. #2901

Closed Neil-Ciciglycerin closed 10 months ago

Neil-Ciciglycerin commented 10 months ago

Area of Cosmos - What area of Cosmos are we dealing with?

Cosmos Audio Infrastructure

Expected Behavior - What do you think that should happen?

The audio driver should start, and system initialization should continue. I know it hangs on AC97.Initialize() because of PrintDebug() statements and a bootscreen.

Actual Behavior - What unexpectedly happens?

It hangs. No error message, no nothing.

Reproduction - How did you get this error to appear?

var Output = AC97.Initialize(4096)

Version - Were you using the User Kit or Dev Kit? And what User Kit version or Dev Kit commit (Cosmos, IL2CPU, X#)?

Dev kit. Forked it today and merged impl/multitask.

quajak commented 10 months ago

impl/multitask is still WIP so we cant make any guarantees everything will work with it right now.