Re: New user - New road ahead.
Posted: Fri May 15, 2015 12:01 pm
@Brenden
Ah, excellent, perfectly understood. I am curious as to why it was not added in the original source code, he did mention the segment registers and what they did but now how they were utilised.
Hmm.. So if I make a far call to a regime I need to do some processing with, I would have to set DS when I am inside the call and back again as I return? Am I safe to assume if I push DS before calling the function, and popping it again when I return I am in the clear?
@glaux
Your answer would be base being 0x0001 and offset(org?) being 0x0. I understand the addressing and the mathematics behind it, my problem was not even realising I needed it. A mistake I won't make again for sure.
@TightCoder
Thank you very much! I will Dl it now and and give it a thorough read, I am from a C background and my assembly is novice at best.
I appreciate the help from all of you, thank you.
I'll get back to it, now I know how to load sectors I can take the printing regime out the first 512 bytes and use those bytes for more useful things.
Thanks again all.
Ah, excellent, perfectly understood. I am curious as to why it was not added in the original source code, he did mention the segment registers and what they did but now how they were utilised.
Hmm.. So if I make a far call to a regime I need to do some processing with, I would have to set DS when I am inside the call and back again as I return? Am I safe to assume if I push DS before calling the function, and popping it again when I return I am in the clear?
@glaux
Your answer would be base being 0x0001 and offset(org?) being 0x0. I understand the addressing and the mathematics behind it, my problem was not even realising I needed it. A mistake I won't make again for sure.
@TightCoder
Thank you very much! I will Dl it now and and give it a thorough read, I am from a C background and my assembly is novice at best.
I appreciate the help from all of you, thank you.
I'll get back to it, now I know how to load sectors I can take the printing regime out the first 512 bytes and use those bytes for more useful things.
Thanks again all.