program Tutorial3_Putpixel;
var
@use "screen"
@use "compression/compression"

	
@export "resources/images/image1.flf" "resources/images/image1.bin" 256
	// Image by Optic / Planet Jazz, Proxima, Desire
	image_data1 : incbin("resources/images/image1.bin") compressed;
	
begin
	Screen::ResetStack();
	Screen::Init();
	Screen::SetMode5(); // Starts at $5800
	Screen::SetMode5Palette(#Screen::colorsBlue);	

	// start filling stuff!
	Compression::Decompress(#image_data1, #mode5_vram);
	Loop();
end.
