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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
:-)
okay, got it. Will give it a try in a few hours, have RL stuff to do
Thank you.
It has gone.
First test-
3 line program:
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.
That code works here.
Did you unpack all of the RAR ?
Did I give you the correct version of compiler ? What version was displayed?
I just deleted the whole of gcbasic folder, unpacked the RAR to that folder. Looks good.
Using
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)
okay, I'll run it down
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.
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.
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.
Update released on all channels and installers uploaded; congratulations to both of you, great work!
Angel
I need update gcbsasic tracker with all these changes. A job for tomorrow!
That´s the reason why i only keep 2 or 3 displays in the glcd.h
It shortens compiler time significantly!
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.
Have you seen?
https://www.sfcompiler.co.uk/wiki/pmwiki.php?n=SwordfishUser.Comparison
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.
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!