home *** CD-ROM | disk | FTP | other *** search
/ The C Users' Group Library 1994 August / wc-cdrom-cusersgrouplibrary-1994-08.iso / vol_300 / 330_02 / testmod.asm < prev    next >
Assembly Source File  |  1990-10-12  |  1KB  |  59 lines

  1. ;
  2. ;    This file references most CTask kernel files.
  3. ;    It is used to check if any routines from the standard
  4. ;    run-time library are referenced.
  5. ;    The kernel is only model-independent if no externals are
  6. ;    unsatisfied when this file is linked with no default libraries.
  7. ;
  8.     .model    large,c
  9.     public    _acrtused
  10.     public    free
  11.     public    malloc
  12.     public    calloc
  13.     public    realloc
  14.     public    _psp
  15. ;
  16. _acrtused    =    9876h
  17. ;
  18.     include    tsk.mac
  19. ;
  20.     Globext    install_tasker    ; tskmain.c (references tsktimer.c)
  21.     Globext    create_pipe    ; tskpip.c
  22.     Globext    create_wpipe    ; tskwpip.c
  23.     Globext    create_counter    ; tskcnt.c
  24.     Globext    create_resource    ; tskrsc.c
  25.     Globext    create_flag    ; tskflg.c
  26.     Globext    create_buffer    ; tskbuf.c
  27.     Globext    create_mailbox    ; tskmsg.c
  28.     Globext    v24_install    ; tsksio.c
  29.     Globext    prt_install    ; tskprt.c
  30. ;
  31.     .stack    128
  32. ;
  33.     .data?
  34. _psp    dw    ?
  35. ;
  36.     .code
  37. ;
  38. begin:
  39.     mov    ax,4c01h
  40.     int    21h            ; in case it's accidentally called
  41. ;
  42. free:
  43. malloc:
  44. calloc:
  45. realloc:
  46.     call    install_tasker
  47.     call    create_pipe
  48.     call    create_wpipe
  49.     call    create_counter
  50.     call    create_resource
  51.     call    create_flag
  52.     call    create_buffer
  53.     call    create_mailbox
  54.     call    v24_install
  55.     call    prt_install
  56. ;
  57.     end    begin
  58.  
  59.