any PUB makes it not work
CassLan
Posts: 586
Hi All,
I have been struggling with this for the better part of today...
My Spin program at the moment has 2 PUBs: Main and TextMenu
Uses 2 OBJs: TV_Text and KB
It works as expected in everyway, I'm trying to add some subroutines, I've looked at the manual and PUB seems to be what to do.
Whenever I add a PUB the program no longer works..it freezes.
I've Added:
PUB TestFunction
I've tried adding it before Main, after Main...etc
Anyone have any idea whats happening?
If the code would be usefull I'm happy to post it.
Thanks,
Rick
Post Edited (CassLan) : 3/8/2009 3:50:14 AM GMT
I have been struggling with this for the better part of today...
My Spin program at the moment has 2 PUBs: Main and TextMenu
Uses 2 OBJs: TV_Text and KB
It works as expected in everyway, I'm trying to add some subroutines, I've looked at the manual and PUB seems to be what to do.
Whenever I add a PUB the program no longer works..it freezes.
I've Added:
PUB TestFunction
I've tried adding it before Main, after Main...etc
Anyone have any idea whats happening?
If the code would be usefull I'm happy to post it.
Thanks,
Rick
Post Edited (CassLan) : 3/8/2009 3:50:14 AM GMT
Comments
Zip up and post your code so we can try it..
OBC
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
New to the Propeller?
Check out: Protoboard Introduction , Propeller Cookbook 1.4 & Software Index
Updates to the Cookbook are now posted to: Propeller.warrantyvoid.us
Got an SD card connected? - PropDOS
and WOW btw on your skateboard controller...very cool.
Rick
You need to set your menu position based on what the Propeller Tool calculates.
Dat addresses can change (as you are finding out) based on the number of methods, etc....
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
--Steve
Yes of course!! I had only put that hard address in when I was troubleshooting the $10 byte difference.
Thank you again for your help.
Rick