So nice to see you back again, June! None of your episodes are boring! This short program is just another nybble at something bigger in assembly ;-). I've found with all programming languages, that coding a small operation and getting it to work first is helpful when building up to larger projects. A bit like waterfall vs Agile 🤣.
Yeay, so good to see you back again, June! Looking forward to your new episodes! Being a C128D owner back in the 80s I have learned more about my favorite 8-bit machine with your wonderful videos than back in the days! 😊
@Nybbles and Bytes having watched your content for literal years, I have never been happier when watching your in depth, nerdy, and awesomely produced content. I wish I could do what you do, but it's clear I lack the video editing skills. (and perhaps personality too, but I don't like to think about that bit.) Anyways, your content has helped my during some really low lows. Thanks so much, you really mean something to many people!
That was such a great example of self modifying code, simple and easy to understand. I always imagined it as more a more complex endeavour, but now I can see uses for it everywhere :D
This is a neat trick that also works on the C64 and is only possible to implement this simply if every row on the screen contains exactly the same text in exactly the same columns because the text isn't actually scrolling - this is also evidenced by the fact that the code above $1323 is only ever executed once.
@@NybblesandBytes This revision definitely won't fit on a business card, but I inserted a subroutine to colorize the rows. Hope you like it! 100 forx=4864to5045:readn:pokex,n:next 110 sys4864 200 data32,110,19,169,,168,170,141,32,208,141,33,208,169,5,141 210 data134,2,185,105,19,157,,4,157,,5,157,,6,157, 220 data7,200,192,4,208,2,160,,232,208,231,174,18,208,224,250 230 data208,249,202,208,253,169,12,141,22,208,169,16,24,105,1,141 240 data17,208,206,62,19,16,228,169,7,141,62,19,9,144,141,17 250 data208,32,110,19,32,228,255,240,210,169,27,141,17,208,169,200 260 data141,22,208,169,147,32,210,255,96,14,38,2,96,1,162,25 270 data169,,133,251,169,216,133,252,160,,173,109,19,145,251,200 280 data192,40,208,249,24,165,251,105,40,133,251,165,252,105,,133 290 data252,238,109,19,173,109,19,201,16,208,5,169,1,141,109,19 300 data202,208,213,162,9,206,109,19,173,109,19,208,5,169,15,141 310 data109,19,202,208,240,96
Yep! That's for sure! During development, I did end up punching it into x64sc to verify some assumptions. It kinda blew my mind when I realized it could just work!
It's def great to see you back at it as I was thinking you probably were caught with life and family responsibilities. It's a unique Channel so really interested in future Videos. -Mark.
I'm really happy that you continued your Nibbles and Bytes videos. Sometimes it goes over my head but rewatching finally gets into my head. I've always been interested in programming at the machine level. Cool
One thing that would be good to explain about the C128 is the interrupt routines it runs in the background to control the sprites, sound and split screen.... there are specific actions needed to switch those interrupt loops off to get full control of the VICII and SID on the C128.
Oh, and btw, NICE LAB holy clock-cycle Batman. If the time away was in part ot get all this setup all the better for the outcome. What a place, I think most of us here need a working space of this magnitude.
Welcome back, June.....I've followed all of your videos and you actually made me like learning about the 128.....I owned a 64 in Middle and high school....and my friend (the rich friend that had to have the hot new item first....so he could gloat) had a 128...and programming it was like ancient Greek to my non math oriented brain.....Keep fighting the good fight! :)
Welcome back to UA-cam 🙂I think your content is awesome and was bummed when you stopped posing stuff. Funny timing too. I pulled 3 C128s out of storage today. I hope to get some time this coming weekend to test them out after 20+ years.
Work, COVID, life changes and flooding basically destroyed what free time I had, and started to wreck me, too. O.o Thankfully, that's mostly all over now. Back to videos! :D
Quality Commodore assembly content is hard to find so I am happy to see more of this series. It gave me a break (BRK?) while taking all the printouts of an RPG I was working on in the 80s and converting it to Kick. Speaking of kick there are some things in this old code that wants to kick my younger self....
These are GREAT BIG HELP to me. Learning 8502 machine language on C128 slim with TSDS assembler. Thanks for all you do, June! What happened to episode 9?
Incredible! - and rather brilliant... and good luck with the "scruffy looking nerd Herder"🤞- as in, he's herding all us C128 nerds 😆 - Yeah, I probably didn't have to explain that one 😅
I'm amazed to see that you're back! I thought you stopped making videos because your C128D died and after that you might have died as well! I'm using an emulator. I don't know why you're planning to use those two other computers at the VCF, though. I wish you'd do a horizontal scroller instead of a vertical one. Of course, programming the VDC chip is even more amazing than scrolling. I think this chip was designed to generate similar displays to early PCs, but I'm not sure which type of PC display it's based on.
Nah, didn't die -- just life got in the way. My original 128Dcr did die, though I managed to bring it back up. Trouble is figuring out how to give it a regulated 9VAC rail to finish the restoration, though. Why were you after a horizontal scroller? It would have required significantly more space than I had available on the business card, since it would have to do a line-by-line copy of the screen each time. Unless you mean doing the next video on horizontal scrolling, which I'd be happy to do at some point as well. We're going to use both sets of functionality in the game I end up writing. We'll get to the VDC, for sure, though, as well. I'd like to make the game dual-headed if possible. It's not really based on anything other than the generic 80-column RGBI connector "standard" that was around at the time it was made. The interface (and the way it generates the display) is entirely different than anything the PC had at the time. If anything, it's based around 80-column color VDTs at the time used with CP/M machines.
@@NybblesandBytes Great to get a reply so quickly! I'm interested in horizontal demo type scrollers in general , but especially done on the C128 instead of on the C64. Do you mean you actually printed that routine on your business card? AFAIK RGBi is Commodore only. I think it was used only on the C128, C128D, and mainly on Amigas. It's descended from CGA, but isn't compatible with VGA. I read that the VDC is compatible with BBS systems running on PCs. It sounds like an EGA mode. I don't know about any similar CP/M displays except the fairly obscure Memotech FDX expansion unit. The VDC having seperate dedicated RAM sounds similar to the TI9918/9928/9929 chips used in Texas Instruments TI99/4A, Memotech MTX, Spectravideo 318/328, and MSX computers, although the higher resolution is more like the later MSX2 V9938 chip by Yamaha.
Happy to see that you continue with this series
Welcome back!
So nice to see you back again, June! None of your episodes are boring! This short program is just another nybble at something bigger in assembly ;-). I've found with all programming languages, that coding a small operation and getting it to work first is helpful when building up to larger projects. A bit like waterfall vs Agile 🤣.
Yeay, so good to see you back again, June! Looking forward to your new episodes! Being a C128D owner back in the 80s I have learned more about my favorite 8-bit machine with your wonderful videos than back in the days! 😊
@Nybbles and Bytes having watched your content for literal years, I have never been happier when watching your in depth, nerdy, and awesomely produced content. I wish I could do what you do, but it's clear I lack the video editing skills. (and perhaps personality too, but I don't like to think about that bit.) Anyways, your content has helped my during some really low lows. Thanks so much, you really mean something to many people!
That was such a great example of self modifying code, simple and easy to understand.
I always imagined it as more a more complex endeavour, but now I can see uses for it everywhere :D
Thank you, June, for your content. It’s good to have you back. Please keep producing and know you have many fans !
This is a neat trick that also works on the C64 and is only possible to implement this simply if every row on the screen contains exactly the same text in exactly the same columns because the text isn't actually scrolling - this is also evidenced by the fact that the code above $1323 is only ever executed once.
Oh yeah, totally! The code can actually be run as-is on a 64, too.
@@NybblesandBytes This revision definitely won't fit on a business card, but I inserted a subroutine to colorize the rows. Hope you like it!
100 forx=4864to5045:readn:pokex,n:next
110 sys4864
200 data32,110,19,169,,168,170,141,32,208,141,33,208,169,5,141
210 data134,2,185,105,19,157,,4,157,,5,157,,6,157,
220 data7,200,192,4,208,2,160,,232,208,231,174,18,208,224,250
230 data208,249,202,208,253,169,12,141,22,208,169,16,24,105,1,141
240 data17,208,206,62,19,16,228,169,7,141,62,19,9,144,141,17
250 data208,32,110,19,32,228,255,240,210,169,27,141,17,208,169,200
260 data141,22,208,169,147,32,210,255,96,14,38,2,96,1,162,25
270 data169,,133,251,169,216,133,252,160,,173,109,19,145,251,200
280 data192,40,208,249,24,165,251,105,40,133,251,165,252,105,,133
290 data252,238,109,19,173,109,19,201,16,208,5,169,1,141,109,19
300 data202,208,213,162,9,206,109,19,173,109,19,208,5,169,15,141
310 data109,19,202,208,240,96
Yay, you're back, it's going to be a good day :)
Glad to see you back again. That is a pretty cool scroller. I met you at the last two VCF Midwest's and hope to see you there this year as well.
Nice one June, note that the same code would work on any machine with a vicii, meaning that it would also run on a c64, c128 in c64 mode or cbm-510 ;)
Yep! That's for sure! During development, I did end up punching it into x64sc to verify some assumptions. It kinda blew my mind when I realized it could just work!
It's def great to see you back at it as I was thinking you probably were caught with life and family responsibilities. It's a unique Channel so really interested in future Videos. -Mark.
Yep, I was. Things are finally calming down, though!
I'm new to your channel, and like the people welcoming you back, I'm also glad I got recommended this video. This looks cool!
I'm really happy that you continued your Nibbles and Bytes videos. Sometimes it goes over my head but rewatching finally gets into my head. I've always been interested in programming at the machine level. Cool
Good to see you back! Also, that’s a badass retrocomputer lab you’re in.
Thanks! :D
Nice and tight code, and bonus point for waiting for the raster so it runs smooth! Top marks, and thanks for sharing!
Oh dang it's been a while! Welcome back. I'm happy to see that UA-cam didn't waste any time in getting this video to me.
great to see you back
Nice that you are back. Your clips on the 128 have always been interesting.
Nice to see you back June! I hope this becomes a trend! :)
Working to do that!
Great to see you back. I was thinking about this channel just the other day.
So good to see you back! Thank you for all of this great content.
Welcome back June! Interesting program.
Thanks! It's simple, but fun. :D
An excellent byte-sized episode! Clear and to the point, and nicely edited!
thank you for your coverage of the commodore 128!, the 128 is my favorite cbm machine!
Mine too!
This was the *wildest* surprise to wake up to! So glad you're back.
Welcome back! Your channel is awesome!
Hey! Thank you. Good to see you back!
Glad to be back!
One thing that would be good to explain about the C128 is the interrupt routines it runs in the background to control the sprites, sound and split screen.... there are specific actions needed to switch those interrupt loops off to get full control of the VICII and SID on the C128.
When I did a retro programming class to youngsters, I had to explain them this but not sure the method I used is the correct one...
@@svenvandevelde1 I do mention that early on in the series.
I will search for it ...
Oh, and btw, NICE LAB holy clock-cycle Batman. If the time away was in part ot get all this setup all the better for the outcome. What a place, I think most of us here need a working space of this magnitude.
Some of it necessarily was. :D
Not even watched the episode yet and I'm so glad to see you back!
Didn't disappoint :-)
Awesome!
Welcome back, June! It's great to see you around again😎
Welcome back! I love these videos, makes me feel smart for almost understanding what is going on. Hope to see more of them soon :)
Great to see you're back and looking forward to the upcoming show appearance.
Hope you enjoyed it!
Good to see you and your series back.
First time viewer - this is great stuff! So fun to get a deep dive on this historic system 🎉
Glad to see you back, June! 😊
Glad to be back!
June! Happy to see you! As always, love your content.
Very nice to see another video and nice to see you again as well!
More to come!
So happy to see you back on YT!
Where did you go? Good to see you again.
Life decided to drag me through muds and floods. Skies are clearing up now, though.
Welcome back, June.....I've followed all of your videos and you actually made me like learning about the 128.....I owned a 64 in Middle and high school....and my friend (the rich friend that had to have the hot new item first....so he could gloat) had a 128...and programming it was like ancient Greek to my non math oriented brain.....Keep fighting the good fight! :)
Welcome back to UA-cam 🙂I think your content is awesome and was bummed when you stopped posing stuff.
Funny timing too. I pulled 3 C128s out of storage today. I hope to get some time this coming weekend to test them out after 20+ years.
Where did you disappear to ? We waited forever for a new episode, glad you are back.
Work, COVID, life changes and flooding basically destroyed what free time I had, and started to wreck me, too. O.o
Thankfully, that's mostly all over now. Back to videos! :D
Heyyyy you're back! Good to see there's still life in this channel. :D
Never went dead -- just had life get in the way for a while. More to come!
Welcome back! A couple nice tricks here, using code as data for both the character values and for the counter.
Yep! Tried to keep it simple, but still understandable. Hard balance to strike!
So good to see you again!
Great to see you back! :)
Good to see you again
Good to see you back!
Glad to see you again. Were you ever able to complete your leg of the round the world sailing adventure?
No, sadly.
You got a great lab over there. Welcome back!
Thanks much!
Quality Commodore assembly content is hard to find so I am happy to see more of this series. It gave me a break (BRK?) while taking all the printouts of an RPG I was working on in the 80s and converting it to Kick. Speaking of kick there are some things in this old code that wants to kick my younger self....
Especially lacking is content about programming the 128. I'm happy to see this series continue as well! :)
Great episode!
Thanks!
I love your videos and thanks for all the effort !!!!
These are GREAT BIG HELP to me. Learning 8502 machine language on C128 slim with TSDS assembler. Thanks for all you do, June! What happened to episode 9?
@@johnsobota6234 It's a comin!
Yay! Great video, as always.
Incredible! - and rather brilliant... and good luck with the "scruffy looking nerd Herder"🤞- as in, he's herding all us C128 nerds 😆
- Yeah, I probably didn't have to explain that one 😅
oh great your back
Best regards from México. En excelent video.
June's back 😊
Excellent stuff!
Thanks!
yay you're back :)
Glad to be back!
I'm amazed to see that you're back! I thought you stopped making videos because your C128D died and after that you might have died as well! I'm using an emulator. I don't know why you're planning to use those two other computers at the VCF, though. I wish you'd do a horizontal scroller instead of a vertical one. Of course, programming the VDC chip is even more amazing than scrolling. I think this chip was designed to generate similar displays to early PCs, but I'm not sure which type of PC display it's based on.
Nah, didn't die -- just life got in the way. My original 128Dcr did die, though I managed to bring it back up. Trouble is figuring out how to give it a regulated 9VAC rail to finish the restoration, though.
Why were you after a horizontal scroller? It would have required significantly more space than I had available on the business card, since it would have to do a line-by-line copy of the screen each time. Unless you mean doing the next video on horizontal scrolling, which I'd be happy to do at some point as well. We're going to use both sets of functionality in the game I end up writing.
We'll get to the VDC, for sure, though, as well. I'd like to make the game dual-headed if possible. It's not really based on anything other than the generic 80-column RGBI connector "standard" that was around at the time it was made. The interface (and the way it generates the display) is entirely different than anything the PC had at the time. If anything, it's based around 80-column color VDTs at the time used with CP/M machines.
@@NybblesandBytes Great to get a reply so quickly! I'm interested in horizontal demo type scrollers in general , but especially done on the C128 instead of on the C64. Do you mean you actually printed that routine on your business card? AFAIK RGBi is Commodore only. I think it was used only on the C128, C128D, and mainly on Amigas. It's descended from CGA, but isn't compatible with VGA. I read that the VDC is compatible with BBS systems running on PCs. It sounds like an EGA mode. I don't know about any similar CP/M displays except the fairly obscure Memotech FDX expansion unit. The VDC having seperate dedicated RAM sounds similar to the TI9918/9928/9929 chips used in Texas Instruments TI99/4A, Memotech MTX, Spectravideo 318/328, and MSX computers, although the higher resolution is more like the later MSX2 V9938 chip by Yamaha.
Yeah. I definitely did put this on my business card. It was actually the impetus for writing this program. :D
omg we've missed you
Oh shoot, the like count is exactly 512. I can't bump that up and ruin that nice power of 2.
Push it to 1024! To the moon! :D
Loved it!
Glad you enjoyed it!
Well it's been a while
Yep! Slowly getting things back in order. Expect another one of these in two weeks!
f*ck yes!!!!! YOU'RE BACK!!!!!!!
Excellent !
I miss my C128😢
yep
all day every day
for the entire early 1980's..
More videos, more often, please :)
Expect the next one in two weeks!
I wrote something here that was provided to me by chatgpt and it was competely and utterly wrong. It said that the C128 contains a CSG65CE02 cpu. lol.
agree
LIVE BASIC???!! HAWT 😍😍
10 print ti
20 goto 10
Finally!!!
Yep! More coming post bat-plague!
🎉🎉🎉
Ciao sei bravissima. Mi piacerebbe capire in parole povere cosa stai facendo?😊😅😮
Neat
😀
I SAW IT!! That BNE that became a BPL :-D ... Call the CIA to report that!! (Both of them of course :-D )
Oh noo! I've been caught! No! Have to run awaaayyy! On, noo! The screen wraps around! XD
@@NybblesandBytes i hppe the two cia chips in the c128 arrested you already :-D
Nah. I got off easy -- all I had to do was bribe him with v2 of the RetroPad. XD
WOOOH COMMODORE QT RETURNS. TO BAD I CANNOT MAKE IT TO VCF. I WOULD PUT YOUR BUSINESS CARD ON MY N&B SHRINE IN MY CLOSET.
Welcome back!
Welcome back!
Thanks much!
welcome back!
Welcome back!
Thanks!