Japanese

B A S I C

Decimal BASIC for Linux (x86)


We provide with an ISO Full BASIC language system that works on Gnu/Linux (x86).
This program implements almost all of the core module and the graphics module of ISO Full BASIC.
It has not been conformed with the standard, whereas there are very few differences.
All graphics commands prescribed in ANSI Full BASIC are implemented with slight incompatibility on behavior.
Most part of the modules module and the individual character input module for Full BASIC are implemented, too.


Decimal BASIC for Linux(x86-64) ver. 8.1.0.6 (64bit GTK2 Edition)

Download BASIC8106En_Linux64.tar.xz from Decimal BASIC Open Source Project.
Note. Gtk2 vesion do not perform clipping for printer.

Decimal BASIC for Linux(x86-64) ver. 8.1.0.6 (64bit Qt5 Edition)

Qt5 vesion perfoms clipping right, but requires Qt5Pas library.

Download BASIC8106En_Linux64_Qt5.tar.xz from Decimal BASIC Open Source Project.

To install Qt5Pas

do on the terminal
sudo dnf install qt5pas
on Fedora 30,Fedora 31 Cinnamon,Fedora 31 KDE Plasma

do on the terminal
sudo apt install libqt5pas1
on Ubuntu 19.10, Ubuntu 20.04

Trouble shooting

Fedora31 Fedora32
To install qt and qt5pas, do
sudo dnf install qt5 qt5pas
on the terminal.
To launch BASIC, type on the terminal
cd BASICJa
./basic --platform xcb
Otherwise, select GNOME on Xorg on login by clicking the gear icon.

Ubuntu18.04
On the terminal, execute
sudo apt-get install qt5-default
and then, along with
Lazarus Wiki Qt5 Interface
download libqt5pas1_2.6.beta-5_amd64.deb from
https://github.com/tomboy-notes/tomboy-ng/releases/tag/v0.24
and install.
Refer to Qt5 bindings for Ubuntu 18.04 (Lazarus Forum)

Others
We can confirm the error message by executing on the terminal as
cd BASICJa
./basic
(1) error while loading shared libraries: libQt5Pas.so.1: …
Incomplete Qt5Pas library.
(2) … undefined symbol: QPrinterInfo_availablePrinterNames
Qt5Pas verison too old.
This happens on Ubuntu 18.04 after apt-get install libqt5pas1 executed.
(3) … Can only be used with threads started with QThread
This happens on Feodra 31.
<Reffer to>Free Pasacal Wiki Qt5_interface Systems using Wayland

Comparison between GTK2 editon and Qt5 edition
(tested on Fedora 31,Fedora31 KDE Plasma,
Fedora 31 Cinnamon,Ubuntu19.10 )
(PDFs Viewed with Adobe Reader on Windows )

〇 Ok  × NG
DestinationScreenPrinter (cups-pdf)
Edition GTK2  Qt5 GTK2Qt5
Clipping ×
LINE WIDTH
LINE STYLE
AREA STYLE ×
DRAW MODE MASK × ×
TEXT BACKGROUND ×(always transparent) ×(always opaque)
Notice that PDF readers equipped on Linux OSs may not display correctly.                

<Note.1>
To install cups-pdf, a printer driver which generates PDF files.
on Fedora,
sudo dnf install cups-pdf
on OUbuntu 18.10
sudo apt-get install cups-pdf

<Note. 2>On Fedora,
sudo dnf install gtk2.i686
sudo dnf install libxcrypt-compat.i686
enables 32 bit editions to execute.

Decimal BASIC for Linux(i386) ver. 8.1.0.6 (32bit GTK2 Edition)

Download BASIC8106En.tar.gz from Decimal BASIC Open Source Project.

Part of help files and sample programs are remaining not translated, written in Japanese.
See Help for Windows edition, more part of which may have been translated.

