Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Screen fonts in SCREEN 0
#3
(05-07-2024, 02:57 PM)BDS107 Wrote: In the MS-DOS days of Norton Utilities, PC-Tools, etc., you would see programs redrawing their ASCII characters to get different boxes and characters.
We can easily create font files via the VGA Font Editor (seeĀ https://github.com/a740g/VGA-Font-Editor).
But how do we get this on the screen via SCREEN 0? No not SCREEN 13 or so.
I used to write an assembler program for that, but I've lost it, years ago....
Yeah, that was cool how Norton and others did this. This was done by creating a new ASCII set in RAM and then hooking the BIOS call to that new section of RAM instead of grabbing the character from ROM. That is why the assembler program was needed, it would perform the redirection. This is not going to be possible with QB64 (as far as I know, the developers here are rather clever).

You'll need to create your own font file (.ttf) and then use the method Steve pointed out above.
New to QB64pe? Visit the QB64 tutorial to get started.
QB64 Tutorial
Reply


Messages In This Thread
Screen fonts in SCREEN 0 - by BDS107 - 05-07-2024, 02:57 PM
RE: Screen fonts in SCREEN 0 - by SMcNeill - 05-07-2024, 03:16 PM
RE: Screen fonts in SCREEN 0 - by TerryRitchie - 05-07-2024, 04:41 PM
RE: Screen fonts in SCREEN 0 - by bplus - 05-07-2024, 08:29 PM
RE: Screen fonts in SCREEN 0 - by a740g - 05-07-2024, 10:58 PM
RE: Screen fonts in SCREEN 0 - by TerryRitchie - 05-08-2024, 01:32 AM
RE: Screen fonts in SCREEN 0 - by a740g - 05-08-2024, 03:43 AM
RE: Screen fonts in SCREEN 0 - by bplus - 05-08-2024, 01:39 AM
RE: Screen fonts in SCREEN 0 - by SMcNeill - 05-08-2024, 02:41 AM
RE: Screen fonts in SCREEN 0 - by bplus - 05-08-2024, 09:37 AM
RE: Screen fonts in SCREEN 0 - by BDS107 - 05-08-2024, 01:58 PM



Users browsing this thread: 1 Guest(s)