Started to add support for segments.
git-svn-id: svn://svn.cc65.org/cc65/trunk@3805 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
@@ -66,6 +66,19 @@ void AddrCheck (unsigned Addr)
|
||||
|
||||
|
||||
|
||||
int SegmentDefined (unsigned Start, unsigned End)
|
||||
/* Return true if the atSegment bit is set somewhere in the given range */
|
||||
{
|
||||
while (Start <= End) {
|
||||
if (AttrTab[Start++] & atSegment) {
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
|
||||
unsigned GetGranularity (attr_t Style)
|
||||
/* Get the granularity for the given style */
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user