2019-07-13 20:49:22 +02:00
|
|
|
use16
|
|
|
|
align 1
|
|
|
|
|
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
|
|
|
|
2019-07-14 12:47:14 +02:00
|
|
|
header exe 1,0,imports,0,realstart
|
2004-11-23 01:43:29 +01:00
|
|
|
|
2007-03-27 12:13:50 +02:00
|
|
|
realstart:
|
2019-07-09 18:30:00 +02:00
|
|
|
invoke mouseon
|
2007-03-27 12:13:50 +02:00
|
|
|
jc errormouse
|
2019-07-09 18:30:00 +02:00
|
|
|
invoke print, message
|
2007-03-27 12:13:50 +02:00
|
|
|
retf
|
2004-06-12 23:34:04 +02:00
|
|
|
|
2007-03-27 12:13:50 +02:00
|
|
|
errormouse:
|
2019-07-09 18:30:00 +02:00
|
|
|
invoke print, errormessage
|
2007-03-27 12:13:50 +02:00
|
|
|
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
|