Programming in BASIC on the Color Computer Chapter 22 Get and Put

Channel:
Subscribers:
3,510
Published on ● Video Link: https://www.youtube.com/watch?v=SdFOJVdPSAo



Duration: 41:34
220 views
14


Chapter 22 in Programming in BASIC on the Color Computer deals with the GET and PUT commands which are ways to visually copy and paste graphical objects anywhere on a graphics screen, essentially allowing CoCo BASIC to mimic what SPRITES were on some of the fancier 8-bit systems.

GET and PUT allow you to capture a rectangular area of the screen using two sets of X and Y coordinates to specify the two corners of the object. You then GET this object and store it into an array variable you define at the beginning of your program.

GET and PUT allow you to move objects around the screen and create animation.

There are several different ways to PUT your graphics on the screen, a bit-per-bit method known as PSET which puts all pixels in the array, exactly as captured, erasing any pixels that were on the screen before the PUT.

PRESET does the exact opposite, it's a negative image of the original capture, also erasing any pixels behind the image that was PUT.

AND or and NOT are hybrid methods of putting the image, but only making certain pixels and colors visible depending on the background they are applied to.

I took the original demos in the chapter, some of which required some fixes, and tried my best to explain those, and then go through my own custom examples, that hopefully, provide a better visual as to the process and how various foreground and background colors combine with the various PUT options.

My font routine was included in one of the demos, and the final demo, was a cute, but cheesy arcade style animation demo that shows a space ship "flying" through space, not bod for a few week's work :)

Let me know what you think, and the disk image with these demos will be available on my blog post at chapter-22-get-and-put-its-a-wrap


Thanks for watching, don't forget to like, comment, and subscribe!

Merchandise: http://ogsteviestrow.com/merchandise
YouTube: https://youtube.com/ogsteviestrow
Facebook: https://www.facebook.com/ogsteviestrow/
Twitter: https://twitter.com/ogsteviestrow
Instagram: https://www.instagram.com/ogsteviestrow/
Website: http://ogsteviestrow.com

Pixel art and logos created by Joel M. Adams:
https://www.instagram.com/artistjoelmadams/

OG Theme Song by the Gimp of Hallowed Ground Records:
https://www.reverbnation.com/gordy669

Original Music by Fran Mann and Side Seat Driver used with permission:
https://www.reverbnation.com/franmann

Music from the album Pac-Man Fever used with permission:
http://pacmanfevervault.com/




Other Videos By ogStevieStrow


2017-07-15CoCoTALK! Episode 17 - The World Premiere of Rick Adams' Bomb Threat!
2017-07-08CoCoTALK #16 - MESSUI tweaks for CoCo emulation, MAME and MESS debugging tutorial
2017-07-01CoCoTALK #15 - Pac-Man Transcoded to the CoCo 3 - CoCo Crew Podcast and more!
2017-06-28Programming in BASIC on the Color Computer - Chapter 23 part 2 - demo updates
2017-06-24CoCoTALK #14 - Media Players - Dunjunz - Xroar and more!
2017-06-19Programming in BASIC on the Color Computer - Chapter 23 - A new kind of point
2017-06-17CoCoTALK #13 - Jim Gerrie Goodies - Surprise guests Steve Bjork and Neil Brookings!
2017-06-15Programming in BASIC on the Color Computer - Optimizing GET and PUT for the Spaceship demo
2017-06-11CoCoTALK #12 - setting up MAME to be a CoCo - project updates, random talk, you name it
2017-06-09Programming in BASIC on the Color Computer - Spaceship Demo improved
2017-06-08Programming in BASIC on the Color Computer Chapter 22 Get and Put
2017-06-04Programming in BASIC on the Color Computer Fonts and Graphics Demo Update
2017-06-04Live interview with Tim Lindner on the emulation of the Tandy Speech Sound Cartridge in MAME
2017-06-04The Tandy Speech and Sound Cartridge emulation live interview
2017-06-03CoCoTALK #11 -Speech and Sound Emulation, Carts, Podcast Review, Machine Code and more!
2017-05-28Sock Master's Donkey Kong Remix - Live Stream - with Sock Master - playing DK Remix on a CoCo 3!
2017-05-27CoCoTALK #10 - What is your favorite CoCo game? - Hardware discussions, and more!
2017-05-27Bloc Head - 1983 - Redux Request - Color Computer Game Play Video #197
2017-05-25CoCo and Retro pickups May 2017 - Oh My!
2017-05-20CoCoTALK #9 - DriveWire on VCC, project updates, Pac-Man port video and more!
2017-05-18Updating a CoCo SDC Firmware and DOS and adding SDCX the CoCo SDC eXplorer



Tags:
Programming in BASIC on the Color Computer
Color Computer BASIC Programming
Color BASIC
Extended Color BASIC
trs-80 color computer
radio shack color computer
tandy color computer
BASIC
BASIC programming
programming in BASIC
basic
programming
GET
PUT
GET and PUT
BASIC Get and PUT
using the GET and PUT commands in BASIC
GET and PUT graphics in BASIC
8-bit coding
8-bit programming
retro coding
retro dev
Original Gamer Stevie Strow
programming in