Search found 1237 matches

by Jerry Messina
Sat Feb 28, 2009 12:47 pm
Forum: Compiler
Topic: New updates coming?
Replies: 5
Views: 3188

David,

There's a couple of threads over in the IDE forum about this and working with mplab.
See http://www.sfcompiler.co.uk/forum/viewtopic.php?t=835 for example

Jerry
by Jerry Messina
Fri Feb 13, 2009 12:27 pm
Forum: IDE
Topic: MPLAB 8.10 problem
Replies: 4
Views: 4263

you're not alone. see http://www.sfcompiler.co.uk/forum/viewtopic.php?t=835

While it works, it's pretty ugly.

I've given up trying to build under mplab. I use the SF ide to compile,
and just import the cof file into mplab for debugging. A bit of a pain,
but workable.

Jerry
by Jerry Messina
Fri Feb 13, 2009 12:02 pm
Forum: Compiler
Topic: syntax for 'prototype' declaration
Replies: 2
Views: 1891

Thanks, octal. That syntax worked out much better. However, your warning about "USE AT YOUR OWN RISK" is right. If you declare a function with the 'prototype' keyword, the code generator screws up, causing any 'inline' routines accessed by that function to be expanded incorrectly. Taking a look at t...
by Jerry Messina
Thu Feb 12, 2009 11:09 am
Forum: Compiler
Topic: const string array limits
Replies: 1
Views: 1947

const string array limits

I ran across a compiler issue while using the following... const sHelp() as string = ( "this is a test of const string array length", // line is ok...max length (69+1=70) "123456789012345678901234567890123456789012345678901234567890123456789", // line is too long (70+1=71)...compiler terminates "123...
by Jerry Messina
Mon Feb 09, 2009 10:25 am
Forum: Compiler
Topic: syntax for 'prototype' declaration
Replies: 2
Views: 1891

syntax for 'prototype' declaration

I just tried to use the 'prototype' keyword (as outlined in http://www.sfcompiler.co.uk/forum/posti ... ote&p=5000),
but I keep getting an "END expected" error at the line containing

Code: Select all

sub myNeededFunc() prototype
What am I doing wrong?

Jerry
by Jerry Messina
Mon Feb 09, 2009 9:58 am
Forum: Modules
Topic: usart SetBaudrate issue
Replies: 2
Views: 3213

usart SetBaudrate issue

There appears to be a problem with the usart baud rate routine when using the 16-bit BRG. The module assumes that the SPBRG/SPBRGH registers are adjacent in the memory map, and there are a number of devices where this isn't the case (such as the 18F6680 which I just tried!) For me, changing the code...
by Jerry Messina
Fri Jan 30, 2009 7:01 pm
Forum: IDE
Topic: Conflicts between SFcompiler 2.1.0.1 and MPLAB IDE v8.10
Replies: 19
Views: 14475

I'm the same issue as the others with getting the error Swordfish BASIC Compiler (SE) 2.1.0.1 Copyright (c) 2007 Mecanique All Rights Reserved. [Error]: Unable to open system file [Error](4): Unable to open system file I'm new to swordfish, so I've tried a few different versions of MPLAB and install...