flat assembler
Message board for the users of flat assembler.
  
       
      Index
      > Main > How to make my own DOS STUB???? | 
  
| Author | 
  | 
              
| 
                  
                   revolution 26 Aug 2014, 04:31 
                  Here is some very BasicStub.asm code which you can expand to your needs:     
                  
                Code: format MZ segment zz entry zz:entry stack 128 heap 0 entry: push cs pop ds mov ah,9 mov dx,message int 21h mov ax,4cffh int 21h message: db 'Windows 95 or higher required for this program!',0dh,0ah,'$' Code: format PE GUI 4.0 on 'BasicStub.exe' include 'win32ax.inc' .code start: invoke MessageBox,HWND_DESKTOP,"Hi! I'm the example program!","Win32 Assembly",MB_OK invoke ExitProcess,0 .end start  | 
              |||
                  
  | 
              
| 
                  
                   jhonny6721 27 Aug 2014, 20:42 
                  revolution Thanks for your answer. It was very useful to fix my problem. 
                  _________________ Мне нравится программирование.  | 
              |||
                  
  | 
              
< Last Thread | Next Thread >  | 
    
Forum Rules: 
  | 
    
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.