flat assembler
Message board for the users of flat assembler.

Index > DOS > Terminus 8x16 normal font

Author
Thread Post new topic Reply to topic
rugxulo



Joined: 09 Aug 2005
Posts: 2341
Location: Usono (aka, USA)
rugxulo
(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.


Description:
Download
Filename: dos-terminus-font-8x16.zip
Filesize: 5.94 KB
Downloaded: 214 Time(s)

Post 18 May 2013, 19:42
View user's profile Send private message Visit poster's website Reply with quote
HaHaAnonymous



Joined: 02 Dec 2012
Posts: 1180
Location: Unknown
HaHaAnonymous
[ Post removed by author. ]


Last edited by HaHaAnonymous on 28 Feb 2015, 20:30; edited 1 time in total
Post 18 May 2013, 19:52
View user's profile Send private message Reply with quote
AsmGuru62



Joined: 28 Jan 2004
Posts: 1398
Location: Toronto, Canada
AsmGuru62
Good font.
Post 19 May 2013, 11:02
View user's profile Send private message Send e-mail Reply with quote
freecrac



Joined: 19 Oct 2011
Posts: 117
Location: Germany Hamburg
freecrac
Sorry, i do not like 8x16 normal fonts.
Starting with my first 9" CRT monitor(black and white) i used the 8x8 font instead for textmode.

...

But if we use grafikmodes that do not provide a teletype output, then we have to self draw our fonts anyway.
I think if we work many ours on the screen, then it is more relaxing to use a grafikmode and placing some nice pictures around the text.
Code:
    DB 1,0,0,0,0,0,0,1,1,0,0,0,0,0,0,1 ;*      **      *
    DB 1,1,0,0,0,0,0,1,1,0,0,0,0,0,1,1 ;**     **     **
    DB 0,1,0,0,0,1,1,1,1,1,1,0,0,0,1,0 ; *   ******   *
    DB 0,1,1,0,0,1,1,1,1,1,1,0,0,1,1,0 ; **  ******  **
    DB 0,1,1,0,0,0,0,1,1,0,0,0,0,1,1,0 ; **    **    **
    DB 0,1,1,0,0,0,0,1,1,0,0,0,0,1,1,0 ; **    **    **
    DB 0,0,1,0,0,0,0,0,0,0,0,0,0,1,0,0 ;  *          *
    DB 0,0,0,1,1,1,0,0,0,0,1,1,1,0,0,0 ;   ***    ***
    DB 0,0,0,0,0,0,1,1,1,1,0,0,0,0,0,0 ;      ****
    DB 0,0,0,0,0,1,1,1,1,1,1,0,0,0,0,0 ;     ******
    DB 0,0,0,0,1,1,0,0,0,0,1,1,0,0,0,0 ;    **    **
    DB 0,0,0,1,1,0,0,0,0,0,0,1,1,0,0,0 ;   **      **
    DB 0,0,0,1,1,0,0,0,0,0,0,1,1,0,0,0 ;   **      **
    DB 0,0,0,1,1,0,0,0,0,0,0,1,1,0,0,0 ;   **      **
    DB 0,0,0,0,1,1,0,0,0,0,1,1,0,0,0,0 ;    **    **
    DB 0,0,1,1,1,1,0,0,0,0,1,1,1,1,0,0 ;  ****    ****
    

Image
Dirk
Post 22 May 2013, 06:52
View user's profile Send private message Send e-mail Reply with quote
rugxulo



Joined: 09 Aug 2005
Posts: 2341
Location: Usono (aka, USA)
rugxulo
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.
Post 23 May 2013, 21:44
View user's profile Send private message Visit poster's website Reply with quote
freecrac



Joined: 19 Oct 2011
Posts: 117
Location: Germany Hamburg
freecrac
rugxulo wrote:
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?

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:

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.

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.
So you don't have to totally redesign everything.

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.)
Ups, sorry there is no character present inside the pic.
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
Post 24 May 2013, 08:30
View user's profile Send private message Send e-mail Reply with quote
baldr



Joined: 19 Mar 2008
Posts: 1651
baldr
freecrac wrote:
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?)
This choice stems from character cell height: with 14 pixels on EGA (16 on VGA) you have 25 rows, 8 pixels give you 350/8 == 43¾ lines (400/8 == 50 on VGA). Choose any other cell height (up to 32 — AFAIR it's VGA CRTC limit) with int10/1110 and be happy. You may even reprogram CRTC to use 480 scan lines instead of default 400 to have some extras.
Post 24 May 2013, 19:50
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2020, Tomasz Grysztar.

Powered by rwasa.