home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.lang.asm.x86      Ahh, the lost art of x86 assembly      4,675 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 3,990 of 4,675   
   bilsch01 to All   
   PROBLEM SOLVED   
   16 Dec 19 02:31:00   
   
   From: king621@nospicedham.comcast.net   
      
   I don't use a debugger with these .bin files. I have a routine I jump to   
   that reads a pushed word and prints 4 hex digits in the corner of the   
   screen and then goes into infinite loop.  Crude but pretty useful. I   
   have similar routines that use call and ret but this one is to be used   
   with jmp. Well, what I had done was type   
      
   push ax   
   call vuhex   
      
   instead of   
      
   push ax   
   jmp vuhex   
      
   vuhex isn't made for call and  ret.   
      
   It's interesting that I made the mistake because I was using jmp vuhex   
   for checking the screen buffer coordinate in dx register and getting   
   correct results. Then I tried reading screen memory with 'call' and   
   wondered about reading screen memory.   
      
   Thanks everyone for your help. Sorry for the bother.   
      
   Bill S.   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca