projects
/
xscreensaver
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
http://www.tienza.es/crux/src/www.jwz.org/xscreensaver/xscreensaver-5.05.tar.gz
[xscreensaver]
/
hacks
/
images
/
m6502
/
selfmodify.asm
diff --git a/hacks/images/m6502/selfmodify.asm
b/hacks/images/m6502/selfmodify.asm
new file mode 100644
(file)
index 0000000..
f7bb646
--- /dev/null
+++ b/
hacks/images/m6502/selfmodify.asm
@@ -0,0
+1,12
@@
+; A very simple example of
+; self-modifying code
+; and code entry points
+
+ lda $fe
+ sta $1001
+ jmp $1000
+
+ *=$1000
+ lda #$00
+ sta $3ef
+ jmp $600