dosinit.as 526 B

12345678910111213141516171819
  1. / emx_386/dosinit.s (emx+gcc) -- Copyright (c) 1994-1996 by Eberhard Mattes
  2. / In executables created with emxbind, the call to _dos_init will
  3. / be fixed up at load time to _emx_init of emx.dll. Under DOS,
  4. / this dummy is called instead as there is no fixup. This module
  5. / must be linked statically to avoid having two fixups for the
  6. / same location.
  7. .globl __dos_init
  8. .globl __dos_syscall
  9. __dos_init:
  10. ret $4
  11. .align 2, 0x90
  12. __dos_syscall:
  13. int $0x21
  14. ret