-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reset Fixes / Update Titles #78
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please fix copy loops and resubmit
it's copying from $100-105 (6 bytes). Either way works. I just think the code looks cleaner without the -1. |
That's not true. The LDA will set the Z flag based on the value it's loading, so whether or not the BNE branches no longer has anything to do with Y. |
My bad. It only works because there's nothing being used from $280-380. |
I mean... because $107 is zero.... |
arkanoid now reboots. moon patrol was using $100 as a variable. fixed my flag error.
missed one
removed extra space in HERO
src/prelaunch/arkanoid.a
Outdated
sta $602 | ||
sta $603 | ||
sta $604 | ||
sta $605 ; NOP setting the reset |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You should be able to do this in fewer steps by changing STAs to BITs ($2C)
|
||
ldy #6 | ||
- lda $100-1,y | ||
sta $280-1,y ; move hook to $280 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If the -1 bothers you, you can change to LDY #5 and BPL, and use $100,y and $280,y. Entirely up to you.
No description provided.