Page 1 of 1

Release: VICScript v0.1

Posted: Wed Nov 23, 2016 10:54 am
by Bobbi
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 4018 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.

Re: Release: VICScript v0.1

Posted: Wed Nov 23, 2016 12:41 pm
by beamrider
Interesting....

Re: Release: VICScript v0.1

Posted: Wed Nov 23, 2016 12:45 pm
by Bobbi
I have had some fun putting it together!

Re: Release: VICScript v0.1

Posted: Sat Nov 26, 2016 1:10 am
by Kakemoms
Good work! A command summary would be welcome.

Do you plan to add IEEE drive support?

Re: Release: VICScript v0.1

Posted: Sat Nov 26, 2016 12:14 pm
by Bobbi
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.

Re: Release: VICScript v0.1

Posted: Sun Dec 11, 2016 5:29 pm
by Bobbi
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!

Re: Release: VICScript v0.3

Posted: Wed Apr 05, 2017 2:30 pm
by Bobbi
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.