Add the led_on/led_off script fragments.

This commit is contained in:
bouyer 2002-04-22 15:55:09 +00:00
parent 4cda08fb6e
commit 9080ea0aa3
1 changed files with 7 additions and 1 deletions

View File

@ -1,4 +1,4 @@
; $NetBSD: esiop.ss,v 1.2 2002/04/22 15:53:40 bouyer Exp $
; $NetBSD: esiop.ss,v 1.3 2002/04/22 15:55:09 bouyer Exp $
;
; Copyright (c) 2002 Manuel Bouyer.
@ -356,3 +356,9 @@ get_extmsgdata:
CLEAR ACK;
MOVE FROM t_ext_msg_data, WHEN MSG_IN;
INT int_extmsgdata;
PROC siop_led_on:
MOVE GPREG & 0xfe TO GPREG;
PROC siop_led_off:
MOVE GPREG | 0x01 TO GPREG;