2011-01-28 14:00:06 +01:00
|
|
|
use32
|
2020-11-02 19:44:51 +01:00
|
|
|
org 0
|
2011-01-28 14:00:06 +01:00
|
|
|
db 'MENUET01'
|
2020-11-02 19:44:51 +01:00
|
|
|
dd 1
|
|
|
|
dd @Kolibri@Main$qv
|
2011-01-28 14:00:06 +01:00
|
|
|
dd I_END
|
|
|
|
dd U_END+STACKSIZE+HEAPSIZE
|
|
|
|
dd U_END+STACKSIZE
|
2020-11-02 19:44:51 +01:00
|
|
|
dd @Kolibri@CommandLine,0
|
2011-01-28 14:00:06 +01:00
|
|
|
|
2020-11-13 12:22:40 +01:00
|
|
|
include "..\..\KOSfuncs.inc"
|
2020-11-10 13:19:15 +01:00
|
|
|
include "..\..\proc32.inc"
|
|
|
|
|
2011-01-28 14:00:06 +01: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 {}
|