wswan:tutorial:hello_display
Differences
This shows you the differences between two versions of the page.
wswan:tutorial:hello_display [2024/02/17 13:53] – created asie | wswan:tutorial:hello_display [2025/07/21 17:41] (current) – update to libws v2 asie | ||
---|---|---|---|
Line 68: | Line 68: | ||
<code C> | <code C> | ||
- | ws_display_set_shade_lut(SHADE_LUT_DEFAULT); | + | ws_display_set_shade_lut(WS_DISPLAY_SHADE_LUT_DEFAULT); |
</ | </ | ||
Line 80: | Line 80: | ||
<code C> | <code C> | ||
- | outportw(IO_DISPLAY_CTRL, DISPLAY_SCR1_ENABLE); | + | outportw(WS_DISPLAY_CTRL_PORT, WS_DISPLAY_CTRL_SCR1_ENABLE); |
</ | </ | ||
Line 87: | Line 87: | ||
<code C> | <code C> | ||
while (1) { | while (1) { | ||
- | outportw(IO_SCR_PAL_0, inportw(IO_SCR_PAL_0) + 1); // (1)! | + | outportw(WS_SCR_PAL_0_PORT, inportw(WS_SCR_PAL_0_PORT) + 1); // (1)! |
- | | + | |
} | } | ||
</ | </ |
wswan/tutorial/hello_display.txt · Last modified: by asie