{"id":2711,"date":"2019-11-13T08:17:38","date_gmt":"2019-11-13T07:17:38","guid":{"rendered":"http:\/\/entropie.org\/3615\/?p=2711"},"modified":"2021-03-02T01:59:31","modified_gmt":"2021-03-02T00:59:31","slug":"turbo-pascal-bgidriv-et-bgifont","status":"publish","type":"post","link":"https:\/\/entropie.org\/3615\/index.php\/2019\/11\/13\/turbo-pascal-bgidriv-et-bgifont\/","title":{"rendered":"Turbo Pascal : BGIDriv et BGIFont"},"content":{"rendered":"<p>Dans un de mes programmes \u00e9crit avec Turbo Pascal, plus de 20 ans apr\u00e8s, je ne savais plus d&rsquo;o\u00f9 sortaient les unit\u00e9s BGIDriv et BGIFont alors j&rsquo;ai tout repris \u00e0 z\u00e9ro :<\/p>\n<p>Cr\u00e9er un r\u00e9pertoire C:\\TEMP (<em>mkdir temp<\/em> dans DOSBox).<br \/>\nCopier dans ce r\u00e9pertoire les fichiers BGIDRIV.PAS, BGIFONT.PAS, BGILINK.PAS, BGILINK.MAK qu&rsquo;on trouve dans ~\/DOSBox\/TP7\/EXAMPLES\/BGI.<br \/>\nCopier dans ce m\u00eame r\u00e9pertoire tous les fichiers .CHR et .BGI qu&rsquo;on trouve dans ~\/DOSBox\/TP7\/BGI.<br \/>\nModifier BGILINK.MAK en rempla\u00e7ant <em>BGI = ..\\..\\bgi<\/em> par <em>BGI = \\TEMP<\/em><\/p>\n<p>Dans DosBox, taper :<br \/>\n<em>cd temp<br \/>\nmake -fbgilink.mak<\/em><\/p>\n<p>BGIDRIV.TPU et BGIFONT.TPU sont alors cr\u00e9\u00e9s.<br \/>\nLes copier dans ~\/DOSBox\/PERSO\/TP7\/BUILD\/.<\/p>\n<p>On peut ensuite supprimer C:\\TEMP.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/entropie.org\/3615\/wp-content\/uploads\/2019\/11\/bgilink.png\" alt=\"\" width=\"243\" height=\"85\" class=\"alignnone size-full wp-image-2729\" \/><\/p>\n<p>Seules GothicFont (GOTH.CHR), SmallFont (LITT.CHR), TriplexFont (TRIP.CHR) et SansSerifFont (SANS.CHR) sont int\u00e9gr\u00e9es dans l&rsquo;unit\u00e9 BGIFONT.TPU.<br \/>\nPour BoldFont (BOLD.CHR), EuroFont (EURO.CHR), ComplexFont (LCOM.CHR), SimplexFont (SIMP.CHR), ScriptFont (SCRI.CHR) et TriplexScriptFont (TSCR.CHR), il faut utiliser InstallUserFont de l&rsquo;unit\u00e9 Graph. J&rsquo;en parlerai plus tard&#8230;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Dans un de mes programmes \u00e9crit avec Turbo Pascal, plus de 20 ans apr\u00e8s, je ne savais plus d&rsquo;o\u00f9 sortaient les unit\u00e9s BGIDriv et BGIFont alors j&rsquo;ai tout repris \u00e0 z\u00e9ro : Cr\u00e9er un r\u00e9pertoire C:\\TEMP (mkdir temp dans DOSBox). Copier dans ce r\u00e9pertoire les fichiers BGIDRIV.PAS, BGIFONT.PAS, BGILINK.PAS, BGILINK.MAK qu&rsquo;on trouve dans ~\/DOSBox\/TP7\/EXAMPLES\/BGI. Copier &hellip; <a href=\"https:\/\/entropie.org\/3615\/index.php\/2019\/11\/13\/turbo-pascal-bgidriv-et-bgifont\/\" class=\"more-link\">Continuer la lecture<span class=\"screen-reader-text\"> de &laquo;&nbsp;Turbo Pascal : BGIDriv et BGIFont&nbsp;&raquo;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[35,36],"tags":[],"class_list":["post-2711","post","type-post","status-publish","format-standard","hentry","category-dos","category-pascal"],"_links":{"self":[{"href":"https:\/\/entropie.org\/3615\/index.php\/wp-json\/wp\/v2\/posts\/2711"}],"collection":[{"href":"https:\/\/entropie.org\/3615\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/entropie.org\/3615\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/entropie.org\/3615\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/entropie.org\/3615\/index.php\/wp-json\/wp\/v2\/comments?post=2711"}],"version-history":[{"count":27,"href":"https:\/\/entropie.org\/3615\/index.php\/wp-json\/wp\/v2\/posts\/2711\/revisions"}],"predecessor-version":[{"id":3754,"href":"https:\/\/entropie.org\/3615\/index.php\/wp-json\/wp\/v2\/posts\/2711\/revisions\/3754"}],"wp:attachment":[{"href":"https:\/\/entropie.org\/3615\/index.php\/wp-json\/wp\/v2\/media?parent=2711"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/entropie.org\/3615\/index.php\/wp-json\/wp\/v2\/categories?post=2711"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/entropie.org\/3615\/index.php\/wp-json\/wp\/v2\/tags?post=2711"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}