| Posted: 12:00pm 28 May 2026 |
Copy link to clipboard |
 Print this post |
|
Frank: have you tried launching it using the --console-only switch:
user@HP-stream11-392758:~$ user@HP-stream11-392758:~$ ./mmbasic_ansi --console-only PicoMite MMBasic ANSI 1.0.6 Copyright 2011-2026 Geoff Graham Copyright 2016-2026 Peter Mather MMBasic Anywhere - Copyright 2025-2026 Josh Vanderberg Bytecode VM, HAL refactor, host/WASM/stdio ports
> quit user@HP-stream11-392758:~$ user@HP-stream11-392758:~$
i was also unable to get the graphics working sensibly either... unfortunately linux/unix consoles do vary quite a bit in their inbuilt capabilities and rendering speed. while the way Josh is creating the 'pixels' is quite ingenious, it is dependent on the console it is running within (a) being able to cope with dimensions (320, 640, or even 800 columns) way beyond what would normally be encountered in a normal terminal screen, along with (b) needing the operating system's font engine being able to intelligently/efficiently scale characters down to 1pt size (potentially only 1 pixel wide x 2 pixels high) and cache those scaled characters.
i would be surprised if any linux terminal had ever been tested at such extremes. on the other hand, i could well imagine Apple optimizing for such 'non-standard' ways for using fonts!
i did try to get the linux mint terminal on my machines (xfce4-terminal) operating with 'sixel' graphics, which divides each character cell into 6 pixels (2 wide x 3 high) but it seems that sixel is not supported in the versions of xfce4-terminal (pre 1.2) that linux mint uses.
Josh: how would you feel about someone writing a custom launcher that could provide your mmbasic_ansi version of mmbasic with access to a graphics window? i think this could be fairly easily done using Lazarus/FPC with mmbasic_ansi just needing to send simple graphics commands to stdout.
cheers, rob :-) |