vga_text_update virtual_data_breakpoint
API Reference Manual  /  5 Model-to-Simulator Interfaces  / 

vga_update

Description
The vga_update interface facilitates the graphics console to request screen redraw from its attached video device, which typically happens on every frame update event. This interface must be implemented by video devices that are attached to the graphics console. The implementation should call functions in the gfx_con interface, e.g. a sequence of put_block() calls followed by redraw(), which is implemented by the graphics console.

The refresh method requests the video device to redraw dirty parts of the screen. The refresh_all method requests the video device to redraw the whole screen.

SIM_INTERFACE(vga_update) {
        void (*refresh)(conf_object_t *NOTNULL obj);
        void (*refresh_all)(conf_object_t *NOTNULL obj);
};
#define VGA_UPDATE_INTERFACE "vga_update"

Execution Context
Cell Context for all methods

vga_text_update virtual_data_breakpoint