Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.
|
Forum Index : Microcontroller and PC projects : Fonts for Mites
Page 1 of 2 | |||||
Author | Message | ||||
Martin H. Guru Joined: 04/06/2022 Location: GermanyPosts: 1113 |
Here are the Amiga Style Fonts that came with GrafX2 in the "(Amiga)DPaint style paint program for Windows" Topic. I converted the pngs to Black an White and let mmbasic4w do the work. you can also Paint your own fonts in a 32x8 Grid and convert it like this. (remember the Mites can not load display Chars lower 32 in a Font) 'png to Font Converter .. Martin H. 'works on MM_Basic 4 Windows 'fonts on the PNG are on a 32*8 grid each 8x8 Pixel in Black/White 'so chr$(32) starts at position 0,8 , chr$(64) at 0,16 etc. '-------------------- '*** User part *** 'File name, number of chars, first char and size 'chars lower 32 couldn't be converted fname$="font_Seen" chrs=224:Start =32:W=8:H=8 '-------------------------------------------------------- cls load png fname$+".png" open fname$+".bas" for output as #1 ?#1,"' ";fname$ ?#1,"' Font type : Full (";str$(chrs);" Characters)" ?#1,"' Font size : ";str$(w);"x";str$(H);" pixels" mem=(W/8)*H*chrs ?#1,"' Memory usage : ";STR$(mem) ?#1,"DefineFont #9" ?#1,hex$(chrs,2);hex$(start,2);hex$(h,2);hex$(w,2) for y=h to 56 step H for x=0 to 248 step w hx$="" for y1=y to y+h-1:v=0:b=128 for x1=x to x+w-1 if pixel(x1,y1)=RGB(White) then Pixel x1,y1,rgb(green):inc v,b b=b>>1 next x1 hx$=hex$(v,2)+hx$ next y1 ?#1 ,right$(hx$,8);" ";left$(hx$,8) next x next y ?#1,"End DefineFont" close #1 Fonts and pngs in the Zip File Fontconvert.zip Edited 2023-09-07 20:43 by Martin H. 'no comment |
||||
ice2642 Regular Member Joined: 27/05/2023 Location: BrazilPosts: 82 |
Soon I have time I will test, thank you. Best regards, MMBasic 5.0707 on PicoMite VGA |
||||
Martin H. Guru Joined: 04/06/2022 Location: GermanyPosts: 1113 |
A LodeRunner Style Font: LoderunnerFnt.zip 'no comment |
||||
Martin H. Guru Joined: 04/06/2022 Location: GermanyPosts: 1113 |
A BBC Micro Style Font ' font_BBC ' Font type : Full (96 Characters) ' Font size : 8x8 pixels ' Memory usage : 768 DefineFont #9 60200808 00000000 00000000 18181818 00180018 006C6C6C 00000000 6CFE6C6C 006C6CFE 7CD07E10 0010FC16 3058AC46 0084CA64 76386C38 0076CCDC 00301818 00000000 30303018 00183030 18181830 00301818 3C7E1800 0000187E 7E181800 00001818 00000000 30181800 7C000000 00000000 00000000 00303000 180C0602 00C06030 7E6E663C 003C6676 18183818 007E1818 0C06663C 007E3018 1C06663C 003C6606 6C3C1C0C 000C0C7E 067C607E 003C6606 7C60301C 003C6666 180C067E 00303030 3C66663C 003C6666 3E66663C 00380C06 18180000 00181800 18180000 30181800 6030180C 000C1830 007C0000 0000007C 0C183060 00603018 180C663C 00180018 AA9A423C 003C409C 7E66663C 00666666 7C66667C 007C6666 6060663C 003C6660 66666C78 00786C66 7C60607E 007E6060 7C60607E 00606060 6E60663C 003C6666 7E666666 00666666 1818187E 007E1818 0C0C0C3E 00386C0C 70786C66 00666C78 60606060 007E6060 6B7F7763 0063636B 7E766666 0066666E 6666663C 003C6666 7C66667C 00606060 6666663C 00366C6A 7C66667C 0066666C 3C60663C 003C6606 1818187E 00181818 66666666 003C6666 66666666 00183C66 6B6B6363 0063777F 183C6666 0066663C 3C666666 00181818 180C067E 007E6030 30303038 00383030 3060C080 00060C18 18181838 00381818 00663C18 00000000 00000000 00FE0000 00183030 00000000 063C0000 003E663E 667C6060 007C6666 663C0000 003C6660 663E0606 003E6666 663C0000 003C607E 7C30301C 00303030 663E0000 3C063E66 667C6060 00666666 18380018 003C1818 18380018 70181818 6C666060 00666C78 18181838 003C1818 7F360000 0063636B 667C0000 00666666 663C0000 003C6666 667C0000 60607C66 663E0000 07063E66 766C0000 00606060 603E0000 007C063C 307C3030 001C3030 66660000 003E6666 66660000 00183C66 6B630000 00367F6B 3C660000 00663C18 66660000 3C063E66 0C7E0000 007E3018 60303018 00183030 18181818 00181818 0C181830 00301818 CCD66600 00000000 C66C3810 00FE8282 End DefineFont 'no comment |
||||
Amnesie Guru Joined: 30/06/2020 Location: GermanyPosts: 396 |
Hello Martin! This is really good work and especially the Amiga Font is interesting, since it has Umlaute (ÄäüÜ etc. for english people here). But can they (Umlaute) be used by this font? It looks like this font is way bigger in (image) size. Sorry for this newbe question. I am more a hardware guy and still learning. I am also using a custom made font, which I painted via Photoshop (added Umlaute) and placed them on different keys, then routed them to the correct physical keys on the keyboard. A bit of a workaround but in the end it is quite cool to have our common German Umlaute I needed them for a pseudo text editor I am working on. My font: I am just wondering whether all of your characters in the Amiga font are available... Greetings Daniel Edited 2023-09-09 22:14 by Amnesie |
||||
Martin H. Guru Joined: 04/06/2022 Location: GermanyPosts: 1113 |
Hi Daniel, The Amigafonts uses the whole range from Chr 32 to 255 (224 Chars), the LodeRunner- and the BBC Font just 32 to 127 (96 Chars). The Fonts I used till now, are all 8x8 Pixel The Font on your image uses 16x16, before I can create a Font file I have to find out, how they have to be encoded . But for now, to keep you workling, I changed the BBC Font to "Umlauts" hope that helps ' font_BBC_uml ' Font type : Full (96 Characters) ' Font size : 8x8 pixels ' Memory usage : 768 DefineFont #9 60200808 00000000 00000000 18181818 00180018 006C6C6C 00000000 6CFE6C6C 006C6CFE D8C8C8F0 C0DCC4C4 3058AC46 0084CA64 76386C38 0076CCDC 00301818 00000000 30303018 00183030 18181830 00301818 3C7E1800 0000187E 7E181800 00001818 00000000 30181800 7C000000 00000000 00000000 00303000 180C0602 00C06030 7E6E663C 003C6676 18183818 007E1818 0C06663C 007E3018 1C06663C 003C6606 6C3C1C0C 000C0C7E 067C607E 003C6606 7C60301C 003C6666 180C067E 00303030 3C66663C 003C6666 3E66663C 00380C06 18180000 00181800 18180000 30181800 6030180C 000C1830 007C0000 0000007C 0C183060 00603018 180C663C 00180018 AA9A423C 003C409C 7E66663C 00666666 7C66667C 007C6666 6060663C 003C6660 66666C78 00786C66 7C60607E 007E6060 7C60607E 00606060 6E60663C 003C6666 7E666666 00666666 1818187E 007E1818 0C0C0C3E 00386C0C 70786C66 00666C78 60606060 007E6060 6B7F7763 0063636B 7E766666 0066666E 6666663C 003C6666 7C66667C 00606060 6666663C 00366C6A 7C66667C 0066666C 3C60663C 003C6606 1818187E 00181818 66666666 003C6666 66666666 00183C66 6B6B6363 0063777F 183C6666 0066663C 3C666666 00181818 180C067E 007E6030 66241842 0066667E 66660024 003C6666 66241842 00182466 00663C18 00000000 00000000 00FE0000 00183030 00000000 063C0000 003E663E 667C6060 007C6666 663C0000 003C6660 663E0606 003E6666 663C0000 003C607E 7C30301C 00303030 663E0000 3C063E66 667C6060 00666666 18380018 003C1818 18380018 70181818 6C666060 00666C78 18181838 003C1818 7F360000 0063636B 667C0000 00666666 663C0000 003C6666 667C0000 60607C66 663E0000 07063E66 766C0000 00606060 603E0000 007C063C 307C3030 001C3030 66660000 003E6666 66660000 00183C66 6B630000 00367F6B 3C660000 00663C18 66660000 3C063E66 0C7E0000 007E3018 063C0024 003E663E 66660024 003E6666 663C0024 003C6666 CCD66600 00000000 C66C3810 00FE8282 End DefineFont Cheers Mart!n 'no comment |
||||
Amnesie Guru Joined: 30/06/2020 Location: GermanyPosts: 396 |
Hi Martin! Thank you a lot, this is really great! My long term project is to program a simple text editor, and if I want to write in German, "AE" looks dumb and is in my opinion not a good alternative for "Ä". I know a lot of programmers don't care about "ae" or "ue" but for me it's just awful Thank you! Greetings Daniel |
||||
ice2642 Regular Member Joined: 27/05/2023 Location: BrazilPosts: 82 |
First test with the fonts. Tested on picomite vga using mmbasic v5.0707 [code] Sub mm.startup Drive "b:" End Sub Option escape MODE 1 ' font_fun ' Font type : Full (224 Characters) ' Font size : 8x8 pixels ' Memory usage : 1792 DefineFont #12 E0200808 00000000 00000000 10101818 00180010 006C6C6C 00000000 6CFE6C6C 006C6CFE 7CD07E10 0010FC16 3058AC46 0084CA64 76386C38 0076CCDC 00301818 00000000 30303018 00183030 18181830 00301818 7C385400 00005438 7E181800 00001818 00000000 30181800 7C000000 00000000 00000000 00303000 180C0602 00C06030 D6CE663C 007CC6E6 18183818 003C1818 1C06C67C 00BCE270 0C1C463C 007C8606 CC4C6060 000C0CFE 1CF0C0FE 007CC606 FC60603C 007CC6C6 180C06FE 00303018 7CCEC67C 007CC6E6 3E66663C 007C8606 18180000 00181800 18180000 30181800 6030180C 000C1830 007C0000 0000007C 0C183060 00603018 1C06867C 00300030 AA9A423C 003C409C 64341C0C 00C6C67E 4C584CF8 00FC0646 C0C6663C 003C66C0 4646CCF8 00F86C66 F860603E 007CC0C0 78E0C0FE 00606060 CE40663C 007CCCCC FEC6C2C2 00C2C2E2 18183C00 00783030 4C18187E 0078CCCC F0D8CCC6 00C6CCF8 60606060 007C6060 DAFEE6C2 00C2C2C2 F4E6C606 00CCCCDC C6E67C00 007CC6C6 4646C6FC 006060FC D6C6C67C 00067CDE F8CCCC78 00C6CED8 1C70C27C 007C86C6 101010FE 00303030 C6C6C666 007CC6C6 66C6C6C6 0010386C D4968606 00446CFC 3838EEC6 00C6CE78 3078CEC6 00C0C060 30180C7E 007EC060 30303038 00383030 3060C080 00060C18 18181838 00381818 00663C18 00000000 00000000 00FE0000 00183030 00000000 0C780000 007EC67C E4D8C0C0 00FCC6C6 663C0000 007CC6C0 CE760606 007EC6C6 663C0000 007CC0FE 7C18180E 00303030 C67C0000 7C0676CE E6DCC0C0 00C6C6C6 183C0018 00783030 0C1C000C 78CC0C0C D8CCC060 00CED8F0 30101818 001C3030 D6EC0000 00C6C6D6 66DC0000 00666666 663C0000 007CC6C6 C6FC0000 C0DCE6C6 C67E0000 0676CEC6 E6DC0000 00C0C0C6 603E0000 007C863C 307E1818 001C3030 C6660000 007EC6C6 CCC60000 00103868 C6660000 006CFED6 ECC60000 00C66E38 C6C60000 7C0676CE 8C7E0000 00FC6238 60303018 00183030 18181818 00181818 0C181830 00301818 CCD66600 00000000 C66C3810 00FE8282 FEC0603E 003E60C0 28FEAAEE 00EEAAFE 00000000 00603030 3C18180E 00F01818 00000000 00D86C6C 00000000 00540000 107C1010 00101010 107C1010 0010107C 00CC7830 00000000 2050A844 0014AA54 C07E386C 00FC067C C0603000 003060C0 9C90907E 007E9090 02010000 003E0A05 9454B47C 001E14F4 C6C6FE00 0000FEC6 C6C6FE00 0000FEC6 00183030 00000000 00301818 00000000 00366C6C 00000000 00D86C6C 00000000 7C380000 00000038 7C000000 00000000 FE000000 00000000 587C3400 00000000 54545CF4 00000000 603C1028 00780C38 060C1800 00180C06 B66C0000 006EB0BE C6C6FE00 0000FEC6 C6C6FE00 0000FEC6 3C660066 00181818 00000000 00000000 18180018 00181818 603C1818 18183C60 7830301E 00FE6030 6C6CBA00 000000BA 7C386CC6 00107C10 00181818 00181818 48B0E07C 00F80C34 00006C6C 00000000 A2BA4438 003844BA 241C0418 0000001E 6C6C2412 00001224 FE000000 00000202 7C000000 00000000 B2AA7438 003844AA 0000FE00 00000000 18242418 00000000 187E1818 007E0018 806010E0 000000F0 10E010E0 000000E0 00603030 00000000 7E363636 0080C062 CACACA7E 000E0A7A 30300000 00000000 20000000 00300830 20A06020 00000020 6C6C6C38 00000038 36362448 00004824 30988C86 028ECA68 30988C86 0E84C26C 38CC26C2 02CE6AF8 70180018 007CC6C0 C67C3860 00C6FEC6 C67C380C 00C6FEC6 C67C2810 00C6FEC6 C67C7ABC 00C6FEC6 341C006C 00C67E64 343C2838 00C67E64 FE585836 00DED8D8 C0C0663C 70187CC6 C0FE1830 00FEC0FC C07E3018 007CC0F8 C0FE6C38 00FEC0FC C0FE006C 00FEC0FC 38001830 00703030 38003018 00703030 38006C38 00703030 183800CC 00703030 F666667C 007C6666 E6005834 00CEDEF6 C67C1830 007CC6C6 C67C3018 007CC6C6 C67C6C38 007CC6C6 C67CBC6E 007CC6C6 C67C006C 007CC6C6 183C6600 0000663C D6CE6C3A 00B86CE6 C6661830 007CC6C6 C6463018 007CC6C6 C6006C38 007CC6C6 C666006C 007CC6C6 66665608 0018183C 24382070 00702038 6C26361C 80FCC666 0C781830 007EC67C 0C783018 007EC67C 0C786C38 007EC67C 067CDC76 007EC67E 0C78006C 007EC67C 0C782838 007EC67C 12EC0000 007E907E C67C0000 70187EC0 663C1830 007CC0FE 663C3018 007CC0FE 663C6C38 007CC0FE 663C006C 007CC0FE 38001830 003C1818 38003018 003C1818 38006C38 003C1818 1838006C 00783030 7C2C1874 0078CCCC FC005834 00C6C6C6 7C001830 007CC6C6 7C003018 007CC6C6 7C006C38 007CC6C6 7C005834 007CC6C6 663C006C 007CC6C6 7E001800 00001800 D6CE3C02 00807CE6 66001830 007CC6C6 C6C63018 007EC6C6 66006C38 007CC6C6 C666006C 007CC6C6 C6C63018 7C067EC6 4C7840C0 00E04078 C6C6006C 7C0676CE End DefineFont ' font_Fairlight ' Font type : Full (224 Characters) ' Font size : 8x8 pixels ' Memory usage : 1792 DefineFont #11 E0200808 00000000 00000000 18181818 00180018 006C6C6C 00000000 6CFE6C6C 006C6CFE 7CD07E10 0010FC16 3058AC46 0084CA64 76386C38 0076CCDC 00301818 00000000 30303018 00183030 18181830 00301818 7C385400 00005438 7E181800 00001818 00000000 30181800 7C000000 00000000 00000000 00303000 180C0602 00C06030 D6CE663C 007CC6E6 18183818 00181818 3C060C78 00FCC060 3C060C78 00FC0606 D8D8C0C0 001818FE F8C0C0FC 00FC060C F8C06038 007CC6CC 180C06FE 00C06030 7CC6663C 007CC6C6 7EC6663C 007C0606 18180000 00181800 18180000 30181800 6030180C 000C1830 007C0000 0000007C 0C183060 00603018 1C0606FC 00300030 AA9A423C 003C409C C666361C 00C6C6FE FCC6CCF8 00FCC6C6 C060361C 007CC6C0 C6CCD8F0 00FCC6C6 F8C0603E 00FEC0C0 F8C0603E 00C0C0C0 CE60301E 007EC6C6 FEC66636 00C6C6C6 18181808 00181818 0C0C0C0C 00F0D8CC FCD8CC46 00C6C6C6 C0C0C040 00FEC0C0 D6FE7E36 00C6C6C6 DEF6E606 00C6C6CE C666361C 007CC6C6 C6C6CCF8 00C0C0FC C666361C 0076CCDE C6C6CCF8 00C6C6FC 7CC0603C 00FC0606 1818187E 00181818 C6C6C646 001C3666 C6C6C6C6 0010386C D6C6C6C6 00D8FCFE 386CC606 00C6C66C 3C666626 00181818 30180C7E 00FEC060 30303038 00383030 3060C080 00060C18 18181838 00381818 00663C18 00000000 00000000 00FE0000 00183030 00000000 FE060C18 003E66C6 FEC0C0C0 00F8CCC6 663C0000 007CC0C0 663E0606 007EC6C6 C6663C00 007CC0FE 7860301C 00606060 66361E00 7C067EC6 F8C0C0C0 00C6C6CC 18000018 00181818 18180018 C0603018 D8CCC0C0 00C6C6FE 30303030 00183030 FCE80000 00C6C6D6 CCF80000 00C6C6C6 CC780000 007CC6C6 CCF80000 C0C0FCC6 663E0000 06067EC6 663C0000 00C0C0C0 C0603000 00FC067C 307C3030 000C1830 C6C60000 003E66C6 C6C60000 0010386C C6C60000 002E7ED6 6CC60000 00C66C38 C6C60000 7C063E66 18FC0000 00FE6030 60303018 00183030 18181818 00181818 0C181830 00301818 CCD66600 00000000 C66C3810 00FE8282 FEC0603E 003E60C0 28FEAAEE 00EEAAFE 00000000 00603030 3C18180E 00F01818 00000000 00D86C6C 00000000 00540000 107C1010 00101010 107C1010 0010107C 00CC7830 00000000 2050A844 0014AA54 C07E386C 00FC067C C0603000 003060C0 9C90907E 007E9090 02010000 003E0A05 9454B47C 001E14F4 C6C6FE00 0000FEC6 C6C6FE00 0000FEC6 00183030 00000000 00301818 00000000 00366C6C 00000000 00D86C6C 00000000 7C380000 00000038 7C000000 00000000 FE000000 00000000 587C3400 00000000 54545CF4 00000000 603C1028 00780C38 060C1800 00180C06 B66C0000 006EB0BE C6C6FE00 0000FEC6 C6C6FE00 0000FEC6 3C660066 00181818 00000000 00000000 18180018 00181818 603C1818 18183C60 7830301E 00FE6030 6C6CBA00 000000BA 7C386CC6 00107C10 00181818 00181818 48B0E07C 00F80C34 00006C6C 00000000 A2BA4438 003844BA 241C0418 0000001E 6C6C2412 00001224 FE000000 00000202 7C000000 00000000 B2AA7438 003844AA 0000FE00 00000000 18242418 00000000 187E1818 007E0018 806010E0 000000F0 10E010E0 000000E0 00603030 00000000 7E363636 0080C062 CACACA7E 000E0A7A 30300000 00000000 20000000 00300830 20A06020 00000020 6C6C6C38 00000038 36362448 00004824 30988C86 028ECA68 30988C86 0E84C26C 38CC26C2 02CE6AF8 70180018 007CC6C0 C67C3860 00C6FEC6 C67C380C 00C6FEC6 C67C2810 00C6FEC6 C67C7ABC 00C6FEC6 C67C006C 00C6FEC6 C67C2838 00C6FEC6 FC90503E 009E9090 C0C0C67C 70187CC6 C0FE1830 00FEC0FC C0FE3018 00FEC0FC C0FE6C38 00FEC0FC C0FE006C 00FEC0FC 18001830 00181818 30003018 00303030 30006C38 00303030 303000CC 00303030 F666667C 007C6666 E6005834 00CEDEF6 C67C1830 007CC6C6 C67C3018 007CC6C6 C67C6C38 007CC6C6 C67CBC6E 007CC6C6 C67C006C 007CC6C6 183C6600 0000663C D6CE6C3A 00B86CE6 C6C61830 007CC6C6 C6C63018 007CC6C6 C6006C38 007CC6C6 C6C6006C 007CC6C6 66665608 0018183C 24382070 00702038 CCC6C67C 80DCC6C6 067C1830 007EC67E 067C3018 007EC67E 067C6C38 007EC67E 067CDC76 007EC67E 067C006C 007EC67E 067C2838 007EC67E 12EC0000 007E907E C07E0000 70187EC0 C67C1830 007CC0FE C67C3018 007CC0FE C67C6C38 007CC0FE C67C006C 007CC0FE 38001830 003C1818 38003018 003C1818 38006C38 003C1818 1838006C 003C1818 7C2C1874 0078CCCC FC005834 00C6C6C6 7C001830 007CC6C6 7C003018 007CC6C6 7C006C38 007CC6C6 7C005834 007CC6C6 C67C006C 007CC6C6 7E001800 00001800 D6CE3C02 00807CE6 C6C61830 007EC6C6 C6C63018 007EC6C6 C6006C38 007EC6C6 C6006C00 007EC6C6 C6C63018 7C067EC6 4C7840C0 00E04078 C6C6006C 7C067EC6 End DefineFont ' font_DPaint ' Font type : Full (224 Characters) ' Font size : 8x8 pixels ' Memory usage : 1792 DefineFont #10 E0200808 00000000 00000000 183C3C18 00180018 00006C6C 00000000 6CFE6C6C 006C6CFE 3C603E18 00187C06 18CCC600 00C66630 76686C38 0076CCDC 00301818 00000000 18180C06 00060C18 18183060 00603018 FF3C6600 0000663C 7E181800 00001818 00000000 30181800 7C000000 00000000 00000000 00303000 180C0603 00C06030 7E6E663C 003C6676 18183818 003C1818 1C06663C 007E6030 1C06663C 003C6606 CC6C3C1C 000C0CFE 067C607E 003C6606 7C60301C 003C6666 0C06667E 00181818 3C66663C 003C6666 3E66663C 00380C06 18180000 00181800 18180000 30181800 6030180C 000C1830 007C0000 0000007C 0C183060 00603018 0C06663C 00180018 CECEC67E 007CC0CE 6C383810 00C6C67C FCC6C6FC 00FCC6C6 C0C0663C 003C66C0 C6C6CCF8 00F8CCC6 F8C0C0FE 00FEC0C0 F8C0C0FE 00C0C0C0 CEC0663C 003E66C6 FEC6C6C6 00C6C6C6 1818183C 003C1818 06060606 007CC6C6 F8CCC6C6 00C6C6CC C0C0C0C0 00FEC0C0 FEEEC682 00C6C6D6 DEF6E6C6 00C6C6CE C6C66C38 00386CC6 FCC6C6FC 00C0C0C0 C6C66C38 063C6CC6 F8CCCCF8 00C6CCD8 7CC0C67C 007CC606 303030FC 00303030 C6C6C6C6 007CC6C6 6666C3C3 00183C3C D6C6C6C6 00C6EEFE 183C66C3 00C3663C 3C66C3C3 00181818 180C06FE 00FE6030 0C0C0C06 00060C0C 3060C080 00060C18 30303060 00603030 00663C18 00000000 00000000 00FE0000 00183030 00000000 067C0000 007EC67E C6FCC0C0 007CC6C6 C67C0000 007CC6C0 C67E0606 007EC6C6 C67C0000 007CC0FE F860663C 00606060 673D0000 7CC63C66 C6FCC0C0 00C6C6C6 183C0018 007E1818 0C1E000C 78CC0C0C CCC6C0C0 00C6CCF8 18181818 000C1818 EECC0000 00C6C6D6 C6FC0000 00C6C6C6 C67C0000 007CC6C6 C6FC0000 C0C0FCC6 C67E0000 06067EC6 E6DC0000 00C0C0C6 C07E0000 00FC067C 183C1818 000C1818 C6C60000 007EC6C6 C6C60000 00386CC6 D6C60000 006CFED6 6CC60000 00C66C38 C6C60000 F0386CC6 1CFE0000 00FE7038 180C0C06 00060C0C 18181818 00181818 18303060 00603030 CCD66600 00000000 C66C3810 00FE8282 FEC0603E 003E60C0 28FEAAEE 00EEAAFE 00000000 00603030 3C18180E 00F01818 00000000 00D86C6C 00000000 00540000 107C1010 00101010 107C1000 0010107C 00CC7830 00000000 2050A844 0014AA54 C07E386C 00FC067C C0603000 003060C0 9C90907E 007E9090 02010000 003E0A05 9454B47C 001E14F4 C6C6FE00 0000FEC6 C6C6FE00 0000FEC6 00183030 00000000 00301818 00000000 00366C6C 00000000 00D86C6C 00000000 7C380000 00000038 7C000000 00000000 FE000000 00000000 587C3400 00000000 54545CF4 00000000 603C1028 00780C38 060C1800 00180C06 B66C0000 006EB0BE C6C6FE00 0000FEC6 C6C6FE00 0000FEC6 3C660066 00181818 00000000 00000000 18180018 00181818 603C1818 18183C60 7830301E 00FE6030 6C6CBA00 000000BA 7C386CC6 00107C10 00181818 00181818 48B0E07C 00F80C34 00006C6C 00000000 A2BA4438 003844BA 241C0418 0000001E 6C6C2412 00001224 FE000000 00000202 7C000000 00000000 B2AA7438 003844AA 0000FE00 00000000 18242418 00000000 187E1818 007E0018 806010E0 000000F0 10E010E0 000000E0 00603030 00000000 7E363636 0080C062 CACACA7E 000E0A7A 30300000 00000000 20000000 00300830 20A06020 00000020 6C6C6C38 00000038 36362448 00004824 30988C86 028ECA68 30988C86 0E84C26C 38CC26C2 02CE6AF8 70180018 007CC6C0 C67C3860 00C6FEC6 C67C380C 00C6FEC6 C67C2810 00C6FEC6 C67C7ABC 00C6FEC6 C67C006C 00C6FEC6 C67C2838 00C6FEC6 FC90503E 009E9090 C0C0C67C 70187CC6 C0FE1830 00FEC0FC C0FE3018 00FEC0FC C0FE6C38 00FEC0FC C0FE006C 00FEC0FC 18001830 00181818 30003018 00303030 30006C38 00303030 303000CC 00303030 F666667C 007C6666 E6005834 00CEDEF6 C67C1830 007CC6C6 C67C3018 007CC6C6 C67C6C38 007CC6C6 C67CBC6E 007CC6C6 C67C006C 007CC6C6 183C6600 0000663C D6CE6C3A 00B86CE6 C6C61830 007CC6C6 C6C63018 007CC6C6 C6006C38 007CC6C6 C6C6006C 007CC6C6 66665608 0018183C 24382070 00702038 CCC6C67C 80DCC6C6 067C1830 007EC67E 067C3018 007EC67E 067C6C38 007EC67E 067CDC76 007EC67E 067C006C 007EC67E 067C2838 007EC67E 12EC0000 007E907E C07E0000 70187EC0 C67C1830 007CC0FE C67C3018 007CC0FE C67C6C38 007CC0FE C67C006C 007CC0FE 38001830 003C1818 38003018 003C1818 38006C38 003C1818 1838006C 003C1818 7C2C1874 0078CCCC FC005834 00C6C6C6 7C001830 007CC6C6 7C003018 007CC6C6 7C006C38 007CC6C6 7C005834 007CC6C6 C67C006C 007CC6C6 7E001800 00001800 D6CE3C02 00807CE6 C6C61830 007EC6C6 C6C63018 007EC6C6 C6006C38 007EC6C6 C6006C00 007EC6C6 C6C63018 7C067EC6 4C7840C0 00E04078 C6C6006C 7C067EC6 End DefineFont ' font_Classic ' Font type : Full (224 Characters) ' Font size : 8x8 pixels ' Memory usage : 1792 DefineFont #9 E0200808 00000000 00000000 18181818 00180018 006C6C6C 00000000 6CFE6C6C 006C6CFE 7CD07E10 0010FC16 3058AC46 0084CA64 76386C38 0076CCDC 00301818 00000000 30303018 00183030 18181830 00301818 7C385400 00005438 7E181800 00001818 00000000 30181800 7C000000 00000000 00000000 00303000 180C0602 00C06030 D6CEC67C 007CC6E6 18183818 003C1818 3C0606FC 00FEC060 3C0606FC 00FC0606 D8D8C0C0 001818FE FCC0C0FE 00FC0606 FCC0C07C 007CC6C6 180C06FE 00303018 7CC6C67C 007CC6C6 7EC6C67C 007C0606 18180000 00181800 18180000 30181800 6030180C 000C1830 007C0000 0000007C 0C183060 00603018 1C0606FC 00300030 AA9A423C 003C409C C6C6C67C 00C6C6FE FCC6C6FC 00FCC6C6 C0C0C67C 007CC6C0 C6C6C6FC 00FCC6C6 F8C0C0FE 00FEC0C0 F8C0C0FE 00C0C0C0 CEC0C67C 007EC6C6 FEC6C6C6 00C6C6C6 1818183C 003C1818 0C0C0C1E 0078CCCC F0D8CCC6 00C6CCD8 C0C0C0C0 00FEC0C0 D6FEEEC6 00C6C6C6 DEF6E6C6 00C6C6CE C6C6C67C 007CC6C6 C6C6C6FC 00C0C0FC C6C6C67C 0076CCDE C6C6C6FC 00C6C6FC 7CC0C07E 00FC0606 1818187E 00181818 C6C6C6C6 007CC6C6 C6C6C6C6 0010386C D6C6C6C6 00C6EEFE 386CC6C6 00C6C66C 3C666666 00181818 30180CFE 00FEC060 30303038 00383030 3060C080 00060C18 18181838 00381818 00663C18 00000000 00000000 00FE0000 00183030 00000000 067C0000 007EC67E C6FCC0C0 00FCC6C6 C67C0000 007CC6C0 C67E0606 007EC6C6 C67C0000 007CC0FE 7C30301C 00303030 C67E0000 7C067EC6 C6FCC0C0 00C6C6C6 18380018 003C1818 18380018 F0181818 CCC6C0C0 00C6CCF8 30303030 00183030 D6EC0000 00C6C6D6 C6FC0000 00C6C6C6 C67C0000 007CC6C6 C6FC0000 C0C0FCC6 C67E0000 06067EC6 E6DC0000 00C0C0C6 C07E0000 00FC067C 307C3030 001C3030 C6C60000 007EC6C6 C6C60000 0010386C C6C60000 006ED6D6 6CC60000 00C66C38 C6C60000 7C067EC6 0CFE0000 00FE6038 60303018 00183030 18181818 00181818 0C181830 00301818 CCD66600 00000000 C66C3810 00FE8282 FEC0603E 003E60C0 28FEAAEE 00EEAAFE 00000000 00603030 3C18180E 00F01818 00000000 00D86C6C 00000000 00540000 107C1010 00101010 107C1010 0010107C 00CC7830 00000000 2050A844 0014AA54 C07E386C 00FC067C C0603000 003060C0 9C90907E 007E9090 02010000 003E0A05 9454B47C 001E14F4 C6C6FE00 0000FEC6 C6C6FE00 0000FEC6 00183030 00000000 00301818 00000000 00366C6C 00000000 00D86C6C 00000000 7C380000 00000038 7C000000 00000000 FE000000 00000000 587C3400 00000000 54545CF4 00000000 603C1028 00780C38 060C1800 00180C06 B66C0000 006EB0BE C6C6FE00 0000FEC6 C6C6FE00 0000FEC6 3C660066 00181818 00000000 00000000 18180018 00181818 603C1818 18183C60 7830301E 00FE6030 6C6CBA00 000000BA 7C386CC6 00107C10 00181818 00181818 48B0E07C 00F80C34 00006C6C 00000000 A2BA4438 003844BA 241C0418 0000001E 6C6C2412 00001224 FE000000 00000202 7C000000 00000000 B2AA7438 003844AA 0000FE00 00000000 18242418 00000000 187E1818 007E0018 806010E0 000000F0 10E010E0 000000E0 00603030 00000000 7E363636 0080C062 CACACA7E 000E0A7A 30300000 00000000 20000000 00300830 20A06020 00000020 6C6C6C38 00000038 36362448 00004824 30988C86 028ECA68 30988C86 0E84C26C 38CC26C2 02CE6AF8 70180018 007CC6C0 C67C3860 00C6FEC6 C67C380C 00C6FEC6 C67C2810 00C6FEC6 C67C7ABC 00C6FEC6 C67C006C 00C6FEC6 C67C2838 00C6FEC6 FC90503E 009E9090 C0C0C67C 70187CC6 C0FE1830 00FEC0FC C0FE3018 00FEC0FC C0FE6C38 00FEC0FC C0FE006C 00FEC0FC 18001830 00181818 30003018 00303030 30006C38 00303030 303000CC 00303030 F666667C 007C6666 E6005834 00CEDEF6 C67C1830 007CC6C6 C67C3018 007CC6C6 C67C6C38 007CC6C6 C67CBC6E 007CC6C6 C67C006C 007CC6C6 183C6600 0000663C D6CE6C3A 00B86CE6 C6C61830 007CC6C6 C6C63018 007CC6C6 C6006C38 007CC6C6 C6C6006C 007CC6C6 66665608 0018183C 24382070 00702038 CCC6C67C 80DCC6C6 067C1830 007EC67E 067C3018 007EC67E 067C6C38 007EC67E 067CDC76 007EC67E 067C006C 007EC67E 067C2838 007EC67E 12EC0000 007E907E C07E0000 70187EC0 C67C1830 007CC0FE C67C3018 007CC0FE C67C6C38 007CC0FE C67C006C 007CC0FE 38001830 003C1818 38003018 003C1818 38006C38 003C1818 1838006C 003C1818 7C2C1874 0078CCCC FC005834 00C6C6C6 7C001830 007CC6C6 7C003018 007CC6C6 7C006C38 007CC6C6 7C005834 007CC6C6 C67C006C 007CC6C6 7E001800 00001800 D6CE3C02 00807CE6 C6C61830 007EC6C6 C6C63018 007EC6C6 C6006C38 007EC6C6 C6006C00 007EC6C6 C6C63018 7C067EC6 4C7840C0 00E04078 C6C6006C 7C067EC6 End DefineFont Font 9 Rem Programa gerador de tabela ASCII e barra de cores Rem Author: Marcio Esper Rem Version 1.02 Rem Release 2023/09/10 Rem fontes adicionais H. Martin Rem variaveis e definicoes Dim r = RGB(myrtle) Dim g = RGB(green) Dim y = RGB(yellow) Dim j = RGB(cobalt) Dim f = RGB(cerulean) Dim h = RGB(cyan) Dim k = RGB(midgreen) Dim l = RGB(lilac) Dim m = RGB(red) Dim n = RGB(rust) Dim o = RGB(white) Dim p = RGB(fuchsia) Dim q = RGB(brown) Dim s = RGB(magenta) Dim t = RGB(blue) Dim ax = 5 Dim ab = 1 Dim ay=565 Dim ayc=1 For fnt = 9 To 12 CLS Print " +---------------------------------+" Print " | Tabela ASCII e cores. |" Print " | Code by Marcio Esper |" Print " | Font by H. Martin |" Print " +---------------------------------+" Font fnt Rem montagem do gride For u = 33 To 255 If u Mod 8 = 1 Then Print Colour (q):Print Chr$(u)" ";:Colour (h) If u < 100 Then Print " "; Print u;:Colour (k):Print " | "; Next Print :Print Colour (r):Print 1 " r" Chr$(219); Colour (g):Print 2 " g" Chr$(219); Colour (y):Print 3 " y" Chr$(219); Colour (j):Print 4 " j" Chr$(219); Colour (f):Print 5 "f" Chr$(219); Colour (h):Print 6 "h" Chr$(219); Colour (k):Print 7 "k" Chr$(219); Colour (l):Print 8 "l" Chr$(219); Colour (m):Print 9 "m" Chr$(219); Colour (n):Print 10 "n" Chr$(219); Colour (o):Print 11 "o" Chr$(219); Colour (p):Print 12 "p" Chr$(219); Colour (q):Print 13 "q" Chr$(219); Colour (s):Print 14 "s" Chr$(219); Colour (t):Print 15 "t" Chr$(219); Rem Animacao For zz = 1 To 500 Font 1 ab=ab+ax ay=ay+ayc Print @(61,ab,1)Chr$(197) Pause 2 Print @(61,ab,1)Chr$(206) Pause 2 Print @(81,ab,0)Chr$(154) Colour (t) Pause 2 Print @(81,ab,0)Chr$(155) Print @(120,ab,0)Chr$(154) Pause 1 Print @(120,ab,0)Chr$(155) Colour (m) Pause 3 Print @(ay,ab,0)Chr$(154) Pause 2 Print @(ay,ab,0)Chr$(155) Pause 10 Print @(81,ab)" " Print @(61,ab)" " Print @(120,ab)" " Print @(ay,ab)" " If ab >408 Then ax = -1*Int(Rnd(1)*2) If ab < 1 Then ax= 1*Int(Rnd(1)*10) If ay >629 Then ayc = -1 If ay <565 Then ayc = 1 Next zz Next fnt End [/code] MMBasic 5.0707 on PicoMite VGA |
||||
Martin H. Guru Joined: 04/06/2022 Location: GermanyPosts: 1113 |
Hey Daniel .. I just try reverse engineering... I found a 16x16 Pixel Font in Max E MAN (Pacman clone for Maximite) and I tried to somehow display the font as binary numbers. Now that I've got that down, "all I have to do" is reverse the nesting to create a font from the image of a character set. font 9 cls: for f=32 to 96:?Chr$(f);:next font 1:pause 2000 for f=1 to 496 read a$: n2$=bin$(Val("&H"+Right$(a$,4)),16) ?Right$(n2$,8);left$(n2$,8) n2$=bin$(Val("&H"+Left$(a$,4)),16) ?Right$(n2$,8);left$(n2$,8) pause 50 next Data "00000000","00000000","00000000","00000000","00000000","00000000","00000000","00000000" Data "1F000E00","3F003F00","7C007E00","F0007800","C000E000","00000000","00030003","00000000" Data "3C0F1806","0C033C0F","300C1806","00000000","00000000","00000000","00000000","00000000" Data "30063006","FC3F3006","600CFC3F","600C600C","F87FF87F","C018C018","0000C018","00000000" Data "30030000","FF3FFE1F","30333033","FF1FFE3F","33033303","FE1FFF3F","30033003","00000000" Data "060E0600","1C110E1B","700E381B","C001E000","36079C03","361C220E","00181C18","00000000" Data "F803F001","38061807","E0037007","E60EC007","3C187E1C","FC1C7818","8707CE0F","00000000" Data "E001C000","6000E001","8001C000","00000000","00000000","00000000","00000000","00000000" Data "70003000","E0006000","C001C000","C001C001","C000C001","6000E000","30007000","00000000" Data "00070006","80030003","C0018001","C001C001","8001C001","00038003","00060007","00000000" Data "C000C000","DC0ECC0C","F003F807","FF3FFF3F","F807F003","CC0CDC0E","C000C000","00000000" Data "00000000","E000E000","E000E000","FE0FFE0F","E000FE0F","E000E000","0000E000","00000000" Data "00000000","00000000","00000000","00000000","00000000","78003000","18007800","60003000" Data "00000000","00000000","00000000","FE1FFE1F","0000FE1F","00000000","00000000","00000000" Data "0C000C00","38001C00","E0007000","8003C001","000E0007","0038001C","00300030","00000000" Data "F807E001","1E1C3C0E","07380E1C","07380738","0E1C0738","1C0F0E1E","E001F807","00000000" Data "F001F000","F003F003","70007000","70007000","70007000","70007000","FF07FF07","00000000" Data "FE1FF807","07380E3C","0F000700","FC037E00","001FE00F","00380038","FF3FFF3F","00000000" Data "FF3FFF3F","1C200E30","70003800","1E00FC00","07000F00","1F3E0738","F807FE1F","00000000" Data "FC01FC00","9C07DC03","1C1E1C0F","1C381C3C","FF3F1C38","1C00FF3F","1C001C00","00000000" Data "FF3FFF3F","00380038","FE3FFC3F","07000F00","07000700","1E3E0F38","F807FC1F","00000000" Data "FE0FF803","07180F1C","00380038","FE3FFC3B","07380F3E","0F1C0738","F807FE1F","00000000" Data "FF3FFF3F","0F380738","7C003E00","E001F000","C003C001","80038003","80038003","00000000" Data "FE1FFC0F","03300738","FE1F0738","0E1CFC0F","03300738","07380330","FC0FFE1F","00000000" Data "FE1FFC0F","03300738","03380330","FF0FFF1F","03000300","07380330","FC0FFE1F","00000000" Data "00000000","70007000","00007000","00000000","70007000","00007000","00000000","00000000" Data "00000000","E000E000","0000E000","00000000","E001C000","6000E001","8001C000","00000000" Data "00000000","00000000","03000300","03000300","03000300","03000300","03000300","00000000" Data "00000000","00000000","3FFE3FFC","03030303","03FC03FE","03000300","03000300","00000000" Data "00000000","00000000","FFF1FFF0","00030003","FE00FC01","03000300","FC03FE03","00000000" Data "FC0FF003","0E1C1E1E","1E000E1C","F0007C00","C001E001","00000000","C001C001","00000000" Data "F81FE007","0E701C38","E3C7C7E3","03CC73CE","73CE03CC","C7E3E3C7","1C380E70","F00FF81F" Data "F807E001","1E1EFC0F","0F3C0E1C","07380738","FF3FFF3F","07380738","07380738","00000000" Data "FE3FF83F","07380F38","0E380738","FC3FFC3F","07380E38","0F380738","F83FFE3F","00000000" Data "FE07F801","071E9F0F","0038001C","00380038","001C0038","9F0F071E","F801FE07","00000000" Data "F83FE03F","1E387C38","07380E38","07380738","0E380738","7C381E38","E03FF83F","00000000" Data "FF0FFF0F","000E000E","000E000E","FC0FFC0F","000E000E","000E000E","FF0FFF0F","00000000" Data "FF3FFF3F","00380038","00380038","FC3FFC3F","00380038","00380038","00380038","00000000" Data "FF07FF01","001E800F","0038001C","3F383F38","071C0738","870F071E","FF01FF07","00000000" Data "07380738","07380738","07380738","FF3FFF3F","07380738","07380738","07380738","00000000" Data "FF3FFF3F","E001E001","E001E001","E001E001","E001E001","E001E001","FF3FFF3F","00000000" Data "07000700","07000700","07000700","07000700","07000700","1E3C0F38","F80FFC1F","00000000" Data "1E380F38","78383C38","E039F038","C03FC03B","F03FE03F","7C38F838","1F383E38","00000000" Data "000E000E","000E000E","000E000E","000E000E","000E000E","000E000E","FF0FFF0F","00000000" Data "0F3C0738","3F3F1F3E","F73BFF3F","C738E739","07380738","07380738","07380738","00000000" Data "073C0738","073F073E","C73F873F","F739E73B","7F38FF38","1F383F38","07380F38","00000000" Data "FC0FF003","0E1C1E1E","07380F3C","07380738","0F3C0738","1E1E0E1C","F003FC0F","00000000" Data "FC3FF83F","0F381E38","07380738","1E380F38","F83FFC3F","00380038","00380038","00000000" Data "FC0FF003","0E1C1E1E","07380F3C","47380738","7E3CE738","3E1E3C1C","E303F70F","00000000" Data "FC3FF83F","07380E38","07380738","3E380F38","F03FF03F","3C387838","0F381E38","00000000" Data "F00FE007","3C3C781E","001E003C","FC07F80F","0F001E00","1E1E0F3C","F807FC0F","00000000" Data "FF0FFF0F","70007000","70007000","70007000","70007000","70007000","70007000","00000000" Data "07380738","07380738","07380738","07380738","0F380738","1E1E0E1C","F003FC0F","00000000" Data "07380738","07380738","07380738","0F3C0738","3C0F1E1E","F003F807","C000E001","00000000" Data "07380738","07380738","C7380738","E739C738","FF3FF73B","1F3E3F3F","07380F3C","00000000" Data "0F3C0738","3E1F1F3E","F807FC0F","F003F003","FC0FF807","1F3E3E1F","07380F3C","00000000" Data "070E070E","070E070E","0F0F070E","FC03FE07","F000F801","F000F000","F000F000","00000000" Data "FF3FFF3F","3E001F00","F8007C00","E003F001","800FC007","003E001F","FF3FFF3F","00000000" Data "F003F003","80038003","80038003","80038003","80038003","80038003","F003F003","00000000" Data "000C000C","0007000E","C0018003","7000E000","1C003800","07000E00","03000300","00000000" Data "F003F003","70007000","70007000","70007000","70007000","70007000","F003F003","00000000" Data "F001E000","1C07B803","00000C06","00000000","00000000","00000000","00000000","00000000" DefineFont #9 40201010 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 1F000E00 3F003F00 7C007E00 F0007800 C000E000 00000000 00030003 00000000 3C0F1806 0C033C0F 300C1806 00000000 00000000 00000000 00000000 00000000 30063006 FC3F3006 600CFC3F 600C600C F87FF87F C018C018 0000C018 00000000 30030000 FF3FFE1F 30333033 FF1FFE3F 33033303 FE1FFF3F 30033003 00000000 060E0600 1C110E1B 700E381B C001E000 36079C03 361C220E 00181C18 00000000 F803F001 38061807 E0037007 E60EC007 3C187E1C FC1C7818 8707CE0F 00000000 E001C000 6000E001 8001C000 00000000 00000000 00000000 00000000 00000000 70003000 E0006000 C001C000 C001C001 C000C001 6000E000 30007000 00000000 00070006 80030003 C0018001 C001C001 8001C001 00038003 00060007 00000000 C000C000 DC0ECC0C F003F807 FF3FFF3F F807F003 CC0CDC0E C000C000 00000000 00000000 E000E000 E000E000 FE0FFE0F E000FE0F E000E000 0000E000 00000000 00000000 00000000 00000000 00000000 00000000 78003000 18007800 60003000 00000000 00000000 00000000 FE1FFE1F 0000FE1F 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 C0010000 C001C001 00000000 0C000C00 38001C00 E0007000 8003C001 000E0007 0038001C 00300030 00000000 F807E001 1E1C3C0E 07380E1C 07380738 0E1C0738 1C0F0E1E E001F807 00000000 F001F000 F003F003 70007000 70007000 70007000 70007000 FF07FF07 00000000 FE1FF807 07380E3C 0F000700 FC037E00 001FE00F 00380038 FF3FFF3F 00000000 FF3FFF3F 1C200E30 70003800 1E00FC00 07000F00 1F3E0738 F807FE1F 00000000 FC01FC00 9C07DC03 1C1E1C0F 1C381C3C FF3F1C38 1C00FF3F 1C001C00 00000000 FF3FFF3F 00380038 FE3FFC3F 07000F00 07000700 1E3E0F38 F807FC1F 00000000 FE0FF803 07180F1C 00380038 FE3FFC3B 07380F3E 0F1C0738 F807FE1F 00000000 FF3FFF3F 0F380738 7C003E00 E001F000 C003C001 80038003 80038003 00000000 FE1FFC0F 03300738 FE1F0738 0E1CFC0F 03300738 07380330 FC0FFE1F 00000000 FE1FFC0F 03300738 03380330 FF0FFF1F 03000300 07380330 FC0FFE1F 00000000 00000000 70007000 00007000 00000000 70007000 00007000 00000000 00000000 00000000 E000E000 0000E000 00000000 E001C000 6000E001 8001C000 00000000 00000000 00000000 03000300 03000300 03000300 03000300 03000300 00000000 00000000 00000000 3FFE3FFC 03030303 03FC03FE 03000300 03000300 00000000 00000000 00000000 FFF1FFF0 00030003 FE00FC01 03000300 FC03FE03 00000000 FC0FF003 0E1C1E1E 1E000E1C F0007C00 C001E001 00000000 C001C001 00000000 F81FE007 0E701C38 E3C7C7E3 03CC73CE 73CE03CC C7E3E3C7 1C380E70 F00FF81F F807E001 1E1EFC0F 0F3C0E1C 07380738 FF3FFF3F 07380738 07380738 00000000 FE3FF83F 07380F38 0E380738 FC3FFC3F 07380E38 0F380738 F83FFE3F 00000000 FE07F801 071E9F0F 0038001C 00380038 001C0038 9F0F071E F801FE07 00000000 F83FE03F 1E387C38 07380E38 07380738 0E380738 7C381E38 E03FF83F 00000000 FF0FFF0F 000E000E 000E000E FC0FFC0F 000E000E 000E000E FF0FFF0F 00000000 FF3FFF3F 00380038 00380038 FC3FFC3F 00380038 00380038 00380038 00000000 FF07FF01 001E800F 0038001C 3F383F38 071C0738 870F071E FF01FF07 00000000 07380738 07380738 07380738 FF3FFF3F 07380738 07380738 07380738 00000000 FF3FFF3F E001E001 E001E001 E001E001 E001E001 E001E001 FF3FFF3F 00000000 07000700 07000700 07000700 07000700 07000700 1E3C0F38 F80FFC1F 00000000 1E380F38 78383C38 E039F038 C03FC03B F03FE03F 7C38F838 1F383E38 00000000 000E000E 000E000E 000E000E 000E000E 000E000E 000E000E FF0FFF0F 00000000 0F3C0738 3F3F1F3E F73BFF3F C738E739 07380738 07380738 07380738 00000000 073C0738 073F073E C73F873F F739E73B 7F38FF38 1F383F38 07380F38 00000000 FC0FF003 0E1C1E1E 07380F3C 07380738 0F3C0738 1E1E0E1C F003FC0F 00000000 FC3FF83F 0F381E38 07380738 1E380F38 F83FFC3F 00380038 00380038 00000000 FC0FF003 0E1C1E1E 07380F3C 47380738 7E3CE738 3E1E3C1C E303F70F 00000000 FC3FF83F 07380E38 07380738 3E380F38 F03FF03F 3C387838 0F381E38 00000000 F00FE007 3C3C781E 001E003C FC07F80F 0F001E00 1E1E0F3C F807FC0F 00000000 FF0FFF0F 70007000 70007000 70007000 70007000 70007000 70007000 00000000 07380738 07380738 07380738 07380738 0F380738 1E1E0E1C F003FC0F 00000000 07380738 07380738 07380738 0F3C0738 3C0F1E1E F003F807 C000E001 00000000 07380738 07380738 C7380738 E739C738 FF3FF73B 1F3E3F3F 07380F3C 00000000 0F3C0738 3E1F1F3E F807FC0F F003F003 FC0FF807 1F3E3E1F 07380F3C 00000000 070E070E 070E070E 0F0F070E FC03FE07 F000F801 F000F000 F000F000 00000000 FF3FFF3F 3E001F00 F8007C00 E003F001 800FC007 003E001F FF3FFF3F 00000000 F003F003 80038003 80038003 80038003 80038003 80038003 F003F003 00000000 000C000C 0007000E C0018003 7000E000 1C003800 07000E00 03000300 00000000 F003F003 70007000 70007000 70007000 70007000 70007000 F003F003 00000000 F001E000 1C07B803 00000C06 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 FF3FFF3F 00000000 End DefineFont 'no comment |
||||
Martin H. Guru Joined: 04/06/2022 Location: GermanyPosts: 1113 |
Hey Daniel .. After a long journey of swapping bits, finaly, here is your font ' font_Daniel16 ' Font type : Full (96 Characters) ' Font size : 16x16 pixels ' Memory usage : 3072 DefineFont #9 60201010 0000000000000000000000000000000000000000000000000000000000000000 0000000000030003000300030003000300030003000000030003000300000000 0000000060066006600660060000000000000000000000000000000000000000 0000000060036003F03FC006C006F03FF03F800D800DF03F001B001B00000000 E0030000300EF007F00C300C800DE00DF00CC00D180D380CF00CF80D00000000 000000003066183C60663066C03CC066B3019E01330333031E0C330600000000 00000000E00FC007600C600C8007C007D819900D7818F0188807FC0F00000000 0000000080018001800180010000000000000000000000000000000000000000 8001000000030003000600060006000600060006000300068001000300000000 0006000000030003800180018001800180018001000380010006000300000000 000000000000000080038003F83F9833C007C007701CE00E0000400400000000 0000000000000000C0000000C000C000F807F807C000C0000000C00000000000 0000000000000000000000000000000000000000000300030001000100000002 00000000000000000000000000000000E003E003000000000000000000000000 0000000000000000000000000000000000000000000300000000000300000000 0000000060006000C000C000C000C00080018001800180010003000300000000 00000000E007C003300C700E300C300C300C300C700E300CC003E00700000000 0000000080038001800D80078001800980018001800180018001800100000000 00000000E007C003300C300E60003000C001E00000068003F00FF00F00000000 00000000F007E0033000300EE001E00130007000700E300CC003E00700000000 00000000E0006000E001E00060036003600C6006F00FF00F6000600000000000 00000000E007E007000C0006E00FC00F3000700C700E300CC003E00700000000 00000000F007E003000C3006E00FC00D300C700E3006300CC003E00700000000 00000000F00FF00FC00060008001C00080018001000380030003000300000000 00000000E007C003300C300CE007300C300CE007300C300CC003E00700000000 00000000E007C003300C600C700E300CB003F007600C3000C007E00F00000000 0000000080010000000080010000000000000000800180010000000000000000 0000000080010000000080010000000000000000800180018000800000000001 0000000000000000E0002000000FC003000F001CE000C0030000200000000000 0000000000000000F01FF01F00000000F01FF01F000000000000000000000000 0000000000000000000E0008E0018007E0017000000E80070000000800000000 00000000E007C003300C300EE00070008001C001000080018001800100000000 C00700007813300CC82CE817C82CC82CE026D02F100808100000E00700000000 0000000080038003C006C006600CC006E00F600C3018F01F1830301800000000 00000000F01FE01F30183018E01F30181818F01F18181818E01FF01F00000000 00000000F00FE003101C380C0018001800180018380C101CE003F00F00000000 00000000F01FC01F18183018181818181818181830181818C01FF01F00000000 00000000F80FF80F000C000CF80F000C000CF80F000C000CF80FF80F00000000 00000000F00FF00F000C000CE00F000C000CE00F000C000C000C000C00000000 00000000F01FE0071038381800300030F830F83038181838E007F81F00000000 000000001818181818181818F81F18181818F81F181818181818181800000000 0000000080018001800180018001800180018001800180018001800100000000 0000000030003000300030003000300030003000700E300CC003E00700000000 0000000030181818C0186018C01B8019601CC01E301870181818181800000000 00000000000C000C000C000C000C000C000C000C000C000CF00FF00F00000000 0000000038383838783C783CD8365834D836D836983398331831983300000000 00000000181C1818181E181E9819181BD8189819781878181818381800000000 00000000F01FC00718303018183018301830183030181830C007F01F00000000 00000000F00FE00F180C380CF00F380C000CE00F000C000C000C000C00000000 00000000F01FC007183030181830183018301830F018B831B007F01F00001800 00000000F01FE01F18183818F01F3818E018C01F301870181C18381800000000 00000000F007E003180C380EE007000F3800F001380E180CE003F00700000000 00000000F81FF81F800180018001800180018001800180018001800100000000 0000000018181818181818181818181818181818381C1818E007F00F00000000 000000003018183030183018600C600CC006E00E8003C0068003800300000000 00000000C631C6316C1BC6316C1B6C1B6C1B6C1B380E380E380E380E00000000 00000000701C3018C006600C8003C007C0078003600CC0063018701C00000000 00000000381C18186006300CC003600680018001800180018001800100000000 00000000F807F80760003000C000E0008003800100060003F80FF80F00000000 60036003C00100006003E00330066003F80F3006180CF80F0C180C1800000000 6006600618180000181818181818181818181818381C1818E007F00F00000000 30063006E0030000180CF80F0C180C180C180C18180C0C18E003F80F00000000 80010000C003C00360066006300C600600000000000000000000000000000000 000000000000000000000000000000000000000000000000FFFF00000000FFFF 00000000C0008001000000000000000000000000000000000000000000000000 0000000000000000E00FC007E001600C600EE007E00F600C0000B00700000000 000C0000000C000CE00FC00D300C700E300C300CE00F700E0000C00D00000000 0000000000000000E007C003000C600E000C000CE007600E0000C00300000000 3000000030003000F007B003300C700E300C300CF007700E0000B00300000000 0000000000000000C0078003E00F600C000CE00FC007600E0000800300000000 C00300000006C007800F800F0006000600060006000600060000000600000000 0000000060070000E01CE00F60186018E01C60186007E00FE01F60180000C00F 000C0000000C000CF00FE00D300C300E300C300C300C300C0000300C00000000 0000000080018001800100008001800180018001800180010000800100000000 0000000080018001800100008001800180018001800180018001800100078007 000C0000000C000CC00C600C800F800DC00EC00F600CC00C0000600C00000000 8001000080018001800180018001800180018001800180010000800100000000 0000000000000000FC3F38378C31CC398C318C318C318C3100008C3100000000 0000000000000000F00FE00D300C300E300C300C300C300C0000300C00000000 0000000000000000E007C003300C700E300C300CE007700E0000C00300000000 0000000000000000E00FC00D300C700E300C300CE00F700E000CC00D000C000C 0000000000000000F007B003300C700E300C300CF007700E3000B00330003000 0000000000000000F00370030003800300030003000300030000000300000000 0000000000000000E00FC007000F600CE000C007E00F600C0000C00700000000 0001000000030003C007C0070003000300030003C00300030000C00100000000 0000000000000000300C300C300C300C300C300CF00F700C0000B00700000000 0000000000000000300630066003300660036003C001C0010000C00100000000 0000000000000000C631C6316C1BCC196C1B6C1B380E380E0000380E00000000 000000000000000070073006C0016003C001C001700760030000300600000000 0000000000000000180C180C3006300660036003C001E0038001C00100078007 0000000000000000F803F80370003000C001E000F80380010000F80300000000 6006000000006006E007C003300C700E300C300CE007700E0000C00300000000 6006000000006006300C300C300C300C300C300CF00F700C0000B00700000000 3003000000003003F007E003300030043006F003F00730060000B00300000000 00000000F80F88070000F0080000000000000000000000000000000000000000 FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF End DefineFont Have fun with it Edited 2023-09-13 00:03 by Martin H. 'no comment |
||||
Mixtel90 Guru Joined: 05/10/2019 Location: United KingdomPosts: 6781 |
That looks like it might be a nice font, Martin. Mick Zilog Inside! nascom.info for Nascom & Gemini Preliminary MMBasic docs & my PCB designs |
||||
Martin H. Guru Joined: 04/06/2022 Location: GermanyPosts: 1113 |
Thank you you can create your own 16x16 Font by painting it in this grid. I used MM Basic for Windows but it should also work with some little changes on Picomite VGA .. (as Picomite can not load png, the source Picture should be bmp) This is the Code I used for pgn>Font translation 'png to Font Converter .. Martin H. 'works on MM_Basic 4 Windows 'fonts on the PNG, each 16x16 Pixel in Black/White 'so chr$(32) starts at position 0,16, chr$(64) at 0,32 etc. 'chars lower than ASCII 32 couldn't be converted '-------------------------------------------------------- '*** User part *** 'Set File name, number of chars, first char and size here fname$="font_uml16" chrs=96 Start =32 W=16 H=16 '-------------------------------------------------------- cls load png fname$+".png" open fname$+".bas" for output as #1 ?#1,"' ";fname$ ?#1,"' Font type : Full (";str$(chrs);" Characters)" ?#1,"' Font size : ";str$(w);"x";str$(H);" pixels" mem=(W/8)*H*chrs ?#1,"' Memory usage : ";STR$(mem) ?#1,"DefineFont #9" ?#1,hex$(chrs,2);hex$(start,2);hex$(h,2);hex$(w,2) t=0 print @(0,200); for y=h to (chrs/16)*h step H for x=0 to 248 step w hx$="" for y1=y to y+h-1:v=0:b=2^(w-1) for x1=x to x+w-1 if pixel(x1,y1)=RGB(White) then Pixel x1,y1,rgb(green):inc v,b b=b>>1 next x1 hx$=hx$+hex$(v,4) next y1 l=len(HX$) k$="" for n=1 to l step 4:k$=k$+mid$(HX$,n+2,2)+mid$(HX$,n,2):next hx$="": for n=1 to L step 8:hx$=hx$+mid$(K$,n+4,4)+mid$(k$,n,4):next box x,y,w,h,,rgb(red):pause 20 next x next y ?#1,"End DefineFont" close #1 Edited 2023-09-13 00:50 by Martin H. 'no comment |
||||
Amnesie Guru Joined: 30/06/2020 Location: GermanyPosts: 396 |
Hi Martin, this is really cool, thank you! Since I don't use MMBasic for Windows, I simply change it to *.bmp and can convert it to a font file? Nice! I have to try this. It is always good to do the most work on / with the picoMite itself, so I don't have to use a lot of external software. Now we only need one external software: a paint editor for painting the image along the grid. But I think this even could be possible with the pico, I believe there is a sprite editor, too. Anyways this is serious good work and a very useful tool! Greetings Daniel |
||||
vegipete Guru Joined: 29/01/2013 Location: CanadaPosts: 1109 |
Jiri wrote a nice font editor for the CMM2. Maybe it wants porting... https://www.thebackshed.com/forum/ViewTopic.php?FID=16&TID=15747#200780 SimplED Visit Vegipete's *Mite Library for cool programs. |
||||
Martin H. Guru Joined: 04/06/2022 Location: GermanyPosts: 1113 |
use the Tools you are used to :-) For me, i test often in mmb4w, couse it mostly compatible and I can do it on my laptop in the livingroom without need to have a VGA Monitor. So I can code while watching TV. Yes there is a Sprite Editor for the Pico If you use your Font, or create it from a Picture, you can also extend it with UDG as you like 'no comment |
||||
stanleyella Guru Joined: 25/06/2022 Location: United KingdomPosts: 2122 |
I don't know if great cow basic fonts work with mmbasic but there's lots and they're scalable for lcd. just in case it was helpful a bit and if they're pinchable ..open source. |
||||
Martin H. Guru Joined: 04/06/2022 Location: GermanyPosts: 1113 |
Thank you Stan, Maybe youll find some nice fonts there, for the *Mites it have to be monospaced fonts, were every Char has to have the same size.. like those free Fonts you find here Edited 2023-09-13 02:29 by Martin H. 'no comment |
||||
Martin H. Guru Joined: 04/06/2022 Location: GermanyPosts: 1113 |
yes, that looks very Cool ... Maybee Jiri will translate it some day to the Pico 'no comment |
||||
stanleyella Guru Joined: 25/06/2022 Location: United KingdomPosts: 2122 |
Nice fonts @Martin H. Got any favourites? lots look cool for games. |
||||
Martin H. Guru Joined: 04/06/2022 Location: GermanyPosts: 1113 |
Classic Sinclair Font & some UDGs ' font_ZX by Martin Herhaus ' Font type : Full (128 Characters) ' Font size : 8x8 pixels ' Memory usage : 1024 DefineFont #9 80200808 00000000 00000000 10101000 00100010 00242400 00000000 247E2400 00247E24 283E0800 083E0A3E 08646200 00462610 10281000 003A442A 00100800 00000000 08080400 00040808 10102000 00201010 08140000 0014083E 08080000 0008083E 00000000 10080800 00000000 0000003E 00000000 00181800 04020000 00201008 4A463C00 003C6252 08281800 003E0808 02423C00 007E403C 0C423C00 003C4202 28180800 00087E48 7C407E00 003C4202 7C403C00 003C4242 04027E00 00101008 3C423C00 003C4242 42423C00 003C023E 10000000 00100000 00100000 20101000 08040000 00040810 3E000000 00003E00 08100000 00100804 04423C00 00080008 564A3C00 003C405E 42423C00 0042427E 7C427C00 007C4242 40423C00 003C4240 42447800 00784442 7C407E00 007E4040 7C407E00 00404040 40423C00 003C424E 7E424200 00424242 08083E00 003E0808 02020200 003C4242 70484400 00424448 40404000 007E4040 5A664200 00424242 52624200 0042464A 42423C00 003C4242 42427C00 0040407C 42423C00 003C4A52 42427C00 0042447C 3C403C00 003C4202 1010FE00 00101010 42424200 003C4242 42424200 00182442 42424200 00245A42 18244200 00422418 28448200 00101010 08047E00 007E2010 08080E00 000E0808 20400000 00040810 10107000 00701010 54381000 00101010 00000000 FF000000 78221C00 007E2020 04380000 003C443C 3C202000 003C2222 201C0000 001C2020 3C040400 003C4444 44380000 003C4078 18100C00 00101010 443C0000 38043C44 78404000 00444444 30001000 00381010 04000400 18240404 30282000 00242830 10101000 000C1010 54680000 00545454 44780000 00444444 44380000 00384444 44780000 40407844 443C0000 06043C44 201C0000 00202020 40380000 00780438 10381000 000C1010 44440000 00384444 44440000 00102828 54440000 00285454 28440000 00442810 44440000 38043C44 087C0000 007C2010 30080E00 000E0808 08080800 00080808 0C107000 00701010 00281400 00000000 A199423C 3C4299A1 AA54AA54 AA54AA54 0F0F0F0F 00000000 F0F0F0F0 00000000 FFFFFFFF 00000000 00000000 0F0F0F0F 0F0F0F0F 0F0F0F0F F0F0F0F0 0F0F0F0F FFFFFFFF 0F0F0F0F 00000000 F0F0F0F0 0F0F0F0F F0F0F0F0 F0F0F0F0 F0F0F0F0 FFFFFFFF F0F0F0F0 00000000 FFFFFFFF 0F0F0F0F FFFFFFFF F0F0F0F0 FFFFFFFF FFFFFFFF FFFFFFFF 423C0042 00427E42 423C0042 003C4242 42420024 003C4242 50483000 00484448 04380028 003C443C 44380028 00384444 44440028 00384444 806010E0 000000F0 10E010E0 000000E0 54545CF4 00000000 82AA4438 003844BA FED67C38 00387CC6 FEFEFE6C 0010387C FE7C3810 0010387C FED63838 003810D6 FE7C3810 0038107C End DefineFont Edited 2023-09-13 16:05 by Martin H. 'no comment |
||||
Page 1 of 2 |
Print this page |