Menu

Developer Help Needed

Anobium
2024-01-11
2024-05-04
<< < 1 2 3 (Page 3 of 3)
  • Anobium

    Anobium - 2024-02-05

    And, this change has enabled GC Graphical BASIC to use GLCD! This has not worked - every.

    Now it does. Because the loading of the all the libraries confused GC Graphical BASIC.

    :-)

     
  • Jim giordano

    Jim giordano - 2024-02-05

    okay, got it. Will give it a try in a few hours, have RL stuff to do

     
    • Anobium

      Anobium - 2024-02-05

      Thank you.

      It has gone.

       
  • Jim giordano

    Jim giordano - 2024-02-05

    First test-
    3 line program:

    #CHIP 16f1765
    #DEFINE GLCD_TYPE GLCD_TYPE_ILI9341
    #INCLUDE <glcd.h>
    

    produces the following:

    Error: Message NOFILEOTHER not defined in messages.dat!C:\GCstudio\gcbasic\include\glcd_ili9341.h

    all occurrences of NoFileOther in the files you sent-

    "K:\gcbasictest\gcbasic\gcbasic\preprocessor.bi"
    1819: Temp = Message("NoFileOther")

    "K:\gcbasictest\gcbasic\gcbasic\dev\messages.dat"
    76: NoFileOther = "Cannot find %Fname%"

    "K:\gcbasictest\gcbasic\gcbasic\dev\preprocessor.bi"
    1819: Temp = Message("NoFileOther")

    Is this expected?

    Also, don't know where error routine got the path c:\GCstudio\gcbasic... there is no such path.

     
    • Anobium

      Anobium - 2024-02-05

      That code works here.

      Did you unpack all of the RAR ?

      Did I give you the correct version of compiler ? What version was displayed?

       
  • Anobium

    Anobium - 2024-02-05

    I just deleted the whole of gcbasic folder, unpacked the RAR to that folder. Looks good.

    Using

    #CHIP 16f1765
    #DEFINE GLCD_TYPE GLCD_TYPE_ILI9341
    #INCLUDE <glcd.h>
    

    Got

    GCBASIC (1.01.00 2024-02-05 (Windows 64 bit) : Build 1330)

    Compiling: first-start-sample.gcb
    Program compiled successfully (Compile time: 1.5 seconds)

    Summary:
    Compiled:
    Program lines: 10939
    Subroutines: User: 0 ; System: 1 of 537 ; Total: 1
    Chip resource usage:
    Program Memory: 21/8192 words (.26%)
    RAM: 0/1024 bytes (0%)
    OSC: INTOSC, 32Mhz (Internal oscillator)

     
  • Jim giordano

    Jim giordano - 2024-02-06

    okay, I'll run it down

     
  • Jim giordano

    Jim giordano - 2024-02-06

    Sorry about that. Apparently gcbasic32.exe is the old one. gcbasic.exe is a copy of the 64 bit one.
    First thing I did was compile it, just the way have been with no changes, but apparently it produces an exe that's not up to snuff. So everything is working, I just have to figure out why the compile in my setup did not work correctly. It thinks everything was okay. With you exes right out of the rar it works.

     
    • Anobium

      Anobium - 2024-02-06

      You are correct. Only the exe is updated, the source is inconsistent with that exe.

      I will complete the build and release today, then, you can see the change.

       
  • Anobium

    Anobium - 2024-02-06

    Changes in the build 1331. I am uploading for distribution now.

    New: New handler for GLCD libraries using GLCD.DAT. Uses SelectGLCDLibrary() method. Changed behaviour of loading libraries to handle new GLCD approach.
    New: GLCD.DAT reference file for GLCD library management
    New: Change to date format to show build date in format yyyy.m.d
    New: Changed behaviour of filename support when compiling in minimal messaging mode
    New: Add syntax check to script for #IF ( conditional compilation ) to stop silent error
    Fix: GC Graphic BASIC now works with GLCD

    Fix: Timer.h - fixes from FrankS for AVR constants

    and, it is faster to compile.

     
    🎉
    2
  • Angel Mier

    Angel Mier - 2024-02-06

    Update released on all channels and installers uploaded; congratulations to both of you, great work!

    Angel

     
    🎉
    1
    • Anobium

      Anobium - 2024-02-06

      I need update gcbsasic tracker with all these changes. A job for tomorrow!

       
  • Dirk

    Dirk - 2024-02-24

    That´s the reason why i only keep 2 or 3 displays in the glcd.h
    It shortens compiler time significantly!

     
    • Anobium

      Anobium - 2024-02-25

      GCBASIC now only loads the driver it needs, as you say.. much faster.

      Got any other insights to improve the tool chain?

      We are currently working on Floats. Making good progress resolving the issues and adding core usability features.

       
  • Dirk

    Dirk - 2024-02-25
     
    • Anobium

      Anobium - 2024-02-25

      Yes, I have seen.
      The tests made little sense to me. As I do not understand how the start and end points are measured.

      If you can produce the tests then we can publish our numbers.

       
  • Jerry Messina

    Jerry Messina - 2024-02-25

    As I do not understand how the start and end points are measured.

    In general, the benchmarks all use TMR1 to measure the code execution... the timer is started before the various routines, stopped afterwards, and the results shown on that web page.
    There are links to the source code used for the tests.

    Keep in mind that comparison was done in 2008, so a lot has changed since then!

     
<< < 1 2 3 (Page 3 of 3)

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.