VirtualBasic and Oric

Everything related to BASIC version 1.x (Oric 1 and Atmos) or HYPERBASIC (Telestrat).
Don't hesitate to give your small program samples, technical insights, or questions...
Post Reply
User avatar
Hialmar
Flight Lieutenant
Posts: 318
Joined: Tue Mar 04, 2014 11:25 am
Location: Toulouse, France
Contact:

VirtualBasic and Oric

Post by Hialmar » Wed Mar 11, 2015 3:18 pm

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 ;)
Hialmar
CEO and Silicium member.

User avatar
iss
Squad Leader
Posts: 513
Joined: Sat Apr 03, 2010 5:43 pm
Location: Bulgaria
Contact:

Re: VirtualBasic and Oric

Post by iss » Thu Mar 12, 2015 10:49 am

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! :)

christian
Officer Cadet
Posts: 50
Joined: Sun Nov 24, 2013 9:58 pm

Re: VirtualBasic and Oric

Post by christian » Fri Mar 13, 2015 9:21 pm

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:

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 138 times

christian
Officer Cadet
Posts: 50
Joined: Sun Nov 24, 2013 9:58 pm

Re: VirtualBasic and Oric

Post by christian » Fri Mar 13, 2015 9:41 pm

And here is a link to Theoric #29 french magazine

User avatar
Hialmar
Flight Lieutenant
Posts: 318
Joined: Tue Mar 04, 2014 11:25 am
Location: Toulouse, France
Contact:

Re: VirtualBasic and Oric

Post by Hialmar » Sat Mar 14, 2015 9:33 am

Nice :) I will look at this.

Virtual Basic offers other interesting features like code blocks, automatic compression of code and the like.
Hialmar
CEO and Silicium member.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest