25.07.2014 Views

User's Manual 686LCD/S & 686LCD/MG CPU Board

User's Manual 686LCD/S & 686LCD/MG CPU Board

User's Manual 686LCD/S & 686LCD/MG CPU Board

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>686LCD</strong>/S & <strong>686LCD</strong>/<strong>MG</strong> <strong>CPU</strong> <strong>Board</strong> - Version 1.4.0 - 8. December 1997<br />

4.7 INSIDE Interrupts<br />

The interrupt number is selected in the INSIDE Utilities setup menu.<br />

By loading the desired function number in the AL <strong>CPU</strong> register and generating a software interrupt<br />

with the INT X instruction the function is called. X is the interrupt number specified in the Inside<br />

utility setup. Some of the functions will require an additional value loaded in the AH register.<br />

The software interrupt is used to control the following:<br />

Function 00h, Diagnostic call.<br />

This call can be used to test whether the interrupt is setup correct.<br />

Input :<br />

AL =<br />

Output :<br />

AL =<br />

00h<br />

5Ah<br />

Function 10h, Enable displays.<br />

This call enables or disables the CRT and Flat panel outputs.<br />

Input :<br />

AL =<br />

AH =<br />

10h<br />

00h : Disable both CRT and Flat panel outputs.<br />

01h : Enable CRT and disable Flat panel output.<br />

02h : Disable CRT and enable Flat panel output.<br />

03h : Enable both CRT and Flat panel outputs.<br />

Function 20h, Write to general purpose digital outputs.<br />

This function is used to access the general purpose pins GPIO7..0 in the JPFEAT connector.<br />

Input :<br />

AL =<br />

AH =<br />

20h<br />

The port value to be written. GPIO0 in bit 0 of AH.<br />

Function 21h, Read back from general purpose digital outputs.<br />

This function is used to read back values directly on the GPIO pins.<br />

Input :<br />

AL =<br />

Output :<br />

AH =<br />

21h<br />

The read port value. GPIO0 in bit 0 of AH.<br />

Function 22h, Same as function 21h for compatibility reasons.<br />

INSIDE Technology A/S. Page 28 of 134

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!