cos2000v1/programs/souris.asm

28 lines
421 B
NASM
Raw Permalink Normal View History

2019-07-13 20:49:22 +02:00
use16
align 1
include "..\include\mem.h"
include "..\include\divers.h"
org 0h
header exe 1,0,imports,0,realstart
realstart:
2019-07-09 18:30:00 +02:00
invoke mouseon
jc errormouse
2019-07-09 18:30:00 +02:00
invoke print, message
ret
errormouse:
2019-07-09 18:30:00 +02:00
invoke print, errormessage
ret
message db 'Activation de la souris\l',0
errormessage db 'impossible d''activer la souris\l',0
importing
use VIDEO.LIB,print
use MOUSE.SYS,mouseon
endi