summaryrefslogtreecommitdiffstats
path: root/hacks/images/m6502/starfield2d.asm
diff options
context:
space:
mode:
Diffstat (limited to 'hacks/images/m6502/starfield2d.asm')
-rw-r--r--hacks/images/m6502/starfield2d.asm50
1 files changed, 0 insertions, 50 deletions
diff --git a/hacks/images/m6502/starfield2d.asm b/hacks/images/m6502/starfield2d.asm
deleted file mode 100644
index 4c26efe..0000000
--- a/hacks/images/m6502/starfield2d.asm
+++ /dev/null
@@ -1,50 +0,0 @@
-; 2d starfield
-; Submitted by Anonymous
-
-i:ldx #$7
-g:lda $fe
- and #3
- adc #1
- sta $0,x
- lda $fe
- and #$1f
- sta $20,x
- dex
- bpl g
-f:
- lda #$ff
- sta $10
- delay:
- nop
- dec $10
- bne delay
-
- lda #$00
- sta $80
- lda #$02
- sta $81
- ldx #$7
-l:lda $20,x
- pha
- clc
- sbc $00,x
- and #$1f
- sta $20,x
- lda $20,x
- tay
- lda #1
- sta ($80),y
- pla
- tay
- lda #0
- sta ($80),y
- lda $80
- clc
- adc #$80
- bne n
- inc $81
-n:sta $80
- dex
- bpl l
- jmp f
-