SlithyMatt Posted December 12, 2020 Share Posted December 12, 2020 I have started a new tutorial series on YouTube to teach you how to program in Assembly Language for the X16 and other 6502-based systems. The first lesson -- and introductory overview of the basics -- is now on YouTube: 8 2 Quote Link to comment Share on other sites More sharing options...
SlithyMatt Posted December 19, 2020 Author Share Posted December 19, 2020 (edited) Lesson 2: Addressing Modes Edited December 19, 2020 by SlithyMatt 6 1 Quote Link to comment Share on other sites More sharing options...
SlithyMatt Posted January 6, 2021 Author Share Posted January 6, 2021 Lesson 3: Branching and Subroutines 4 1 Quote Link to comment Share on other sites More sharing options...
SlithyMatt Posted January 13, 2021 Author Share Posted January 13, 2021 Lesson 4: Arithmetic and Logic 1 1 Quote Link to comment Share on other sites More sharing options...
SlithyMatt Posted January 17, 2021 Author Share Posted January 17, 2021 Lesson 5: The Stack 1 1 Quote Link to comment Share on other sites More sharing options...
SlithyMatt Posted January 23, 2021 Author Share Posted January 23, 2021 Lesson 6: A Bit Advanced 2 1 Quote Link to comment Share on other sites More sharing options...
desertfish Posted January 23, 2021 Share Posted January 23, 2021 nice, I haven't really studied the new bit handling instructions of the 65c02 yet, will watch that last episode again soon as a nice refresher! 1 Quote Link to comment Share on other sites More sharing options...
SlithyMatt Posted February 1, 2021 Author Share Posted February 1, 2021 Lesson 7: The Rest 3 1 Quote Link to comment Share on other sites More sharing options...
picosecond Posted February 1, 2021 Share Posted February 1, 2021 19 minutes ago, SlithyMatt said: The Rest That youtube thumbnail image is hysterical. Nice one. 1 Quote Link to comment Share on other sites More sharing options...
VincentF Posted February 1, 2021 Share Posted February 1, 2021 Thank you for these great tutorials, your contributions for this community are inspiring ! It's awesome to find resources like this when you're a beginner. 1 Quote Link to comment Share on other sites More sharing options...
SlithyMatt Posted February 8, 2021 Author Share Posted February 8, 2021 Lesson 8: Meet the Kernal 1 1 Quote Link to comment Share on other sites More sharing options...
SlithyMatt Posted February 20, 2021 Author Share Posted February 20, 2021 Lesson 9: Hello, VERA! 1 1 Quote Link to comment Share on other sites More sharing options...
SlithyMatt Posted February 27, 2021 Author Share Posted February 27, 2021 Lesson 10: Interrupts: 2 1 Quote Link to comment Share on other sites More sharing options...
SlithyMatt Posted March 9, 2021 Author Share Posted March 9, 2021 Lesson 11: Advanced Math 4 1 Quote Link to comment Share on other sites More sharing options...
SlithyMatt Posted March 19, 2021 Author Share Posted March 19, 2021 (edited) Lesson 12: Tiles Edited March 19, 2021 by SlithyMatt 1 Quote Link to comment Share on other sites More sharing options...
SlithyMatt Posted March 28, 2021 Author Share Posted March 28, 2021 (edited) Lesson 13: PSG Sound Edited March 28, 2021 by SlithyMatt 2 Quote Link to comment Share on other sites More sharing options...
SlithyMatt Posted April 4, 2021 Author Share Posted April 4, 2021 (edited) Lesson 14: Mouse and Joysticks Edited April 4, 2021 by SlithyMatt 1 Quote Link to comment Share on other sites More sharing options...
SlithyMatt Posted April 11, 2021 Author Share Posted April 11, 2021 Lesson 15: Bitmap 2 Quote Link to comment Share on other sites More sharing options...
SlithyMatt Posted April 18, 2021 Author Share Posted April 18, 2021 (edited) Lesson 16: All in the Timing Edited April 18, 2021 by SlithyMatt Quote Link to comment Share on other sites More sharing options...
rhenry01 Posted April 22, 2021 Share Posted April 22, 2021 Matt! I've watched the first few episodes (and I subscribed.) Good stuff! I have set up my dev environment and will be beginning coding is the next few days. Thank you very much for the time and effort you put into the videos. Rick 1 Quote Link to comment Share on other sites More sharing options...
SlithyMatt Posted May 3, 2021 Author Share Posted May 3, 2021 Lesson 17: FM Synthesis 5 Quote Link to comment Share on other sites More sharing options...
wahsp Posted May 3, 2021 Share Posted May 3, 2021 Wow! I didn't know the Commander X16 is capable of FM. I played around a lot with software synths over the years. FM is definitely one of the more interesting approaches to synthesis, if you ask me. There are so many directions you can take it in. 3 Quote Link to comment Share on other sites More sharing options...
SlithyMatt Posted May 17, 2021 Author Share Posted May 17, 2021 Episode 18: Sprites Quote Link to comment Share on other sites More sharing options...
Nadia Posted May 22, 2021 Share Posted May 22, 2021 @SlithyMatt Hi I am a new programmer who is having a lot of difficultly understanding the assembly tutorials. I did some basic tutorials for the x16 but the program I want to write would be very difficult to write in basic, which I why I decided that assembly may be my best option. Do you have any advice for figuring out assembly for a beginner. I understand that I am calling things and preforming operations at certain hexadecimal addresses but when things like stack pointers are brought up it becomes very confusing and I have trouble understanding what is going on when I call these hexadecimal addresses. I understand that this is supposed to be more advanced because I am writing machine code, so I am not faulting your tutorials... just wondering if you have any advice to make it easier to understand. Quote Link to comment Share on other sites More sharing options...
borgar Posted May 22, 2021 Share Posted May 22, 2021 There are plenty of tutorials for 6502 assembly out there (here is one that starts gently https://codeburst.io/an-introduction-to-6502-assembly-and-low-level-programming-7c11fa6b9cb9). It might not be a bad idea to do read a few such documents before jumping into videos. I think you probably should not start out with something too ambitious for your first attempts. You probably can a lot of smaller programs without having to deal directly with the stack pointer. You can start by transferring parameters in the registers (A, X and Y) and/or direct memory addresses (Zero Page or not) and limit your self to implicit stack use with JSR/RTS. I'd also recommend taking looking at Prog8 (https://prog8.readthedocs.io/en/latest/#). This gives you something a lot faster than Basic while not being as completely low level as assembly. Prog8 allow inclusion of assembly into the program fairly gracefully when you need "full speed" and if you just need a few really fast (non-recursive) functions you don't not need to learn to use the program stack. And since Prog8 produces assembly output (before producing the binary with 64tass) it will also allow you to learn a lot from looking at the produced output when you are interested. BTW, back in the day (80's) when I did some limited machine code programming I basically had no understanding of the stack and the only stack related commands I used was just JSR and RTS. But what I wrote then was basically stuff gleaned from some assembly examples in various C64 magazines and I probably only understood about half the 6502 instruction set. 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.