I have attached a special version for you (without manual, but you should have that already).· I have enabled the relevant menu items at startup.· This is a work around.· Normally that is a bad practice.· One has to wonder why this was needed and does that mean that other things might be not acting properly.· But I was stuck.· You should not have a problem; but you were.· So we have to try something.
Yikes. My update mirror is dog slow tonight. Forgot about Brad's post ... thanks.
I may knock out before I get a chance to read the help file though.
Any idea why I would get the Help error? ... something about bad table of contents.
As a developer I like .net especially with the top of the line free development environments;
unfortunately, it has not fully lived up to the portability promise though.
jazzed said...
Yikes. My update mirror is dog slow tonight. Forgot about Brad's post ... thanks.
I may knock out before I get a chance to read the help file though.
Any idea why I would get the Help error? ... something about bad table of contents.
If you are getting that error with kchmviewer you need to go to :
Setting -> Change Settings -> Version Specific Settings -> QTextrowser based Widget
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
If you always do what you always did, you always get what you always got.
Well the viewer finally finished download/install. Document came up on first try.
The error I mentioned only happened with the primary AAC application.
Nice shiny new tag line Brad. Is that a Monty Python quote too? I do own one DVD [noparse];)[/noparse]
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ Nothing is impossible, there are only different degrees of difficulty. For every stupid question there is at least one intelligent answer. Don't guess - ask instead. If you don't ask you won't know. If your gonna construct something, make it·as simple as·possible yet as versatile as posible.
WOW Bob - this is excellent; might even get me to learn PASM at last!
BUT; I too couldn't write if I'd manually entered code into AAC - then I read the help file! Turns out the ONLY way to get AAC to enable the write option is to:
1. first write the code in PropTool;
2. save with -aac in filename;
3. open the file in aac
Now "write" is enabled
Is there any reason for this restriction? It's easy to work with, but it's not exactly intuitive.
<EDIT>OK - just tried it with your second version of AACclient, which has the "write" enabled always - nice </EDIT>
BTW: If you would integrate this into Brad's BTC IDE I think I'd be close to Prop' heaven!
Karl Smith said...
Where can I find the sample files, they are not part of the zip file
Ealier I responded that I didn't feel sample files were needed; that they wouldn't teach much.· I have changed my mind.· I expected that the manual would serve this purpose, but it won't hurt to include a file that illustrates the contructs in use.· It's not much work and if it helps just one person, that's enough.· Plus, I'm a big believer in "quick starts".· So I will include a sample file or two and change the manual to refer to them in the Quick Start section.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ Nothing is impossible, there are only different degrees of difficulty. For every stupid question there is at least one intelligent answer. Don't guess - ask instead. If you don't ask you won't know. If your gonna construct something, make it·as simple as·possible yet as versatile as posible.
It was very very late when I responded to the above post by asking you to expain the LMM? line.· I'm awake now () and will try a better response.
I believe you were asking whether AAC could emit LMM code.· It does not, but only because my focus was on writing PASM to run in a cog.
I·have no·hands-on experience in this area, but I do understand that there are several "kernels" (Henning, et al)·out there that allow assembly code to be placed in hub memory and to be subsequently executed/interpreted by a small kernel that resides in one cog.· This is done to allow PASM code that needs more the 496 (512 - 16) instructions/registers.
I believe that in order to have AAC emit "LMM" code, I would only have to change what it emits for a jmp instruction.· That would not be hard.· And I could let the user specify what should be emitted in place of jmp to accomodate the different kernel requirements.
At the risk of starting some long discussion, I'd like to recommend that instead of writng long PASM code to execute at quarter speed from hub memory, use the C compiler that generates LMM code·and is now available for the Propeller.
simonl said...
WOW Bob - this is excellent; might even get me to learn PASM at last!
BUT; I too couldn't write if I'd manually entered code into AAC - then I read the help file! Turns out the ONLY way to get AAC to enable the write option is to:
1. first write the code in PropTool;
2. save with -aac in filename;
3. open the file in aac
Now "write" is enabled
Is there any reason for this restriction? It's easy to work with, but it's not exactly intuitive.
<EDIT>OK - just tried it with your second version of AACclient, which has the "write" enabled always - nice </EDIT>
BTW: If you would integrate this into Brad's BTC IDE I think I'd be close to Prop' heaven!
I will check to see if I overdid my "interlocks" on enabling "write" (and other menu keys).· I use such interlocks as a way of reminding the user that he hasn't followed a required sequence.· So I don't let an edit panel be written to a file until something has been put in it.· It's a stylistic thing with me.· It clearly has tripped up some people, so I need to review my work in that area.
I am unfamiliar with Brad's BTC IDE.· I'll go take a look.
Post Edited (Bob Anderson) : 11/1/2009 3:52:37 PM GMT
I found the link to BTC. And I assume that BradC is Brad's forum handle. BradC already has some posts in this thread. I will just say: AAC is young yet; it's value as a tool worth yet to be determined; but I'd support the integration if Brad wants it.
Brad has already noted that AAC is a preprocessor. The GUI is needed only if you want to use AAC for editing (as I did during development). It would be easy for me to write a command line version. That might be immediately useful to Brad.
Note the AAC is written using the .NET Framework, which doesn't make Brad jump with joy.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ Nothing is impossible, there are only different degrees of difficulty. For every stupid question there is at least one intelligent answer. Don't guess - ask instead. If you don't ask you won't know. If your gonna construct something, make it·as simple as·possible yet as versatile as posible.
BUT ... On OPEN it not find any files if I not mark ..... ALL Files
Regards
ChJ
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ Nothing is impossible, there are only different degrees of difficulty. For every stupid question there is at least one intelligent answer. Don't guess - ask instead. If you don't ask you won't know. If your gonna construct something, make it·as simple as·possible yet as versatile as posible.
BUT Have You posiblites tu build my own MACROS to build my own COMMANDS?
Regards
ChJ
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ Nothing is impossible, there are only different degrees of difficulty. For every stupid question there is at least one intelligent answer. Don't guess - ask instead. If you don't ask you won't know. If your gonna construct something, make it·as simple as·possible yet as versatile as posible.
BUT it not show me any file at all ... have in that dir 3 that I saved ---- SENSELESSLY ---- On start program will have files in MY FILES - saved them in it and we not ben posible to see them.
I mowed them to other DIR ( Same as programet ... And it works)
Regards
ChJ
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ Nothing is impossible, there are only different degrees of difficulty. For every stupid question there is at least one intelligent answer. Don't guess - ask instead. If you don't ask you won't know. If your gonna construct something, make it·as simple as·possible yet as versatile as posible.
Upon clicking on Open, one sometimes need to navigate to the proper directory. That certainly sounds like what is happening to you. AAC is saving and opening files just fine, except to (or from) unintended directories.
AAC saved in that DIR ... BUT not sed any file
before I moved files from Portfelj DIR to DIR outside it.
Regards
ChJ
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ Nothing is impossible, there are only different degrees of difficulty. For every stupid question there is at least one intelligent answer. Don't guess - ask instead. If you don't ask you won't know. If your gonna construct something, make it·as simple as·possible yet as versatile as posible.
Yup. Bug. You are using AAC differently (but not wrong) from how I tested. I am failing to add -acc.spin to a new file. Instead I'm adding .spin, then the filter keeps yu from seeing it. It'll take just a few minutes to fix.
AAC saved in that DIR ... BUT not sed any file
before I moved files from Portfelj DIR to DIR outside it.
Regards
ChJ
I found some unexpected behavior of the Windows SaveDialog.· It was refusing to add the default extension that I provided.· I don't understand why, but there was a simple work-around.· I have attached the AACclient.exe so that you don't have to download the whole distribution.· (I hope that you have the manual to the latest version though)
Post Edited (Bob Anderson) : 11/1/2009 11:33:01 PM GMT
Thanks.
Yes I have last files on 0.94
Will later try it and post results
Regards
ChJ
Ps.
Tested and it works .. With litle odds "Quick start samp-aac.spin" .. It not ad space before -.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ Nothing is impossible, there are only different degrees of difficulty. For every stupid question there is at least one intelligent answer. Don't guess - ask instead. If you don't ask you won't know. If your gonna construct something, make it·as simple as·possible yet as versatile as posible.
Nice shiny new tag line Brad. Is that a Monty Python quote too? I do own one DVD [noparse];)[/noparse]
It's not actually. I've been using it lately trying to convince people that change can be good and if they stubbornly refuse the process of "continual improvement" then they are destined to program in basic remain stagnant for ever. [noparse];)[/noparse]
Which DVD do you have? Can you recite it?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
If you always do what you always did, you always get what you always got.
I remove spaces from end of filename before adding the -aac.spin extension.
When I didn't do that, it was possible to have a file named "Test file -aac.spin" and
another named "Test file-aac.spin". The output files would then be "Test file .spin"
and "Test file.spin". This could be confusing. In fact, it tricked me once, so
I now trim the filename to eliminate the space.
Understand.
For me It is not any problem without.
But Yours dema have that space ... It was that that give me mistake that maybe it is wrong
Regards
ChJ
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ Nothing is impossible, there are only different degrees of difficulty. For every stupid question there is at least one intelligent answer. Don't guess - ask instead. If you don't ask you won't know. If your gonna construct something, make it·as simple as·possible yet as versatile as posible.
Darn. I accidentally uploaded the wrong distribution. I have already uploaded the correct distribution, but I think there was a sownload in between.
So I may have a confused beta tester out there!!!!
Sorry.
I wish the ObEx had a sandbox. I do a test download after any upload, so I caught my error, but there
remains a window of time where an unsuspecting user can grab the wrong files.
ONE info that tels me how much space is used in COG in that program.
Regards
ChJ
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ Nothing is impossible, there are only different degrees of difficulty. For every stupid question there is at least one intelligent answer. Don't guess - ask instead. If you don't ask you won't know. If your gonna construct something, make it·as simple as·possible yet as versatile as posible.
Comments
In an earlier post, BradC said he could read the help file using kchmviewer. I believe he was also using Ubuntu woth mono.
I have attached a special version for you (without manual, but you should have that already).· I have enabled the relevant menu items at startup.· This is a work around.· Normally that is a bad practice.· One has to wonder why this was needed and does that mean that other things might be not acting properly.· But I was stuck.· You should not have a problem; but you were.· So we have to try something.
Let me know what happens.·· Thanks.
I may knock out before I get a chance to read the help file though.
Any idea why I would get the Help error? ... something about bad table of contents.
As a developer I like .net especially with the top of the line free development environments;
unfortunately, it has not fully lived up to the portability promise though.
If you are getting that error with kchmviewer you need to go to :
Setting -> Change Settings -> Version Specific Settings -> QTextrowser based Widget
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
If you always do what you always did, you always get what you always got.
The error I mentioned only happened with the primary AAC application.
Nice shiny new tag line Brad. Is that a Monty Python quote too? I do own one DVD [noparse];)[/noparse]
BTW: Nice concept Bob.
Thanks ... That one works Very Nice
Regards
ChJ
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Nothing is impossible, there are only different degrees of difficulty.
For every stupid question there is at least one intelligent answer.
Don't guess - ask instead.
If you don't ask you won't know.
If your gonna construct something, make it·as simple as·possible yet as versatile as posible.
Sapieha
BUT; I too couldn't write if I'd manually entered code into AAC - then I read the help file! Turns out the ONLY way to get AAC to enable the write option is to:
1. first write the code in PropTool;
2. save with -aac in filename;
3. open the file in aac
Now "write" is enabled
Is there any reason for this restriction? It's easy to work with, but it's not exactly intuitive.
<EDIT>OK - just tried it with your second version of AACclient, which has the "write" enabled always - nice
BTW: If you would integrate this into Brad's BTC IDE I think I'd be close to Prop' heaven!
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Cheers,
Simon
www.norfolkhelicopterclub.com
Announcement: To cut costs in the current economic climate, we have switched-off the light at the end of the tunnel.
Post Edited (simonl) : 11/1/2009 11:11:56 AM GMT
This is a great develoment tool.
Thanks for sharing.
Nice decision.
Regards
ChJ
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Nothing is impossible, there are only different degrees of difficulty.
For every stupid question there is at least one intelligent answer.
Don't guess - ask instead.
If you don't ask you won't know.
If your gonna construct something, make it·as simple as·possible yet as versatile as posible.
Sapieha
I believe you were asking whether AAC could emit LMM code.· It does not, but only because my focus was on writing PASM to run in a cog.
I·have no·hands-on experience in this area, but I do understand that there are several "kernels" (Henning, et al)·out there that allow assembly code to be placed in hub memory and to be subsequently executed/interpreted by a small kernel that resides in one cog.· This is done to allow PASM code that needs more the 496 (512 - 16) instructions/registers.
I believe that in order to have AAC emit "LMM" code, I would only have to change what it emits for a jmp instruction.· That would not be hard.· And I could let the user specify what should be emitted in place of jmp to accomodate the different kernel requirements.
At the risk of starting some long discussion, I'd like to recommend that instead of writng long PASM code to execute at quarter speed from hub memory, use the C compiler that generates LMM code·and is now available for the Propeller.
I am unfamiliar with Brad's BTC IDE.· I'll go take a look.
Post Edited (Bob Anderson) : 11/1/2009 3:52:37 PM GMT
Brad has already noted that AAC is a preprocessor. The GUI is needed only if you want to use AAC for editing (as I did during development). It would be easy for me to write a command line version. That might be immediately useful to Brad.
Note the AAC is written using the .NET Framework, which doesn't make Brad jump with joy.
I found the bug that was causing you trouble with getting 'write' enabled. Thanks.
Nice to hear
Regards
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Nothing is impossible, there are only different degrees of difficulty.
For every stupid question there is at least one intelligent answer.
Don't guess - ask instead.
If you don't ask you won't know.
If your gonna construct something, make it·as simple as·possible yet as versatile as posible.
Sapieha
I have tested 0.94 It works now
BUT ... On OPEN it not find any files if I not mark ..... ALL Files
Regards
ChJ
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Nothing is impossible, there are only different degrees of difficulty.
For every stupid question there is at least one intelligent answer.
Don't guess - ask instead.
If you don't ask you won't know.
If your gonna construct something, make it·as simple as·possible yet as versatile as posible.
Sapieha
Maybe It is already in it.
Have not read all in HELP file
BUT Have You posiblites tu build my own MACROS to build my own COMMANDS?
Regards
ChJ
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Nothing is impossible, there are only different degrees of difficulty.
For every stupid question there is at least one intelligent answer.
Don't guess - ask instead.
If you don't ask you won't know.
If your gonna construct something, make it·as simple as·possible yet as versatile as posible.
Sapieha
On OPEN, it applies a filter so that it will only show diles that end in -aac.spin
That's probably what happened.
I have not provided a macro building capability.
I know on that filter.
BUT it not show me any file at all ... have in that dir 3 that I saved ---- SENSELESSLY ---- On start program will have files in MY FILES - saved them in it and we not ben posible to see them.
I mowed them to other DIR ( Same as programet ... And it works)
Regards
ChJ
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Nothing is impossible, there are only different degrees of difficulty.
For every stupid question there is at least one intelligent answer.
Don't guess - ask instead.
If you don't ask you won't know.
If your gonna construct something, make it·as simple as·possible yet as versatile as posible.
Sapieha
Upon clicking on Open, one sometimes need to navigate to the proper directory. That certainly sounds like what is happening to you. AAC is saving and opening files just fine, except to (or from) unintended directories.
You don understand me.
AAC saved in that DIR ... BUT not sed any file
before I moved files from Portfelj DIR to DIR outside it.
Regards
ChJ
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Nothing is impossible, there are only different degrees of difficulty.
For every stupid question there is at least one intelligent answer.
Don't guess - ask instead.
If you don't ask you won't know.
If your gonna construct something, make it·as simple as·possible yet as versatile as posible.
Sapieha
Yup. Bug. You are using AAC differently (but not wrong) from how I tested. I am failing to add -acc.spin to a new file. Instead I'm adding .spin, then the filter keeps yu from seeing it. It'll take just a few minutes to fix.
Post Edited (Bob Anderson) : 11/1/2009 11:33:01 PM GMT
Thanks.
Yes I have last files on 0.94
Will later try it and post results
Regards
ChJ
Ps.
Tested and it works .. With litle odds "Quick start samp-aac.spin" .. It not ad space before -.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Nothing is impossible, there are only different degrees of difficulty.
For every stupid question there is at least one intelligent answer.
Don't guess - ask instead.
If you don't ask you won't know.
If your gonna construct something, make it·as simple as·possible yet as versatile as posible.
Sapieha
Post Edited (Sapieha) : 11/2/2009 9:42:52 AM GMT
It's not actually. I've been using it lately trying to convince people that change can be good and if they stubbornly refuse the process of "continual improvement" then they are destined to program in basic remain stagnant for ever. [noparse];)[/noparse]
Which DVD do you have? Can you recite it?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
If you always do what you always did, you always get what you always got.
I remove spaces from end of filename before adding the -aac.spin extension.
When I didn't do that, it was possible to have a file named "Test file -aac.spin" and
another named "Test file-aac.spin". The output files would then be "Test file .spin"
and "Test file.spin". This could be confusing. In fact, it tricked me once, so
I now trim the filename to eliminate the space.
Understand.
For me It is not any problem without.
But Yours dema have that space ... It was that that give me mistake that maybe it is wrong
Regards
ChJ
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Nothing is impossible, there are only different degrees of difficulty.
For every stupid question there is at least one intelligent answer.
Don't guess - ask instead.
If you don't ask you won't know.
If your gonna construct something, make it·as simple as·possible yet as versatile as posible.
Sapieha
I realized what you meant after I posted reply. I have fixed that in the distribution.
Thanks.
So I may have a confused beta tester out there!!!!
Sorry.
I wish the ObEx had a sandbox. I do a test download after any upload, so I caught my error, but there
remains a window of time where an unsuspecting user can grab the wrong files.
I have one foolish question.
It is posible to have before FIT 496
ONE info that tels me how much space is used in COG in that program.
Regards
ChJ
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Nothing is impossible, there are only different degrees of difficulty.
For every stupid question there is at least one intelligent answer.
Don't guess - ask instead.
If you don't ask you won't know.
If your gonna construct something, make it·as simple as·possible yet as versatile as posible.
Sapieha