flat assembler
Message board for the users of flat assembler.
Index
> DOS > ICH4 AC97 WAV Player for DOS Part 2 |
Author |
|
bitRAKE 08 Jul 2013, 02:57
The CFG register is only one bit. Set it, and then enable I/O mapping by setting the other ISOE bit in PCICMD register. At least that is how I read it.
The only document you need is 290744-001. _________________ ¯\(°_o)/¯ “languages are not safe - uses can be” Bjarne Stroustrup |
|||
08 Jul 2013, 02:57 |
|
neville 10 Jul 2013, 00:46
bitRAKE, the only AC97 document I have with a 6-digit number starting with 2 is an ICH5 PRM (252751.pdf) which says the CFG register is at offset 41H in the PCI space and implies it is an 8-bit register with a default value of 00H.
What is your document? Does it give more details about the CFG register? I must admit I've never heard of a 1-bit PCI register before. What PCI function is used to read or write a 1-bit register? I've just tried googling that number without joy. Would you be able to post the document here or email it to me if it's too big? BTW, Jeff's code already has the I/O enable (bit0) and Bus Master enable (bit2) set in the PCICMD register (offset 04H) - the register contents are OR'd with 05H which should do the trick. I also tried setting the CFG register before and after that code. _________________ FAMOS - the first memory operating system |
|||
10 Jul 2013, 00:46 |
|
bitRAKE 10 Jul 2013, 06:05
Google search, or on Intel's website. It's the datasheet for the chipset which has a detailed outline of the software interface supported by the hardware.
http://www.intel.com/content/dam/www/public/us/en/documents/datasheets/82801db-io-controller-hub-4-datasheet.pdf Have you tried ICHINIT? http://piotrkn22.republika.pl/judas/index.html (bottom of the page) ...it has the assembly code already - if that's what you prefer to read. _________________ ¯\(°_o)/¯ “languages are not safe - uses can be” Bjarne Stroustrup |
|||
10 Jul 2013, 06:05 |
|
neville 11 Jul 2013, 00:29
Thanks bitRAKE, I got the 82801DB datasheet, aka doc 290744-001 !! Another 597 pages of docs to add to my growing collection
On page 477 it confirms that CFG is in fact an 8-bit register, AND that I/O Space Enable (IOSE) is a R/W bit at bit0 with all other bits unused. So 01 must be written to that register. Which is what I tried first..... But AC97 remains silent Yes I've tried ICHINIT. I have 2 versions of it. One is a 49K EXE which I think came from one of the JUDAS packages. This version runs, but fails to initialize. The other was from a standalone archive and is a 18K COM. It runs fine. I haven't investigated further as yet, but neither version appears to help PLAYER to do other than nothing. I will keep trying though, as time permits. This thing will NOT beat me... _________________ FAMOS - the first memory operating system |
|||
11 Jul 2013, 00:29 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.