Menu

Table containing binary numbers

2020-10-30
2020-11-09
1 2 > >> (Page 1 of 2)
  • Jack Hoffnung

    Jack Hoffnung - 2020-10-30

    When I read numbers from a Table containing binary numbers in the format 0b, for example 0b1010, they always readout as zero. When using the format b'1010', they readout correctly. I am using version 0.98.06. Is there a newer version that corrects this?

     
  • Anobium

    Anobium - 2020-10-30

    @Jack.

    I have just posted a new release candidate in the files tab of this site.

    Please use this version, test. I do have a memory of looking at this issue. It was either resolved or we documented the use in the Help. Your testing will help me remember.

    :-)

     
  • Jack Hoffnung

    Jack Hoffnung - 2020-10-30

    Installed the new release candidate; got error when clicked ASM: "G+Stool.exe" is not recognized as an internal or external command, operable program or batch file."

     
    • Anobium

      Anobium - 2020-10-30

      Check you virus checker. Installers here ok and with others.

      You cannot copy an existing G+Stool.exe" from an old version. There is new stuff in the new exe.

       
  • Anobium

    Anobium - 2020-10-30

    Jack et al.

    I, not we in this case, send all our code for evaluation and whitelisting by Avast ans Microsoft. The gs+tools passed code tests on 10/10/2020.

    However, as all our exes are then added to all the virus checkers our code is should not cause an alert. But, I have no control over the sharing of the whitelists across-the-board of virus checkers. And, the last time a user updates the virus definitions - a virus definition of prior to 10/10/2020 may flag up the exes as a risk.

    And, to further ensure exe integrity, I could add MD5 hashes for all exes, but, how would bother to check the hash values.

     

    Last edit: Anobium 2020-10-31
    • Anobium

      Anobium - 2020-10-31

      The report from AVAST regarding RC28 files. No virus, trojans etc. The text file attached to the post also shows the MD5 hashes for all files.

       
  • stan cartwright

    stan cartwright - 2020-10-30

    Win 10 with just defender, no other anti virus, always says unknown program ,then click options and says run anyway, which installs gcb.
    Why does win10 defender not pass gcb installer? It's not a problem but you hear of code being hacked.

     
    • Anobium

      Anobium - 2020-10-30

      We can resolve the Win10 defender message. All donate to buy a certificate to sign the installer and the applications.

      It cost £66 / year. And, that means each year. The certificate could be registered as the Great Cow Foundation and we would use to certify that the application (the installer etc) was from a validated source.

      So, everyone donate and we can do it.

      :-)

       
      • stan cartwright

        stan cartwright - 2020-10-30

        I understand Evan. Stupid that win 10 security updates are a pain but needed, then you
        can install anything without defender checking it.
        It all seems a daft situation. Other well known programs have the same problem with defender. Usually open source or free...like anti virus, audacity,cura...lots.
        I read defender is quite good but does it scan an install .exe file when you select "download anyway"...as antivirus software does?

        If 66 users donated £1 or 132 gave 50P. or 264 gave 25P.

        If I right click gcb installer there is no scan file options...unless I have malwarebytes or other av.
        no scan with defender.

         
  • Jack Hoffnung

    Jack Hoffnung - 2020-10-30

    I disabled my antivirus (McAfee), my malware protection (Malwarebytes), uninstalled and reinstalled the new release candidate and got the same error. When I load the same code into v0.98.06, it compiles and assembles fine.

     
  • Anobium

    Anobium - 2020-10-30

    Operating system?

     
  • Jack Hoffnung

    Jack Hoffnung - 2020-10-30

    Windows 10 Pro, Version 1909, OS build 18363.1139

     
  • stan cartwright

    stan cartwright - 2020-10-30

    @Jack
    I use Compiler Version: 0.98.07 RC27 2020-10-08 (Windows 64 bit)
    and
    dim binar as Byte
    binar=0b11110000
    asm ok

     
  • stan cartwright

    stan cartwright - 2020-10-30

    Can I add that Evan told me to DELETE old gcb before installing new version.
    Like delete gcb@syn folder.
    I did and all ok BUT may have been a test/update version.
    I usually just update gcb, not even uninstall older version.
    If you go to sourceforge for gcb then don't click latest version
    as it's not. Latest will be top of list...from what I figured..dunno.

     
  • Anobium

    Anobium - 2020-10-30

    @Jack

    This is odd. Works here with the download from Sourceforge.

    Do as Stan. Delete the entire folder structure and reinstall.

     
  • Jack Hoffnung

    Jack Hoffnung - 2020-10-31

    where can I find V0.98.07 RC27, as would rather not delete my old installs.

     
  • Anobium

    Anobium - 2020-10-31

    @Jack. We should resolve as this is the version that is to be release.

    I am assuming that you installed the installed to a new directory. Let us call it c:\gcb@synrc28, and, you installed everything, and, that you have not installed then copied bits of the install. With these

    1. Check the GS+TOOLS directory. What are the exe in that folder?
    2. Can you start a command prompt and run "G+Stool.exe" ? You need to be in the C:\GCB@SynRC28\G+Stools directory.
    3. Ensure you do not have a copy of the IDE editor running. Locate syn.exe in your C:\GCB@SynRC28\SynWrite directory - execute syn,exe to start the IDE editor. What happens?
     
  • Jack Hoffnung

    Jack Hoffnung - 2020-10-31

    -Again disabled my antivirus and antimalware software
    -reinstalled to c:\gcb@synrc28
    -did not copy anything from or to the installation
    -GS+TOOLS directory includes:
    callchm.exe
    g+stool.exe
    gawk.exe
    ide.exe
    -In command prompt, navigated to the G+Stool directory,
    then ran G+Stool.exe and got this ERROR
    (came up in a window, I copied and pasted below)


    G+Stool V20200921 www.FrankSteinberg.de >>fst'20<<

    E R R O R
    G+Stool.exe ist part of the GCB[at]Syn-IDE for the Great Cow BASIC compiler.
    It is useful only in conjunction with the SynWrite-Editor, which is the main part of the GCB[at]Syn-IDE.
    For further information see 'readme.txt' in the GCB[at]Syn root folder!


    OK

    -Insured I did not have a copy of the IDE running, navigated to C:\GCB@synrc28\SynWrite directory,
    executed syn.exe, the editor started normally.
    -Curious, I closed the IDE, then ran the IDE that I had initially installed (V0.98.07) in the directory where all
    my older IDEs had been installed and ran that again, but got the error I initially had posted about.
    -The only difference in the 2 installs was WHERE I had placed them, but I decided to compare the 2 installs,
    and found significant differences in what did and did not get installed! I have attached 3 screenshots
    of comparison of:
    1. The GCB@SYN directory of the 2 installs, highlighting differences in yellow
    2. The G+Stools directory of the 2 installs, highlighting differences in yellow
    3. The SynWrite directory, highlighting differences in yellow
    -I did not compare all the directories of the 2 installs; hope this helps.

     
  • Jack Hoffnung

    Jack Hoffnung - 2020-10-31

    Images here

     
  • Anobium

    Anobium - 2020-10-31

    Are you saying the the "G+Stool.exe" is missing? I think so

    So, reinstall. Run the install from the command line. Add /LOG to the command, (ensure IDE is not running). When, you get to the last install screen look in the "G+Stool.exe" folder. Is it there?

    I think something is deleting it. My guess. You need to update the Microcsoft Defender Definitions or you need to look in the event logs to figure out what is deleting the file.

     
  • Anobium

    Anobium - 2020-10-31

    and, after you installed with /LOG

    look in your temp folder for some file called Setup Log 2020-10-31 #001.txt, open that file in notepad, then search for g+stool.exe

    2020-10-31 13:57:39.092   Dest filename: d:\GCB@SynRC28b\G+Stools\g+stool.exe
    2020-10-31 13:57:39.092   Time stamp of our file: 2020-09-21 12:14:40.000
    2020-10-31 13:57:39.092   Installing the file.
    2020-10-31 13:57:39.092   Successfully installed the file.
    2020-10-31 13:57:39.092   Setting permissions on file: d:\GCB@SynRC28b\G+Stools\g+stool.exe
    

    This will show the file was or was not installed.

     
  • Jack Hoffnung

    Jack Hoffnung - 2020-10-31

    Yes, Gstool.exe definitely missing from the install into the directory where I have always installed the IDE, but not missing from the install to the C directory. The difference is clearly shown in the G+Stools.jpg I posted. That image shows the 2 directories I installed to and the file differences, showing that G+stool.exe was not installed if the IDE was not installed to the root drive.

     
    • Anobium

      Anobium - 2020-10-31

      Not disgreeing with you the state you end up in.

      Please install from the command prompt using the additional /LOG parameter and the post the log here. I do not if the file was installed, or, some error happened but the log with reveal the pre-execution state ( IDE execution ) of the installation.

       
  • stan cartwright

    stan cartwright - 2020-10-31

    @Jack- Evan posted this in the forum https://sourceforge.net/projects/gcbasic/files/Release%20Candidates/
    At the top left it says Download latest version.
    No. Click Gcb_installer-v90.07 RC28 .exe

    Rename your GCB-SYN folder or you lose pickit2+ and pickit3+ and any timer calculators.

    now try install from the link

    Just trying to help

     

    Last edit: stan cartwright 2020-10-31
  • Jack Hoffnung

    Jack Hoffnung - 2020-10-31

    Third time a charm?
    -Uninstalled and reinstalled via command prompt with these conditions:
    antivirus and antimalware OFF
    insured IDE not running
    installed with LOG option via CMD
    installed to root directory
    -1st 3 lines of LOG:
    2020-10-31 13:05:11.457 Log opened. (Time zone: UTC-04:00)
    2020-10-31 13:05:11.457 Setup version: Inno Setup version 5.5.5 (a)
    2020-10-31 13:05:11.457 Original Setup EXE: C:\GCB_Installer-v0.98.07 RC28.exe
    -search for g+stool.exe:
    2020-10-31 13:05:36.955 Dest filename: C:\GCB@Syn\G+Stools\g+stool.exe
    2020-10-31 13:05:36.955 Setting permissions on file: C:\GCB@Syn\G+Stools\g+stool.exe
    -REPEATED same process, but this time installed to my directory where older IDE versions reside
    -1st 3 lines of LOG:
    2020-10-31 13:14:19.918 Log opened. (Time zone: UTC-04:00)
    2020-10-31 13:14:19.918 Setup version: Inno Setup version 5.5.5 (a)
    2020-10-31 13:14:19.918 Original Setup EXE: C:\GCB_Installer-v0.98.07 RC28.exe
    --search for g+stool.exe:
    2020-10-31 13:14:51.561 Dest filename: C:\PIC\IDE0.98.07\GCB@Syn\G+Stools\g+stool.exe
    2020-10-31 13:14:51.576 Setting permissions on file: C:\PIC\IDE0.98.07\GCB@Syn\G+Stools\g+stool.exe
    -Both installations run, both compile code, both assemble!
    -???

     
1 2 > >> (Page 1 of 2)

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.