BBC Font

discussion of beeb/electron applications, languages, utils and educational s/w
Post Reply
Prime
Posts: 2579
Joined: Sun May 31, 2009 11:52 pm
Contact:

BBC Font

Post by Prime » Sat Jul 28, 2018 10:16 am

Hi all,

Does anyone know the location in the MOS ROM and the format of the mode 0..6 fonts? Obviously the Mode 7 one is in the SAA chip....

Cheers.

Phill.

User avatar
ctr
Posts: 183
Joined: Wed Jul 16, 2014 2:53 pm
Contact:

Re: BBC Font

Post by ctr » Sat Jul 28, 2018 10:28 am

They are right at the start. Try this on a beeb.

Code: Select all

   10MODE4
   20S%=&5800
   30C%=&C000
   40FORI%=0TO&2FF
   50S%?I%=C%?I%
   60NEXT
Each char is eight bytes, one byte for each row, eight pixels in each byte. Most significant bit on the left, least significant on the right.

Edit: This is true on a Model B; the Master, etc. may vary.
Last edited by ctr on Sat Jul 28, 2018 10:30 am, edited 1 time in total.


User avatar
jgharston
Posts: 3248
Joined: Thu Sep 24, 2009 11:22 am
Location: Whitby/Sheffield
Contact:

Re: BBC Font

Post by jgharston » Sat Jul 28, 2018 1:29 pm

It's in different places in different operating systems, and you should never access it directly, that's what OSWORD 10 is for.

Plus:
* loads of 8x8 fonts
* default 8-bit system fonts
:)

Code: Select all

$ bbcbasic
PDP11 BBC BASIC IV Version 0.25
(C) Copyright J.G.Harston 1989,2005-2015
>_

User avatar
tricky
Posts: 2849
Joined: Tue Jun 21, 2011 8:25 am
Contact:

Re: BBC Font

Post by tricky » Sat Jul 28, 2018 2:46 pm

In my BasicInvaders game I actually used the OSWORD call for the first time, do I get a lolly pop :lol:

Prime
Posts: 2579
Joined: Sun May 31, 2009 11:52 pm
Contact:

Re: BBC Font

Post by Prime » Sat Jul 28, 2018 4:09 pm

Thanks for the replies, reason I want them is to extract binary data to use on a microcontroller running an LCD display....so will extract from MOS rom.

Cheers.

Phill.

Coeus
Posts: 1079
Joined: Mon Jul 25, 2016 11:05 am
Contact:

Re: BBC Font

Post by Coeus » Thu Aug 02, 2018 8:55 pm

jgharston wrote:
Sat Jul 28, 2018 1:29 pm
* default 8-bit system fonts
Interesting that there comes a point where people have concluded there are now enough dots available to go for a serif font, presumably thinking it will give a "professional" look and since the fashion has gone back to sans-serif fonts.
Last edited by Coeus on Thu Aug 02, 2018 8:56 pm, edited 1 time in total.

User avatar
jgharston
Posts: 3248
Joined: Thu Sep 24, 2009 11:22 am
Location: Whitby/Sheffield
Contact:

Re: BBC Font

Post by jgharston » Fri Aug 03, 2018 8:07 pm

Coeus wrote:
Thu Aug 02, 2018 8:55 pm
jgharston wrote:
Sat Jul 28, 2018 1:29 pm
* default 8-bit system fonts
Interesting that there comes a point where people have concluded there are now enough dots available to go for a serif font, presumably thinking it will give a "professional" look and since the fashion has gone back to sans-serif fonts.
Every now and then I *CLOAD merp and happily type away until the minimal difference between upper and lower case starts getting annoying. :)

Image

Bit7Inv is quite useful when examining memory dumps for finding top-bit-set marked strings:

Image
Last edited by jgharston on Fri Aug 03, 2018 8:07 pm, edited 1 time in total.

Code: Select all

$ bbcbasic
PDP11 BBC BASIC IV Version 0.25
(C) Copyright J.G.Harston 1989,2005-2015
>_

Post Reply