English Amiga Board


Go Back   English Amiga Board > Coders > Coders. General

 
 
Thread Tools
Old 27 May 2011, 14:39   #1
h0ffman
Registered User
 
Join Date: Aug 2008
Location: Salisbury
Posts: 575
Topaz font.. code for grabbing it from the OS

Just wondering if anyone has the code needed to pinch the topaz font from the amiga OS? I seem to remember a lot of the old A500 boot blocks doing this for boot menus and such. Also wondering if the code to rip it from the A500 would also work on the A1200?
h0ffman is offline  
Old 27 May 2011, 14:44   #2
StingRay
move.l #$c0ff33,throat

StingRay's Avatar
 
Join Date: Dec 2005
Location: Berlin/Joymoney
Posts: 6,650
Click me
StingRay is offline  
Old 27 May 2011, 14:58   #3
h0ffman
Registered User
 
Join Date: Aug 2008
Location: Salisbury
Posts: 575
Right on the case, cheers
h0ffman is offline  
Old 23 June 2011, 23:59   #4
Photon
Moderator

Photon's Avatar
 
Join Date: Nov 2004
Location: Eksjö / Sweden
Posts: 4,954
OpenFont() also works.

From a bootblock of mine:
Code:
	lea FontDef(PC),a0
	lea FontName(PC),a1
	move.l a1,(a0)			;PC-relative, ya know!
	jsr -72(a6)			;openFont(topaz.font)
	move.l d0,a1
	move.l $22(a1),a2		;fontaddr
	jsr -78(a6)			;close font
;          ...
FontDef:dc.l 0
	dc.w 8,0
FontName:dc.b "topaz.font",0
Photon is offline  
 


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
1.3 Topaz font Anakirob request.Other 11 04 March 2012 13:27
Why can't I open the Topaz-font in a boot block? Leffmann Coders. General 13 19 May 2010 21:52
Manuals for grabbing, or binning Loedown MarketPlace 3 17 March 2009 12:08
App to edit fonts like topaz.8 and topaz.9? Photon support.Apps 8 17 July 2008 20:32
grabbing Screenshots akis New to Emulation or Amiga scene 6 02 December 2001 14:07

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 03:46.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, vBulletin Solutions Inc.
Page generated in 0.11453 seconds with 13 queries