Change log
Ver. 0.6.5.2
Revised the defect that the file name on the title bar did not change after SaveAs.
Ver. 0.6.5.0
Changed the development environment to Lazarus 1.6.
Ver. 0.6.4.3
managed the fault that clicking the close icon on the INPUT dialog caused system hanging.
Ver. 0.6.4.2
Fixed the bug file I/O made internal errors.
Fixed the bug SAVE AS menu did not work properly.
Ver. 0.6.4.1
Fixed the bug SET LINE STYLE 0 caused an internal error.
Ver. 0.6.4.0
Fixed the bug that the CEIL function was incorrect on the binary operation mode.
Ver. 0.6.3.9
Fixed the bug that a WAIT DELAY statement preceding a numeric variable or an INPUT TIMEOUT statement preceding a numeric variable cause an internal error.
Took a measure to cope with the phenomenon that the default text height was set to zero.
Ver. 0.6.3.8
Fixed the fault that EXTYPE function might return wrong exception numbers.
Ver. 0.6.3.5
Fixed the fault File-Merge menu did not work.
Ver. 0.6.3.3
DRAW MODE MASK(MERGE, XOR, NOTXOR) has been validated for the text drawn by PLOT TEXT.
Ver. 0.6.3.2
Fixed the bug that ASK PIXEL VALUE caused an error when a non-exisitng point was assigned.
Ver. 0.6.3.1
Fixed the fault that precision of the text height decreased in some situation.
Ver. 0.6.3.0
Added two compatibility options.
Fixed the fault the text height changes when the cordinate changes.
increased the acuracy of the WAIT DELAY in milliseconds.
Ver. 0.6.2.6 -3
Fixed the fault that the trace window did not appear on Linux.
Ver. 0.6.2.6 -2
Fixed the fault that an access violation was raised when a program was directed to run on Fedora 19.
Ver. 0.6.2.6
Fixed the bug that SET DIRECTORY might cause an internal error.
Ver. 0.6.2.5
Fixed the fault that graphics window had menus written in Japanese.
Added directory handling statements.
Ver. 0.6.2.4
Added ASSIGN statements.
Fixed the bug an OPEN statement in a recursive subproguram caused a system error.
Ver. 0.6.4.8
Fixed the bug that a USING$ function with empty format string caused an internal error.
Ver. 0.6.5.0
Compiled with Lazarus 1.6.0.
Ver. 6.6.0
Improved the screen display quality on the HIDDEN draw mode.
Ver. 6.6.2
Fixed the bug on WAIT DELAY statements.
Ver. 6.6.2.3
Compiled with FPC 3.0.2 + Lazarus 1.6.4
Ver. 6.6.3.0
Increased the maximum number of slide bars available in a LOCATE CHOICE statement.
Ver. 6.6.3.2
Fixed the fault that PLOT LINES did not work properly.
Ver. 6.6.3.4
Fixed the fault on PAUSE statements.
Ver. 6.6.4.0
Fixed the bug INPUT statements with TIMEOUT failed.
Ver. 6.6.4.1
Improved the precision of display strings on the binary operation mode.
Ver. 8.0.0
Calculation and Drawing are separated into two threads.
Ver. 8.0.1
Fixed the bug that Cancel on the INPUT dialog caused to hang up.
Ver. 8.0.1.1
Fixed the bug CHAIN statements did not recognize capital ".BAS" as a BASIC extension.
Fixed the bug Undo on the Edit menu did not work.
Inproved the precision of WAIT DELAY.
Ver. 8.0.1.2
Fixed the fault on PROBLEX and PLOBLEMY functions.
Ver. 8.0.1.3
Improved the accuracy of COS functrion.
Fixed the fault READ IF MISSING did not work when the number of data is incomplete.
Ver. 8.1.0.0
Added printer graphics.
Ver.8.1.0.1
Fixed the bug that the Help button in the Graphics option dailog failed to work.
Ver. 8.1.0.2
Set graphics coodinate system 16 bit for Linux, and 32 bit for Mac.
On printer graphics mode, SET BITMAP SIZE made execution prohibited.
On printer graphics mode, SET TEXT BACKGROUND shall be ignored.
The default font for printer shall be identical to that for screen.
On Graphics Option Dialog, sellection and setteing of the printer enabled.
Ver. 8.1.0.3
Fixed the bug that the graphics pane might not be erased before next program ran.
Fixed the bug the font size for graphics might be irregular.
Fixed the fault that INPUT dialog might cause an error on Qt5.
Fixed the fault saving a program might cause an error , probably on the versions compiled with Lazarus 1.6.4.
Ver. 8.1.0.4
Help reviced
Compiled with Lazarus 2.0.8
Ver. 8.1.0.5
Fixed the bug Help search cannot act accurately when the program contains multi-byte characters

Known Faults
(1) SET DRAW MODE (MASK, ..) works unstably.
(2) MOUSE POLL has a slight fault.
(3) Continual use of LOCATE VALUE makes break unavailable.

Note.
Tested on
Fedora 17 (32bit)
Fedora 17 (64bit) (On the terminal, run sudo yum install gtk2.i686)
Fedora 19 (32bit)
Fedora 19 (64bit) (On the terminal, run sudo yum install gtk2.i686)
Fedora 20 (64bit) (On the terminal, run sudo yum install gtk2.i686)
Scientific Linux 6.3
Scientific Linux 6.4 (64bit) (On the terminal, yum install gtk2.i686)
Ubuntu 11.04 (32bit)
Ubuntu 12.04 (32bit)
Ubuntu 12.04 (64bit) (On the terminal, run sudo apt-get install ia32-libs)
Ubuntu 13.04 (amd64) (On the terminal, run sudo apt-get install ia32-libs)
Ubuntu 13.10 (amd64) (On the terminal, run sudo apt-get install libgtk2.0-0:i386 ibus-gtk:i386)
Debian 7.2.0 (amd64) (*)
(*) Run as root
dpkg --add-architecture i386
apt-get update
apt-get install libgtk2.0-0:i386

A Note on 64 bit Linux.
The multi-byte character input window works good on the above versions of Ubuntu and Debian 64 bit.
For Fedora 17/19/20, an additional command shown below makes it work.
yum install ibus-gtk2.i686 gtk2-immodules.i686
For Scientific Linux 6.4,
yum install ibus-gtk.i686 gtk2-immodule-xim.i686



Decimal BASIC for Linux(i386) ver. 6.5.12 (Kylix Qt2 Edition)

Download page


Decimal BASIC main page (Windows version available)