home *** CD-ROM | disk | FTP | other *** search
/ Power-Programmierung / CD2.mdf / c / library / dos / grafik / cbgi111 / src / lib / stack.asm < prev   
Encoding:
Assembly Source File  |  1990-06-15  |  792 b   |  28 lines

  1. ideal            ; Set up in ideal mode
  2. model    tiny        ; This is done in tiny model
  3.  
  4. ;******************* _stack_ *********************************************
  5. ;  Provides a stack for the BGI driver to use while it's running.
  6. ;
  7. ;    V 1.00 18/05/90  Robert Adsett.
  8. ;    V 1.01 15/06/90  Robert Adsett.  Eliminate DOSSEG ordering.
  9. ;
  10. ;  (C) Robert Adsett 1990,1990
  11. ;*************************************************************************
  12.  
  13. dataseg                ; Start of the data segment
  14.  
  15. ;*************************************************************************
  16. ;    Declare publics and externals.
  17. ;*************************************************************************
  18.  
  19. public _stack_            ; Make the stack public so it can be 
  20.                 ;switched to.
  21.  
  22.     dw    256 dup ('**')
  23. _stack_    dw    '^^'
  24.  
  25. ends
  26. end
  27.  
  28.