From 9f3a9291aec2837df4cb8f104c0c6bd7e0daff63 Mon Sep 17 00:00:00 2001 From: Joerg Siebenmorgen <82510480+Joe7M@users.noreply.github.com> Date: Sun, 29 Jun 2025 13:47:37 +0200 Subject: [PATCH 1/2] Update build instructions The SDL version of SmallBASIC uses SDL3 now. Update of build instructions for Ubuntu 25.04 and Manjaro. --- README.md | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index b1630dc3..5f2755a9 100644 --- a/README.md +++ b/README.md @@ -6,16 +6,16 @@ SmallBASIC is a fast and easy to learn BASIC language interpreter ideal for ever #### Install packages -Ubuntu +Ubuntu (25.04) ``` -sudo apt-get install git autotools-dev automake gcc g++ libsdl2-dev libfreetype6-dev libfontconfig1-dev xxd +sudo apt install git autotools-dev automake make gcc g++ libsdl3-dev libfreetype-dev libfontconfig-dev xxd ``` Manjaro (Arch) ``` -sudo pacman -S gcc make autoconf automake sdl2 freetype2 fontconfig pkgconf vim +sudo pacman -S gcc make autoconf automake sdl3 freetype2 fontconfig pkgconf vim ``` #### Initial setup @@ -23,7 +23,6 @@ sudo pacman -S gcc make autoconf automake sdl2 freetype2 fontconfig pkgconf vim ``` $ git clone https://github.com/smallbasic/SmallBASIC.git $ cd SmallBASIC - $ git submodule update --init $ sh autogen.sh ``` @@ -95,7 +94,6 @@ $ brew install autoconf ``` $ git clone https://github.com/smallbasic/SmallBASIC.git $ cd SmallBASIC -$ git submodule update --init $ sh autogen.sh ``` From b69a1cebf58e5085e708576fc18f4e4e04a2f4d3 Mon Sep 17 00:00:00 2001 From: Joerg Siebenmorgen Date: Mon, 7 Jul 2025 21:13:02 +0200 Subject: [PATCH 2/2] Console: Fix odd behavior with suppressing newline --- src/platform/console/device.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/platform/console/device.cpp b/src/platform/console/device.cpp index a37794a1..eb12429f 100644 --- a/src/platform/console/device.cpp +++ b/src/platform/console/device.cpp @@ -104,6 +104,7 @@ void default_write(const char *str) { } } } + fflush(stdout); } // @@ -111,6 +112,7 @@ void default_write(const char *str) { // void vt100_write(const char *str) { printf("%s", str); + fflush(stdout); } void console_init() {