Monorepo for Aesthetic.Computer
aesthetic.computer
1#include <gb/gb.h>
2#include <stdint.h>
3#include <gb/drawing.h>
4
5void main(void) {
6 DISPLAY_ON;
7 mode(get_mode() | M_NO_SCROLL | M_NO_INTERP);
8
9 // Fill screen with BLACK (should be dark)
10 fill_rect(0, 0, 160, 144, BLACK);
11
12 // Draw white line
13 color(WHITE, BLACK, SOLID);
14 line(50, 50, 100, 100);
15
16 while(1) {
17 vsync();
18 }
19}