English Amiga Board


Go Back   English Amiga Board > Coders > Coders. General

 
 
Thread Tools
Old 02 April 2009, 13:29   #1
yoki
Registered User
 
Join Date: Jan 2009
Location: Göteborg / Sweden
Posts: 25
blitz incbin..

yo!
is there any compiler directive or other trick to force blitz to place incbin:ed
binaries in chipmem?
yoki is offline  
Old 02 April 2009, 13:48   #2
StingRay
move.l #$c0ff33,throat
 
StingRay's Avatar
 
Join Date: Dec 2005
Location: Berlin/Joymoney
Posts: 6,863
i have no idea about blitz but you could try "section data,data_c", if blitz supports inline asm it should also support sections.
StingRay is offline  
Old 02 April 2009, 14:13   #3
yoki
Registered User
 
Join Date: Jan 2009
Location: Göteborg / Sweden
Posts: 25
not using that syntax atleast
data is a reserved keyword in basic also
yoki is offline  
Old 02 April 2009, 14:31   #4
StingRay
move.l #$c0ff33,throat
 
StingRay's Avatar
 
Join Date: Dec 2005
Location: Berlin/Joymoney
Posts: 6,863
Quote:
Originally Posted by yoki View Post
not using that syntax atleast
data is a reserved keyword in basic also
try "section bla,data_chip", maybe that works.
StingRay is offline  
Old 03 April 2009, 00:28   #5
Photon
Moderator
 
Photon's Avatar
 
Join Date: Nov 2004
Location: Eksjö / Sweden
Posts: 5,602
There should be a way. An Amiga BASIC that allows incbin but disallows "nofastmem" or "chipmemonly" would be a very, very stupid piece of software. Should be a manual with directives somewhere?
Photon is offline  
Old 03 April 2009, 12:29   #6
yoki
Registered User
 
Join Date: Jan 2009
Location: Göteborg / Sweden
Posts: 25
seems that the original commercial blitz which i use does not support any directives like that.. however, i just found out that AmiBlitz2 has got "chip" and "bss" directives, problem solved.. \o/
yoki 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
Blitz 2: Resources r0ber7 Coders. Tutorials 14 24 January 2013 23:58
Blitz: Which mode to use BippyM Coders. Blitz Basic 2 23 January 2013 18:09
Using a diskfont without diskfont.library, just incbin it! a4k-oerx Coders. General 12 18 December 2008 13:16
Blitz Basic 2 anyone? jobro request.Apps 12 28 November 2005 18:15
Blitz CD? Graham Humphrey Coders. General 5 08 February 2005 13:49

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 21:31.

Top

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