macros and definitions for the C64 for the dasm 6502 assembler.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
Nico 8eb2521e3b move some docs 9 months ago
c64.asm move some docs 9 months ago
readme.md move some docs 9 months ago

readme.md

dasm-c64

macros and definitions for the C64 for the dasm 6502 assembler. will likely grow as I do more with the C64. you can INCLUDE this file or just copy the parts you want.

Current contents

  • Definitions for all the KERNAL routines so they can be used by name (see https://www.c64-wiki.com/wiki/Kernal)
  • BasicUpstart macro: Writes a BASIC start script for the address provided as an argument.

Usage

	include "c64.asm"
	processor 6502
	org $0801
	BasicUpstart init

init:
    ; Your program here

Licence

CC0