Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

ICHINIT does not compile... (Developers)

posted by Fabrizio(R), 03.03.2013, 23:00

I downloaded ICHINIT from and tried to recompile it using Turbo Assembler, but it fails. TASM chokes with a message like "Cannot find label proceed2 at line 546".

Looking inside ichinit.asm at that line, the code reads

; get ICH base address regs for mixer and bus master
cmp [hda_access], 1
jne proceed2
errormsg 'Error : High Definition Audio controllers not supported yet!'

and there seems to be no definition for that label.

By the way, my interpretation of how that code works is: "if the card is not HDA (hda_access is not 1), proceed, otherwise, print an error message and exit", or, in other words, "HDA cards are not supported". Is that correct?

Then,a few lines below...

; get addresses for memory maped IO
cmp [memory_access], 1
jne proceed3 ; go for IO access

; get addresses for port IO

"If memory_access is 1, jump to proceed3, otherwise go to the next instruction, which is proceed3 anyway...", sounds strange: is it just me or is this code syntactically correct but weird?


Complete thread:

Back to the forum
Board view  Mix view
15275 Postings in 1373 Threads, 253 registered users, 17 users online (0 registered, 17 guests)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum