Assembly Programming with CBM Prg Studio

Basic and Machine Language

Moderator: Moderators

Post Reply
tonyrocks
Vic 20 Hobbyist
Posts: 118
Joined: Mon Jan 04, 2016 10:17 pm
Website: http://www.tonyrocks.com
Location: Pittsburgh
Occupation: IBM Watson Engr

Assembly Programming with CBM Prg Studio

Post by tonyrocks »

So, I've been a huge fan and user of Arthur Jordison's CBM Prg Studio, and also helped play a role in getting Basic 7 implemented with the IDE for C-128. I was wondering if any of you have used the Studio to do some Assembly Programming for the Vic-20? I'm having loads of fun with basic, but I want to expand my fun by using Assembly. I don't want to use Vicmon, I want to use CBM Prg Studio exclusively. Please share you experiences if you have any, and also, any "books" that can get me started with ASM programming for the Vic...English Bitte ;)
User avatar
mrr19121970
Vic 20 Nerd
Posts: 873
Joined: Tue Jan 19, 2016 9:22 am
Location: Germany
Occupation: IT service manager

Re: Assembly Programming with CBM Prg Studio

Post by mrr19121970 »

I found his CBM Prg Studio was really buggy. I couldn't get any of my code to compile for the C64, I had no issues on the C64 Studio or DASM. When I contacted Arthur, he told me my issue was a 'hard to recreate bug' in the compiler. And he'd fix it if he had time. Also the GUI crashed very frequently, and his strict label & opcode positional implementation really annoyed me. I gave up in the end.
malcontent
Vic 20 Hobbyist
Posts: 129
Joined: Sun Dec 26, 2010 1:51 pm

Re: Assembly Programming with CBM Prg Studio

Post by malcontent »

The only two references I use are Compute's Programming the VIC, and Mapping the VIC.

The first book is very detailed about ML, but it's not really a teaching book. But if you are already a programmer of some flavor, it is very concise and well written, and has enough to get you going. It won't really teach assembler syntax, but those vary of course.
tonyrocks
Vic 20 Hobbyist
Posts: 118
Joined: Mon Jan 04, 2016 10:17 pm
Website: http://www.tonyrocks.com
Location: Pittsburgh
Occupation: IBM Watson Engr

Re: Assembly Programming with CBM Prg Studio

Post by tonyrocks »

Thanks man. I'm looking around for the Computes Programming the Vic PDF hardcopy, but can't find it :( Any suggestions? I still have my original Vic-20 Programmers Reference Guide, but it doesn't really touch the assembly stuff.
User avatar
beamrider
Vic 20 Scientist
Posts: 1447
Joined: Sun Oct 17, 2010 2:28 pm
Location: UK

Re: Assembly Programming with CBM Prg Studio

Post by beamrider »

I used it initially (mainly for the graphics/character editor), but switched to CA65 and Notepad++ [with the explorer and exec plug-ins] and to my own screen designer.
User avatar
darkatx
Vic 20 Afficionado
Posts: 470
Joined: Wed Feb 04, 2009 2:17 pm
Location: Canada

Re: Assembly Programming with CBM Prg Studio

Post by darkatx »

Well, I have been working on something all right now using CBM Prg Studio and I like it :) My big complaint is since I am trying to rate my performance I am using the Debugger basically to count cycles and I get some off readings and from update to update it gets even weirder BUT the overall gist of it is still good enough for my needs.

Oh man, if there is one book that makes assembly code easy and less scary to understand is the late great Jim Butterfield's Machine Language for the Commodore. The revised version features the cover with binary digits laying on the beach under a parasol.

Can find it over at Bombjacks. ;)

http://www.bombjack.org/commodore/books.htm
Learning all the time... :)
tonyrocks
Vic 20 Hobbyist
Posts: 118
Joined: Mon Jan 04, 2016 10:17 pm
Website: http://www.tonyrocks.com
Location: Pittsburgh
Occupation: IBM Watson Engr

Re: Assembly Programming with CBM Prg Studio

Post by tonyrocks »

oh man, awesome resource! Thanks so much. I have no idea how Jim was able to know soo much back then. RIP
Kakemoms
Vic 20 Nerd
Posts: 740
Joined: Sun Feb 15, 2015 8:45 am

Re: Assembly Programming with CBM Prg Studio

Post by Kakemoms »

I use CBM prg studio and found it quite bug-free. It is also updated regularly, has good ways to nest files and force particular sections to specific memory locations.

This book give you the basics of Vic-20 machine code

Compute!s Mapping the Vic is a great reference to all the memory locations and how to use them.
ajordison
Vic 20 Enthusiast
Posts: 179
Joined: Fri Mar 19, 2010 4:31 pm
Website: http://www.ajordison.co.uk/
Location: Hartlepool, UK
Occupation: Software Engineer

Re: Assembly Programming with CBM Prg Studio

Post by ajordison »

darkatx wrote:My big complaint is since I am trying to rate my performance I am using the Debugger basically to count cycles and I get some off readings...
Can you give me some examples? I know the new 'effective address' feature has been causing problems with some users.
Try out CBM prg Studio over at www.ajordison.co.uk
tonyrocks
Vic 20 Hobbyist
Posts: 118
Joined: Mon Jan 04, 2016 10:17 pm
Website: http://www.tonyrocks.com
Location: Pittsburgh
Occupation: IBM Watson Engr

Re: Assembly Programming with CBM Prg Studio

Post by tonyrocks »

Hey Arthur! I have no complaints. hehe
ajordison
Vic 20 Enthusiast
Posts: 179
Joined: Fri Mar 19, 2010 4:31 pm
Website: http://www.ajordison.co.uk/
Location: Hartlepool, UK
Occupation: Software Engineer

Re: Assembly Programming with CBM Prg Studio

Post by ajordison »

Thanks, Tony :D
Try out CBM prg Studio over at www.ajordison.co.uk
Post Reply