|
Last change
on this file was 18, checked in by bird, 23 years ago |
|
Initial revision
|
-
Property cvs2svn:cvs-rev
set to
1.1
-
Property svn:eol-style
set to
native
-
Property svn:executable
set to
*
|
|
File size:
530 bytes
|
| Line | |
|---|
| 1 | / code2.s (emx+gcc) -- Copyright (c) 1992-1996 by Eberhard Mattes
|
|---|
| 2 |
|
|---|
| 3 | #include <emx/asm386.h>
|
|---|
| 4 |
|
|---|
| 5 | .globl _DosGetMessage
|
|---|
| 6 | .globl __msgseg32
|
|---|
| 7 |
|
|---|
| 8 | __msgseg32:
|
|---|
| 9 | .byte 0xff
|
|---|
| 10 | .asciz "MSGSEG32"
|
|---|
| 11 | .byte 0x01, 0x80, 0x00, 0x00
|
|---|
| 12 | .long L_tab
|
|---|
| 13 |
|
|---|
| 14 | .align 2, 0x90
|
|---|
| 15 |
|
|---|
| 16 | _DosGetMessage:
|
|---|
| 17 | PROFILE_NOFRAME
|
|---|
| 18 | popl %ecx /* return address */
|
|---|
| 19 | pushl $__msgseg32
|
|---|
| 20 | pushl %ecx
|
|---|
| 21 | jmp _DosTrueGetMessage
|
|---|
| 22 |
|
|---|
| 23 | L_tab: .short 0x0000
|
|---|
| 24 | .short 0xffff
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.