![](/images/new-backgrounds/1178020/178020333x1.webp)
iAPX 432 Interface Processor Architecture Reference Manual
Printer task:
Procedure:
/*****~******************************************/
/* |
| */ |
/* | Data Structures and Constants | */ |
/* |
| */ |
/************************************************/
/**************************************************************************************/
/* | Declare the 256 byte structure for the Control Window and map it beginning at | */ |
/* | an offset of 07FOOH into the 64K byte segment which is reserved for the IP. | */ |
/* For the IUrpcses of this example, the base of the IP' s reserved area is at location*/
/* 080000H 'Jf the Attached Processor memory space.*/ /**********lr***************************************************************************/
Declare I! base literally '080000H'; |
|
| ||
Declare Window 4 structure ( |
|
|
| |
ps state |
| word, |
| |
i~ state |
| "'NOrd, |
| |
alarm state |
| word, |
| |
disp state |
| 'NOrd, |
| |
reserved 1 |
| word, |
| |
frfyrcs=idx |
| 'NOrd, |
| |
frf | function state |
| word, |
|
| word, |
| ||
frf | result (10) |
| word, |
|
i~=fun_req |
| word, |
| |
reserved 2 |
| word, |
| |
mf block- oount |
| WOrd, |
| |
| word, |
| ||
mfys_disp |
| 'NOrd, |
| |
reserved 3 |
| word, |
| |
mf_windoW_info (5) structure ( | word, |
| ||
entry state |
|
| ||
mask- |
| 'NOrd, |
| |
base disp |
| word) , |
| |
mf fault information (14) |
| byte, |
| |
| word, |
| ||
| 'NOrd, |
| ||
psor | fault information (13) | byte, |
| |
| 'NOrd) at (IP_base + 07FOOH); |
| ||
Declare subrange (1024) byte at (IP base. + 4096); |
| |||
|
| - | /* byte array COllprising windowed subrange */ | |
:Jec1are offset | word; |
| /* offset into subrange | */ |
Declare true | literally | 'OOOlH'; | /* Io;Jical value true | */ |
Declare false | literally | 'OOOOH' | /* IDgical value false | */ |