write_byte_to_VRAM - Kyuchumimo/Micro-Joy-Home-Video-Computer GitHub Wiki

🧩🖼️ This is a low-level video-related function.

write_byte_to_VRAM(value)

Parameters

  • value: 8-bit unsigned data to write to TMS9918 VRAM sequentially.

Description

This function writes a single byte to VRAM memory. The TMS9918 automatically increments the memory address each time it writes to it.

This function complements set_write_adress.

This function works best in for loops to send sequential chunks of data.