-
- Posts: 1
- Joined: Thu Dec 29, 2011 9:26 pm
Re: Basic
Will it have BASIC ? Because BASIC is so esay to use I would love it to but will have it like my old zx spectrum 48K
Re: Basic
joe darlow said:
Will it have BASIC ? Because BASIC is so esay to use I would love it to but will have it like my old zx spectrum 48K
Do a search on the foums for BASIC - lots of posts arguing the toss on that one!
Quick answer, if you can find a Linux basic (there are lots) , and it can compile to Arm, then why not!
Will it have BASIC ? Because BASIC is so esay to use I would love it to but will have it like my old zx spectrum 48K
Do a search on the foums for BASIC - lots of posts arguing the toss on that one!
Quick answer, if you can find a Linux basic (there are lots) , and it can compile to Arm, then why not!
Principal Software Engineer at Raspberry Pi Ltd.
Working in the Applications Team.
Working in the Applications Team.
Re: Basic
Yeah, I'm with you on that one. We need BASIC.
But I think there will be a need to be able to output decent quality graphics.
I guess we could start with some star fields made using fullstops, randomly coloured * asterisks spattering on the screen and a bouncy ball made from a capital O
Something like....
let x=0
let y=0
down=1
right=1
do
Print (x,y) "O"
if right=1 then x=x+1
if right=0 then x=x-1
if down=1 then y=y+1
if down=0 then y=y-1
if x>80 then right=0
if x<0 then right=1
if y>25 then down=0
if y<0 then down=1
loop
I may have coded that wrong, but you understand the idea. I want to learn how to write PONG in BASIC!
But I think there will be a need to be able to output decent quality graphics.
I guess we could start with some star fields made using fullstops, randomly coloured * asterisks spattering on the screen and a bouncy ball made from a capital O
Something like....
let x=0
let y=0
down=1
right=1
do
Print (x,y) "O"
if right=1 then x=x+1
if right=0 then x=x-1
if down=1 then y=y+1
if down=0 then y=y-1
if x>80 then right=0
if x<0 then right=1
if y>25 then down=0
if y<0 then down=1
loop
I may have coded that wrong, but you understand the idea. I want to learn how to write PONG in BASIC!
Re: Basic
blassic, brandy and tiny basic for curses all compiled for the raspi can be found here
http://russelldavis.org/RaspberryPi/
I haven't bothered with Bywater but i've built it for other ARM devices so it'll work on the raspi too.
There have been built and tested using scratchbox2 and once I get a real raspi i will actually fix them to get graphics and sound working and just for the hell of it i'll probably do one of the SDLBasic's. I also heard rumours that there might be a "blessed" port of BBC BASIC available sometime around release day so i'm sure we have BASIC well and truely covered.
http://russelldavis.org/RaspberryPi/
I haven't bothered with Bywater but i've built it for other ARM devices so it'll work on the raspi too.
There have been built and tested using scratchbox2 and once I get a real raspi i will actually fix them to get graphics and sound working and just for the hell of it i'll probably do one of the SDLBasic's. I also heard rumours that there might be a "blessed" port of BBC BASIC available sometime around release day so i'm sure we have BASIC well and truely covered.
Re: Basic
Brandy BASIC (Which is a BBC BASIC interpreter) will no doubt be a first choice for most, its freely available as source code written in ANSI.C and will compile on most Linux kernels.
see http://jaguar.orpheusweb.co.uk.....npage.html for more info
or http://jaguar.orpheusweb.co.uk.....dy_116.tgz to download the source code
see http://jaguar.orpheusweb.co.uk.....npage.html for more info
or http://jaguar.orpheusweb.co.uk.....dy_116.tgz to download the source code
Re: Basic
Olly said:
Brandy BASIC (Which is a BBC BASIC interpreter) will no doubt be a first choice for most, its freely available as source code written in ANSI.C and will compile on most Linux kernels.
see http://jaguar.orpheusweb.co.uk.....npage.html for more info
or http://jaguar.orpheusweb.co.uk.....dy_116.tgz to download the source code
The only problem with Brandy is that only the RISCOS version supports graphics and sound but i will be taking a look at the Linux port wrt fixing that once I know the full details of the framebuffer and how to handle sound on the board (same as i plan to do with Blassic)
Brandy BASIC (Which is a BBC BASIC interpreter) will no doubt be a first choice for most, its freely available as source code written in ANSI.C and will compile on most Linux kernels.
see http://jaguar.orpheusweb.co.uk.....npage.html for more info
or http://jaguar.orpheusweb.co.uk.....dy_116.tgz to download the source code
The only problem with Brandy is that only the RISCOS version supports graphics and sound but i will be taking a look at the Linux port wrt fixing that once I know the full details of the framebuffer and how to handle sound on the board (same as i plan to do with Blassic)