{"id":207,"date":"2006-02-21T17:38:51","date_gmt":"2006-02-22T01:38:51","guid":{"rendered":"http:\/\/multimedia.cx\/eggs\/?p=207"},"modified":"2008-09-16T14:23:25","modified_gmt":"2008-09-16T21:23:25","slug":"sdl-corruption","status":"publish","type":"post","link":"https:\/\/multimedia.cx\/eggs\/sdl-corruption\/","title":{"rendered":"SDL Corruption"},"content":{"rendered":"<p>Pursuant to Alex&#8217;s challenge to write a Unix player for <a href=\"http:\/\/multimedia.cx\/eggs\/8088-corruption-data-format\/\">Trixter&#8217;s <em>8088 Corruption<\/em> data file<\/a>, combined with an interest in re-learning the <a href=\"http:\/\/www.libsdl.org\/index.php\">Simple DirectMedia Layer (SDL)<\/a> API, I wrote a basic program that takes said data file, a font file, and the <a href=\"http:\/\/en.wikipedia.org\/wiki\/Color_Graphics_Adapter#The_CGA_color_palette\">hardwired colors in the CGA card<\/a> and renders the video using SDL. I don&#8217;t think the font vectors I scavenged are 100% the same as the ones in Trixter&#8217;s IBM model 5150 PC:<\/p>\n<p><center><br \/>\n<img decoding=\"async\" src=\"\/eggs\/images\/corruption-eiffel.png\" alt=\"Eiffel Tower Breakdancer\" \/><br \/>\n<\/center><\/p>\n<p>In particular, I&#8217;m not sure about all of those box characters. I think the box is supposed to be one flat color. Anyway, here is another shot, only from the &#8220;Tron light cycles&#8221; section of video:<\/p>\n<p><center><br \/>\n<img decoding=\"async\" src=\"\/eggs\/images\/corruption-tron.png\" alt=\"Tron Light Cycles\" \/><br \/>\n<\/center><\/p>\n<p><em>Followed up in <a href=\"http:\/\/multimedia.cx\/eggs\/sdl-corruption-corrected\/\">SDL Corruption Corrected<\/a>.<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Pursuant to Alex&#8217;s challenge to write a Unix player for Trixter&#8217;s 8088 Corruption data file, combined with an interest in re-learning the Simple DirectMedia Layer (SDL) API, I wrote a basic program that takes said data file, a font file, and the hardwired colors in the CGA card and renders the video using SDL. I [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[23,4],"tags":[],"class_list":["post-207","post","type-post","status-publish","format-standard","hentry","category-outlandish-brainstorms","category-reverse-engineering"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/multimedia.cx\/eggs\/wp-json\/wp\/v2\/posts\/207","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/multimedia.cx\/eggs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/multimedia.cx\/eggs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/multimedia.cx\/eggs\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/multimedia.cx\/eggs\/wp-json\/wp\/v2\/comments?post=207"}],"version-history":[{"count":0,"href":"https:\/\/multimedia.cx\/eggs\/wp-json\/wp\/v2\/posts\/207\/revisions"}],"wp:attachment":[{"href":"https:\/\/multimedia.cx\/eggs\/wp-json\/wp\/v2\/media?parent=207"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/multimedia.cx\/eggs\/wp-json\/wp\/v2\/categories?post=207"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/multimedia.cx\/eggs\/wp-json\/wp\/v2\/tags?post=207"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}