Difference between revisions of "Bdisp PutDisp DD"
From WikiPrizm
Jump to navigationJump to search(2 intermediate revisions by 2 users not shown) | |||
Line 4: | Line 4: | ||
| signature = Bdisp_PutDisp_DD(void) | | signature = Bdisp_PutDisp_DD(void) | ||
| header = fxcg/display.h | | header = fxcg/display.h | ||
− | | comments = Puts the VRAM on the screen. This function blocks until the copy of the VRAM to the LCD through DMA is finished. | + | | comments = Puts the VRAM on the screen. This function blocks until the copy of the VRAM to the LCD through [[DMAC|DMA]] is finished. |
It is possible to write a non-blocking implementation, see [[Non-blocking_DMA]] which is used in, for example, [https://github.com/ComputerNerd/Casio-prizm-mpeg2-player ProgrammerNerd's MPEG player]. | It is possible to write a non-blocking implementation, see [[Non-blocking_DMA]] which is used in, for example, [https://github.com/ComputerNerd/Casio-prizm-mpeg2-player ProgrammerNerd's MPEG player]. | ||
− | Internally this function falls through to Bdisp_PutDisp_DD_stripe | + | |
+ | Internally this function falls through to [[Bdisp_PutDisp_DD_stripe]]. | ||
<nowiki> | <nowiki> | ||
Bdisp_PutDisp_DD: ! CODE XREF: sub_8002CA70+B8�p | Bdisp_PutDisp_DD: ! CODE XREF: sub_8002CA70+B8�p |
Latest revision as of 08:56, 12 February 2015
Synopsis
Header: fxcg/display.h
Syscall index: 0x025F
Function signature: Bdisp_PutDisp_DD(void)
Comments
Puts the VRAM on the screen. This function blocks until the copy of the VRAM to the LCD through DMA is finished.
It is possible to write a non-blocking implementation, see Non-blocking_DMA which is used in, for example, ProgrammerNerd's MPEG player.
Internally this function falls through to Bdisp_PutDisp_DD_stripe.
Bdisp_PutDisp_DD: ! CODE XREF: sub_8002CA70+B8�p ! sub_8003E16A+AF6�p ... mov #0xFFFFFFD7, r5 mov #0, r4 ! y1=0 extu.b r5, r5 ! y2=215 ! End of function Bdisp_PutDisp_DD ! =============== S U B R O U T I N E ======================================= Bdisp_PutDisp_DD_stripe: ! CODE XREF: sub_800B458A+18C�p