Search found 17 matches

by kanderson
Tue Feb 03, 2015 3:50 pm
Forum: IDE
Topic: What text editor do you use?
Replies: 1
Views: 3996

What text editor do you use?

My text editor of choice is sublime text 3. Does anyone else use it to edit .bas files? If so, are you aware of any themes which include syntax highlighting for SF? I've been thinking of creating one myself, but haven't gotten around to it yet. Up until now, I've been using TextPad for SF since the ...
by kanderson
Thu Jul 31, 2014 5:23 pm
Forum: Modules
Topic: Where does the compiler search for libraries?
Replies: 23
Views: 11703

Re: How does the <processor>.inc file get included

I think I got my problem fixed. I looked back through my old .IDF file and found that the 18F87J11.BAS file was actually coming from C:\ProgramData\Mecanique\Swordfish\Includes, which at some point in the past I made into a symbolic link to a place in my old file structure. Thus changing to the new ...
by kanderson
Thu Jul 31, 2014 3:28 pm
Forum: Modules
Topic: Where does the compiler search for libraries?
Replies: 23
Views: 11703

How does the <processor>.inc file get included

I recently got a code repository going on a local company server. While setting up the repo, I used the opportunity to reorganize some folders. I ended up putting my libraries in project subfolders... which brought me to this thread because my stuff no longer compiles. My project is now throwing ASM...
by kanderson
Wed Jan 15, 2014 10:53 pm
Forum: Compiler
Topic: Error: ' ASSIGN ' not found
Replies: 2
Views: 1772

Re: Error: ' ASSIGN ' not found

Well, I've found the offending code. But I don't understand why this happens... Old "offending" line of code: DrawSolara.drawMenuFooter("Msg History", ScreenLayout.Screen_08_ViewMessageHistory.UsesUpToGetBack) New line of code that compiles just fine DrawSolara.drawMenuFooter("Msg History", true) No...
by kanderson
Wed Jan 15, 2014 8:12 pm
Forum: Compiler
Topic: Error: ' ASSIGN ' not found
Replies: 2
Views: 1772

Error: ' ASSIGN ' not found

Hello, I am getting some strange output when I run the compiler... Normally, I get output from the compiler such as Error[] <filename.bas> <line#> : <message> or Warning[] <filename.bas> <line#> : <message> Hint[] <filename.bas> <line#> : <message> but for the past couple of days, I've been seeing t...
by kanderson
Thu Nov 28, 2013 6:04 pm
Forum: Compiler
Topic: Compiler hangs and never finishes
Replies: 10
Views: 3658

actually, cancel that... I can't reproduce the problem any more. Thanks a lot for your help, it looks like your fix works great!
by kanderson
Thu Nov 28, 2013 5:47 pm
Forum: Compiler
Topic: Compiler hangs and never finishes
Replies: 10
Views: 3658

oh yes, actually if I revert and compile the code I sent you it works... however if I try to compile it with the changes I've made since then, it hangs... I'll email you the code where it hangs
by kanderson
Thu Nov 28, 2013 5:06 pm
Forum: Compiler
Topic: Compiler hangs and never finishes
Replies: 10
Views: 3658

Got the executables

my mail is forwarded to gmail which whouldn't accept the file. But when I checked my work email it was there. I tried to compile using the new executables... The one that wouldn't compile still wouldn't compile, it just hung there forever. I'm pretty sure I used the right binary because the output f...
by kanderson
Thu Nov 28, 2013 4:53 pm
Forum: Compiler
Topic: Compiler hangs and never finishes
Replies: 10
Views: 3658

executables

I don't think my mailbox will accept them as is... a workaround is to change the file extension on the archive files... for example, change
zippedExecutable.zip to zippedExecutable.changethistozip

The mail server won't think to try and look in the archive...
by kanderson
Wed Nov 27, 2013 9:46 pm
Forum: Compiler
Topic: Compiler hangs and never finishes
Replies: 10
Views: 3658

Working now

In the code I sent you, in the file Keypad_FT2100.bas I changed the following private dim newKeyPressDetected as boolean, lastKeyPressed as byte, keyHeldDownCount as word, differentKeyPressed as boolean public function newKeyWasPressed() as newKeyPressDetected // result = newKeyPressDetected end fun...
by kanderson
Wed Nov 27, 2013 8:55 pm
Forum: Compiler
Topic: Compiler hangs and never finishes
Replies: 10
Views: 3658

Re: source code?

I've sent you an email with my source code

I'm also occasionally getting an ASM error... the generated ASM is here
LFSR -1,WDTA_M481_U24

What might cause the compiler to generate ASM with -1 as the FSR#?

Edit: PS: when I recompile the program, the ASM error goes away...
by kanderson
Wed Nov 27, 2013 8:03 pm
Forum: Compiler
Topic: Compiler hangs and never finishes
Replies: 10
Views: 3658

Re: source code?

I'll ask permission from my boss to send source code.

Aside: I realized it was actually compiler version 2.2.1.4 that I was using. When I switched back to 2.2.1.8, commenting out my module function call doesn't cause it to complete compiling, it hangs either way...
by kanderson
Wed Nov 27, 2013 7:35 pm
Forum: Compiler
Topic: Compiler hangs and never finishes
Replies: 10
Views: 3658

Compiler hangs and never finishes

I'm having an odd problem where the compiler hangs and never finishes executing. I'm using a script to call Swordfish.exe on the command line, using version 2.2.1.8 on windows 7. When I open my task manager, it shows Swordfish.exe using 0% CPU time. If I try to compile the project in the Swordfish I...
by kanderson
Fri Nov 22, 2013 11:54 pm
Forum: Compiler
Topic: suggestions for const structures
Replies: 6
Views: 3504

Any luck?

Hi Jerry,

Have you found any better way to do it since your post? I also want to do something similar...
by kanderson
Fri Nov 08, 2013 10:16 pm
Forum: Compiler
Topic: strange - infinite loop in msdelay function
Replies: 12
Views: 6427

Still happening

Hi, I'm working with RadioT... I removed the stuff from our ISR that manipulated GIE, and we're still having the stack overflow issue. Any other thoughts? { ***************************************************** * Name : highPriorityInterrupts * ***************************************************** }...