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.
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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
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.
deb installer updated to 12/08/2009 :
: http://www.box.net/shared/y41oj81c3c
Here is an amd64 deb package: https://sourceforge.net/projects/piclinux/files/GcBasic-PL/GcBasic-PL_0.9_12-08-09/gcbasic-pl_0.9_12-8-09_amd64.deb/download
Also available from here: http://info.slavino.sk/gcbasic-pl_0.9_12-8-09_amd64.deb
Here the piclinux forum post: https://sourceforge.net/apps/phpbb/piclinux/viewtopic.php?f=2&t=4
Regards.