Elapsed_Demo.bas compilation errors


Closed Thread
Results 1 to 4 of 4
  1. #1

    Default Elapsed_Demo.bas compilation errors

    I got interested in DT's Elapsed Timer routine so I tried the "Elasped_Demo.bas" program from posts found on this forum. Using MPASM and MCS the program complied, showing, Success: 502 words used. However, there were 6 errors listed starting with: ERROR ...... (wsave variable not found). What does this mean? Is the compilation good or bad?

  2. #2
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default

    It depends on what chip you are using.

    Open the ASM_INTS.bas file and comment out the wsave variables that give errors.
    Leave the one's that DO NOT cause errors un-commented.
    <br>
    DT

  3. #3


    Did you find this post helpful? Yes | No

    Default

    OK, it's working now. The problem was indeed with the wsave variables.

    I'm using DT_INST-14.bas version 1.00. All the wsave stuff was already commented out there. The error messages gave the clue to uncomment the line "wsave var byte $70 SYSTEM". It then compiled without error for the 16F88 chip and other similar chips as well.

  4. #4
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default

    Oh ... ok,
    I thought you were using the original Elapsed Timer Demo.

    In DT_INTS-14 v1.00, I added new error messages that warn when the wsave variables need to be adjusted, and tell you what to do.

    I thought that would finally end the questions about wsave vars .. I guess not.

    In all fairness, I haven't explained that anywhere yet.
    So you could not have known.

    Glad you got it working.
    DT

Similar Threads

  1. Unable to pass a variable to LCDOUT without getting compile errors
    By Ferroto Baggins in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 28th February 2010, 16:43
  2. Compilation errors - strange
    By tetanus4 in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 24th October 2009, 19:04
  3. Replies: 3
    Last Post: - 1st July 2008, 21:07
  4. Picbasic Pro Demo assembly errors
    By mikeRho in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 2nd January 2008, 06:41
  5. Microcode Studio Plus compile/assmebly errors
    By mikehagans in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 18th February 2006, 21:31

Members who have read this thread : 1

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts