Writing 6502 Assembly Language on a Commodore VIC-20 using Label Assembler Development System (LADS)

  Рет қаралды 1,831

My Developer Thoughts

My Developer Thoughts

Күн бұрын

Writing 6502 Assembly on a Commodore VIC-20 using the Label Assembler Development System (LADS)
0:00 Introduction
0:43 Typing in MLX
1:04 Moving memory around
2:17 Typing in LADS w/ MLX
5:26 Writing Simple Code
7:39 Assemble the Simple Code
9:11 Assemble to memory
10:50 Assemble to file
12:54 Creating a subroutine
18:54 Chaining source files
21:11 Fixing a simple bug
22:15 Finish

Пікірлер: 30
@BillAnt
@BillAnt 10 ай бұрын
My favorite VIC/C64 programming channel along with 8-Bit Show And Tell.... keeping this old mind ticking again after some 40 years. :)
@JoeBurnett
@JoeBurnett 10 ай бұрын
This brings back so many GREAT memories! Thank you!
@DerykRobosson
@DerykRobosson 10 ай бұрын
20:17 That temporarily broke my brain with the back to back LDA immediate calls as I incorrectly mistook the colon for a semicolon of the line stacked STA absolute memory positions used by the subroutine.
@hmoazed
@hmoazed 10 ай бұрын
Great video, thanks! One very minor thing, ASL is Arithmetic Shift Left, not Accumulator Shift Left - I know I know, I'm nitpicking :)
@MyDeveloperThoughts
@MyDeveloperThoughts 10 ай бұрын
Ahhh I fumbled that. Thanks for the correction.
@winfr34k
@winfr34k 10 ай бұрын
Just found your channel looking at all kinds of assemblers. Thanks for this demonstration!
@8BitNaptime
@8BitNaptime 9 ай бұрын
Wow, I also spent a lot of time typing in LADS from the book and it never worked for me. I think I might take a look now.
@takingbytes1265
@takingbytes1265 9 ай бұрын
If I get my Vic by the weekend I'm going to try out LADS. Though Instead of doing MLX I will try writing a basic program that reads a disk txt file of the program listing. I have done something similar with my Atari XL.
@RonHelton
@RonHelton 10 ай бұрын
👍👍👍👍👍👍👍👍
@randylahey1232
@randylahey1232 10 ай бұрын
Idk how anyone can understand and memorize all this🤯
@BillAnt
@BillAnt 10 ай бұрын
It's called the "programmer type", a geeky super-human. ;)
@randylahey1232
@randylahey1232 10 ай бұрын
@BillAnt I only watch this guys videos because I'm completely baffled lol
@BillAnt
@BillAnt 10 ай бұрын
@@randylahey1232 - lol .. Well hopefully you'll learn something. :)
@randylahey1232
@randylahey1232 10 ай бұрын
@@BillAnt not likely🤣
@miselzivanovic2181
@miselzivanovic2181 10 ай бұрын
That's nothing compared to x86 or Amiga assembly language. Check one of those videos and you'll see 8bit assembly is easy as drinking water 😆
@robertusa1234
@robertusa1234 10 ай бұрын
Is the drive sound an effect or did you hook up a 1541 to what ever computer you running the emulator on
@MyDeveloperThoughts
@MyDeveloperThoughts 10 ай бұрын
The sound is from the emulator. This emulator also lets me build the dream C64 from my youth; I can attach 4 virtual disk drives to it, expand the memory to 256k (probably more), all sorts of neat stuff.
@FirstLevelMagic
@FirstLevelMagic 10 ай бұрын
I don’t think I’d be surprised if sooner or later you run through writing the ML by hand and POKEing it in at the basic prompt.
@MyDeveloperThoughts
@MyDeveloperThoughts 10 ай бұрын
Hmmmmmm now that's an interesting idea
@vadiks20032
@vadiks20032 7 ай бұрын
3:45 i don't exactly get what you just printed out. what are these numbers? are they like, decimal representation of a program? you copy the literal compiler/text editor with raw decimal represented data?
@MyDeveloperThoughts
@MyDeveloperThoughts 7 ай бұрын
Yep, it's a printout (Back before disks and CDs came with books) is a listing of the raw binary of the software where each 3 digit number is a byte of the program.
@MyDeveloperThoughts
@MyDeveloperThoughts 7 ай бұрын
archive.org/details/ataribooks-the-second-book-of-machine-language/page/n451/mode/2up This is a PDF of the book in the video.
@vadiks20032
@vadiks20032 7 ай бұрын
@@MyDeveloperThoughts i see. wow, amazing to think that the program was so small you could literally rewrite it manually with binary representation
@Pythoner
@Pythoner 10 ай бұрын
why
@jeffspaulding9834
@jeffspaulding9834 10 ай бұрын
'Cause it's a lot nicer than poking machine code into memory.
@miselzivanovic2181
@miselzivanovic2181 10 ай бұрын
Poke 53280, x : Poke 53281, x ; Poke 646, x 🤔 Oh yeah, that'll do ✅😉... On C64 Lda #$xx (0-F) Sta $d020 Lda #$xx (0-F) Sta $d021 Rts Nicely done btw. Thx 🙏 Never had VIC 20, only C128, later C64.
@BillAnt
@BillAnt 10 ай бұрын
Wait, you had a C128 before a C64? lol (jk).
@miselzivanovic2181
@miselzivanovic2181 10 ай бұрын
@@BillAnt Amazing 😁 My parents bought me a C128... I bought myself a C64 later with a 1541 drive... and much later I bought a C128D and Plus 4... And later than much later, I got 1541 II, 2x 1571... However, I never owned 1581... All collecting dust now (I blame emulators, lack of time and Amiga and Duke Nukem 3D -> made me switch to Bill Gates back in the days 🤫)
NEVER lose dotfiles again with GNU Stow
14:33
typecraft
Рет қаралды 16 М.
Они убрались очень быстро!
00:40
Аришнев
Рет қаралды 3,1 МЛН
Как быстро замутить ЭлектроСамокат
00:59
ЖЕЛЕЗНЫЙ КОРОЛЬ
Рет қаралды 13 МЛН
1❤️#thankyou #shorts
00:21
あみか部
Рет қаралды 86 МЛН
Learn FORTH on the VIC-20
39:09
My Developer Thoughts
Рет қаралды 3 М.
Branching - 6502 Assembly Crash Course 03
11:24
NesHacker
Рет қаралды 22 М.
you can learn assembly FAST with this technique (arm64 breakdown)
12:37
Low Level Learning
Рет қаралды 147 М.
6502 3D 10 PRINT using the BBC BASIC assembler
36:32
Least Significant Byte
Рет қаралды 3,9 М.
VIC-20 Penultimate+2: Programming, Games, Utilities, RAM Expansion and More
1:04:47
6502 Assembly Language: Getting Started
45:43
TokyoEdtech
Рет қаралды 30 М.
Assembly Language Snow Day!  Learn ASM Now!
32:13
Dave's Garage
Рет қаралды 102 М.
HUEY - a 6502 assembly scientific calculator
25:55
The 6502 Show
Рет қаралды 8 М.
Они убрались очень быстро!
00:40
Аришнев
Рет қаралды 3,1 МЛН