English Amiga Board


Go Back   English Amiga Board > Main > Retrogaming General Discussion

 
 
Thread Tools
Old 03 July 2014, 15:49   #1
Leandro Jardim
Registered User
Leandro Jardim's Avatar
 
Join Date: Nov 2009
Location: Legoland
Age: 39
Posts: 1,205
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.
Leandro Jardim is offline  
AdSense AdSense  
Old 03 July 2014, 17:23   #2
Leffmann

 
Join Date: Jul 2008
Location: Sweden
Posts: 2,103
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.
Leffmann is offline  
Old 03 July 2014, 21:13   #3
Codetapper
2 contact me: email only!

Codetapper's Avatar
 
Join Date: May 2001
Location: Auckland / New Zealand
Posts: 3,139
Fonts are trivial to rip with Maptapper using a savestate too!
Codetapper is offline  
Old 04 July 2014, 00:00   #4
Leandro Jardim
Registered User
Leandro Jardim's Avatar
 
Join Date: Nov 2009
Location: Legoland
Age: 39
Posts: 1,205
Quote:
Originally Posted by Leffmann View Post
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.
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.
Leandro Jardim is offline  
Old 04 July 2014, 02:05   #5
Dunny
Registered User

Dunny's Avatar
 
Join Date: Aug 2006
Location: Scunthorpe/United Kingdom
Posts: 1,007
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.
Dunny is offline  
AdSense AdSense  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
Optimising ILBM decode pmc Coders. Asm / Hardware 21 12 October 2011 20:24
Finding Fonts Madcrow request.Apps 2 29 September 2011 16:33
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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 04:52.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2018, vBulletin Solutions Inc.
Page generated in 0.06636 seconds with 15 queries