flat assembler
Message board for the users of flat assembler.

Index > DOS > One of my first assembly programs

Author
Thread Post new topic Reply to topic
Tomasz Grysztar



Joined: 16 Jun 2003
Posts: 8351
Location: Kraków, Poland
Tomasz Grysztar 13 Oct 2006, 08:48
Recently I managed to recover (though partially) one of my archive floppy disks, where I had a few of my old programs. This included all the versions of my DOS extender, including the one with HF executable and libraries support and also a copy of early fasm fork with HF support (if you watched my presentation on first fasm's meeting, you know what it's about). I may share it one day, however for today I've chosen to share one of my earliest programs written in assembly, in 1996-1997. It is the most of my assembly programs that survived till today, even though only in binary form (I made it as closed-source program and did it so well, that even myself I don't have sources for it right now). It is actually package of two programs for managing the 8x16 textmode fonts in DOS. The first one is TSR that installs the chosen font as a new default one instead of the one stored in BIOS (in DOS days writing TSRs was one of the first things to do when learning assembly). The second one is an editor for those fonts (there is no documentation, however you can find all the keyboard commands listed on the bottom of the screen - also when you press Ctrl or Alt, etc.).

Sorry I cannot provide you with source code.

PS. If you use Windows, you have to run those programs from full-screen 80x25 console, otherwise you won't see them working correctly.


Description: Font Toolkit
Download
Filename: FONTKIT.ZIP
Filesize: 18.26 KB
Downloaded: 567 Time(s)

Post 13 Oct 2006, 08:48
View user's profile Send private message Visit poster's website Reply with quote
daluca



Joined: 05 Nov 2005
Posts: 86
daluca 15 Oct 2006, 06:37
I like it very much! :

but why in the fontedit program i can't connect some characters? like: if i put a line under the number 2 and another under number 3 there is a pixel not set,so the two lines do not touch each other.
but if i put these two lines under the characters 192 and 193 they do connect.

please let me know if is posible to connect all the characters or only some of
them. i would like to use something like this to display small images like logos or welcome messages in text mode.
Post 15 Oct 2006, 06:37
View user's profile Send private message Reply with quote
Tomasz Grysztar



Joined: 16 Jun 2003
Posts: 8351
Location: Kraków, Poland
Tomasz Grysztar 15 Oct 2006, 08:10
This is specific to VGA, where 8x16 font are the 9x16 ones, with the additional line being either clear or a duplicated last defined line for some of the characters.

Funny, I found out now there's some info on this even on the Microsoft pages: http://support.microsoft.com/default.aspx?scid=kb;en-us;59953
Post 15 Oct 2006, 08:10
View user's profile Send private message Visit poster's website Reply with quote
daluca



Joined: 05 Nov 2005
Posts: 86
daluca 15 Oct 2006, 14:50
thank you ! i understand now.
Post 15 Oct 2006, 14:50
View user's profile Send private message Reply with quote
Goplat



Joined: 15 Sep 2006
Posts: 181
Goplat 15 Oct 2006, 15:29
actually there are a few characters that are wider in 9x16 than in 8x16. I think the M and W are, for example.
edit: Checked my video bios. They are 0x1D (horizontal double-ended arrow), /, 0, M, T, V, W, X, Y, \, m, v, and w.
Post 15 Oct 2006, 15:29
View user's profile Send private message Reply with quote
Tomasz Grysztar



Joined: 16 Jun 2003
Posts: 8351
Location: Kraków, Poland
Tomasz Grysztar 15 Oct 2006, 20:12
Well, the 9x16 made it possible to make them wider - since there additional clear line attached, so they won't fuse when put together - what would happen if they were such wide with EGA or other adapter using strict 8x16.
But all those characters are correct this way only because they have the additional line zeroed - the character ranges mentioned here earlier are the ranges where the additional line is the copy of line 8.
Post 15 Oct 2006, 20:12
View user's profile Send private message Visit poster's website 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-2024, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.