{"id":5539,"date":"2014-03-30T23:55:58","date_gmt":"2014-03-30T23:55:58","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2014\/03\/30\/problem-about-real-mode-collection-of-common-programming-errors\/"},"modified":"2014-03-30T23:55:58","modified_gmt":"2014-03-30T23:55:58","slug":"problem-about-real-mode-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2014\/03\/30\/problem-about-real-mode-collection-of-common-programming-errors\/","title":{"rendered":"problem about real-mode-Collection of common programming errors"},"content":{"rendered":"<ul>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/5820228fd7aefaba2a8bfb0503b9e2a8?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\ngct<br \/>\nassembly embedded 64bit driver real-mode<br \/>\nI&#8217;ve got an intel-based SBC that I&#8217;m using in an embedded application. It&#8217;s got a Digital IO (DIO) port attached to a Fintek Super I\/O chip. I want to be able to set the bits on the output lines of this port to control some other hardware. Fortunately, the manufacturer&#8217;s BIOS comes with a function to do just this:AX=6F09h bl=&lt;bits&gt; int 15hUnfortunately I&#8217;m running 64-bit linux in protected mode. Is there any way I can call that bios interrupt, either from a user-space program or as a k<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/815ee86e14bbedd4f353cad0680c7be5?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nMat<br \/>\nc assembly real-mode<br \/>\nIm stuck on compiling the tsr.asm code provided in the book rootkit arsenal. I installed open watcom on a XP maschine and the first asm listing was compiled well.When compiling, it throws the error: &#8220;multiple starting address found&#8221; (nothing found on google). Can anyone confirm that this code is compilable, and how?Im thankful for any suggestions.<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/d911bb880e3d9eb6f5dcd050e2f0315f?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nTVK<br \/>\ngcc real-mode<br \/>\nIntall libx86-dev into a debian.These files are checked in the right folder\/usr\/include\/libx86.h \/usr\/lib\/libx86.a \/usr\/lib\/libx86.so \/usr\/share\/doc\/libx86-dev\/changelog.Debian.gz \/usr\/share\/doc\/libx86-dev\/copyrightit is ok that gcc -o file.o -c file.cbut gcc -o file.c file is failed Message is:\/tmp\/ccgprz4C.o: In function `main&#8217;: bio.c:(.text+0x2b): undefined reference to `LRMI_init&#8217; bio.c:(.text+0x37): undefined reference to `LRMI_call&#8217; collect2: ld returned 1 exit status not sure what happens<\/li>\n<\/ul>\n<p>Web site is in building<\/p>\n","protected":false},"excerpt":{"rendered":"<p>gct assembly embedded 64bit driver real-mode I&#8217;ve got an intel-based SBC that I&#8217;m using in an embedded application. It&#8217;s got a Digital IO (DIO) port attached to a Fintek Super I\/O chip. I want to be able to set the bits on the output lines of this port to control some other hardware. Fortunately, the [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-5539","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/5539","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=5539"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/5539\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=5539"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=5539"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=5539"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}