Nybbles and MouseBytes: Ep6: Jump and Subroutine Instructions
Let's go over the 8502's jump and subroutine instructions. In addition, we'll cover how to wedge in an interrupt handler and do a copper bar (mostly) correctly!
Let's talk about the 8502's branching instructions! Quick overview of the local branching behaviors and how relative addressing works.
Help me cover my costs on Patreon: https://www.patreon.com/nybblesandbytes
Follow along and fill in your gaps with these manuals:
Assembly in One Step by RTK: https://dwheeler.com/6502/oneelkruns/asm1step.html
Matt Godbolt's Blog on 6502 internals: https://xania.org/201405/jsbeeb-getting-the-timings-right-cpu
My 6502 Instruction Reference: http://nybblesandbytes.net/6502
Skilldrick's Easy6502: http://skilldrick.github.io/easy6502
Don't have a 128 to play on? Use an emulator like the VICE x128 emulator here: http://vice-emu.sourceforge.net
The music used in the video were songs by Jeremy Blake, specifically Let's Go Home. They're available free on YouTube.
...
https://www.youtube.com/watch?v=ynochV__11M
Dave Haynie joins us because he couldn't think of a reason not to, on those rare occasions he can! Get your Amiga questions ready...
...
https://www.youtube.com/watch?v=3H3m0MFpoyY
Let's cover the basics of the SID chip, and how to make sound with it!
The SID frequency chart is here: https://docs.google.com/spreadsheets/d/10KIFewyPB1ATmRfNHQHs5AYx-QK6GhGsLN_t207GOOw/edit?usp=sharing
Help me cover my costs on Patreon: https://www.patreon.com/nybblesandbytes
Errata: the filter can be toggled on/off per channel, not globally across all three at once. See also the datasheet here: https://www.waitingforfriday.com/?p=661#Filter
Follow along and fill in your gaps with these manuals:
My 6502 Instruction Reference: https://nybblesandbytes.net/6502
Commodore 128 Programmer's Reference Manual: https://archive.org/details/C128_Programmers_Reference_Guide_1986_Bamtam_Books
Mapping the Commodore 128: https://archive.org/details/Compute_s_Mapping_the_Commodore_128
Don't have a 128 to play on? Use an emulator like the VICE x128 emulator here: http://vice-emu.sourceforge.net
The music used in the video were songs by Jeremy Blake, specifically Powerup!, Stardrive, and Sunspots. They're available free on YouTube, and Jeremy talks about them here: https://www.youtube.com/watch?v=GxK9suV8J2M
...
https://www.youtube.com/watch?v=kxc46GNVDIk
Let's walk through a tiny scroller I wrote for the back of my business cards! We'll dig into self-modifying code, and also how to use the VIC's smooth scroll registers, as I rapidly try to get things together for VCF Southwest and Midwest!
Follow along with the source code at http://nybblesandbytes.net/programs/businesscard.html
Join me at VCF Southwest! https://vcfsw.org/
Help me cover my costs on Patreon: https://www.patreon.com/nybblesandbytes
Follow along and fill in your gaps with these manuals:
My 6502 Instruction Reference: http://nybblesandbytes.net/6502
Commodore 128 Programmer's Reference Manual: https://archive.org/details/C128_Programmers_Reference_Guide_1986_Bamtam_Books
Mapping the Commodore 128: https://archive.org/details/Compute_s_Mapping_the_Commodore_128
Don't have a 128 to play on? Use an emulator like the VICE x128 emulator here: http://vice-emu.sourceforge.net
...
https://www.youtube.com/watch?v=jzybt6Psna4
Tired of just playing games on your retro computer? Subscribe and let's figure out how a Commodore 128 works and write a game for it!
Support me on Patreon! http://www.patreon.com/nybblesandbytes
...
https://www.youtube.com/watch?v=NlmRieME5OU
Let's talk about the 8502's memory to register transfer instructions! If you were looking for the details of how the indirect addressing modes work, this is the video for you!
Help me cover my costs on Patreon: https://www.patreon.com/nybblesandbytes
The screen address spreadsheet is here: https://docs.google.com/spreadsheets/d/1KSBxFLPOF7UQPXVW4awsH2Cu6hhKkfEcAgX3jGfi5cA/edit?usp=sharing
Follow along and fill in your gaps with these manuals:
Assembly in One Step by RTK: https://dwheeler.com/6502/oneelkruns/asm1step.html
Matt Godbolt's Blog on 6502 internals: https://xania.org/201405/jsbeeb-getting-the-timings-right-cpu
My 6502 Instruction Reference: http://nybblesandbytes.net/6502
Skilldrick's Easy6502: http://skilldrick.github.io/easy6502
Indexes:
0:30 - LDA chart and addressing modes
3:10 - STA chart and addressing modes
3:41 - Indexed indirect addressing mode explanation
4:25 - Indexed indirect diagram
5:30 - Indexed indirect example program
8:05 - Indirect indexed addressing mode explanation
8:45 - Indirect indexed diagram
9:50 - Indirect indexed example program
11:56 - LDX chart and addressing modes
12:28 - LDY chart and addressing modes
12:52 - STX chart and addressing modes
13:06 - STY chart and addressing modes
Don't have a 128 to play on? Use an emulator like the VICE x128 emulator here: http://vice-emu.sourceforge.net
The music used in the video were songs by Jeremy Blake, specifically Let's Go Home. They're available free on YouTube.
...
https://www.youtube.com/watch?v=WEcNqTGAOLE
Jeff Schaap joins June from Nybbles and Bytes and Bil Herd to talk about the new documentary I Adore My 64
https://seedandspark.com/fund/iadoremy64film#story
#C64 #IAM64 #I-adore-my-64 #jeff schaap #nybbles and bytes
...
https://www.youtube.com/watch?v=nKz2z8xEUMY