RetroBASIC
Basicprogramming(.org) => SmallBASIC => Topic started by: Tomaaz on January 19, 2019, 02:45:09 PM
-
Has version 0.12.15 been released? I just build 64 bit versions from source and that's what it says.
-
Hi,
There was a 0.12.15 release for android. This had a few minor changes including a fix to display the "..." menu on chromebook and other devices. There still seems to be a few issues with SmallBASIC on chromebook, but more or less seems to work in the emulator.
There will be a desktop release of 0.12.15 sometime in the near future.
Cheers,
Chris
-
There will be a desktop release of 0.12.15 sometime in the near future.
Are you suggesting that I'm a time traveler (see attachment)? ;D
Also, I wasn't able to build an SDL version on 32 bit debian-based distro (Sparky).
runtime.cpp:392:29: error: ‘main_bas_len’ was not declared in this scope
buffer = (char *)malloc(main_bas_len + 1);
^~~~~~~~~~~~
runtime.cpp:393:20: error: ‘main_bas’ was not declared in this scope
memcpy(buffer, main_bas, main_bas_len);
(screenshot attached)
-
There will be a desktop release of 0.12.15 sometime in the near future.
Are you suggesting that I'm a time traveler (see attachment)? ;D
Also, I wasn't able to build an SDL version on 32 bit debian-based distro (Sparky).
runtime.cpp:392:29: error: ‘main_bas_len’ was not declared in this scope
buffer = (char *)malloc(main_bas_len + 1);
^~~~~~~~~~~~
runtime.cpp:393:20: error: ‘main_bas’ was not declared in this scope
memcpy(buffer, main_bas, main_bas_len);
(screenshot attached)
Aha - yes I merged some code from the 0.12.15 branch to master, I should have waited.
When attempting to build the SDL version, did you first run:
$./configure --enable-sdl ?
That should create the missing main_bas.h file
-
When attempting to build the SDL version, did you first run:
$./configure --enable-sdl ?
That should create the missing main_bas.h file
Of course, I did. If I didn't there would be no error message, because the console version would be compiled again. BTW main_bas.h file is not missing - I can see it in SmallBASIC-master/src/platform/sdl/ directory...
-
When attempting to build the SDL version, did you first run:
$./configure --enable-sdl ?
That should create the missing main_bas.h file
Of course, I did. If I didn't there would be no error message, because the console version would be compiled again. BTW main_bas.h file is not missing - I can see it in SmallBASIC-master/src/platform/sdl/ directory...
Does your main_bas.h look something like this:
unsigned char main_bas[] = {
0x63, 0x6f, 0x6e, 0x73, 0x74, 0x20, 0x61, 0x70, 0x70, 0x20, 0x3d, 0x20,
...
0x0a, 0x6d, 0x61, 0x69, 0x6e, 0x0a
};
unsigned int main_bas_len = 17358;
-
No. It's empty.
-
No. It's empty.
Aha - you probably don't have the xxd command and the configure script doesn't check whether it's installed.
try:
$ xxd -h
and if that fails
# sudo apt install xxd
-
That worked. Thanks! :)