flashjazzcat Posted August 30, 2011 Share Posted August 30, 2011 (edited) BTW. calling jcar_sw before and jcar_old after jsr $07eb seems not necessary. You can save 8 bytes of code The code comes straight from The Last Word, hence "TURN ON THE CARTRIDGE (ASSUMING THE APPLICATION WAS STARTED WITH THE "X" COMMAND)". Yes, I noticed the remark. I'll still repeat what I wrote above: "calling jcar_sw before and jcar_old after jsr $07eb seems not necessary. You can save 8 bytes of code". I think it was you who originally told me to do this a couple of years ago. I could have learned of JCAR_SW and JCAR_OLD by no other means. However, if it's unnecessary, I'll remove it. EDIT: Looking back through the PMs, I think you explained JCAR_SW and JCAR_OLD in relation to GETENV. So yes, I guess the calls are quite superfluous in the case of JSR $07EB. Edited August 30, 2011 by flashjazzcat Quote Link to comment Share on other sites More sharing options...
drac030 Posted August 30, 2011 Share Posted August 30, 2011 I think it was you who originally told me to do this a couple of years ago. I could have learned of JCAR_SW and JCAR_OLD by no other means. However, if it's unnecessary, I'll remove it. That's possible, although these calls might have been also mentioned when we were discussing a method of accessing environment variables from a program started with X.COM. I am not sure. You can always trace $07eb with a disassembler to make sure if it calls the jcar_xxx vectors inside itself or not Quote Link to comment Share on other sites More sharing options...
flashjazzcat Posted August 30, 2011 Share Posted August 30, 2011 ...these calls might have been also mentioned when we were discussing a method of accessing environment variables from a program started with X.COM. I am not sure. Your memory serves you better than mine does myself. We were indeed discussing methods of accessing environment variables, as well as ways of disabling the SDX key buffer. Quote Link to comment Share on other sites More sharing options...
+Stephen Posted August 30, 2011 Share Posted August 30, 2011 ...these calls might have been also mentioned when we were discussing a method of accessing environment variables from a program started with X.COM. I am not sure. Your memory serves you better than mine does myself. We were indeed discussing methods of accessing environment variables, as well as ways of disabling the SDX key buffer. Kick ass - what are you going to use these new 8 bytes for in Last Word? Haha. Quote Link to comment Share on other sites More sharing options...
flashjazzcat Posted August 31, 2011 Share Posted August 31, 2011 Kick ass - what are you going to use these new 8 bytes for in Last Word? Haha. Heh - unfortunately those eight bytes are in the INIT block which gets jettisoned, so space isn't really critical there anyway. If they were in the main code... Hell, I'd go wild with new features. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.