|
Post by kennn on Nov 19, 2019 2:56:07 GMT -6
I discovered the following webpage. You can download two nice BBCSDL games. proggies.uk/bbcsdl/index.html BBCSDL are freewares for various platforms. You can download BBCSDL on the following webpage. www.bbcbasic.co.uk/bbcsdl/index.html
|
|
|
Post by johnno56 on Nov 19, 2019 4:41:36 GMT -6
Cool. BBC Basic was around during the Commodore64/TRS80/Amstrad/Spectrum era. I have several BBC emulators on my Linux machine... Ah the memories... BBC for SDL2.0? I'll have to get that one... Thanks for the link. If I can get it running I'll let you know how it turns out either way...
|
|
|
Post by johnno56 on Nov 19, 2019 4:53:40 GMT -6
Ok. Website indicated only 32bot version but the download section contained a 64bit version... Downloaded and installed without error. Notes instructed to install some dependencies, but my version of Linux Mint, already had those installed. Application starts and the user is presented with a choice of 2 IDE's. Loaded examples and all seems ok so far... Will inform you of any difficulties. Again. Thanks for the link!
|
|
|
Post by kennn on Nov 19, 2019 6:26:58 GMT -6
Ok. Website indicated only 32bot version but the download section contained a 64bit version... Downloaded and installed without error. Notes instructed to install some dependencies, but my version of Linux Mint, already had those installed. Application starts and the user is presented with a choice of 2 IDE's. Loaded examples and all seems ok so far... Will inform you of any difficulties. Again. Thanks for the link! Hello, the old edition(BB4W) is a commercial software. However, the author released BBCSDL several years ago!!! BBCSDL is free and open-source. Therefore, I believe that the author is a very generous person. The author is so hardworking. Why? There are Windows, Mac, Linux, Raspberry Pi, Android and IOS version! Both games are too complicated for me but you can learn a lot from them! If the editors are as good as Cerberus-X's editor, BBCSDL will be quite perfect....
|
|
|
Post by johnno56 on Nov 20, 2019 6:41:06 GMT -6
Here is the RCBasic version of BBCSDL's "Saucer" graphic... xmax = 640 ymax = 512 originx = xmax / 2 originy = ymax / 2
title$ = "Saucer BBCSDL2.0"
WindowOpen(1,title$,0,0,xmax,ymax,0) CanvasOpen(1,xmax,ymax,0,0,xmax,ymax,0)
xs = 1 ys = 1 setColor(rgb(0,255,255)) a = originx b = a * a c = originy m = 0 n = 0
do clearcanvas for x = 0 to a step xs s = x * x p = sqrt(b-s) for i = -p to p step 6 * ys r = sqrt(s + i * i) / a q = (r - 1) * sin(24 * r) y = int(i / 3 + q * c) if i = -p then m = y n = y end if if y > m then m = y end if if y < n then n = y end if if m = y or n = y then pset(originx + x, originy - y) pset(originx - x, originy - y) end if next next update loop until key(k_escape) = 1
It serves absolutely no purpose except for the fact it looks cool... J
|
|
|
Post by tbird on Nov 20, 2019 9:30:53 GMT -6
And in this instance, the purpose is served very well, looks very cool. It looks more like a water fountain to me, all you need is the "water" at the top
|
|
|
Post by johnno56 on Nov 20, 2019 14:11:40 GMT -6
Yeah... A "saucer" was not my first impression... never the less, it's still cool...
This was one of the few examples that did not use any 'libraries'... But, from my experience with BBC Basic, it was WAY slower than what it is today... Is my age showing? lol
|
|
|
Post by kennn on Nov 20, 2019 16:38:16 GMT -6
And in this instance, the purpose is served very well, looks very cool. It looks more like a water fountain to me, all you need is the "water" at the top Yes, this remake is so attractive and exciting!!!!!!
|
|
|
Post by kennn on Nov 20, 2019 16:39:28 GMT -6
Here is the RCBasic version of BBCSDL's "Saucer" graphic... It serves absolutely no purpose except for the fact it looks cool... You are very familiar with RCBasic. Good job!!!!! Actually, you have good advanced techniques! The BBCSDL package or the NaaLaa package includes adequate interesting examples. The interesting examples are very nice promotions. If the RCBasic package includes adequate wonderful examples, RCBasic can also be promoted effectively.
|
|
|
Post by kennn on Nov 20, 2019 16:44:53 GMT -6
But, from my experience with BBC Basic, it was WAY slower than what it is today... Very slow hardware in the past.....
|
|
|
Post by johnno56 on Nov 20, 2019 17:36:13 GMT -6
Oh yes. CPU of 4mhz at best...
My knowledge of RCBasic comes from SDLBasic. RCBasic is very similar. A few tweaks here and there, in most cases, an easy conversion... lol BBC Basic, even back then, had some weird commands that left us scratching our heads... Still, for an 8 bit machine, it got the job done... Because of the slow CPU speed and limited memory, the BBC was able to redefine the ascii characters, to create 'tiles'... The advantage was, it was quicker to display an ascii character, than plot an 8 x 8 graphic. Display a character or plot 64 pixels... But, once the program finished, the redefined ascii characters returned to normal...
Now to fire up the coffee machine... Yum!
|
|
|
Post by kennn on Nov 21, 2019 1:20:33 GMT -6
Oh yes. CPU of 4mhz at best... My knowledge of RCBasic comes from SDLBasic. RCBasic is very similar. A few tweaks here and there, in most cases, an easy conversion... lol BBC Basic, even back then, had some weird commands that left us scratching our heads... Still, for an 8 bit machine, it got the job done... Because of the slow CPU speed and limited memory, the BBC was able to redefine the ascii characters, to create 'tiles'... The advantage was, it was quicker to display an ascii character, than plot an 8 x 8 graphic. Display a character or plot 64 pixels... But, once the program finished, the redefined ascii characters returned to normal... Now to fire up the coffee machine... Yum! You are an expert in BBC Micro. Thanks for providing the information!
|
|
|
Post by johnno56 on Nov 21, 2019 3:46:32 GMT -6
I am familiar with RC and SDLbasic but I have had little experience with BBC because of a lot of weird commands... but an 'expert' in none of them... Sorry...
|
|