209,212d208
<
< # if the func is internal to the chip but not the machine
< # then it can only be accessed through the chip pointer
< internal = ""
214c210
< internal = "m_chip_ptr->"
---
> self.error("Invalid function")
228c224
< code('(${internal}${{func.c_ident}}($params))')
---
> code('(${{func.c_ident}}($params))')