2007-03-27 12:13:50 +02:00
|
|
|
model tiny,stdcall
|
|
|
|
p586N
|
|
|
|
locals
|
|
|
|
jumps
|
|
|
|
codeseg
|
|
|
|
option procalign:byte
|
2004-06-12 23:34:04 +02:00
|
|
|
|
2007-03-27 12:13:50 +02:00
|
|
|
include "..\include\mem.h"
|
|
|
|
include "..\include\divers.h"
|
2004-06-12 23:34:04 +02:00
|
|
|
|
2007-03-27 12:13:50 +02:00
|
|
|
org 0h
|
2004-11-23 01:43:29 +01:00
|
|
|
|
2004-06-12 23:34:04 +02:00
|
|
|
start:
|
2007-03-27 12:13:50 +02:00
|
|
|
header exe <"CE",1,0,0,,offset imports,,offset realstart>
|
2004-11-23 01:43:29 +01:00
|
|
|
|
2007-03-27 12:13:50 +02:00
|
|
|
realstart:
|
|
|
|
call [mouseon]
|
|
|
|
jc errormouse
|
|
|
|
call [print],offset message
|
|
|
|
retf
|
2004-06-12 23:34:04 +02:00
|
|
|
|
2007-03-27 12:13:50 +02:00
|
|
|
errormouse:
|
|
|
|
call [print],offset errormessage
|
|
|
|
retf
|
2004-11-23 01:43:29 +01:00
|
|
|
|
2007-03-27 12:13:50 +02:00
|
|
|
message db 'Activation de la souris\l',0
|
|
|
|
errormessage db 'impossible d''activer la souris\l',0
|
2004-11-23 01:43:29 +01:00
|
|
|
|
2007-03-27 12:13:50 +02:00
|
|
|
importing
|
|
|
|
use VIDEO.LIB,print
|
|
|
|
use MOUSE.SYS,mouseon
|
|
|
|
endi
|