Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. FinalBirdman

    Changing immediate value byte assigment in TASM 5.0

    I am using tasm 5.0, and I noticed an annoying occurence. Immediate values are assumed to be words. So when I write an immediate value to memory that is a byte value, it writes over the next byte in memory with a zero! Took me a while to figure out what the heck was going wrong with the code...
  2. FinalBirdman

    Newbie to windows programming doesn't understand error

    Well, I figured it out. I had to cast the function into a int (PASCAL far*)() like this: ptr=(int(PASCAL far*)())myproc; Just figured I'd let you know how it is done.
  3. FinalBirdman

    Newbie to windows programming doesn't understand error

    I have a simple windows program that "should" have a standard window with a nice menu. I should be able to click on Help->about and see a nice little box. In order for this to work perfectly (a quick fix adds a small bug in which the about box doesn't dissapear after you click OK) I...
  4. FinalBirdman

    What do brk and sbrk do?

    Thanks! Yeah, I'm using dos 6.22, not unix. Guess I should have mentioned that. Thanks for the information.
  5. FinalBirdman

    What do brk and sbrk do?

    Not sure what you mean...
  6. FinalBirdman

    What do brk and sbrk do?

    What do the functions brk and sbrk do in C? I need to allocate more core memory, and I need some good information on how these functions work. Thanks.
  7. FinalBirdman

    'Fixup overflow'

    What exactly what does a 'fixup overflow' error given by TLINK mean?
  8. FinalBirdman

    Crash-happy VGA writing

    Yeah, but it dies even if I just write near 10,000. That shouldn't happen. And by the way, the whole 0a00h is a type, I meant 0a000h. So that's not the problem, just in case you wondered. Thanks for the help, let me know if you have any other ideas.
  9. FinalBirdman

    Crash-happy VGA writing

    An asm prog of mine keeps crashing, and I can't figure out why. It has as simple loop like this that copies a 64000 byte array into the VGA segment (the mode is set already) The buffers and everything else is arleadey set up. This is only a part of the prog. mov DI,0a00h mov ES,DI mov DI,0 mov...

Part and Inventory Search

Back
Top