Author: KermMartian
Posted: 12 Nov 2012 11:31:25 am (GMT -5)
The easiest way to DMA the VRAM to the LCD would be to use one of the existing system calls, namely Bdisp_PutDisp_DD. Yes, my routine does copy to VRAM, but once all of the VRAM is set up for a frame, I ship it all to the LCD with the aforementioned system call. And I'm amused by your consternation over the black magic that is the code from modern optimizing compilers.
_________________
![]()
![]()
![]()
![]()
![]()
![]()
Posted: 12 Nov 2012 11:31:25 am (GMT -5)
The easiest way to DMA the VRAM to the LCD would be to use one of the existing system calls, namely Bdisp_PutDisp_DD. Yes, my routine does copy to VRAM, but once all of the VRAM is set up for a frame, I ship it all to the LCD with the aforementioned system call. And I'm amused by your consternation over the black magic that is the code from modern optimizing compilers.
_________________





