2011-01-28 16:00:06 +03:00
|
|
|
use32
|
2020-11-02 21:44:51 +03:00
|
|
|
org 0
|
2011-01-28 16:00:06 +03:00
|
|
|
db 'MENUET01'
|
2020-11-02 21:44:51 +03:00
|
|
|
dd 1
|
|
|
|
dd @Kolibri@Main$qv
|
2011-01-28 16:00:06 +03:00
|
|
|
dd I_END
|
2020-11-24 18:42:12 +03:00
|
|
|
dd U_END+STACKSIZE ;+HEAPSIZE
|
2011-01-28 16:00:06 +03:00
|
|
|
dd U_END+STACKSIZE
|
2020-11-24 18:42:12 +03:00
|
|
|
if defined @Kolibri@CommandLine
|
|
|
|
dd @Kolibri@CommandLine
|
|
|
|
else
|
|
|
|
dd 0
|
|
|
|
end if
|
|
|
|
if defined @Kolibri@CurrentDirectoryPath
|
|
|
|
dd @Kolibri@CurrentDirectoryPath
|
|
|
|
else
|
|
|
|
dd 0
|
|
|
|
end if
|
2011-01-28 16:00:06 +03:00
|
|
|
|
2020-11-13 14:22:40 +03:00
|
|
|
include "..\..\KOSfuncs.inc"
|
2020-11-10 15:19:15 +03:00
|
|
|
include "..\..\proc32.inc"
|
2020-11-24 18:42:12 +03:00
|
|
|
include "..\..\macros.inc"
|
|
|
|
include "..\..\dll.inc"
|
|
|
|
include "..\..\load_lib.mac"
|
2020-11-10 15:19:15 +03:00
|
|
|
|
2011-01-28 16:00:06 +03:00
|
|
|
ptr equ
|
|
|
|
offset equ
|
|
|
|
short equ
|
|
|
|
tbyte equ tword
|
|
|
|
|
|
|
|
PTR equ
|
|
|
|
OFFSET equ
|
|
|
|
SHORT equ
|
|
|
|
TBYTE equ TWORD
|
|
|
|
|
|
|
|
macro movsb a,b
|
|
|
|
{
|
|
|
|
if a eq & b eq
|
|
|
|
movsb
|
|
|
|
else
|
|
|
|
movsx a,b
|
|
|
|
end if
|
|
|
|
}
|
|
|
|
|
|
|
|
macro movsw a,b
|
|
|
|
{
|
|
|
|
if a eq & b eq
|
|
|
|
movsw
|
|
|
|
else
|
|
|
|
movsx a,b
|
|
|
|
end if
|
|
|
|
}
|
|
|
|
|
|
|
|
macro segment name {}
|
|
|
|
|
|
|
|
macro endseg name {}
|