home *** CD-ROM | disk | FTP | other *** search
-
- /* Prod 1.1 stay -- by Thomas Wenzel -- public domain */
- /* It's really nothing special at all, why should it? :-) */
-
- #include <graphics/displayinfo.h>
- #include <intuition/screens.h>
- #include <utility/tagitem.h>
- #include <proto/intuition.h>
- #include <proto/exec.h>
- #include <exec/memory.h>
- #include <exec/io.h>
- #include <dos/dos.h>
- #include <proto/dos.h>
-
-
- void main(void) {
-
- struct TagItem ScreenTags[] = {
- SA_Left, 0,
- SA_Top, 0,
- SA_Width, 640,
- SA_Height, 400,
- SA_Behind, FALSE,
- SA_DisplayID, VGAPRODUCT_KEY,
- TAG_DONE
- };
-
- struct Screen *MyScreen;
-
- MyScreen=OpenScreenTagList(NULL, ScreenTags);
-
- WBenchToFront();
-
- Wait(SIGBREAKF_CTRL_C);
-
- if (MyScreen) CloseScreen(MyScreen);
-
- }
-