예제 #1
0
bool ProcDos( void )
/*************************/
{
    OvlLevel = 0;
    ProcOne( DosOptions, SEP_NO, FALSE );
    return( TRUE );
}
예제 #2
0
bool ProcBegin( void )
/***************************/
/* process a new overlay area */
{
    section         *oldsect;
    file_list       **oldflist;
    section         *sect;

    LinkState |= FMT_SPECIFIED;      // she must want DOS mode.
    if( ( OvlLevel > 0 ) && FmtData.u.dos.dynamic ) {
        oldsect = NULL;
        oldflist = NULL;
        CmdFlags &= ~CF_AUTOSECTION;        // merge old area with this.
    } else {
        oldsect = CurrSect;
        oldflist = CurrFList;
        sect = NewSection();
        if( LinkFlags & ANY_DBI_FLAG ) {
            DBISectInit( sect );
        }
        NewArea( sect );
        sect->relocs = SECT_ALREADY_MADE;
        CurrSect = sect;
        CurrFList = &sect->files;
    }
    OvlLevel++;
    while( ProcOne( Sections, SEP_NO, FALSE ) != FALSE ) {}  // NULL LOOP
    if( ( OvlLevel == 0 ) || !FmtData.u.dos.dynamic ) {
        CurrFList = oldflist;
        CurrSect = oldsect;
    }
    return( TRUE );
}
예제 #3
0
bool ProcDos( void )
/*************************/
{
    OvlLevel = 0;
    ProcOne( DosOptions, SEP_NO, false );
    return( true );
}
예제 #4
0
bool ProcNovell( void )
/*********************/
{
    if( !ProcOne( NovModels, SEP_NO, false ) ) {  // get file type
        int     nType = 0;

        if( (nType = atoi( Token.this )) > 0 ) {
            GetToken( SEP_NO, TOK_INCLUDE_DOT );
            ProcModuleTypeN( nType );
        } else {
예제 #5
0
bool ProcPharLap( void )
/*****************************/
{
    ProcOne( PharModels, SEP_NO, false );
    return( true );
}
예제 #6
0
bool ProcPharLap( void )
/*****************************/
{
    ProcOne( PharModels, SEP_NO, FALSE );
    return( TRUE );
}