Search found 1197 matches

by David Barker
Fri Dec 01, 2006 9:22 am
Forum: Compiler
Topic: Using Swordfish with Microchip USB Bootloader ?
Replies: 16
Views: 10738

Not at the moment. I'm hoping to have better USB support for the compiler in the new year.
by David Barker
Fri Dec 01, 2006 9:21 am
Forum: Compiler
Topic: Even the examples run into Demolimit
Replies: 14
Views: 7183

> it is difficult to understand, how someone can test a new product, > when even the examples run into the demo limit of SF. (One-Wire > with DS1820). This should not be happening. All the examples should build using the SE version. What version of the compiler are you running (look in HELP...ABOUT)...
by David Barker
Mon Nov 27, 2006 3:05 pm
Forum: Compiler
Topic: ISRTIMER.BAS Question
Replies: 6
Views: 4791

> Just wondering about the accuracy of the above interval. The ISRTimer module is just a general purpose module that allows you to have multiple 16 bit timers. The timeout math is correct, but the end result will be skewed by the time taken to process the interrupt iseft. In short, it is not (or mea...
by David Barker
Fri Nov 24, 2006 4:27 pm
Forum: Compiler
Topic: #Option Request
Replies: 7
Views: 4752

> I agree 100% with what you say for the sake of a few > extra instructions it would be easier to swap the data > coming into the correct format and then swap it back > when its sent out. I think you are right in that it would only take a few extra instructions - quite a nice little 'code challenge'...
by David Barker
Fri Nov 24, 2006 3:57 pm
Forum: Compiler
Topic: #Option Request
Replies: 7
Views: 4752

> As an aside, I think I have come up with a way to get > round the problem at the array stuffing stage. I don't really see what you are trying to achieve as a big problem, but I can't be sure without seeing some snippets of code. However, what you suggest seems to be the way forward. Rather than wa...
by David Barker
Fri Nov 24, 2006 3:50 pm
Forum: Compiler
Topic: #Option Request
Replies: 7
Views: 4752

First a couple of points... > dim MyByteArray[10] as Byte Absolute $30 > dim MyWordArray[5] as Word Absolute $30 You can do this in Swordfish, just remember to use round brackets. For example, dim MyByteArray(10) as byte absolute $30 dim MyWordArray(5) as word absolute $30 Also note that in Swordfis...
by David Barker
Sun Nov 19, 2006 3:38 pm
Forum: Compiler
Topic: a/d problem
Replies: 20
Views: 13361

Please feel free to post to the wiki - you don't need to logon and it is very easy to use...
by David Barker
Fri Nov 17, 2006 8:54 pm
Forum: Compiler
Topic: 18F2221
Replies: 2
Views: 2924

When I was building the include files for the release, this device was still classed as a future product - so was not included. Anyway, I have now built include files to support the 18F2221, 18F2321, 18F4221 and 18F4321. To access them, http://www.sfcompiler.co.uk/wiki/pmwiki.php?n=Swordfish.Support...
by David Barker
Thu Nov 09, 2006 3:57 pm
Forum: User Modules
Topic: Swordfish SED1520 Module
Replies: 12
Views: 8104

It's released - just download from here http://www.sfcompiler.co.uk/swordfish/download/index.html For registered users, just run the online update utility... All in all, an excellent piece of work from Steven. With his SED1520 GLCD driver you can can draw circles, lines, boxes and bitmaps. It also s...
by David Barker
Tue Nov 07, 2006 9:50 am
Forum: Compiler
Topic: GLCD support?
Replies: 4
Views: 3810

A useful tip...

type

GLCD

in the IDE and press 'F1'. This will display a little popup with context sensitive help. Scroll down to the bottom for #option GLCD_MODEL. The GLCD module defaults to KS0108...
by David Barker
Tue Nov 07, 2006 9:46 am
Forum: Compiler
Topic: Implementing DECFSZ or INCFSZ
Replies: 8
Views: 5498

There must be a reason but I find the assembler variable naming conventions hard to track relative to the source code...except these are killing me..... I can understand these being difficult at first. Obviously, some means of 'name mangling' is required, as Swordfish is highly scoped and the same ...
by David Barker
Mon Nov 06, 2006 8:53 pm
Forum: Compiler
Topic: RTC DS1302 or DS1307
Replies: 2
Views: 3851

I spoke to John today - he is really busy on another project at the moment so asked me to reply... John worked on a DS1307 module some time ago, with some really useful formatting functions. However, there are a couple of things I need to speak with him about before posting the whole set of modules....
by David Barker
Mon Nov 06, 2006 1:29 pm
Forum: Compiler
Topic: Implementing DECFSZ or INCFSZ
Replies: 8
Views: 5498

I was having fun until I ran out of room with the RAM limit rather quickly in a relatively small program that used an 11 character string, a single long integer, and a couple bytes... Perhaps you could post or email the code that is causing the problem. At least then I could give an explanation as ...
by David Barker
Mon Nov 06, 2006 9:16 am
Forum: Compiler
Topic: November 6th, Already?
Replies: 3
Views: 3544

It's now available for purchase!
by David Barker
Sat Nov 04, 2006 10:39 am
Forum: Compiler
Topic: Other pic series
Replies: 5
Views: 4504

Regarding the future development of Swordfish, I've posted some notes on the wiki which I hope to update on a regular basis...

http://www.sfcompiler.co.uk/wiki/pmwiki ... evelopment