14 June 2013, 18:09 | #1 |
Registered User
Join Date: Sep 2008
Location: Germany
Age: 49
Posts: 137
|
SECTION statement and the CHIP/FAST attribute
Is it true that there is no kind of a 'fallback' declaring a section to be located in fast mem, e.g.
Code:
section myCode,code,fast Code:
section myCode,Code |
14 June 2013, 18:58 | #2 |
move.l #$c0ff33,throat
Join Date: Dec 2005
Location: Berlin/Joymoney
Posts: 6,863
|
if you declare _F or fast (depending on the used assembler), the section in question will be loaded to fast memory, if no fast mem is available, an out of memory error will occur. If you omit the _F/fast specifier, the section will be loaded to fast mem if available, otherwise chip mem will be used.
|
14 June 2013, 20:41 | #3 |
Registered User
Join Date: Sep 2008
Location: Germany
Age: 49
Posts: 137
|
Thank you. Question is answered.
|
15 June 2013, 18:18 | #4 |
Moderator
Join Date: Nov 2004
Location: Eksjö / Sweden
Posts: 5,602
|
For completeness:
_P (or omitted): fastmem if available, else chipmem _F: fastmem, forced _C: chipmem, forced (for data accessed by custom chips, such as graphics, samples, copper lists). |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Autovector remap top chip as fast on A600? | Photon | Coders. System | 10 | 11 May 2013 21:56 |
A500 - 6A, 1MB chip + some fast | Chain | support.Hardware | 97 | 06 November 2012 13:41 |
2Mb Chip Or 4Mb Fast? | Reptile | support.Hardware | 16 | 22 December 2010 22:31 |
Allocating Fast RAM as Chip? | Fingerlickin_B | support.Hardware | 22 | 20 November 2008 22:15 |
Set Chip and Fast RAM in WinUAE | nineoc | New to Emulation or Amiga scene | 17 | 20 September 2006 09:25 |
|
|