summaryrefslogtreecommitdiffstats
path: root/hacks/images/m6502/random2.asm
diff options
context:
space:
mode:
Diffstat (limited to 'hacks/images/m6502/random2.asm')
-rw-r--r--hacks/images/m6502/random2.asm11
1 files changed, 0 insertions, 11 deletions
diff --git a/hacks/images/m6502/random2.asm b/hacks/images/m6502/random2.asm
deleted file mode 100644
index c209f9f..0000000
--- a/hacks/images/m6502/random2.asm
+++ /dev/null
@@ -1,11 +0,0 @@
- lda $fe ; A=rnd
- sta $00 ; ZP(0)=A
- lda $fe
- and #$3 ; A=A&3
- clc ; Clear carry
- adc #$2 ; A+=2
- sta $01 ; ZP(1)=A
- lda $fe ; A=rnd
- ldy #$0 ; Y=0
- sta ($00),y ; ZP(0),ZP(1)=y
- jmp $600