{"payload":{"allShortcutsEnabled":false,"fileTree":{"":{"items":[{"name":"VisualC","path":"VisualC","contentType":"directory"},{"name":"VisualCE","path":"VisualCE","contentType":"directory"},{"name":"Xcode","path":"Xcode","contentType":"directory"},{"name":"acinclude","path":"acinclude","contentType":"directory"},{"name":"build-scripts","path":"build-scripts","contentType":"directory"},{"name":"docs","path":"docs","contentType":"directory"},{"name":"include","path":"include","contentType":"directory"},{"name":"src","path":"src","contentType":"directory"},{"name":"test","path":"test","contentType":"directory"},{"name":".hgignore","path":".hgignore","contentType":"file"},{"name":"BUGS","path":"BUGS","contentType":"file"},{"name":"Borland.html","path":"Borland.html","contentType":"file"},{"name":"Borland.zip","path":"Borland.zip","contentType":"file"},{"name":"COPYING","path":"COPYING","contentType":"file"},{"name":"CREDITS","path":"CREDITS","contentType":"file"},{"name":"CWprojects.sea.bin","path":"CWprojects.sea.bin","contentType":"file"},{"name":"INSTALL","path":"INSTALL","contentType":"file"},{"name":"MPWmake.sea.bin","path":"MPWmake.sea.bin","contentType":"file"},{"name":"Makefile.dc","path":"Makefile.dc","contentType":"file"},{"name":"Makefile.ds","path":"Makefile.ds","contentType":"file"},{"name":"Makefile.in","path":"Makefile.in","contentType":"file"},{"name":"Makefile.minimal","path":"Makefile.minimal","contentType":"file"},{"name":"README","path":"README","contentType":"file"},{"name":"README-SDL.txt","path":"README-SDL.txt","contentType":"file"},{"name":"README.AmigaOS","path":"README.AmigaOS","contentType":"file"},{"name":"README.BeOS","path":"README.BeOS","contentType":"file"},{"name":"README.DC","path":"README.DC","contentType":"file"},{"name":"README.HG","path":"README.HG","contentType":"file"},{"name":"README.MacOS","path":"README.MacOS","contentType":"file"},{"name":"README.MacOSX","path":"README.MacOSX","contentType":"file"},{"name":"README.MiNT","path":"README.MiNT","contentType":"file"},{"name":"README.NDS","path":"README.NDS","contentType":"file"},{"name":"README.NanoX","path":"README.NanoX","contentType":"file"},{"name":"README.OS2","path":"README.OS2","contentType":"file"},{"name":"README.PS3","path":"README.PS3","contentType":"file"},{"name":"README.PicoGUI","path":"README.PicoGUI","contentType":"file"},{"name":"README.Porting","path":"README.Porting","contentType":"file"},{"name":"README.QNX","path":"README.QNX","contentType":"file"},{"name":"README.Qtopia","path":"README.Qtopia","contentType":"file"},{"name":"README.RISCOS","path":"README.RISCOS","contentType":"file"},{"name":"README.Symbian","path":"README.Symbian","contentType":"file"},{"name":"README.Watcom","path":"README.Watcom","contentType":"file"},{"name":"README.WinCE","path":"README.WinCE","contentType":"file"},{"name":"README.wscons","path":"README.wscons","contentType":"file"},{"name":"SDL.qpg.in","path":"SDL.qpg.in","contentType":"file"},{"name":"SDL.spec.in","path":"SDL.spec.in","contentType":"file"},{"name":"TODO","path":"TODO","contentType":"file"},{"name":"VisualC.html","path":"VisualC.html","contentType":"file"},{"name":"Watcom-OS2.zip","path":"Watcom-OS2.zip","contentType":"file"},{"name":"Watcom-Win32.zip","path":"Watcom-Win32.zip","contentType":"file"},{"name":"WhatsNew","path":"WhatsNew","contentType":"file"},{"name":"autogen.sh","path":"autogen.sh","contentType":"file"},{"name":"configure","path":"configure","contentType":"file"},{"name":"configure.in","path":"configure.in","contentType":"file"},{"name":"docs.html","path":"docs.html","contentType":"file"},{"name":"sdl-config.in","path":"sdl-config.in","contentType":"file"},{"name":"sdl.m4","path":"sdl.m4","contentType":"file"},{"name":"sdl.pc.in","path":"sdl.pc.in","contentType":"file"},{"name":"symbian.zip","path":"symbian.zip","contentType":"file"}],"totalCount":59}},"fileTreeProcessingTime":2.732474,"foldersToFetch":[],"repo":{"id":330016327,"defaultBranch":"main","name":"SDL-1.2","ownerLogin":"libsdl-org","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2021-01-15T20:34:18.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/77683370?v=4","public":true,"private":false,"isOrgOwned":true},"symbolsExpanded":false,"treeExpanded":true,"refInfo":{"name":"7c875d9607fd40a902f948f3bf7b288523ae9b93","listCacheKey":"v0:1610743371.0","canEdit":false,"refType":"tree","currentOid":"7c875d9607fd40a902f948f3bf7b288523ae9b93"},"path":"README.NanoX","currentUser":null,"blob":{"rawLines":[" ================================================================="," Patch version 0.9 of SDL(Simple DirectMedia Layer) for Nano-X API"," ================================================================="," "," Authors: Hsieh-Fu Tsai, clare@setabox.com"," Greg Haerr, greg@censoft.com",""," This patch is against SDL version 1.2.4."," It enhances previous patch 0.8 by providing direct framebuffer"," access as well as dynamic hardware pixel type support, not"," requiring a compile-time option setting for different framebuffer"," modes."," Tested against Microwindows version 0.89pre9.",""," Older Microwindows versions"," ==========================="," If running on a version older than Microwindows 0.89pre9,"," the following items might need to be patched in Microwindows.",""," 1. Patch src/nanox/client.c::GrClose()"," It fixes the client side GrClose(). In the original version, "," GrOpen() can only be called once. When the GrOpen() is called at "," the second time, the program will terminate. In order to prevent"," this situation, we need to insert \"nxSocket = -1\" after "," \"close(nxSocket)\" in GrClose(). If you do not have this problem,"," you may skip this step. ",""," 2. Patch src/nanox/clientfb.c to return absolute x,y coordinates"," when using GrGetWindowFBInfo(). Copy the version 0.89pre9"," of src/nanox/clientfb.c to your system, or configure"," using --disable-nanox-direct-fb.",""," ============="," Quick Install "," =============",""," 1. ./configure --disable-video-x11 --disable-video-fbcon \\ "," --enable-video-nanox \\ "," --with-nanox-pixel-type=[rgb/0888/888/565/555/332/pal] "," 2. make clean "," 3. make "," 4. make install (as root) ",""," ============"," Nitty-gritty "," ============",""," --enable-nanox-direct-fb Use direct framebuffer access"," --enable-nanox-debug Show debug messages "," --enable-nanox-share-memory Use shared-memory to speed up ",""," When running multi-threaded applications using SDL, such"," as SMPEG, set THREADSAFE=Y in Microwindows' config file,"," to enable GrXXX() system call critical section support.",""," ============================================="," Some programs can be used to test this patch. "," =============================================",""," 1. http://www.cs.berkeley.edu/~weimer/atris (a tetris-like game) "," 2. http://www.libsdl.org/projects/newvox/"," 3. http://www.libsdl.org/projects/xflame/"," 4. http://www.libsdl.org/projects/optimum/ "," 5. http://www.gnugeneration.com/software/loop/ "," 6: http://www.lokigames.com/development/smpeg.php3 (SMPEG version 0.4.4)",""," ========="," Todo List "," =========",""," 1. Create hardware surface"," 2. Create YUVOverlay on hardware"," 3. Use OpenGL"," 4. Gamma correction"," 5. Hide/Change mouse pointer"," 6. Better window movement control with direct fb access"," 7. Palette handling in 8bpp could be improved",""," ====================="," Supporting Institutes"," ====================="," "," Many thanks to go to Setabox Co., Ltd. and CML (Communication and"," Multimedia Laboratory, http://www.cmlab.csie.ntu.edu.tw/) in the "," Department of Computer Science and Information Engineering of "," National Taiwan University for supporting this porting project."," "," Century Embedded Technologies (http://embedded.censoft.com)"," for this patch.",""," ==================="," Contact Information"," ===================",""," Welcome to give me any suggestion and to report bugs."," My e-mail address : clare@setabox.com or niky@cmlab.csie.ntu.edu.tw"," or greg@censoft.com"],"stylingDirectives":[[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[]],"colorizedLines":null,"csv":null,"csvError":null,"dependabotInfo":{"showConfigurationBanner":false,"configFilePath":null,"networkDependabotPath":"/libsdl-org/SDL-1.2/network/updates","dismissConfigurationNoticePath":"/settings/dismiss-notice/dependabot_configuration_notice","configurationNoticeDismissed":null},"displayName":"README.NanoX","displayUrl":"https://github.com/libsdl-org/SDL-1.2/blame/7c875d9607fd40a902f948f3bf7b288523ae9b93/README.NanoX?raw=true","headerInfo":{"blobSize":"3.39 KB","deleteTooltip":"You must be signed in to make or propose changes","editTooltip":"You must be signed in to make or propose changes","ghDesktopPath":null,"isGitLfs":false,"onBranch":false,"shortPath":"8418ff3","siteNavLoginPath":"/login?return_to=https%3A%2F%2Fgithub.com%2Flibsdl-org%2FSDL-1.2%2Fblame%2F7c875d9607fd40a902f948f3bf7b288523ae9b93%2FREADME.NanoX","isCSV":false,"isRichtext":false,"toc":null,"lineInfo":{"truncatedLoc":"97","truncatedSloc":"78"},"mode":"file"},"image":false,"isCodeownersFile":null,"isPlain":false,"isValidLegacyIssueTemplate":false,"issueTemplate":null,"discussionTemplate":null,"language":null,"languageID":null,"large":false,"planSupportInfo":{"repoIsFork":null,"repoOwnedByCurrentUser":null,"requestFullPath":"/libsdl-org/SDL-1.2/blame/7c875d9607fd40a902f948f3bf7b288523ae9b93/README.NanoX","showFreeOrgGatedFeatureMessage":null,"showPlanSupportBanner":null,"upgradeDataAttributes":null,"upgradePath":null},"publishBannersInfo":{"dismissActionNoticePath":"/settings/dismiss-notice/publish_action_from_dockerfile","releasePath":"/libsdl-org/SDL-1.2/releases/new?marketplace=true","showPublishActionBanner":false},"rawBlobUrl":"https://github.com/libsdl-org/SDL-1.2/raw/7c875d9607fd40a902f948f3bf7b288523ae9b93/README.NanoX","renderImageOrRaw":false,"richText":null,"renderedFileInfo":null,"shortPath":null,"symbolsEnabled":true,"tabSize":8,"topBannersInfo":{"overridingGlobalFundingFile":false,"globalPreferredFundingPath":null,"showInvalidCitationWarning":false,"citationHelpUrl":"https://docs.github.com/github/creating-cloning-and-archiving-repositories/creating-a-repository-on-github/about-citation-files","actionsOnboardingTip":null},"truncated":false,"viewable":true,"workflowRedirectUrl":null,"symbols":{"timed_out":false,"not_analyzed":true,"symbols":[]}},"copilotInfo":null,"copilotAccessAllowed":false,"blame":{"ranges":{"1":{"start":1,"oldStart":1,"end":1,"oldEnd":1,"commitOid":"2b4b30d15cd602ecc6e380d99771149bd289c1bb","reblamePath":null},"2":{"start":2,"oldStart":2,"end":2,"oldEnd":2,"commitOid":"7fd55070fab7610e9c923f7caeaeb5db497d8ba4","reblamePath":"README.NanoX"},"3":{"start":3,"oldStart":3,"end":4,"oldEnd":4,"commitOid":"2b4b30d15cd602ecc6e380d99771149bd289c1bb","reblamePath":null},"5":{"start":5,"oldStart":5,"end":6,"oldEnd":6,"commitOid":"7fd55070fab7610e9c923f7caeaeb5db497d8ba4","reblamePath":"README.NanoX"},"7":{"start":7,"oldStart":6,"end":7,"oldEnd":6,"commitOid":"2b4b30d15cd602ecc6e380d99771149bd289c1bb","reblamePath":null},"8":{"start":8,"oldStart":8,"end":13,"oldEnd":13,"commitOid":"7fd55070fab7610e9c923f7caeaeb5db497d8ba4","reblamePath":"README.NanoX"},"14":{"start":14,"oldStart":8,"end":14,"oldEnd":8,"commitOid":"2b4b30d15cd602ecc6e380d99771149bd289c1bb","reblamePath":null},"15":{"start":15,"oldStart":15,"end":18,"oldEnd":18,"commitOid":"7fd55070fab7610e9c923f7caeaeb5db497d8ba4","reblamePath":"README.NanoX"},"19":{"start":19,"oldStart":11,"end":19,"oldEnd":11,"commitOid":"2b4b30d15cd602ecc6e380d99771149bd289c1bb","reblamePath":null},"20":{"start":20,"oldStart":20,"end":20,"oldEnd":20,"commitOid":"7fd55070fab7610e9c923f7caeaeb5db497d8ba4","reblamePath":"README.NanoX"},"21":{"start":21,"oldStart":12,"end":27,"oldEnd":18,"commitOid":"2b4b30d15cd602ecc6e380d99771149bd289c1bb","reblamePath":null},"28":{"start":28,"oldStart":28,"end":32,"oldEnd":32,"commitOid":"7fd55070fab7610e9c923f7caeaeb5db497d8ba4","reblamePath":"README.NanoX"},"33":{"start":33,"oldStart":19,"end":47,"oldEnd":33,"commitOid":"2b4b30d15cd602ecc6e380d99771149bd289c1bb","reblamePath":null},"48":{"start":48,"oldStart":48,"end":48,"oldEnd":48,"commitOid":"7fd55070fab7610e9c923f7caeaeb5db497d8ba4","reblamePath":"README.NanoX"},"49":{"start":49,"oldStart":43,"end":51,"oldEnd":45,"commitOid":"2b4b30d15cd602ecc6e380d99771149bd289c1bb","reblamePath":null},"52":{"start":52,"oldStart":52,"end":55,"oldEnd":55,"commitOid":"7fd55070fab7610e9c923f7caeaeb5db497d8ba4","reblamePath":"README.NanoX"},"56":{"start":56,"oldStart":46,"end":64,"oldEnd":54,"commitOid":"2b4b30d15cd602ecc6e380d99771149bd289c1bb","reblamePath":null},"65":{"start":65,"oldStart":65,"end":66,"oldEnd":66,"commitOid":"7fd55070fab7610e9c923f7caeaeb5db497d8ba4","reblamePath":"README.NanoX"},"67":{"start":67,"oldStart":56,"end":75,"oldEnd":64,"commitOid":"2b4b30d15cd602ecc6e380d99771149bd289c1bb","reblamePath":null},"76":{"start":76,"oldStart":76,"end":77,"oldEnd":77,"commitOid":"7fd55070fab7610e9c923f7caeaeb5db497d8ba4","reblamePath":"README.NanoX"},"78":{"start":78,"oldStart":65,"end":87,"oldEnd":74,"commitOid":"2b4b30d15cd602ecc6e380d99771149bd289c1bb","reblamePath":null},"88":{"start":88,"oldStart":88,"end":90,"oldEnd":90,"commitOid":"7fd55070fab7610e9c923f7caeaeb5db497d8ba4","reblamePath":"README.NanoX"},"91":{"start":91,"oldStart":75,"end":96,"oldEnd":80,"commitOid":"2b4b30d15cd602ecc6e380d99771149bd289c1bb","reblamePath":null},"97":{"start":97,"oldStart":97,"end":97,"oldEnd":97,"commitOid":"7fd55070fab7610e9c923f7caeaeb5db497d8ba4","reblamePath":"README.NanoX"}},"commits":{"2b4b30d15cd602ecc6e380d99771149bd289c1bb":{"oid":"2b4b30d15cd602ecc6e380d99771149bd289c1bb","message":"Added initial support for Nano-X (thanks Hsieh-Fu!)","shortMessageHtmlLink":"Added initial support for Nano-X (thanks Hsieh-Fu!)","authorAvatarUrl":null,"committerName":"Sam Lantinga","committerEmail":"slouken@lokigames.com","committedDate":"2001-05-11T01:13:35.000Z","firstParentOid":"0b973f446d160b1b29811be5e40460ca4d04bab2"},"7fd55070fab7610e9c923f7caeaeb5db497d8ba4":{"oid":"7fd55070fab7610e9c923f7caeaeb5db497d8ba4","message":"Date: Sat, 24 Aug 2002 22:20:01 -0600\nFrom: \"Greg Haerr\"\nSubject: Announce: sdl-nanox-patch\n\nSam,\n I've created an update patch for enhanced Nano-X support\nwith SDL. I've created the patch against SDL-1.2.4. I'd appreciate\nit if you would apply it to the next SDL version.\n\nEnhancements include:\n\n1. Small bugfixes to compile without errors\n2. Support for direct client-side framebuffer access with configure option\n3. Add dynamic pixel type support for hardware framebuffer; eliminating the\nneed for compile-time configuration option.\n\nI've updated the README.NanoX file with the details.\n\nThis version has been tested with Microwindows v0.89pre9 CVS\nand SMPEG 0.4.4. I've added multi-threading support to\nMicrowindows to support the multi-threaded SMPEG, and\nall works fine. To turn on thread safety in Microwindows,\nuse THREADSAFE=Y in the Microwindows config file.\n\nThanks!\n\nRegards,\n\nGreg\nFounder, The Microwindows Project\nhttp://microwindows.org","shortMessageHtmlLink":"Date: Sat, 24 Aug 2002 22:20:01 -0600","authorAvatarUrl":"https://avatars.githubusercontent.com/u/2100061?s=80&v=4","committerName":"Sam Lantinga","committerEmail":"slouken@libsdl.org","committedDate":"2002-08-25T06:21:49.000Z","firstParentOid":"8eb8d06168bec751cf727ef6b06a3ac61e7a8cdd"}},"ignoreRevs":{"path":".git-blame-ignore-revs","present":false,"timedOut":null}},"csrf_tokens":{"/libsdl-org/SDL-1.2/branches":{"post":"cBciJMBVZKaXPIPDUmsFgoeMuqIemkusr9106_F1cpHgO7ALbW_IXQTAt_QqrAzdPuYw9Hs_NNpkQlyPkLrDgw"},"/repos/preferences":{"post":"tQjCcjmKcb-7H0_B3KSLFMDH3fmrzRi8kQg_4XG6oAKgSUbqopTnKgnkJkh3wTfFKK1hW4W59SCItefwxcvmyw"}}},"title":"Blaming SDL-1.2/README.NanoX at 7c875d9607fd40a902f948f3bf7b288523ae9b93 ยท libsdl-org/SDL-1.2"}