code2.as 930 B

1234567891011121314151617181920212223242526
  1. / code2.as (emx+fpk) -- Copyright (c) 1992-1999-2000 by Eberhard Mattes
  2. / Changed for Free Pascal in 1999-2000 by Daniel 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. popl %ecx /* return address */
  17. pushl $_msgseg32
  18. pushl %ecx
  19. jmp _DOSCALLS$$_DOSTRUEGETMESSAGE$POINTER$PINSERTTABLE$LONGINT$PCHAR$LONGINT$LONGINT$PCHAR$LONGINT
  20. L_tab: .short 0x0000
  21. .short 0xffff