![](/images/new-backgrounds/1178020/178020345x1.webp)
iAPX 432 Interface Processor Architecture Reference Manual
/************************************************/
P |
| ~ |
/* | Initialization | */ |
/* |
| */ |
/*****************************************k******/
Call Disable_Interrupts: /* Busy waiting will be used, | not the interrupt mechanism | */ | |
| /* Also assume that 00 faults will occur | */ | |
Call Dispatch ~ |
|
|
|
/************************************************/ |
| ||
P | Print Driver Body | ~ |
|
/* | */ |
| |
/* |
| */ |
|
/************************************************/
| /* loop forever | */ |
Call GetJ>rint_message: | /* Receive a message from the Print Request Port. | */ |
Call | /* Open a window onto the message. | */ |
Do offset = 0 to l023~ | /* Read and print the contents of the message | */ |
Call Print (subrange(offset»~ | /* using the mapped subrange and the AP's native | */ |
Em: | /* instruction. Assume Print is a system routine. | */ |
Call Close_windCMi | /* Close the windOll. | */ |
Call ReturnJ>rint_message~ | /* Send the message to the Print Reply Port. | */ |
End~ |
|
|
End |
|
|
Printer__task~ |
|
|