@8_Bit
  @8_Bit
8-Bit Show And Tell | Using Commodore 64 BASIC SYS Parameters in Machine Language @8_Bit | Uploaded July 2021 | Updated October 2024, 3 hours ago.
Today we're coding an example of how to extend Commodore 64 BASIC SYS commands with parameters that can be used in your machine language program. Instead of just SYS 49152 you can do SYS 49152,X,Y,40*25 or whatever you'd like in your C64 BASIC programs.

Download today's code: 8bitshowandtell.com/prg/sysparam.d64

To support 8-Bit Show And Tell:
Become a patron: patreon.com/8BitShowAndTell
One-time donation: paypal.me/8BitShowAndTell
2nd channel: youtube.com/channel/UCAgWzEh5c8391eJnELDy9OA

How to use:
LOAD"TMP",8,1
SYS 32768
Back Arrow, L then filename: ML11
Back Arrow, 3 to assemble, any key to editor
Back Arrow, 1 to exit to BASIC

BASIC Use Example 1:
SYS 828,1064,400,1

BASIC Use Example 2:
10 FOR X=1 TO 1000
20 SYS 828,1024,X,X
30 NEXT

Intro and end credits music by bedfordlevelexperiment.bandcamp.com

Index:
0:00 Intro
1:00 Loading and assembling with Turbo Macro Pro
2:17 An example
5:06 Walk through the code
8:55 Reading the parameters
10:35 Using the parameters example: memory fill routine
15:50 Using the example in a short BASIC program
19:22 Thanks to my patrons
Using Commodore 64 BASIC SYS Parameters in Machine LanguageAn Amiga Hiding in a Tower of Power: Commodore CDTV in a 1990s Hi-Fi StackTrying to LOAD Sky Travel Floppy Disk on the Commodore 64 #c64Ask The 8-Bits: 6/2(1+2) Viral Math ProblemTI-99/4A Cassette Fun: TI BASIC Tutorials and GamesA Real Computer? Exploring the Bally Computer System aka Astrocade35 Year-Old Commodore 64 Easter Egg Hidden On VinylRAM Scan 64 - Early 1980s Glitch Art Code?This Function Destroys Programs: MS-BASICs VAL()C64 to PET Cross-Development: Smooth Scrolling Wedding BannerAtari 2600(+) Games for Christmas 1983/2023: Chosen by my KidsVintage Computer Festival Midwest Project Interviews

Using Commodore 64 BASIC SYS Parameters in Machine Language @8_Bit

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER