Intel iapx 432 Baby Furniture User Manual


 
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
*/
/*
*/
/************************************************/
Call
GetJ>rint
_message:
Call
Open _ winda-r:
Do
offset
= 0
to
l023~
Call
Print
(subrange(offset»~
Em:
Call
Close_windCMi
Call
ReturnJ>rint_message~
End~
End
Printer
__
task~
F-lO
/*
loop
forever
*/
/*
Receive a message from
the
Print
Request
Port.
*/
/*
Open
a
window
onto
the
message.
*/
/*
Read and
print
the
contents
of
the
message
*/
/*
using
the
mapped
subrange
and
the
AP's
native
*/
/*
instruction.
Assume
Print
is
a
system
routine.
* /
/*
Close
the
windOll. * /
/*
Send
the
message
to
the
Print
Reply
Port.
* /