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

Hello,
I downloaded ICHINIT from http://www.piotrkn22.republika.pl/judas/index.html 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
proceed:
cmp [hda_access], 1
jne proceed2
stc
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
proceed3:

"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
15186 Postings in 1365 Threads, 250 registered users, 16 users online (0 registered, 16 guests)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum