 +
 +#endif /* _SDL_orbitalvideo_h */
 diff -rupN sdl/src/video/SDL_sysvideo.h sdl-redox/src/video/SDL_sysvideo.h
---- sdl/src/video/SDL_sysvideo.h	2012-01-18 22:30:06.000000000 -0800
-+++ sdl-redox/src/video/SDL_sysvideo.h	2016-07-27 18:17:26.683907466 -0700
+--- sdl/src/video/SDL_sysvideo.h	2012-01-18 23:30:06.000000000 -0700
++++ sdl-redox/src/video/SDL_sysvideo.h	2017-11-21 19:24:52.460053442 -0700
 @@ -410,6 +410,9 @@ extern VideoBootStrap AALIB_bootstrap;
  #if SDL_VIDEO_DRIVER_CACA
  extern VideoBootStrap CACA_bootstrap;

+
+/* end of SDL_orbitalevents.c ... */
diff -rupN sdl/src/video/orbital/SDL_orbitalevents_c.h sdl-redox/src/video/orbital/SDL_orbitalevents_c.h
--- sdl/src/video/orbital/SDL_orbitalevents_c.h	1969-12-31 16:00:00.000000000 -0800
+++ sdl-redox/src/video/orbital/SDL_orbitalevents_c.h	2016-07-27 18:17:26.683907466 -0700
@@ -0,0 +1,32 @@
+/*
+    SDL - Simple DirectMedia Layer

+{
+	if ( this->hidden->fd ) {
+		close( this->hidden->fd );
+                this->hidden->fd = 0;
+	}
+
+	if ( this->hidden->buffer ) {
+		redox_funmap( this->hidden->buffer );
+		this->hidden->buffer = NULL;
+	}
+
+	char path[4096];
+	snprintf(path, 4096, "orbital:a/-1/-1/%d/%d/SDL", width, height);
+	this->hidden->fd = open(path, O_RDONLY);
+	if ( this->hidden->fd <= 0 ) {
+		this->hidden->fd = 0;
+		SDL_SetError("Couldn't create window for requested mode");
+		return(NULL);
+	}
+	printf("%s at %d\n", path, this->hidden->fd);
+
+	this->hidden->buffer = redox_fmap(this->hidden->fd, 0, width * height * (bpp / 8));
+	if ( ! this->hidden->buffer ) {
+		close(this->hidden->fd);
+                this->hidden->fd = 0;
+		SDL_SetError("Couldn't map window for requested mode");
+		return(NULL);
+	}
+
