flat assembler
Message board for the users of flat assembler.
Index
> DOS > Terminus 8x16 normal font |
Author |
|
rugxulo 18 May 2013, 19:42
(Not sure how interesting this is to anyone here, but I thought it might prove useful.)
"Terminus Font is a clean, fixed width bitmap font, designed for long (8 and more hours per day) work with computers." http://terminus-font.sourceforge.net/ http://www.delorie.com/djgpp/doc/rbinter/id/48/1.html It originally came in .bdf, but I used Unifont's bdf2hex.pl and hexdraw.pl and manually massaged the result so that it was data ("db 00110011b") for FASM. This conversion is 8x16 normal only. I gleaned the necessary BIOS call from FreeDOS' LOADFONT (aka, GNUchcp), though he seems to ignore loading anything above 127 (probably to keep whatever i18n chars you've already loaded / depend on). As is, I load all 256 since it apparently supports Latin-1 out-of-the-box. (More conversion would need to be done if other language support is needed. FreeDOS' own codepages already support quite a lot, but perhaps this one is easier on the eyes.) Though for me it does always seem to switch to some warped 80x21 mode, which is odd. I've included a UPX'd self-contained .COM which will auto-load the font for you. Code: Archive: dos-terminus-font-8x16.zip Length Method Size Cmpr Date Time CRC-32 Name -------- ------ ------- ---- ---------- ----- -------- ---- 112 Defl:X 91 19% 2013-05-18 13:49 f4286fba com-terminus.asm 55640 Defl:X 2389 96% 2013-05-13 17:29 21dfc0fe font-terminus.asm 4481 Defl:X 1982 56% 2012-06-07 02:59 62a83630 ofl.txt 1187 Stored 1187 0% 2013-05-18 13:54 27e5719f terminus.com -------- ------- --- ------- 61420 5649 91% 4 files P.S. I have no idea if bitmap fonts can be copyrighted. I didn't think so, but since it's Open Font License 1.1 anyways, I guess it's moot.
|
|||||||||||
18 May 2013, 19:42 |
|
HaHaAnonymous 18 May 2013, 19:52
[ Post removed by author. ]
Last edited by HaHaAnonymous on 28 Feb 2015, 20:30; edited 1 time in total |
|||
18 May 2013, 19:52 |
|
AsmGuru62 19 May 2013, 11:02
Good font.
|
|||
19 May 2013, 11:02 |
|
rugxulo 23 May 2013, 21:44
Apparently Terminus doesn't support 8x8, but it does support 8x14 or 6x12. No idea if that would be better for you.
Though isn't 8x8 used in 80x50? Seems almost too small to me. These days, due to monitor and my chair's location relative to it, I have no problem with 80x43, whereas previously I'd stick to (boring) 80x25 for easiest reading. Regarding graphics mode, you may have to draw everything, but you can query the BIOS for VGA fonts, and thus just reuse them. So you don't have to totally redesign everything. (BTW, is that character of yours supposed to be present in the pic above? I can't see it.) There are some graphical DOS text editors like Blocek that can also view graphics images, but offhand I don't remember if it lets you use a pic as background. |
|||
23 May 2013, 21:44 |
|
freecrac 24 May 2013, 08:30
rugxulo wrote: Apparently Terminus doesn't support 8x8, but it does support 8x14 or 6x12. No idea if that would be better for you. Yes it use 80 rows x 50 lines. Code: RBIL->inter61a.zip->INTERRUP.A --------V-101112----------------------------- INT 10 - VIDEO - TEXT-MODE CHARGEN - LOAD ROM 8x8 DBL-DOT PATTERNS (PS,EGA,VGA) AX = 1112h BL = block to load Return: nothing Notes: (see AX=1110h) SeeAlso: AX=1103h,AX=1110h,AX=1111h,AX=1114h,AH=1Bh,AX=CD10h Quote:
I think 25 lines is not enough to me for reading an assembler listing and for to become an overview without to much up and down scrolling only a part of a routine within the listing. The same is for to become an overview of a directory of a drive. I want to see all files without scrolling (if it possible) using 50 lines only with their filenames side by side in a short view. (I never need to know on which date and time a file of mine was created.) So i prefer 50 lines for text also with using a 9" CRT with it highest resolution of 640x480. ... Additianal i read that some modern cards do not longer provide modes with 43 lines for text anymore. So that we have only a choice for to use 25, or 50 lines for a teletype output and for all other we have no warrants that they will be provide. (Can somebody confirm this limitations?) Quote: Regarding graphics mode, you may have to draw everything, but you can query the BIOS for VGA fonts, and thus just reuse them. Yes i like to use the 8*8 chars from the card bios. For higher resolutions beginning with 800x600 i enlarge each dot of the 8*8-chars setting 4 Pixel for each one. It is only marginally visible that some pixel in the edges of some letters and numbers are missing in the enlarged chars on the screen. Quote: (BTW, is that character of yours supposed to be present in the pic above? I can't see it.) This is only a beautifull picture that i found in the web and these kind of pictures can be used, if we switch to a grafic mode, for to place it on the borders of the screen for to mix up our text with those nice pictures around. Quote: There are some graphical DOS text editors like Blocek that can also view graphics images, but offhand I don't remember if it lets you use a pic as background. I never used those graphical DOS text editors, but i think we have to make clear that our text can be simple read every time and that the background is enough different from the colour of the foreground text. Dirk |
|||
24 May 2013, 08:30 |
|
baldr 24 May 2013, 19:50
freecrac wrote: Additianal i read that some modern cards do not longer provide modes with 43 lines for text anymore. |
|||
24 May 2013, 19:50 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.