Back to Browse

#66: Commander X16 6502 Assembly Language Dev Setup

3.0K views
Jun 24, 2023
1:44:30

Setting up a development environment on a Windows PC for creating 65C02 Assembly Language programs for the Commander X16 computer. 0:00 Intro 2:10 Overview 8:22 8bitcoding.com 11:54 Emulator installation 27:55 Assembler installation 29:42 dot net installation 31:07 VS Code editor installation 32:20 Software configuration 33:35 Assembler config 49:35 VSCode editor config 57:17 C64 programming book 1:02:30 programming 1:12:25 BASIC header 1:20:26 ROM/Kernal routines 1:22:41 assembling the program 1:25:40 loading the program 1:33:51 Debugger 1:42:24 running the program Support this channel by becoming a patron: https://Patreon.com/spriteworx Download my games here: https://spriteworx.itch.io Order mugs & t-shirts here: https://spriteworx.creator-spring.com/ Follow me on Facebook: https://www.facebook.com/gaming/Spriteworx Links ========= Commander X16 website: https://www.commanderx16.com/ 8bitcoding Setup instructions: https://www.8bitcoding.com/p/assembly-in-basic-i-setting-up.html Commander X16 Emulator: https://cx16forum.com/forum/viewforum.php?f=30 Retro Assembler: https://enginedesigns.net/retroassembler dotnet download: https://dotnet.microsoft.com/en-us/download VS Code Editor: https://code.visualstudio.com/ Commander X16 Programmer's Reference Guide: https://github.com/commanderx16/x16-docs/blob/master/Commander%20X16%20Programmer's%20Reference%20Guide.md Perifractic X16 enclosure discussion video: https://www.youtube.com/watch?v=UEQm48rW2Q0&list=PLfABUWdDse7bKGFshxR0itdHBhjUj86SX&index=7 Sample Program Template: ======================= .org $0801 ;ORG $0801 (2049 Decimal). The BASIC program is expected to start at $0801 .BYTE $0B,$08,$0A,$01,$9E,$32,$30,$36,$31,$00,$00,$00 ;Header to run from BASIC. MC starts at $080D ;$0B08 = Address where BASIC program would begin. ;$0A01 = Little endian for $010A (266 decimal). Arbitrary line number for the SYS command below. ;$9E = "SYS" command in BASIC. ;$32,$30,$36,$31 = "2","0","6","1" (PETSCII coded) needed for the "SYS2061" BASIC command to run the MC program. ;Note: 2061 (decimal) = $080D which is where the MC bytes begin. ;The MC bytes below will begin at address $080D lda #$A6 ;Load register A with PETSCII code for checkerboard symbol. jsr $FFD2 ;Call CHROUT (ROM routine to print character in A to screen). rts ;Return

Download

0 formats

No download links available.

#66: Commander X16 6502 Assembly Language Dev Setup | NatokHD