Re: pcmplay - new dragon sound routine
Posted: Tue Sep 08, 2015 5:37 pm
Thanks sorchard ![Wink ;)](./images/smilies/icon_e_wink.gif)
@all, Simon just notified me of a small error. DP was set to a wrong value because I changed the .org adress at the last minute. This has been fixed now in the github release.
Does anybody know how I can export the high byte of the current adress to a symbol in lwasm? ie. instead of lda #$0f \ tfr a,dp \ setdp $0f, I'd like to do something like lda #(int(*/256)) \ tfr a,dp \ setdp int(*/256). So the only thing a user would need to change when assembling to a different address would be the org statement.
![Wink ;)](./images/smilies/icon_e_wink.gif)
@all, Simon just notified me of a small error. DP was set to a wrong value because I changed the .org adress at the last minute. This has been fixed now in the github release.
Does anybody know how I can export the high byte of the current adress to a symbol in lwasm? ie. instead of lda #$0f \ tfr a,dp \ setdp $0f, I'd like to do something like lda #(int(*/256)) \ tfr a,dp \ setdp int(*/256). So the only thing a user would need to change when assembling to a different address would be the org statement.