cos2000v1/programs/souris.asm

29 lines
408 B
NASM
Raw Normal View History

2019-07-13 20:49:22 +02:00
use16
align 1
include "..\include\mem.h"
include "..\include\divers.h"
org 0h
start:
2019-07-09 18:30:00 +02:00
header exe 1
realstart:
2019-07-09 18:30:00 +02:00
invoke mouseon
jc errormouse
2019-07-09 18:30:00 +02:00
invoke print, message
retf
errormouse:
2019-07-09 18:30:00 +02:00
invoke print, errormessage
retf
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