VirtualBasic and Oric
- Hialmar
- Flight Lieutenant
- Posts: 349
- Joined: Tue Mar 04, 2014 11:25 am
- Location: Toulouse, France
- Contact:
VirtualBasic and Oric
We are organizing an Apple Festival this summer and a guy will come and present Virtual Basic.
It's a pre-processor that let's you code Basic in a modern way (without line numbers) and then converts it to standard AppleSoft Basic.
AppleSoft Basic being a Microsoft Basic like ours it could be ported to the Oric.
Here is the website about this:
http://virtualbasic.org/
I will try to port this ASAP.
I have noted in the code of bas2tap that such a thing was intended but never was completed (or was it ?).
Anyway I just wanted to share this
It's a pre-processor that let's you code Basic in a modern way (without line numbers) and then converts it to standard AppleSoft Basic.
AppleSoft Basic being a Microsoft Basic like ours it could be ported to the Oric.
Here is the website about this:
http://virtualbasic.org/
I will try to port this ASAP.
I have noted in the code of bas2tap that such a thing was intended but never was completed (or was it ?).
Anyway I just wanted to share this
Re: VirtualBasic and Oric
Sometime ago I found Magic Gosub which allows to use GOTO and GOSUB with 'text labels' instead of line numbers. It can work together with Slammer! which uses REM to store data and machine code. These are for Apple ][ too.
Else VirtualBasic looks very interesting indeed and powerful. Thanks for the info!
Else VirtualBasic looks very interesting indeed and powerful. Thanks for the info!
Re: VirtualBasic and Oric
Something like Magic Gosub was published in Theoric #29 pages 40-43.
Here is a tap file with BASIC loader and test (Atmos version)
The test part:
Here is a tap file with BASIC loader and test (Atmos version)
The test part:
Code: Select all
30 CLS
40 INPUT "Numero de menu ";N
50 ON N GOSUB "MENU1","MENU2","MENU3"
60 GOTO 40
100 ' "MENU1"
110 PRINT "Menu1":RETURN
120 ' "MENU2"
130 PRINT "Menu2":RETURN
140 ' "MENU3"
150 PRINT "Menu3":RETURN
- Attachments
-
- LABELS.tap
- (2.06 KiB) Downloaded 805 times
Re: VirtualBasic and Oric
And here is a link to Theoric #29 french magazine
- Hialmar
- Flight Lieutenant
- Posts: 349
- Joined: Tue Mar 04, 2014 11:25 am
- Location: Toulouse, France
- Contact:
Re: VirtualBasic and Oric
Nice I will look at this.
Virtual Basic offers other interesting features like code blocks, automatic compression of code and the like.
Virtual Basic offers other interesting features like code blocks, automatic compression of code and the like.
Re: VirtualBasic and Oric
With ORIC we have no choice it's BASIC or ASM, so for me it's BASIC of course
This virtual BASIC seems really easy to use, without numbers of line you change our life
In the homepage it's only question of APPLE II
do you think it's possible to use BAS2TAP from this APLLE CODE ?
This virtual BASIC seems really easy to use, without numbers of line you change our life
In the homepage it's only question of APPLE II
do you think it's possible to use BAS2TAP from this APLLE CODE ?
Re: VirtualBasic and Oric
And C, and Forth and LOGO, and probably a bunch of other languages
Implementing that in Bas2Tap is doable, or you could use Wascol's tool which generated basic with numbers from labels.
Re: VirtualBasic and Oric
Wouch such hard languages for me
where is this Waskol's tool ?
where is this Waskol's tool ?
Re: VirtualBasic and Oric
You can get the program here:
http://miniserve.defence-force.org/svn/ ... ls2Num.exe
And (because I forgot to remove it) here is an example program that uses a compatible syntax:
http://miniserve.defence-force.org/svn/ ... omberZ.bas
http://miniserve.defence-force.org/svn/ ... ls2Num.exe
And (because I forgot to remove it) here is an example program that uses a compatible syntax:
http://miniserve.defence-force.org/svn/ ... omberZ.bas
Re: VirtualBasic and Oric
Labels2num.exe
après avoir conrt circuité les soucis de sécurité de windows, rien à faire il ne se lance pas, même en mode de compatibilité XP
il faut dosbox ?
après avoir conrt circuité les soucis de sécurité de windows, rien à faire il ne se lance pas, même en mode de compatibilité XP
il faut dosbox ?
- Hialmar
- Flight Lieutenant
- Posts: 349
- Joined: Tue Mar 04, 2014 11:25 am
- Location: Toulouse, France
- Contact:
Re: VirtualBasic and Oric
After searching for something like this I stumbled on this thread that I created and completely forgot.
In fact this should be directly usable with our computer.
I have tested the examples and they work just fine.
I will test with more complex programs and will keep you posted (unless I forget this again).
Edit: there are some problems with unrecognized Basic functions. I'll try to modify this ASAP.
In fact this should be directly usable with our computer.
I have tested the examples and they work just fine.
I will test with more complex programs and will keep you posted (unless I forget this again).
Edit: there are some problems with unrecognized Basic functions. I'll try to modify this ASAP.
Re: VirtualBasic and Oric
If you look at the episode of Upgrade Time I published last Sunday, you'll see that I'm not far from releasing a new version of Bas2Tap that natively handles labels, without any memory or performance penalty compared to native line numbers
I even mention Maximus in it
I even mention Maximus in it
- Hialmar
- Flight Lieutenant
- Posts: 349
- Joined: Tue Mar 04, 2014 11:25 am
- Location: Toulouse, France
- Contact:
Re: VirtualBasic and Oric
Nice
With all this I may try to code in Basic again
With all this I may try to code in Basic again
Re: VirtualBasic and Oric
Hey that sound is good
the last man on earth coding in BASIC ?