aboutsummaryrefslogtreecommitdiff
path: root/src/example/c64-tap.asm
blob: 809460731175bb669e502959da2fa7b11e4a7887 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
	; Simple example C64 code
	;

	cpu 6502

	option	codepage,cbm

	option	output-file,c64.tap
	option	output-format,cbm-tap
	option	cbm-tap-start,start

	org $820

main:
	lda	#0
	clc
loop:
	sta	53280
	adc	#1
	and	#$0f
	jmp	loop

start:
	jmp	main