Re:ZX Spectrum Emulator Written in Small Basic
by teh_klev on Wednesday October 28, 2015 @11:34AM
(#10464995)
I think this is it here:
http://smallbasic.com/program/?DNP796
or here:
http://smallbasic.com/smallbasic.com/program/?RHB445-0
The blog entry links to this forum discussion:
https://social.msdn.microsoft.com/Forums/en-US/1e8c53bb-7974...
From what I can see each program has a code (DNP796 or RHB445-0 - which is mentioned in the above blog article) which you can look up on:
Re:ZX Spectrum Emulator Written in Small Basic
by acqq on Wednesday October 28, 2015 @11:54AM
(#10465120)
Thanks. So it just makes a Spectrum-like environment with some new version of Basic in it?
And it seems that Small Basic can't even define a function, only a parameter-less subroutine? In spite of TextWindow.WriteLine() notation.
Re:ZX Spectrum Emulator Written in Small Basic
by teh_klev on Wednesday October 28, 2015 @12:30PM
(#10465432)
Not tried it to be honest, I'd run out of energy by the time I looked up all this, then saw the code, sucked in air sharply between my teeth, then decided I'd better things to do.
Re:ZX Spectrum Emulator Written in Small Basic
by sigzero on Wednesday October 28, 2015 @01:00PM
(#10465704)
I just flipped through the tutorial and the "TextWindow.WriteLine" philosophy is used throughout the language. Want to write to a UI, it's "GraphicWindow". So for "standards" sake, I think it is ok. The tutorial was pretty good and it's a simple language.
Ultimately the original is simpler.
And for my taste Small Basic appears ugly for a beginner's language, the "Hello World" is:
Compare that to from the old times. I consider the later much much nicer.