Commit b3aec581 by kollo

2016 --> 2017 & new release 47

parent ccd67ee1
......@@ -12,7 +12,7 @@
VERSION 1.25
(C) 1997-2016 by Markus Hoffmann
(C) 1997-2017 by Markus Hoffmann
(kollo@users.sourceforge.net)
Name : X11Basic
......@@ -29,7 +29,7 @@ Description :
The structure of the language is similar to the ATARI-ST GFA-BASIC.
This package includes the basic interpreter named xbasic and a set of
different compilers.
different compilers.
A compiler manager (xbc) is included which makes stand alone binaries out of
the BASIC programs, which run more than 10 times faster than the interpreted
code.
......@@ -50,9 +50,10 @@ Description :
(http://x11-basic.sourceforge.net/). Also an up-to-date pdf-version of the
manual can be found there.
Please read the file X11-Basic-manual.txt for further information.
Please read the file X11-Basic-manual.txt (or the .pdf manual)
for further information.
X11BASIC is free software and comes with NO WARRANTY - read the file
X11-BASIC is free software and comes with NO WARRANTY - read the file
COPYING for details
(Basically that means, free, open source, use and modify as you like, don't
......@@ -88,16 +89,105 @@ Description :
(only if you have special needs or if the standard installation fails)
1. Language
-----------
After generating (with ./configure) the Makefile, look at the file
`options.h' (sparsely commented) and see if there is anything you want to
change. The only option that you might need to change is GERMAN, which
should be defined if you like to have a german version of X11-Basic.
The default language is English.
2. standalone excecutables (statically linked)
A) The configure script takes additional arguments.
`configure' configures X11-Basic 1.25 to adapt to many kinds of systems.
Usage: ./configure [OPTION]... [VAR=VALUE]...
To assign environment variables (e.g., CC, CFLAGS...), specify them as
VAR=VALUE. See below for descriptions of some of the useful variables.
Defaults for the options are specified in brackets.
Configuration:
-h, --help display this help and exit
--help=short display options specific to this package
--help=recursive display the short help of all the included packages
-V, --version display version information and exit
-q, --quiet, --silent do not print `checking ...' messages
--cache-file=FILE cache test results in FILE [disabled]
-C, --config-cache alias for `--cache-file=config.cache'
-n, --no-create do not create output files
--srcdir=DIR find the sources in DIR [configure dir or `..']
Installation directories:
--prefix=PREFIX install architecture-independent files in PREFIX
[/usr/local]
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
[PREFIX]
By default, `make install' will install all the files in
`/usr/local/bin', `/usr/local/lib' etc. You can specify
an installation prefix other than `/usr/local' using `--prefix',
for instance `--prefix=$HOME'.
For better control, use the options below.
Fine tuning of the installation directories:
--bindir=DIR user executables [EPREFIX/bin]
--sbindir=DIR system admin executables [EPREFIX/sbin]
--libexecdir=DIR program executables [EPREFIX/libexec]
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
--runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
--libdir=DIR object code libraries [EPREFIX/lib]
--includedir=DIR C header files [PREFIX/include]
--oldincludedir=DIR C header files for non-gcc [/usr/include]
--datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
--datadir=DIR read-only architecture-independent data [DATAROOTDIR]
--infodir=DIR info documentation [DATAROOTDIR/info]
--localedir=DIR locale-dependent data [DATAROOTDIR/locale]
--mandir=DIR man documentation [DATAROOTDIR/man]
--docdir=DIR documentation root [DATAROOTDIR/doc/x11-basic]
--htmldir=DIR html documentation [DOCDIR]
--dvidir=DIR dvi documentation [DOCDIR]
--pdfdir=DIR pdf documentation [DOCDIR]
--psdir=DIR ps documentation [DOCDIR]
X features:
--x-includes=DIR X include files are in DIR
--x-libraries=DIR X library files are in DIR
Optional Features:
--disable-option-checking ignore unrecognized --enable/--with options
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
--enable-cryptography enable cryptographic features [default=no]
--enable-static only produce static libraries [default=no]
--enable-smallram make version siutable for systems with small RAM
[default=no]
--enable-german make german version [default=no]
Optional Packages:
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
--with-bluetooth support blutooth [default=yes]
--with-usb support USB [default=yes]
--with-readline support readline library [default=yes]
--with-framebuffer support framebuffer [default=no]
--with-sdl support SDL library [default=no]
--with-x use the X Window System [default=yes]
--with-x use the X Window System
Some influential environment variables:
CC C compiler command
CFLAGS C compiler flags
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
nonstandard directory <lib dir>
LIBS libraries to pass to the linker, e.g. -l<library>
CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
you have headers in a nonstandard directory <include dir>
CPP C preprocessor
XMKMF Path to xmkmf, Makefile generator for X Window System
Use these variables to override the choices made by `configure' or to help
it to find libraries and programs with nonstandard names/locations.
B) Different make methods:
standalone excecutables (statically linked)
----------------------------------------------
a) the interpreter
......@@ -144,7 +234,7 @@ Description :
will produce the statically linkd versions of the compilers.
3. The framebuffer version
C) The framebuffer version
It is possible to compile a version of X11-Basic and its libraries, which
does not need the X.org framework, but instead uses the systems framebuffer
......@@ -156,7 +246,16 @@ Description :
will produce the framebuffer version of the interpreter called
xbasic.framebuffer
4. Crosscompiling for other platforms
D) 64bit operating systems
X11-Basic will compile on 64bit systems but it will not be 100% functional.
X11-Basic internally uses 32bit pointers (--> VARPTR()). These are not compatible
with 64bit. Some tricks have been implemented to make it work anyways, but
currently e.g. the GEM AES functions do not work on 64bit systems.
At the moment it is recommended to use a -m32 cross compiled version on 64bit systems.
E) Crosscompiling for other platforms
a) ATARI ST (with m68k-atari-mint)
......@@ -170,6 +269,10 @@ Description :
make windows
d) 32bit version on 64bit system
make bit3264
For details you may want to look into the Makefile. Improvements are welcome.
......
Release notes for Version 1.25 (Sept 2016 -- )
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Release notes for Version 1.25 (Sept 2016 -- 2017)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- HASH()/SHA1 and MD5 now work also without libgcrypt
- new Commands: HIDEK, SHOWK (Android)
- fixed bug in MERGE and FILESELECT
- new function VRFY()
- added raw keyboard support for framebuffer version (e.g. Raspberry pi + sense hat)
- fixed bug in EXIT (bytecode)
- added bluetooth support (linux)
- improved USB functions (linux)
......@@ -8,7 +8,7 @@
# COPYING for details
VERSION=1.24
VERSION=1.25
NAME=X11-Basic-manpages
DIR=$(NAME)-$(VERSION)
......
.TH X11BASIC 1 21-Dec-2015 "Version 1.24" "Basic Interpreter"
.TH X11BASIC 1 04-Jan-2017 "Version 1.25" "Basic Interpreter"
.SH NAME
xbasic,x11basic,X11-Basic \- The BASIC language interpreter and shell
.SH SYNOPSIS
......@@ -106,7 +106,7 @@ You should be able to find one at
.SH VERSION
This page was created for V.1.24
This page was created for V.1.25
.SH BUG REPORTS
If you find a bug in the X11-Basic interpreter, you should report it. But first,
......@@ -124,7 +124,7 @@ kollo@users.sourceforge.net.
.SH AUTHOR
Markus Hoffmann <kollo@users.sourceforge.net>
.SH COPYRIGHT
Copyright (C) 1997-2016 Markus Hoffmann <kollo@users.sourceforge.net>
Copyright (C) 1997-2017 Markus Hoffmann <kollo@users.sourceforge.net>
This program is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
......
.TH XB2C 1 09-Apr-2015 "Version 1.24" "X11-Basic to C Translator"
.TH XB2C 1 04-Jan-2017 "Version 1.25" "X11-Basic to C Translator"
.SH NAME
xb2c \- X11-Basic to C translator
.SH SYNOPSIS
......@@ -99,7 +99,7 @@ kollo@users.sourceforge.net.
Markus Hoffmann <kollo@users.sourceforge.net>
.SH COPYRIGHT
Copyright (C) 1997-2016 Markus Hoffmann <kollo@users.sourceforge.net>
Copyright (C) 1997-2017 Markus Hoffmann <kollo@users.sourceforge.net>
This program is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
......
.TH XBBC 1 09-Aug-2015 "Version 1.24" "X11-Basic bytecode compiler"
.TH XBBC 1 04-Jan-2017 "Version 1.25" "X11-Basic bytecode compiler"
.SH NAME
xbbc \- X11-Basic bytecode compiler
.SH SYNOPSIS
......@@ -96,7 +96,7 @@ kollo@users.sourceforge.net.
Markus Hoffmann <kollo@users.sourceforge.net>
.SH COPYRIGHT
Copyright (C) 1997-2016 Markus Hoffmann <kollo@users.sourceforge.net>
Copyright (C) 1997-2017 Markus Hoffmann <kollo@users.sourceforge.net>
This program is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
......
.TH XBC 1 21-Aug-2015 "Version 1.24" "X11-Basic Compiler Manager"
.TH XBC 1 04-Jan-2017 "Version 1.25" "X11-Basic Compiler Manager"
.SH NAME
xbc \- X11-Basic compiler manager
.SH SYNOPSIS
......@@ -191,7 +191,7 @@ on the BASIC code, because it cannot compile every constructs (e.g. jumps/GOTO
out of a procedure).
.SH VERSION
Page was created for V.1.24
Page was created for V.1.25
.SH BUG REPORTS
......@@ -210,7 +210,7 @@ kollo@users.sourceforge.net.
Markus Hoffmann <kollo@users.sourceforge.net>
.SH COPYRIGHT
Copyright (C) 1997-2016 Markus Hoffmann <kollo@users.sourceforge.net>
Copyright (C) 1997-2017 Markus Hoffmann <kollo@users.sourceforge.net>
This program is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
......
.TH XBVM 1 09-Nov-2016 "Version 1.24" "X11-Basic Vitual Machine"
.TH XBVM 1 04-Jan-2017 "Version 1.25" "X11-Basic Vitual Machine"
.SH NAME
xbvm \- X11-Basic bytecode interpreter / virtual machine
.SH SYNOPSIS
......@@ -64,7 +64,7 @@ speed is immense. Especially complex formulas are speed up by a factor 20. Last
but not least, there is no way to recreate the source code from the bytecode.
.SH VERSION
Page was created for V.1.24
Page was created for V.1.25
.SH BUG REPORTS
......@@ -83,7 +83,7 @@ kollo@users.sourceforge.net.
Markus Hoffmann <kollo@users.sourceforge.net>
.SH COPYRIGHT
Copyright (C) 1997-2016 Markus Hoffmann <kollo@users.sourceforge.net>
Copyright (C) 1997-2017 Markus Hoffmann <kollo@users.sourceforge.net>
This program is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
......
VERSION 1.25
(C) 1997-2016 by Markus Hoffmann
(C) 1997-2017 by Markus Hoffmann
(kollo@users.sourceforge.net)
(see http://x11-basic.sourceforge.net/)
......
......@@ -136,7 +136,7 @@ a small amount of native memory (and a relatively slow processor).
Copyright information
Copyright (C) 1997-2016 by Markus Hoffmann
Copyright (C) 1997-2017 by Markus Hoffmann
X11-Basic is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
......
......@@ -93,7 +93,7 @@ DESCRIPTION:
EXAMPLE:
VERSION
Result: X11-BASIC Version: 1.25 Sat Aug 31 12:00:38 CET 2016
Result: X11-BASIC Version: 1.25 Wed Jan 04 12:00:38 CET 2017
##############################################################################
......
......@@ -126,7 +126,7 @@ processor).
\section*{Copyright information}
Copyright (C) 1997-2016 by Markus Hoffmann
Copyright (C) 1997-2017 by Markus Hoffmann
Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License, Version 1.2
......
......@@ -112,7 +112,7 @@
\pagestyle{fancy}
\title{X11-BASIC\\}
\author{VERSION 1.25\\(C) 1997-2016 by Markus Hoffmann\\
\author{VERSION 1.25\\(C) 1997-2017 by Markus Hoffmann\\
(kollo@users.sourceforge.net)\\
(see http://x11-basic.sourceforge.net/)\\}
......@@ -157,7 +157,7 @@
\\[8mm]
\vspace{6cm}
{\Large
(C) 1997-2016 by Markus Hoffmann\\
(C) 1997-2017 by Markus Hoffmann\\
(kollo@users.sourceforge.net)\\
(see http://x11-basic.sourceforge.net/)\\{\tiny Latest revision: \today}}
\end{center}
......
......@@ -10,13 +10,13 @@
VERSION 1.24
VERSION 1.25
(C) 1997-2016 by Markus Hoffmann
(C) 1997-2017 by Markus Hoffmann
(kollo@users.sourceforge.net)
Name : X11Basic
Version : 1.24 Vendor: Markus Hoffmann
Version : 1.25 Vendor: Markus Hoffmann
Group : Development/Languages License: GPL
Packager : Markus Hoffmann <kollo@users.sourceforge.net>
URL : http://x11-basic.sourceforge.net/
......
# Makefile for X11-Basic (c) Markus Hoffmann V.@version@
# Version 28.08.2016 modified by Markus Hoffmann
# Version 04.01.2017 modified by Markus Hoffmann
# This file is part of X11-Basic, the basic interpreter for Unix/X
# ======================================================================
......@@ -24,7 +24,7 @@ INCDIR=@prefix@/include/x11basic
LIBNO=@version@
RELEASE=46
RELEASE=47
# Register variables (-ffixed-reg) -Wall
......@@ -376,6 +376,7 @@ MYTOSLIBS = x11basic.toslib
all : configure Makefile xbasic xb2c xbbc xbvm xbc bas2x11basic
configure : configure.in
autoconf
Makefile : Makefile.in
......@@ -389,6 +390,11 @@ config.h: config.h.in
.cc.o:
g++ -c $(INC) -o $@ $<
#### Tricky stuff for 64 bit operating system versions
#### Mainly linux 64bit (experimental)
bit3264 : configure
./configure --prefix=/usr CFLAGS=-m32
###################################################
#### Fundamentals for X11-Basic (UNIX/LINUX) ######
......
......@@ -238,7 +238,7 @@ const char *errortxt[] = {
/* 99*/ "Das Fenster %s existiert nicht",
#endif
/* 100*/ "X11-BASIC Version " VERSION " Copyright (c) 1997-2016 Markus Hoffmann",
/* 100*/ "X11-BASIC Version " VERSION " Copyright (c) 1997-2017 Markus Hoffmann",
#ifdef GERMAN
/* e*/ "** 1 - Speicherschutzverletzung",
/* f*/ "** 2 - Bus Error Peek/Poke falsch?",
......
......@@ -72,7 +72,7 @@ void intro() {
printf("c");
printf("*************************************\n"
"* %10s V.%5s *\n"
"* by Markus Hoffmann 1997-2016 (c) *\n"
"* by Markus Hoffmann 1997-2017 (c) *\n"
"* *\n"
"* lib %29s *\n"
"*************************************\n\n",
......@@ -82,7 +82,7 @@ void intro() {
static void intro() {
printf("**********************************************************\n"
"* %10s V.%5s *\n"
"* by Markus Hoffmann 1997-2016 (c) *\n"
"* by Markus Hoffmann 1997-2017 (c) *\n"
#ifdef NOGRAPHICS
"* ====> Version without graphics support <==== *\n"
#elif defined USE_SDL
......
#
# spec file for package X11Basic (Version 1.24), by Markus Hoffmann
#
# Copyright (c) Markus Hoffmann 1997-2016
# Copyright (c) Markus Hoffmann 1997-2017
#
# please send bugfixes or comments to kollo@users.sourceforge.net.
#
Name: x11basic
Version: 1.24
Version: 1.25
Release: 1
License: GPL
Group: Development/Languages
......@@ -93,6 +93,8 @@ xbc %{_docdir}/%{name}-%{version}/examples/compiler/bas2x11basic.bas --dynamic -
%{_libdir}/*
%changelog
* Fri Jan 04 2017 Markus Hoffmann <kollo@users.sourceforge.net> - 1.25
- adapted for Version 1.25
* Fri Aug 27 2015 Markus Hoffmann <kollo@users.sourceforge.net> - 1.24
- adapted for Version 1.24
* Fri Jun 27 2014 Markus Hoffmann <kollo@users.sourceforge.net> - 1.23
......
/* xb2c.C The X11-basic to C translator (c) Markus Hoffmann 2010-2016
/* xb2c.C The X11-basic to C translator (c) Markus Hoffmann 2010-2017
*/
/* This file is part of X11BASIC, the basic interpreter for Unix/X
......@@ -54,7 +54,7 @@ FILE *optr;
/* X11-Basic needs these declar<ations: */
int prglen=0;
const char version[]="1.25"; /* Programmversion*/
const char vdate[]="2016-08-01";
const char vdate[]="2017-01-01";
char *programbuffer=NULL;
char **program=NULL;
int programbufferlen=0;
......@@ -74,7 +74,7 @@ void xberror(char errnr, const char *bem);
static void intro(){
printf("********************************************************\n"
"* X11-Basic bytecode to C translator *\n"
"* by Markus Hoffmann 1997-2016 (c) *\n"
"* by Markus Hoffmann 1997-2017 (c) *\n"
"* V.%s/%04x date: %30s *\n"
"********************************************************\n",version,BC_VERSION,vdate);
}
......@@ -723,7 +723,7 @@ static int loadbcprg(char *filename) {
if(p[0]==BC_BRAs && p[1]==sizeof(BYTECODE_HEADER)-2) {
bytecode=(BYTECODE_HEADER *)p;
fprintf(optr,"/* X11-Basic-Compiler Version 1.25\n"
" (c) Markus Hoffmann 2002-2016\n"
" (c) Markus Hoffmann 2002-2017\n"
"\n"
"\nBytecode: %s (%d Bytes)\n\n",filename,len);
......
......@@ -67,8 +67,8 @@ extern int is_bytecode;
int programbufferlen;
char ifilename[]="dummy"; /* Program name. Put some useful information here */
char *programbuffer;
const char version[]="1.24"; /* Version Number. Put some useful information here */
const char vdate[]="2016-01-01"; /* Creation date. Put some useful information here */
const char version[]="1.25"; /* Version Number. Put some useful information here */
const char vdate[]="2017-01-01"; /* Creation date. Put some useful information here */
char **program={"compiled by xb2c"}; /* Other comments. Put some useful information here */
int prglen=sizeof(program)/sizeof(char *);
extern int datapointer;
......
......@@ -16,12 +16,12 @@
VERSION 1.25
(C) 1997-2016 by Markus Hoffmann
(C) 1997-2017 by Markus Hoffmann
(kollo@users.sourceforge.net)
(http://x11-basic.sourceforge.net/)
** Erstellt: Aug. 1997 von Markus Hoffmann **
** letzte Bearbeitung: 08/2016 von Markus Hoffmann **
** letzte Bearbeitung: 01/2017 von Markus Hoffmann **
*/
/* This file is part of X11BASIC, the basic interpreter for Unix/X
......
......@@ -69,7 +69,7 @@ char *programbuffer=NULL;
char **program=NULL;
int prglen=0;
const char version[]="1.25"; /* Version Number. Put some useful information here */
const char vdate[]="2016-08-01"; /* Creation date. Put some useful information here */
const char vdate[]="2017-01-01"; /* Creation date. Put some useful information here */
STRING bcpc;
#endif
......@@ -179,7 +179,7 @@ char *rodata;
static void intro(){
puts("*************************************************************\n"
"* X11-Basic bytecode compiler *\n"
"* by Markus Hoffmann 1997-2016 (c) *");
"* by Markus Hoffmann 1997-2017 (c) *");
printf("* V.%s/%04x date: %30s *\n",version,BC_VERSION,vdate);
puts("*************************************************************\n");
}
......
......@@ -71,7 +71,7 @@ char selfseek[]="4007111";
static void intro(){
printf("****************************************************\n"
"* %10s virtual machine V.%5s *\n"
"* by Markus Hoffmann 1997-2016 (c) *\n"
"* by Markus Hoffmann 1997-2017 (c) *\n"
"* *\n"
#ifdef GERMAN
"* Programmvers. vom %30s *\n"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment