The AROS Archives(anonymous IP: 216.73.216.57,401) 
 HomeRecentStatsSearchSubmitUploadsMirrorsContactInfoDisclaimerConfigAdmin
 Menu

 Features
   Markdown composer
 

 Categories

   o Audio (128)
   o Datatype (18)
   o Demo (65)
   o Development (269)
   o Document (70)
   o Driver (20)
   o Emulation (71)
   o Game (625)
   o Graphics (240)
   o Library (24)
   o Network (87)
   o Office (24)
   o Utility (336)
   o Video (22)

Total files: 1999

Full index file
Recent index file

Part of AROS World
 Readme for:  Development » Language » fabasic.aarch64-aros.lha

fabasic

Description: BASIC with GUI, gpio, games, sound and network
Download: fabasic.aarch64-aros.lha       (TIPS: Use the right click menu if your browser takes you back here all the time)
Size: 2Mb
Version: 0.9.3
Date: 22 Nov 26
Author: Rhun
Submitter: Rhun
Email: rafal1982/yahoo com
Homepage: http://www.rhun.pl
Requirements: piAROS (AROS AArch64), Raspberry Pi 3/4/5/500
Category: development/language
Replaces: development/language/fabasic.aarch64-aros.lha
License: Other
Distribute: yes
FileID: 3635
 
Comments: 0
Snapshots: 0
Videos: 0
Downloads: 24  (Current version)
160  (Accumulated)
Votes: 0 (0/0)  (30 days/7 days)

[Show comments] [Show snapshots] [Show videos] [Show content] [Replace file] 
fabasic is a BASIC interpreter for AROS AArch64
(Raspberry Pi). The language follows the ANSI/ISO Full BASIC core with
QBasic-style extensions, and adds modules for modern programs:

  - classic BASIC: structured code, SUB/FUNCTION, TYPE records,
    libraries (MODULE / USE), sequential and random access files
  - windows with Zune: buttons, lists, tables, menus, tabs, dialogs,
    timers, events
  - games: canvas, sprites, collisions, tile maps (also isometric and
    from the Tiled editor), path finding, smooth frame loop
  - sound through AHI: tones, WAV and 8SVX samples
  - network: HTTP/HTTPS, JSON, TCP, UDP, MQTT
  - network scanners (eSCL / AirScan): no drivers, JPEG or PDF
  - SQLite database, CSV import and export
  - serial ports: Arduino (over USB), ESP8266, GPS receivers, the Pi
    UARTs
  - Raspberry Pi hardware: I2C, BME280, DS18B20, OLED, VideoCore
    firmware readings; drivers for new I2C sensors can be written in
    BASIC (one for the SCD40 CO2 sensor is included)
  - BASIC libraries: charts, ready dialogs, colours, system information,
    dates, text, number formats, dictionaries, Home Assistant, a log
    file, command line options, tests, messages to the phone, a web
    page with your values
  - -pack: interpreter and program in one executable
  - faedit: editor and IDE - syntax colours, themes, F5 runs the
    program and jumps to the line of an error

About 80 example programs are included, from small console programs
(sunrise times, a loan calculator, a home budget) to windows (shopping
list, kitchen timer, a live sensor chart), games, a Home Assistant
reader and a network scanner. Manual in English and Polish.
This archive contains AROS AArch64 programs only - they do not run
on Linux, Windows, AROS x86 or AmigaOS, and programs made with -pack
run only on AROS AArch64. fabasic also runs on Linux (PC, Raspberry
Pi, Orange Pi and other boards - x86-64, ARM, RISC-V) and Windows.
Those versions are separate downloads, not included here; the same
.bas programs run on them unchanged.

This is an ALPHA release: the language may still change.
The hardware functions (GPIO, I2C, sensors, OLED, the Pi UARTs) are
experimental and have not been fully tested - wrong wiring can damage
the Pi or the connected devices. Use them at your own risk. The Pi pins
work at 3.3 V: never connect a 5 V board (e.g. Arduino Uno) to them
directly - use USB, or a level shifter / voltage divider on its TX line.

HTTPS connections are encrypted, but the server certificate is not
verified.

Installation: unpack anywhere, double-click faedit, or run from the
Shell, e.g.
    fabasic examples/gui/calculator.bas
See README.txt inside the archive.

Homepage: https://rhun.pl

Freeware, provided "as is" without any warranty (see LICENSE.txt and
LICENSE-faedit.txt).
Written with help from an AI assistant (Claude).
Includes Mbed TLS (Apache 2.0), SQLite (public domain) and the PiSensors
library (MIT).
Example graphics (CC0): Kenney, Buch, Luis Zuno.

