Search found 584 matches

by octal
Thu Nov 12, 2020 2:26 pm
Forum: General
Topic: interested in new device support?
Replies: 12
Views: 1338

Re: interested in new device support?

Hi Jerry, thank you for all the hard work you are doing on adding support for new devices. I personally think that the real solution to this problem is to write a full assembler from scratch. Not the easiest thing to do but definitely the ultimate one. Microchip keeps modifying their tools and encry...
by octal
Fri Jul 10, 2020 11:56 pm
Forum: Compiler
Topic: Is it possible to store Pin ref in a structure field
Replies: 4
Views: 765

Re: Is it possible to store Pin ref in a structure field

Hi Jerry,
thank you for the answer. The offset thing (18 ...) is the main problem I was facing. I couldn't really find a clean way to avoid it to make things hardware independant.
We need POINTERs support in Swordfish BASIC ... :mrgreen:
by octal
Fri Jul 10, 2020 9:16 pm
Forum: Compiler
Topic: Is it possible to store Pin ref in a structure field
Replies: 4
Views: 765

Is it possible to store Pin ref in a structure field

Hi, is it possible (and what's the best way if any) to store physical pins references in SF Structures? To be explainful When we create sub/func, we can pass a pin ByRef and then let the procedure act on the pin. I need to pass a set of pins to a procedure/function, and to make things clean, it woul...
by octal
Sun Jun 28, 2020 12:38 pm
Forum: Compiler
Topic: Default Variable Assignment
Replies: 27
Views: 2302

Re: Default Variable Assignment

I'm not sure I really see much of an advantage one way or the other, unless you were going to allow forward references. Couldn't you always just use a template like this? program myprog inline sub main() // main program goes here end sub main end program Want does requiring 'main' get you? Jerry, M...
by octal
Sun Jun 28, 2020 8:57 am
Forum: Compiler
Topic: Default Variable Assignment
Replies: 27
Views: 2302

Re: Default Variable Assignment

This is one of the things I hate in Swordfish. I would have prefered to see a statement like Main, or ProgStart, .... to explicitely introduce the main program.
Firewing with its "main" sub is a true progress in that sens.
by octal
Sun Jun 28, 2020 8:52 am
Forum: General
Topic: 18FxxQ43 SRAM silicon errata B0
Replies: 6
Views: 970

Re: 18FxxQ43 SRAM silicon errata B0

I'm hoping that errata reads "we really screwed up on this one and while we fix it we thought you should know..." Otherwise they can't be serious, can they? This is serious Jerry, this is Microchip since some years. I saw this kind of behaviour and lose of seriousness at Microchip when they release...
by octal
Sun Jun 21, 2020 7:08 pm
Forum: General
Topic: Diagnostics hardware
Replies: 13
Views: 1373

Re: Diagnostics hardware

If you setup the TX to be interrupt-driven you'll get an intr when the TXREG is ready to accept a char, so about the only thing you need to check after loading the TXREG is if you're at the end of your transmit message, and if you are then disable the TXIE until you 're ready to send the next messa...
by octal
Thu Jun 18, 2020 8:43 pm
Forum: Compiler
Topic: SF libraries folders
Replies: 1
Views: 372

SF libraries folders

Hello, a little question about SF folders and libraries handling. 1- if I have all libraries inside my project folder, does those take over libs in SF lib and sf userlib folders? 2- if I put the libs in a subfolder of my project, are those visible and still take predececence over SF lib/UserLib fold...
by octal
Tue Jun 16, 2020 1:08 pm
Forum: Compiler
Topic: Default Variable Assignment
Replies: 27
Views: 2302

Re: Default Variable Assignment

@David, Jerry Looks like Firewing is highly influencing SF future :P I was doing something like the following and thinking how does the compiler know what "x" is :shock: The compiler simply looks at the pixels forming X letter on the screen and check if the matrix matches with predefined const array...
by octal
Sat May 30, 2020 10:50 am
Forum: General
Topic: COVID19
Replies: 10
Views: 2148

Re: COVID19

Hi David, everything is ok here at France. Paris and its surrounding cities are still considered as high risk region, but even with transportations and undisciplined people it seems there is the virus is no more contagious. Maybe it's due to warmer weather. Today all forests and parks are opened her...
by octal
Tue Apr 28, 2020 9:18 pm
Forum: General
Topic: COVID19
Replies: 10
Views: 2148

Re: COVID19

corona.jpg Thank you for your post, but, please, I didn't created this thread for speculation or exposing political or complotistic theses. This is Swordfish BASIC forum, and I took the freedom (sorry David.B) to create this post just to make sure all our friends here are well doing. Please, don't ...
by octal
Fri Mar 27, 2020 6:00 pm
Forum: General
Topic: COVID19
Replies: 10
Views: 2148

Re: COVID19

Hi all, Here at France people are also still uneducated about the risques they take when going out. "Social distancing" is not enough. People do not understand that. Government gave the the authorization to do 1h sport per day (alone), the possibility to go out to buy foods and first necessity thing...
by octal
Sun Mar 22, 2020 10:24 pm
Forum: General
Topic: COVID19
Replies: 10
Views: 2148

COVID19

Hi there,
hope all of you and your families are well doing during these COVID19 days and forced home containement.

Regards
by octal
Tue Nov 26, 2019 9:42 am
Forum: User Modules
Topic: MODULES FOR MCP23008 AND MCP9800
Replies: 5
Views: 2914

Re: MODULES FOR MCP23008 AND MCP9800

The MCP23008 modules works almost the same as the MCP23S17 for which I already published an Swordfish BASIC module some years ago. Check the modules page http://www.sfcompiler.co.uk/wiki/pmwiki.php?n=SwordfishUser.Modules If you have special requirements, I can take a bit of time to make a generic m...
by octal
Thu Oct 31, 2019 9:46 am
Forum: Compiler
Topic: Request for SF support for new chip 18F27Q10
Replies: 8
Views: 2365

Re: Request for SF support for new chip 18F27Q10

Hi Jerry, David,
just checked quickly the announcement and the changes list, it's an incredible amount of work. You have done great!

Thank you for this update. I'll take time to check and test that this weekend.

Regards