Created
January 20, 2011 22:23
-
-
Save kusma/788809 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <stdint.h> | |
#include <mint/falcon.h> | |
unsigned char buf[320 * 200]; | |
int main(int argc, char *argv[]) | |
{ | |
void *logbase = Logbase(), *physbase = Physbase(); | |
uint16_t old_mode = VsetMode(-1); | |
VsetScreen(logbase, buf, 3, BPS8 | COL40 | VGA | PAL | VERTFLAG); | |
VsetScreen(logbase, physbase, 3, old_mode); | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment