FairLight TV #58, Assembler on the C64
ฝัง
- เผยแพร่เมื่อ 11 ก.ย. 2024
- Released 14/10/2022
Intro video: Zo0lon
Video Edit: Zo0lon
Intro Music: Lukhash
Some links to what's used:
Sublime text editor:
www.sublimetex...
Kick Assembler:
theweb.dk/KickA...
C64 debugger:
sourceforge.ne...
Previous episodes about C64 coding and a coding setup.
Setting up a C64 coding enviroment, Episode #6
• FairLight TV #6, FairL...
Coding in Assembler, Episode #32
• FairLight TV #32, Codi...
Really great how you explain this extensive topic relatively simple so that even people can follow you who have never coded anything in ASM. 👍
I'm thinking out loud right now, wouldn't it be a good idea to start a little series like: we code a C64 intro? (Maybe some rasters, logo, scrolltext, sound) 🤔
I could do that, but there is a Polish guy already doing that.
@@FairLight1337 Really? I didn't know that (at least I haven't come across this guy yet) but even so I think there can never be too many coding tuts. ☝
I agree with you, never see any straightforward tutorial on how to do like scroll text or Logo from coding. There is no polish guy covering that lol
May I suggest somo of the videos from th-cam.com/video/cCioubJbNc8/w-d-xo.html, entertaining (😆) and shows some basic programming stuff covering scrolling, rasters and sound.
On scrolling, wouldn't this do?
th-cam.com/video/tUZKDs7xXls/w-d-xo.htmlsi=o5DUGY7DdrFmlK3A
Very good topic. Hopefully we will see more people, esp. the younger generations, want to start program machine code for the C64.😍
Share it with anyone who could be lured into this as a hobby :-)
@@FairLight1337 I got a few I'll send the link to...😎
Humble thanks 🙏🙏🙏
Thank you for mentioning the 'Whole Memory Guide'. I had not known about it before this video.
My Bible. The core reference for me since I started doing stuff on the platform.
Great video again. And very helpful and inspiring. Thank you so much for your hard work!
Many thanks. If you want to help us back, please share to your pals.
@@FairLight1337 I will. And I just realized how much content you have made in this series! So many interesting topics covered in the beginning of the series, I started to watch @ episode 35 I think and am going to start with episode 1 now. Thx so much!
Humble thanks, and it also keep coming.
Thank you for this great tutorial. I had no access to assembly/ML tutorials or books as a kid (only BASIC) but now finally I can learn what seemed like "magic" for me at that time :)
My pleasure. Feel free to add questions I could cover in future episodes.
FAIRLIGHT LIVES!!!
For sure. We have never been gone. Always one.of a few sections have been operational and productive. Join the FB group for continuous updates.
facebook.com/groups/delightofeternalmight/?ref=share_group_link
Great overview. Keep the C64 alive! You are inspiring me to return to my roots in true assembly language game design! A have a game tutorial series to finish anyway.
Thanks 🙏 And best of luck with your project
My first real coding experience was 6502 asm and once I got the hang of it, it was very rewarding. But some things are very difficult like sound programming
Agree. But normally you can just import a chunk that handle the sound
great tutorial
Many thanks. Please share to other parties whom you might see possibly having an interest.
Nice and clear explanations/instructions, thanks bro !!!!!
Humble thanks.
I just can say : It's super crystal clear !!!! Thank you so much !!!!!!
You are welcome. I can hint that you might want to see the episode we release on the 30th as well :)
@@FairLight1337 30th of December this year ? :) I have watched a very interesting video published the 30th of September about Cartridge cracking and it's also super interesting (I love when true pros are explaining such great stuff !) but i did not catch something about coding which would be from the 30th :P
Again thanks :)
Always good to cover the basics.
Always enjoy your videos.
Many thanks. Please spread to others who might be interested!
Very good tutorial - thanks so much for it. Could you please also show how to setup your compiler environment for using it with Vice? (Which Tools prefered and how to configurate) Thanks.
I have gone through different assembler options twice. I do believe this is the better (newer).
th-cam.com/video/mjPucWkmqCg/w-d-xo.html
You can forward to 42 minutes for Sublime + Kickassembler, which is what I use
As a kid i used to trade with the Europeans but i had no idea to code in ASM...I was coding in basic but very limited..Can you do a step by step tutorial on how to create scrollers rasters and all the jazzy works used to make scrollers...
You all make it sound so easy..
This is a very good shot at explaining it step by step.
codebase64.org/doku.php?id=base:text_scroll
In short, the VIC has two soft scroll register which can adjust the screen 8 pixels in X or Y position. Every time the screen redraws, you decrease the Y scroll. When last screen had 0 in the Y register, you set it to 7, shift all characters on the relevant row one step left, then you pick the next character in the text and poke it to the last position. That is the basics.
I did more of them here:
th-cam.com/video/NDymM14uQWM/w-d-xo.htmlfeature=shared
th-cam.com/video/tUZKDs7xXls/w-d-xo.htmlfeature=shared
Labels and comments.... I never had those. I wrote my assembler right into the memory. I just had to remember which memory address I stored which variable - and add three nop sometimes so I could call a subroutine instead of pushing down the code in memory :-)
I would still like to see what you could have done with a proper assembler.
I could never wrap my head around ML. My brain is not wired for programming.
I generally think everybody are able. If they just put their mind to it.
I love this video, now only if there was a technology to transfer that knowledge from your brain to mine, so I can just start coding. 😁
There is! Watch the videos and then test, test, test. And ask when you get stuck! We are here, ready to help. We are ever so ready to lure others into our addiction :)
Mr ZeroPage.. 😁
Might have him interviewed at some point. Who knows ;)
Love this. Could you make a video how the 1001 crew opened up the borders on the c64?
I do describe border openings in the episode over old demos. #40, wasn't it?
Bacchus, hats off to you for explaining stuff in a very interesting and undestandable way. There were/are a few C64 assembly videos being made, but none of them are from scratch and easy-going like for example the excellent Photon's series for Amiga: th-cam.com/play/PLtjBEWQ66xeLEqAUssJEDQRV1cbQR2-xk.html
If you started such series for C64, that would be a godsend and a perfect go-to knowledge base for all beginners and even us oldies who coded a bit in the 80s, but forgot most, if not all of it :-)
I guess I could but there is a Polish guy that has done something like that....
What was the best hex editor from then? Remember i used to play a lot with it.
Hex editor? You mean a program that would access the content of a disk so you could fiddle with bytes directly, or something else?
Sys 49152
Indeed. A nice place to store small routines.