projects
/
nes_coding.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4489375
)
Change jump target in infinite loop
lab_1
author
Rhett Aultman
<roadriverrail@gmail.com>
Thu, 13 Sep 2018 19:48:52 +0000
(15:48 -0400)
committer
Rhett Aultman
<roadriverrail@gmail.com>
Thu, 13 Sep 2018 19:48:52 +0000
(15:48 -0400)
The jump target should have been to "forever", not "reset"
src/helloworld.asm
patch
|
blob
|
history
diff --git
a/src/helloworld.asm
b/src/helloworld.asm
index 3ddbea630fa158d472da000474dbceb59c0090b5..b1af0b2363c7ebbd0972ed86aa7d937af5a7fcaf 100644
(file)
--- a/
src/helloworld.asm
+++ b/
src/helloworld.asm
@@
-52,7
+52,7
@@
reset:
lda #$bf ; volume
sta $4000
forever:
- jmp
reset
+ jmp
forever
nmi:
rti ; Return from the NMI (NTSC refresh interrupt)