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 2,923 of 4,675   
   Kevin Mardoux to All   
   Randon number   
   14 Aug 17 02:31:35   
   
   From: mardou2k@nospicedham.gmail.com   
      
   Hello   
   About randon number - space invader   
      
   Can be used : cursor position   
   mov ah,3   
   mov bx, VideoPage   
   int 10H   
    DX = Row cursor   
    CX = Line   
   the "decision" of the program will depend of a position on screen   
      
      
   Can use the timer   
   mov ah,2Ch ; get time   
   int 21H   
    DL = hundreths of seconds   
    DH = seconds   
      
   You can use a combinaison of [your randon] and [ Hundrethd of seconds ]   
      
   Regards   
   Kevin   
      
   --- 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