03 July 2014, 15:49 | #1 |
Registered User
Join Date: Nov 2009
Location: Legoland
Age: 45
Posts: 1,461
|
How to decode ZX Spectrum and C64 fonts
Hi,
I have the fonts that came with Paul Dunn's BASIn emulator and some C64 fonts dumps I downloaded before, and I am thinking in using the fonts on something, but I am unsure how to decode they, because I never owned these computers. Anybody, for example, Paul Dunn, can say how BASin encodes the font in BASin files, and in C64 raw files? Anybody have some fonts that you want to share? Thanks Last edited by Leandro Jardim; 03 July 2014 at 15:54. |
03 July 2014, 17:23 | #2 |
Join Date: Jul 2008
Location: Sweden
Posts: 2,269
|
The fonts are 8x8 bitmaps of ASCII characters 32 through 127 in 1 bit per pixel, so the first 8 bytes is the blank space, the next 8 bytes is !, and so on.
|
04 July 2014, 00:00 | #4 |
Registered User
Join Date: Nov 2009
Location: Legoland
Age: 45
Posts: 1,461
|
I did read that ZX Spectrum bitmaps are differently encoded from other 8-bit computers. Ah, what changes is the logical addressing on a true ZX Spectrum. Thanks!
Last edited by Leandro Jardim; 04 July 2014 at 00:52. |
04 July 2014, 02:05 | #5 |
Registered User
Join Date: Aug 2006
Location: Scunthorpe/United Kingdom
Posts: 1,981
|
Yeah, each font is 768 bytes, which is 96 characters with one byte per row (8 bytes per character). LSB is the rightmost pixel.
D. |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Finding Fonts | Madcrow | request.Apps | 3 | 20 March 2022 15:12 |
Optimising ILBM decode | pmc | Coders. Asm / Hardware | 21 | 12 October 2011 20:24 |
Free C64's and a ZX Spectrum 128 | PowerDrinker62 | MarketPlace | 13 | 10 July 2010 22:12 |
Codemasters CD Games Pack (ZX Spectrum) - games on CD for a Spectrum! :O | laffer | Retrogaming General Discussion | 62 | 24 May 2010 12:04 |
Fonts | alkis21 | request.Apps | 2 | 23 August 2002 09:33 |
|
|