filmov
tv
#66: Commander X16 6502 Assembly Language Dev Setup
Показать описание
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
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:
Download my games here:
Order mugs & t-shirts here:
Follow me on Facebook:
Links
=========
Commander X16 website:
8bitcoding Setup instructions:
Commander X16 Emulator:
Retro Assembler:
dotnet download:
VS Code Editor:
Commander X16 Programmer's Reference Guide:
Perifractic X16 enclosure discussion video:
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
0:00 Intro
2:10 Overview
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:
Download my games here:
Order mugs & t-shirts here:
Follow me on Facebook:
Links
=========
Commander X16 website:
8bitcoding Setup instructions:
Commander X16 Emulator:
Retro Assembler:
dotnet download:
VS Code Editor:
Commander X16 Programmer's Reference Guide:
Perifractic X16 enclosure discussion video:
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
Комментарии