Menu

GcBasic .deb installer for Ubuntu

Santiago
2009-07-08
2013-05-30
  • Santiago

    Santiago - 2009-07-08

    Here is a .deb package for installing a precompiled GcBasic in Ubuntu (tested in Hardy).

    I had to do some minor changes in the Gcbasic source code to fit it in the Ubuntu's directory organization.

    This package is based on my GcBasic configuration and is just my first attempt to make an installer for Ubuntu.

    I use GcBasic last update:
    Great Cow BASIC (0.9 16/6/2009)

    The hardware usart.h library, learner version: https://sourceforge.net/forum/forum.php?thread_id=2487534&forum_id=629990 with some modifications is used from lowlevel.dat, then you can directly use these functions:

    #define baudrate 57600
    InitUSART

    HSerSend(In SerData)            'Send a byte
    HserPrint(In PrintData$)        'Send a string
    HserPrintByte(In PrintValue)   'Send value of byte as characters
    HserPrintByteCRLF(In PrintValue)   'Send byte as characters with CR and LF
    HserPrintCRLF                    'Send CR and LF
    HSerRead                 'Read a byte if avialable, otherwise return zero
    HSerReceive 'Wait for a byte, don't exit until a byte is received... be carefull!!

    The adc-87X.h, comp-87X.h and multitasking.h libraries are in the GcBasic/include folder, then you can use them with #include library.h

    Gpasm is used by default with this parameters:
    --hex-format inhx32 --radix DEC --warning 2 --ignore-case --force-list

    Once instaled just type "gcbasic" in a terminal to see usage and options.
    For ussual compile:

    gcbasic -NP filename

    Files are instaled at /usr/share/GcBasic
    executable at /usr/bin
    For uninstalling just go to Synaptic, look for "gcbasic" and uninstall it.

    Think that this is just a .deb made from my own BcBasic instalation, tested in Ubuntu Hardy, not a serious or oficial package, but it works for me.
    Any errors, ideas, comments, please post here.

    You can download the english version from here: http://www.box.net/shared/sl4em2k3al
    The Spanish messages one here: http://www.box.net/shared/54lik196g2

    Regards.

     
    • Nobody/Anonymous

      That is great, if it is working. Anyway, I am compiling GCBASIC without any changes in source code modification for my personal purposes and it work great for me.

       
  • Santiago

    Santiago - 2009-09-14

    deb installer updated to 12/08/2009 :

      : http://www.box.net/shared/y41oj81c3c

     

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.