What Assember is there for Vic20 (using vice)?

Basic and Machine Language

Moderator: Moderators

Post Reply
mikem
Vic 20 Newbie
Posts: 7
Joined: Mon Dec 20, 2010 9:35 pm

What Assember is there for Vic20 (using vice)?

Post by mikem »

Hello,
I have always wanted a Vic-20, and will get one soon.
In the meantime, I want to start to learn assembly language on the Vic20.

What assembler is out there, available for me to download and use in VICE?
I am going nuts trying to find one. I found a few for the C64, but none for the VIC20.


I've heard mentioned in here "French Silk", but all I found on the web is the interview with the creator.

Does anyone have a link to the download?

Any info would be helpful.

thanks
maguman
Vic 20 Newbie
Posts: 17
Joined: Fri Feb 19, 2010 10:24 pm

Post by maguman »

The French Silk assembler, as I found out, is a little hard to come by.

I have tried three different native assemblers:
1. The French Silk "Develop 20" assembler suite (the one I think you are referring to)
2. LADS, from The Second Book of Machine Language by Richard Mansfield, and
3. ASSAM - Assembler and Monitor

Which one do I use now? ASSAM. You can download it from zimmers. It occupies 8k in Block 5 ($A000-$BFFF). It has both an assembler and a monitor, assembles to memory and disk, assembles from disk (big issues for a memry constrained computer like the Vic) etc etc.

I have never found any documentation on ASSAM, don't even know where it originally came from. However, it follows the syntax for PAL64 (the C64 assembler). All the pseudo ops are the same. So I use the PAL64 manual and I have never had any trouble.

Let me know if you have trouble getting any of these.
mikem
Vic 20 Newbie
Posts: 7
Joined: Mon Dec 20, 2010 9:35 pm

thanks

Post by mikem »

Thank you for the info!
I shall try assam, it sounds promising... just need to get it to load.
I tried loading it as a cartridge, but in vice it says invalid cartridge image.

http://www.zimmers.net/anonftp/pub/cbm/ ... m%2020.prg



also, for anyone else looking, i found the link to"develop-20", by French Silk... it was in this forum (just cant get it to run in vice)

http://sites.google.com/a/vic20.it/file ... elop20.zip
maguman
Vic 20 Newbie
Posts: 17
Joined: Fri Feb 19, 2010 10:24 pm

Post by maguman »

That looks like the version of Develop 20 I found. I managed to get it to work using the instructions in the book "Inside the Vic" which is on:

http://www.bombjack.org/commodore/books-kim-pet-vic.htm

Unfortunately I think it was the tape instead of disk version, so a bit annoying. Ultimately, after trying all three, I settled on Assam.
maguman
Vic 20 Newbie
Posts: 17
Joined: Fri Feb 19, 2010 10:24 pm

Post by maguman »

Woops - only half of the reply made it. That version of Assam runs at $2000 (pretty useless). Get the version that loads & runs at $A000.

http://www.zimmers.net/anonftp/pub/cbm/ ... /Assam.prg

Once loaded as a cart (or from disk), a SYS64802 (reset) will install the assembler. After that, SYS700 (as per the PAL64 manual) will run the assembler. SYS40969 will launch the monitor.

Here is a link to a copy of the PAL64 manual.

http://ist.uwaterloo.ca/~schepers/PAL.TXT
mikem
Vic 20 Newbie
Posts: 7
Joined: Mon Dec 20, 2010 9:35 pm

I got assam to load

Post by mikem »

Ok, i found some link to an application called prg starter...

I use linux, so I had to run some older version, that I needed to compile.

From http://robert.hurst-ri.us/files/linux/run.zip

thanks,

Mike
mikem
Vic 20 Newbie
Posts: 7
Joined: Mon Dec 20, 2010 9:35 pm

Post by mikem »

maguman wrote: Once loaded as a cart (or from disk), a SYS64802 (reset) will install the assembler. After that, SYS700 (as per the PAL64 manual) will run the assembler. SYS40969 will launch the monitor.

Here is a link to a copy of the PAL64 manual.

http://ist.uwaterloo.ca/~schepers/PAL.TXT
Cool, thanks again!
ruud
Vic 20 Devotee
Posts: 245
Joined: Wed Aug 04, 2004 11:26 pm

Re: I got assam to load

Post by ruud »

mikem wrote:I use linux
I'm afraid that sooner or later you run into the limitations of the size of the screen and the memory of the VIC-20. So you could already start to think of a cross assembler. If interested, I wrote my own (dis)assembler in Turbo Pascal, which can be compiled by Free Pascal http://freepascal.org/. Which is available for Linux as well.

Code: Select all

    ___
   / __|__
  / /  |_/     Met vriendelijke groet, Ruud Baltissen
  \ \__|_\
   \___|       URL: www.baltissen.org

mikem
Vic 20 Newbie
Posts: 7
Joined: Mon Dec 20, 2010 9:35 pm

Re: I got assam to load

Post by mikem »

ruud wrote:If interested, I wrote my own (dis)assembler in Turbo Pascal, which can be compiled by Free Pascal http://freepascal.org/. Which is available for Linux as well.

Hmm, I guess a cross compiler is the way to go. I like using vim as an editor, so thats a bonus.
I'm interested in this cross compiling, as it seems to be the way people are programming these new Vic20 games. So if I can get your (dis)assembler, and it would help ease the pain of code entry that would be great. If its failry easy (for a newbie) to use, let me know.
I did see the cc65 out there too.

thanks
Post Reply