We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
I have an interrupt handler where I save several strings of data into RAM. Using strcpy or strncpy works just fine when I had less than 64K RAM on my board. We have moved to a system that has 128K RAM so I have had to write a subroutine that does the work to figure out which XDATA bank to write the data. (We are using P1.6 as the A16 address line.) The subroutine works just fine in all of the places I use it within my code except from within the interrupt handler. Ideas? Is calling subroutines within an interrupt handler somehow forbidden? Do I have to use some directive to get this to work? Any and all suggestions welcome!