Author Topic: 0.12.15?  (Read 3002 times)

Tomaaz

  • Guest
0.12.15?
« 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.

chrisws

  • Guest
Re: 0.12.15?
« Reply #1 on: January 25, 2019, 09:03:51 AM »
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
« Last Edit: January 25, 2019, 09:05:29 AM by chrisws »

Tomaaz

  • Guest
Re: 0.12.15?
« Reply #2 on: January 30, 2019, 06:39:30 PM »
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).

Quote
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)

chrisws

  • Guest
Re: 0.12.15?
« Reply #3 on: January 31, 2019, 11:23:02 AM »
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).

Quote
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




Tomaaz

  • Guest
Re: 0.12.15?
« Reply #4 on: January 31, 2019, 08:20:31 PM »
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...

chrisws

  • Guest
Re: 0.12.15?
« Reply #5 on: January 31, 2019, 09:14:17 PM »
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;

Tomaaz

  • Guest
Re: 0.12.15?
« Reply #6 on: January 31, 2019, 09:17:02 PM »
No. It's empty.

chrisws

  • Guest
Re: 0.12.15?
« Reply #7 on: February 01, 2019, 10:54:54 AM »
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


Tomaaz

  • Guest
Re: 0.12.15?
« Reply #8 on: February 01, 2019, 02:24:12 PM »
That worked. Thanks! :)