12-21-2005, 07:22 AM
It doesn't work for me, fb identifies "DEF SEG" as an error.
Screen 13 small fonts
|
12-21-2005, 07:22 AM
It doesn't work for me, fb identifies "DEF SEG" as an error.
12-21-2005, 08:40 AM
hmm, same here... :-?
Itch-Five Design - Your source for free, well designed, web design.
- - - - - - - - - - - - - Quote:I use QB religiously. Too bad I'm an athiest.
12-21-2005, 01:20 PM
Because that is a QB program.
SCUMM (the band) on Myspace!
ComputerEmuzone Games Studio underBASIC, homegrown musicians [img]http://www.ojodepez-fanzine.net/almacen/yoghourtslover.png[/i
12-21-2005, 08:14 PM
Quote:Because that is a QB program. Oh... that would make sense, maybe I'll try it in qb then.
12-22-2005, 01:11 AM
Was that post necessary?
12-22-2005, 04:02 AM
Quote:It's QB projects forum, isn't?Oh, the irony! :lol:
\__/)
(='.'=) Copy bunny into your signature to (")_(") help him gain world domination.
12-22-2005, 06:09 AM
Quote:Torahteen: He's speaking about Screen 13, not console. Even so, there is no way to change the default fonts used by the QBasic or FreeBasic "PRINT" statment :wink:.
quote="Deleter"]judging gameplay, you can adaquately compare quake 4 with pong[/quote]
12-22-2005, 07:20 AM
I guess it being in QB Projects does make sense, I'm so use to fb now, I forgot about QB for a while, then the quicklaunch and that post reminded me. Anyway back on topic, I guess the only ture way would be to make your own font in sprites, and just put them where there needed.
12-22-2005, 03:28 PM
Quote:Antoni Gual Wrote:Torahteen: He's speaking about Screen 13, not console. Yeah, there is in QBasic You can play with the VGA BIOS to do some nice stuff with your charset in text mode. You can even use two charsets at the same time. I sent some code which did some nice tricks to lurah from ASCII world, I dunno if they have uploaded it yet Check http://usuarios.lycos.es/firstqbasicforu...nadya.html -> It's text mode. Just peek at the sources This thingo replaces the font for another one which contains small 1 bit tiles I can use to build "graphics" with. Loading 2 charsets at a time is also possible: Code: DECLARE SUB LoadCharInMap (file$, Map%) You use them with those 4Kb character files, I mean those who are just a raw copy of the 256 chars with 16 bytes per char, one per scanline per char (8x16 pixels per char text mode, i.e. the common VGA 80x25 text mode 03h). This is the modus operandi: Code: BlockBitPlane2 I can't remember the details (I have to look for the docs I read to figure this out), but all you have to know is that you have (I think to remember) four char maps 0 to 3. You have to block bitplane 2 using the BlockBitPlane2 sub, then load the chars in the maps you want (0,1,2 or 3), then you call to SelectMaps to select two maps (again 0,1,2 or 3) to be active, and then you unblock bitplane 2 using the UnBlockBitPlane2 sub. To print using one or another character map, you use bit 3 from the colour attribute. If it is 0 you print the first selected char map. If it is 1, you print the second one. Take a look at the "normal" colour attribute byte. It is set up this way: Code: bit 7 6 5 4 3 2 1 0 Using this tweak, the colour attribute byte is set up this way: Code: bit 7 6 5 4 3 2 1 0 That means that you no longer have 16 colours, but 8. That way, to print a red A over blue background using font 0 you use COLOR 2, 1 (i.e. 00010010) and to print that red A over blue background using font 1 you use COLOR 10, 1 (i.e. 00011010). Odd but cool -- I'm thinking on creating and formatting a nice article for QBExpress and for the QBN FAQ. When I find the time I'll gather my routines together
SCUMM (the band) on Myspace!
ComputerEmuzone Games Studio underBASIC, homegrown musicians [img]http://www.ojodepez-fanzine.net/almacen/yoghourtslover.png[/i |
« Next Oldest | Next Newest »
|