摘要 |
A fax machine (8) includes a print controller (30), a fax controller (14) and random access memory (44). Generic control code (54) is stored in ROM (42) of the print controller (30), and paper path code is stored in ROM (26) of the fax controller (14). Upon startup of the fax machine (8), the fax controller (14) passes copies of paper path code functions (50) and variable values (52) to the print controller (30) which writes the variable values (52) to a jump table in the random access memory (44), writes the functions (50) to designated portions of the random access memory (44), and writes starting addresses of the functions (50) to the jump table. During operation of the fax machine (8), the print controller (30) executes the generic control code (54) and uses the jump table to access the variable values and to execute the functions. Thus, the jump table allows the print controller (30) to interface the generic control code (54) with the device-specific variable values (52) and the functions (50). Another embodiment has a computer in place of the fax engine (10).
|