Dreamora #1 Your extern - end extern is missing.You have to define the function within the bmx file or an imported one. extern Function RdZ80:Byte(Addr:Short) end extern Things like this are covered in the advaced section of the BM docs.