Subject: X-BASIC for Linux
From: "rotaryeng@earthlink.net" <rotaryeng@earthlink.net>
Date: 1/8/2016, 12:58 PM
To: A10-me-earthlink



I am real excited about this. USB support and Gui suppoort.
This is the closest thing to QB I have found so far.

Looks great. A quad processor mobo would just about beat any
hard ware control stand alone computer.

3.16. Accessing USB devices X11-Basic has a builtin USB interface, which
allows X11-Basic programs to access USB-Devices, which are connected to
the computer.  The interface is on a near hardware level, so the driver for
the specific hardware connected must be written in X11-Basic. Hence, it is
well possible to use dataloggers and USB-to-RS232 adapters with this
methods.  In principle every USB-Device can be accessed, if the protocol for
data transfers and data interpretation is known.  Please see the example
program usb.bas for an example, how to readout data from a VOLTCRAFT
VDTL101-T data logger.  USB support is work in progress and may not yet work
on Android and WINDOWS.  USB-Devices are opened with the OPEN command.
Instead of a filename, a com- bination if PID/VID is used.  Once opened, the
commands CLOSE, IOCTL(), SEND and RECEIVE can be used

Two most often used graphic functions are implemented as a full functional
graphical user interface dialog: Message boxes and a file selector.
Arbitrary dialogs can be created with the object and resource functions.
Also a pull down menu function is implemented.

Here is the 657 page manual.

We can design a PWM board for a USB connection if there is
already not one out there now.

Paul Lamar

Unfortunately I could not get XBasic installed.

I think I have come up with a better solution in my search
for ideal PC hardware and real time software. I am in the early
stages of getting BaCon to work. BaCon is a BASIC to C translator
that generates the C source and automatically calls the GCC compiler.
One of the many things I don't know about it yet is how to read the
C source. The ultimate goal is use it to code Real Time Linux.
The same OS used in  LinuxCNC. Assuming you can boot Real Tine
Linux off a USB stick and replace the hard disk.

There is a powerful incentive to make mobo's faster, cheaper and smaller.
That is getting the lions share of the electronic world R&D funds.

Maximite is still great but not fast enough for some things due
to the interpreter used.  If a PIC BASIC compiler comes along or
Mikroe develops a DOS things will improve for the better.

http://www.basic-converter.org/

Paul Lamar

The Rotary Engine News Letter. Powered by Linux.
If you want off the list PLEASE let me know and I will
remove  you.  ACRE NL web site. http://www.rotaryeng.net
You Tube http://tinyurl.com/beqqxas
Copyright 1998-2016 All world wide rights reserved.