History
-------
0.9.3-alpha (2026-11-22)
  - ONSTOP "sub": a SUB that runs when the program is stopped (switch
    relays off, write the log, disconnect) - Ctrl+C, Break in a Shell,
    Stop in faedit
  - CONST: names for values that never change (addresses, registers)
  - UNIXTIME (seconds since 1970, UTC), SHA256$ and HMAC$ (check sums,
    signed web hooks)
  - SORTITEMS: sorts a table, list or drop-down list from the program
    (Zune tables do not sort by a header click)
  - new libraries: command line options (args), a log file with old
    files kept by size (log), tests for your own procedures (test),
    messages to the phone - ntfy, Telegram, Pushover, Discord (notify),
    a small web server with your values on a page (webpage); patterns
    with * and ? (text.ismatch)
  - more errors found before the start: a value given to a built-in
    name, EXIT outside a loop, a whole structure in an expression; a
    warning for LOCAL outside a procedure
  - Changed: an argument with a space comes in COMMAND$ in quotes
0.9.2-alpha (2026-11-19)
  - UTF-8 letters count as one character in all string functions;
    UCASE$ / LCASE$ change them too; ASC and CHR$ use Unicode codes.
    Text of windows, the Shell and file names is converted (ISO-8859-1
    or -2, as ENV:CHARSET says) - accented file names work, and files
    written by a program show right on other systems
  - checks before the start: unknown procedures and functions, wrong
    arguments, types visible in the text; a warning for a variable that
    is never set (a typo); fabasic -check lists all errors (for faedit)
  - INKEY$: a key from the Shell without Return (arrows, F1-F10, Help)
  - Workbench: TOOLTYPE$ reads the Tool Types of the program's icon;
    icons selected together with the program (Shift and click) come in
    COMMAND$ with full paths
  - ARexx: REXXSEND$ sends a command to a program's ARexx port
  - files and folders: MKDIR, RMDIR, CHDIR, CURDIR$, ISFOLDER, FILESIZE,
    FILEDATE$, COPYFILE, FREEFILE; GETENV$ (ENV: and Shell variables)
  - binary data in byte arrays: files, serial ports, TCP / UDP
  - ERRCODE (kind of error), ERROR text$, code
  - WINDOW(t$, "child"): a details or settings window that closes
    together with the main window
  - VAL reads &HFF, &B101, &O17; VAL("") gives 0
  - new libraries: text, dates, number formats, dictionaries, Home
    Assistant (MQTT discovery); MQTT "last will"
  - Fixed: a rare memory error with FIELD and GET; the choice in a
    drop-down list (cycle gadget) after REMOVEITEM; several examples
  - Changed: CHR$(128) to CHR$(255) are Unicode characters now, not
    single bytes; a program that calls a procedure that does not exist
    does not start until it is fixed
0.9.1-alpha (2026-11-15)
  New in the language:
  - default parameter values, LOCAL arrays, SORT (with an own compare
    function), SWAP, CALL name$ / CALLFUNC (procedures named in a
    string), SPLIT, JOIN$, REPLACE$, CSVREAD / CSVLINE$, FILES (folder
    listing with patterns), OS$; the parser refuses built-in names for
    parameters and local variables
  - USE DB: SQLite database built in, CSV import and export
  - USE SERIAL: serial ports - the Pi UARTs (also uart3-5 on a Pi 4),
    USB adapters through Exec devices (Arduino Uno: cdcacm.device)
  - windows: TREEVIEW, SCROLLBOX, own dialog windows (GUIWAIT),
    clipboard, window size events, ONCHANGE for lists, clicks in a
    CANVAS; a CANVAS can grow with the window (RESIZECANVAS)
  - graphics: DRAWPOLY, GETPIXEL, CANVASWIDTH / CANVASHEIGHT, FREEIMAGE
  - network: any HTTP method (HTTPREQUEST$), answer headers, network
    scanners (eSCL / AirScan) with JPEG and PDF
  - I2C: several bytes in one transfer (I2CSENDN, I2CRECVN) - drivers
    for new sensors can be written in BASIC
  New libraries (lib/): charts (lines, areas, bars, XY, pie, two
  scales, automatic ranges), dialogs, colours, system information,
  SCD40 CO2 sensor.
  About 25 new examples: sunrise times, a loan calculator, a home
  budget, backups, a shopping list, a kitchen timer, a live BME280
  chart, plant watering, an OLED graph, a GPS receiver, a network
  scanner, databases, serial terminals and more.
  Fixed: Ctrl+C (and Stop in faedit) stops a running program; drawing
  in a CANVAS during window events is shown at once; windows stay
  responsive during network waits and long DELAYs.
  Changed: examples/gui/dialogs.bas is now messages.bas; new built-in
  names cannot be used for variables or procedures (see CHANGES.txt).
0.9.0-alpha (2026-11-10)
  First public release




Copyright © 2005 - 2026 The AROS Archives All Rights Reserved