code2.as 812 B

123456789101112131415161718192021222324252627
  1. / code2.s (emx+fpk) -- Copyright (c) 1992-1996 by Eberhard Mattes
  2. / Changed for FPK-Pascal in 1998 by Dani‰l Mantione.
  3. / This code is _not_ under the Library GNU Public
  4. / License, because the original is not. See copying.emx
  5. / for details. You should have received it with this
  6. / product, write the author if you haven't.
  7. .globl DosGetMessage
  8. .globl _msgseg32
  9. _msgseg32:
  10. .byte 0xff
  11. .asciz "MSGSEG32"
  12. .byte 0x01, 0x80, 0x00, 0x00
  13. .long L_tab
  14. .align 2, 0x90
  15. DosGetMessage:
  16. PROFILE_NOFRAME
  17. popl %ecx /* return address */
  18. pushl $_msgseg32
  19. pushl %ecx
  20. jmp _DOSCALLS$$_DOSTRUEGETMESSAGE$POINTER$PINSERTTABLE$LONGINT$PCHAR$LONGINT$LONGINT$PCHAR$LONGINT
  21. L_tab: .short 0x0000
  22. .short 0xffff