Search found 122 matches

by johngb
Wed Jan 25, 2012 4:19 pm
Forum: IDE
Topic: Library Explorer plugin still work?
Replies: 26
Views: 21037

Updated Library Explorer

I have not been able to repeat the problem with User Libraries here. I have done a complete fresh install of Swordfish on a virgin machine. (Win7). I installed the Library Explorer, copied ADC.Bas from the Library Folder to the User Library Folder and renamed it to MyADC.bas. Opening Library Explore...
by johngb
Mon Jan 23, 2012 3:32 pm
Forum: IDE
Topic: Library Explorer plugin still work?
Replies: 26
Views: 21037

OK, I will see what I can do - as far as I recall it supported subdirectories but its a long time ago, I will have to take a look at the code. I have changed computers since last I did anything with Swordfish, I will have to reinstall from my original disk and get Dave B to remind me what my update ...
by johngb
Mon Jan 23, 2012 2:17 pm
Forum: IDE
Topic: Library Explorer plugin still work?
Replies: 26
Views: 21037

I produced Library Explorer quite a few years ago when Swordfish originally came out. Are there many users out there, if so I will refresh it and issue a new version? The current version was never updated to support the changes made to support Vista/Win7.
by johngb
Wed Dec 29, 2010 4:53 pm
Forum: Compiler
Topic: Code Run from External EEPROM/RAM possible?
Replies: 13
Views: 7486

I think you have a choice of 2 approaches: First - You treat your proven modules such as LCD and clock as part of the operating system which includes a boot loader. You would then make calls to the "OS" for the functions. This would require some form of API and I cannot figure out how with Swordfish...
by johngb
Wed Dec 29, 2010 10:05 am
Forum: Compiler
Topic: Code Run from External EEPROM/RAM possible?
Replies: 13
Views: 7486

Sounds like you want an interpreter- something like a script execution program which executes scripts from the EEPROM. Thus the PIC code itself wouldn't change, it would just be executing scripts you have placed in the EEPROM. I have done something similar in the past. It was for an interactive elec...
by johngb
Tue Feb 10, 2009 6:59 pm
Forum: IDE
Topic: Results View Addition
Replies: 5
Views: 3966

Look at the .spf file generated by the compiler - it should give you the information you want - you could write a simple plugin triggered on the compile event which extracted the info you wanted from the previous spf file and then on compile success compare the result.
by johngb
Mon Feb 09, 2009 12:44 pm
Forum: IDE
Topic: Updated Library Explorer
Replies: 13
Views: 9155

I haven't looked at this application since I originally wrote it. If people think it is useful I will have a look at the issues and update it. Since there has been very little comment on it I assumed it was of little interest to users. The problem is probably with my parser. It is not implemented in...
by johngb
Fri Jan 16, 2009 5:00 pm
Forum: User Modules
Topic: Maximizing speed and efficiency of MCU
Replies: 14
Views: 9141

It will make a significant difference. If at all possible stick with Integer maths and work in bytes for optimum speed and code overhead.
by johngb
Sun Oct 26, 2008 12:14 pm
Forum: Compiler
Topic: Config Registers
Replies: 8
Views: 4094

OK - I'm off out now but I will package something up tomorrow and send it.
by johngb
Sun Oct 26, 2008 11:39 am
Forum: Compiler
Topic: Config Registers
Replies: 8
Views: 4094

Steve would you find the code I have written for the PDS Fuse Configurator useful?
by johngb
Tue Sep 30, 2008 7:11 pm
Forum: Compiler
Topic: Simple Integer math question
Replies: 6
Views: 3627

javascript:emoticon(':oops:')Sorry - I was thinking of another compiler You are right - an integer should support negative numbers. In which case your answer should return a negative number. I have had a look at the DecToStr Library routine and it looks like it should be doing the job correctly. Hav...
by johngb
Tue Sep 30, 2008 8:17 am
Forum: Compiler
Topic: Simple Integer math question
Replies: 6
Views: 3627

If you read the help file definition of an Integer its range is 0-255
You should be using ShortInt which has a range -128 to 127
by johngb
Tue Sep 02, 2008 2:56 pm
Forum: Compiler
Topic: Clearing a LCD-area as soon as possible
Replies: 7
Views: 4268

Why not clear or draw just the difference between last sample and this sample. If its going up you only have to draw the increase, if its going down you only have to clear the decrease.
by johngb
Fri Aug 15, 2008 7:51 am
Forum: Compiler
Topic: "Identifier not declared" error
Replies: 6
Views: 3651

Gordon

You are not a refugee but an escapee!
by johngb
Sun Apr 20, 2008 8:16 pm
Forum: Compiler
Topic: Difference in speed of execution?
Replies: 3
Views: 2714

You must always prefix a function/procedure call with the Module name if you have more than one command with the same name. In fact its best practice to always precede the function/procedure call with the module in which it is used unless it is the current module.