Release: VICScript v0.1

Basic and Machine Language

Moderator: Moderators

Bobbi
Vic 20 Afficionado
Posts: 347
Joined: Thu Oct 13, 2016 11:35 am
Location: Toronto
Occupation: Programmer

Release: VICScript v0.1

Postby Bobbi » Wed Nov 23, 2016 10:54 am

This is an initial release of a new scripting language for the VIC-20. This should probably be regarded as an alpha or beta test release. Please play with it and let me know of any bugs or suggestions for the next version! The manual is included in the .ZIP file.
primes2.png
primes2.png (4.47 KiB) Viewed 685 times


VICScript is a simple scripting language for the Commodore VIC-20 with 32K expansion and disk drive. VICScript includes a minimal line editor which may be used for editing program text (or editing short text files.) Alternatively files may be prepared in an external editor and saved as plain PETSCII files.

VICScript is primarily intended to be a fun simple language for twiddling with hardware. The only native types are 16 bit integers and arrays of 16 bit integers. A full range of C-style operations for logical and bitwise manipulation of values is provided. Constants may be expressed in decimal or hex and values may also be displayed in either base. VICScript also aims to provide a basic set of structured programming primitives, such as named subroutines, multi-line if / else / endif conditionals and a flexible while loop. The flavour of the language may be described as a cross between C and BASIC.
Attachments
vicscript-0.1.zip
VICScript v0.1 release
(222.37 KiB) Downloaded 27 times

User avatar
beamrider
Vic 20 Nerd
Posts: 803
Joined: Sun Oct 17, 2010 2:28 pm
Location: UK

Re: Release: VICScript v0.1

Postby beamrider » Wed Nov 23, 2016 12:41 pm

Interesting....

Bobbi
Vic 20 Afficionado
Posts: 347
Joined: Thu Oct 13, 2016 11:35 am
Location: Toronto
Occupation: Programmer

Re: Release: VICScript v0.1

Postby Bobbi » Wed Nov 23, 2016 12:45 pm

I have had some fun putting it together!

User avatar
Kakemoms
Vic 20 Afficionado
Posts: 465
Joined: Sun Feb 15, 2015 8:45 am

Re: Release: VICScript v0.1

Postby Kakemoms » Sat Nov 26, 2016 1:10 am

Good work! A command summary would be welcome.

Do you plan to add IEEE drive support?

Bobbi
Vic 20 Afficionado
Posts: 347
Joined: Thu Oct 13, 2016 11:35 am
Location: Toronto
Occupation: Programmer

Re: Release: VICScript v0.1

Postby Bobbi » Sat Nov 26, 2016 12:14 pm

There is a PDF manual in the ZIP file. Maybe it could use a brief summary at the end also.

What would I I have to do to support IEEE drives? Right now the unit number is hard-coded as 8, but it would be simple to add a 'unit' command to change it.

Bobbi
Vic 20 Afficionado
Posts: 347
Joined: Thu Oct 13, 2016 11:35 am
Location: Toronto
Occupation: Programmer

Re: Release: VICScript v0.1

Postby Bobbi » Sun Dec 11, 2016 5:29 pm

I actually used this for work while I was in Sweden. See, I eat my own dog food :roll:

A Swedish colleague and myself were attempting to determine why a certain message was crashing my software, so we were squinting at a hexdump and comparing it to the protocol specification. I fired up Vice on my laptop and VICScript for the hex / decimal conversions and some other desktop calculator type stuff. Next time maybe I will bring an actual VIC in my laptop bag!

Yes VIC can!

Bobbi
Vic 20 Afficionado
Posts: 347
Joined: Thu Oct 13, 2016 11:35 am
Location: Toronto
Occupation: Programmer

Re: Release: VICScript v0.3

Postby Bobbi » Wed Apr 05, 2017 2:30 pm

Here is version 0.3 of VICScript for VIC-20 and C64.

It is FREE SOFTWARE licenced under GNU GPL v3.0. Source code is included in the ZIP file. It builds with cc65.
Attachments
vicscript-0.3.zip
(274.4 KiB) Downloaded 8 times


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 2 guests