Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!uc!nic.MR.NET!shamash!com50!midgard!syntel!dal From: dal@syntel.UUCP (Dale Schumacher) Newsgroups: comp.os.minix Subject: Medium res fonts for Minix-ST Message-ID: <052589A0558@syntel.UUCP> Date: 25 Jun 89 07:28:00 GMT Reply-To: dal@syntel.UUCP (Dale Schumacher) Lines: 221 X-Member-Of: STdNET (ST Developer's Network) I recently posted a set of mods to include external font definitions when compiling the Minix-ST kernel. With it I posted a couple of high res (16 scanline) fonts and a modified hex-dump program capable of creating C array initializers. What follows is 4 medium res fonts (8 scanlines), which will also be used for high res in 50-line mode. You will need the hex-dump program from my previous posting to make use of these. Also, I goofed slightly with the diffs for including medium res fonts (since I hadn't tried it) so a new context diff is included here. PS. I'll be incommunicado from 6/26 to 6/30, but I'll answer mail as soon after that as possible. # This is a shell archive. # Remove everything above and including the cut line. # Then run the rest of the file through sh. #----cut here-----cut here-----cut here-----cut here----# #!/bin/sh # shar: Shell Archiver # Run the following text with /bin/sh to create: # newfont8.cdi # m8x6.uue # mclean_8.uue # mcour8x8.uue # mibm_8x8.uue # This archive created: 25-June-1989 2:25:58 ENOENV # By: ENOENV (ENOENV) cat << \SHAR_EOF > newfont8.cdi *** /usr/src/v1.1/kernel/stfnt.c Thu May 6 19:17:01 1989 --- /usr/src/working/kernel/stfnt.c Thu Jun 20 22:32:42 1989 *************** *** 18,24 **** */ #include "../h/const.h" ! PUBLIC char font16[] = { 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x18,0x3C,0x66,0xC3,0x81,0xE7,0x24,0x24,0x24,0x3C,0x00,0x00,0x00, 0x00,0x00,0x00,0x3C,0x24,0x24,0x24,0xE7,0x81,0xC3,0x66,0x3C,0x18,0x00,0x00,0x00, --- 18,28 ---- */ #include "../h/const.h" ! PUBLIC char font16[] = ! #ifdef NEWFONT16 ! #include "/etc/fonts/font16.c" ! #else ! { 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x18,0x3C,0x66,0xC3,0x81,0xE7,0x24,0x24,0x24,0x3C,0x00,0x00,0x00, 0x00,0x00,0x00,0x3C,0x24,0x24,0x24,0xE7,0x81,0xC3,0x66,0x3C,0x18,0x00,0x00,0x00, *************** *** 148,155 **** 0x00,0x00,0x00,0x00,0x00,0x62,0xF2,0xBE,0x9C,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x18,0x18,0x3C,0x24,0x66,0x42,0xC3,0xFF,0x00,0x00,0x00, }; ! ! PUBLIC char font8[] = { 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x18,0x3C,0x66,0xC3,0xE7,0x24,0x24,0x3C, 0x3C,0x24,0x24,0xE7,0xC3,0x66,0x3C,0x18, --- 152,164 ---- 0x00,0x00,0x00,0x00,0x00,0x62,0xF2,0xBE,0x9C,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x18,0x18,0x3C,0x24,0x66,0x42,0xC3,0xFF,0x00,0x00,0x00, }; ! #endif /* NEWFONT16 */ ! ! PUBLIC char font8[] = ! #ifdef NEWFONT8 ! #include "/etc/fonts/font8.c" ! #else ! { 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x18,0x3C,0x66,0xC3,0xE7,0x24,0x24,0x3C, 0x3C,0x24,0x24,0xE7,0xC3,0x66,0x3C,0x18, *************** *** 279,282 **** 0x00,0x60,0xF2,0x9E,0x0C,0x00,0x00,0x00, 0x00,0x18,0x18,0x34,0x34,0x62,0x7E,0x00, }; ! #endif ATARI_ST --- 288,292 ---- 0x00,0x60,0xF2,0x9E,0x0C,0x00,0x00,0x00, 0x00,0x18,0x18,0x34,0x34,0x62,0x7E,0x00, }; ! #endif /* NEWFONT8 */ ! #endif ATARI_ST SHAR_EOF cat << \SHAR_EOF > m8x6.uue table !"#$%&'()*+,-./0123456789:;<=>? @ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_ begin 644 m8x6.fnt M 0$! 0%_ z M y M x M w M v M &!@8 !@ u M V-@ #9_-G\V /F@^"SX !F;!@V9@ #Q@.VX[ !@P t M ,&!@8# P&!@8, -AQ_'#8 8&'X8& 8, s M !^ & 8,&#!@ ?F9F9GX 8>!@8& 'X&?F!^r M ?@9^!GX !F9GX&!@ 'Y@?@9^ ?F!^9GX !^!@8&!@ 'YFq M?F9^ ?F9^!GX & 8 & 8, !QQP' < ?@!^ p M ' &!@8'@ & P& P& '@8&!AX <-@ !^j M & P /&9N-@ &!\9F9\ #Y@8#X &/F9F/@ \i M?F \ #AA^&!@ /F8^!CP &!\9F9F & 8&!@ & 8&9CP h M &!L>&QF &!@8&!@ =G]K8P !\9F9F #QF9CP ?&9\g M8& ^9CX&!@ 'QF8& /G .? !A^&!@8 &9F9CX f M9F8\& !C:W\V &8\/&8 9F8^!G@ !^'#A^ #AAX& X e B 8& 8& ' 8'AAP ,%H, 8/#1B?@ #A^d c end SHAR_EOF cat << \SHAR_EOF > mclean_8.uue table !"#$%&'()*+,-./0123456789:;<=>? @ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_ begin 644 mclean_8.fnt M_]L "!P_\(%")W%!04'!P4%!1W(A0(" QZ07H," (&"]!+Q@( #Y=:W=Kz M73X ?W]_?GU[=P!W:UT^76MW &!08%-D @$&4%!P5U(" @) 0$!'= 8$!%!0y M4"%_#X[ 0$!#Q4$0L-!@ 'Y@? 8&9CP '#!@?&9F/ !^9@8,#!@8 #QFq M9CQF9CP /&9F/@8,. &!@ !@8 8& &!@P <<,V!@o M8#,> 'QF8V-C9GP ?V!@?&!@?P!_8&!\8&!@ !XS8&!G,Q\ 8V-C?V-C8P!^n M&!@8&!A^ !X&!@9F9CP 8V9L>&QF8P!@8&!@8&!^ &-W?VMC8V, 8W-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