GBDK 2020 Docs
4.3.0
API Documentation for GBDK 2020
|
#include <stdint.h>
Go to the source code of this file.
Functions | |
void | hblank_copy_vram (const uint8_t *sour, uint8_t count) |
void | hblank_cpy_vram (const uint8_t *sour, uint8_t count) |
void | hblank_copy (uint8_t *dest, const uint8_t *sour, uint16_t size) |
Variables | |
uint8_t * | hblank_copy_destination |
HBlank stack copy routine
sour | Source address to copy from |
count | Number of 16 byte chunks to copy |
Performs the required STAT_REG, IE_REG, IF_REG manipulation when called and restores STAT_REG and IE_REG on exit (unlike hblank_cpy_vram()).
Before calling:
HBlank stack copy routine
sour | Source address to copy from |
count | Number of 16 byte chunks to copy |
Unlike hblank_copy_vram() does not perform the required STAT_REG, IE_REG, IF_REG manipulation, nor does it restore STAT_REG and IE_REG on exit.
Before calling:
HBlank stack copy routine (must be called with interrupts disabled!)
dest | destination pointer |
sour | source pointer |
size | number of bytes to copy (rounded to 16-byte chunks) |
Performs a fast vram safe copy of data during HBlank.
|
extern |
Destination address for hblank copy routine