Quote:
Originally Posted by flasher86
What do you suggest? I tried to make driver for my touchpad but with no success, I don't have enough experience. I even asked WANNABE to disassemble my original firmware to elicit this driver, but ASM code is too confusing to me so I gave up.
|
I have no ideas for this case, but I will think.
Quote:
#define DMA_DISABLE_INTERRUPT { read_creg(%imask, imask_tmp); bitclear_creg(%imask, 15); }
#define DMA_ENABLE_INTERRUPT { write_creg(%imask, imask_tmp);}
is this enough? I used it to disable interrupt while managing SDRAM transfer. But I always enable it once transfer is done. If I disable it completely, it wont crash then? How about this screen refresh, it refreshes screen after main() is ended. Are you uploading graphics directly to LCD_DATA memory?
|
I have disabled timer interrupt too.(all interrupts at all)
I am using LCD_DATA port to generate bitmap and I do not use SDRAM yet.
Quote:
|
No wonder why, if you can manipulate sys freq in game Another improvement would be turning off the screen. I was messing around with the screen, and I managed to manipulate backlight driver of the screen that it can gradually get darker or brighter but I don't know if it can be introduced to RKP platform because of different LCD drivers (tested only on mine).
|
I do not know how to do it yet