Jump to content
  • 0

What is the best way to start programming for the X16


CKevin
 Share

Question

 

Soo im thinking of learning assembly and the X16 seems to be a good way.

Soo anything like a guide to the basics and software that i can use to make the code.

 

PS: i know it may be way faster to make code in C and compile it but i want to learn something new.

 

Thanks for the help :)

 

 

 

  • Like 1
Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

Matt Heffernan has done some good tutorials on youtube specifically for this machine.

Any 6502 tutorial will get you started. The 65C02 in the CX16 is *slightly* different to the 6502 found in machines like the Apple 2, C64, Vic20 and BBC Micro, but it is backwards compatible, so any 6502 tutorial will give you extra information if you feel you need it.

There are also several books like "how to program machine code on your Vic 20" available for download now (I made this title up !) and much of that will be extremely useful (the sound and graphics are completely different but the basic ideas are the same).

And ask here if you get stuck 🙂

Edited by paulscottrobson
Link to comment
Share on other sites

  • 0

I'd recommend starting with:  https://skilldrick.github.io/easy6502/

Then just play and learn inside the emulator using:
https://www.commanderx16.com/forum/index.php?/files/category/8-official-docs/
and
http://www.obelisk.me.uk/65C02/reference.html
You can use the built in MON command to do simple assembly programs (Google Final Cartridge 3 manual for help using the monitor)

Then you'll want to find a cross assembler you like.  One is ca65, part of the cc65 package, another is KickAssembler, there are many more.

Then or in tandem:

 

  • Thanks 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...

Important Information

Please review our Terms of Use