diff --git a/th01/hardware/graph.h b/th01/hardware/graph.h index 4aad8bb5..c064fa0c 100644 --- a/th01/hardware/graph.h +++ b/th01/hardware/graph.h @@ -24,8 +24,9 @@ void z_graph_clear_col(uint4_t col); // Fills page #0 with hardware color 0. void z_graph_clear_0(void); -// Copies the content of the VRAM page that was previously set as the accessed -// one via a call to graph_accesspage_func() to the opposite one. +// Copies the content of the VRAM page that was set as the accessed one by the +// last call to graph_accesspage_func() to the opposite one. Returns with the +// accessed page unchanged. void graph_copy_accessed_page_to_other(void); /// ----- @@ -127,7 +128,9 @@ void graph_copy_byterect_from_accessed_page_to_other( // (⌊left/8⌋*8, top) // on the [src] page to // (⌊left/8⌋*8 + ⌊(right-left)/8⌋*8, bottom) -// on the [dst] page. Already assumes [src] to be the currently accessed page. +// on the [dst] page. Already assumes [src] to be the currently accessed page, +// and returns with the accessed page equal to the one set by the last call to +// graph_accesspage_func(). void graph_move_byterect_interpage( screen_x_t src_left, vram_y_t src_top,