Anthony Ormond Posted January 11, 2011 Author Report Share Posted January 11, 2011 Autoexec @echo off REM AUTOEXEC.BAT is not used to initialize the MS-DOS environment. REM AUTOEXEC.NT is used to initialize the MS-DOS environment unless a REM different startup file is specified in an application's PIF. REM Install CD ROM extensions lh %SystemRoot%\system32\mscdexnt.exe REM Install network redirector (load before dosx.exe) lh %SystemRoot%\system32\redir REM Install DPMI support lh %SystemRoot%\system32\dosx REM The following line enables Sound Blaster 2.0 support on NTVDM. REM The command for setting the BLASTER environment is as follows: REM SET BLASTER=A220 I5 D1 P330 REM where: REM A specifies the sound blaster's base I/O port REM I specifies the interrupt request line REM D specifies the 8-bit DMA channel REM P specifies the MPU-401 base I/O port REM T specifies the type of sound blaster card REM 1 - Sound Blaster 1.5 REM 2 - Sound Blaster Pro I REM 3 - Sound Blaster 2.0 REM 4 - Sound Blaster Pro II REM 6 - SOund Blaster 16/AWE 32/32/64 REM REM The default value is A220 I5 D1 T3 and P330. If any of the switches is REM left unspecified, the default value will be used. (NOTE, since all the REM ports are virtualized, the information provided here does not have to REM match the real hardware setting.) NTVDM supports Sound Blaster 2.0 only. REM The T switch must be set to 3, if specified. SET BLASTER=A220 I5 D1 P330 T3 REM To disable the sound blaster 2.0 support on NTVDM, specify an invalid REM SB base I/O port address. For example: REM SET BLASTER=A0 set clipper=f:150;r:80 config.nt REM Windows MS-DOS Startup File REM REM CONFIG.SYS vs CONFIG.NT REM CONFIG.SYS is not used to initialize the MS-DOS environment. REM CONFIG.NT is used to initialize the MS-DOS environment unless a REM different startup file is specified in an application's PIF. REM REM ECHOCONFIG REM By default, no information is displayed when the MS-DOS environment REM is initialized. To display CONFIG.NT/AUTOEXEC.NT information, add REM the command echoconfig to CONFIG.NT or other startup file. REM REM NTCMDPROMPT REM When you return to the command prompt from a TSR or while running an REM MS-DOS-based application, Windows runs COMMAND.COM. This allows the REM TSR to remain active. To run CMD.EXE, the Windows command prompt, REM rather than COMMAND.COM, add the command ntcmdprompt to CONFIG.NT or REM other startup file. REM REM DOSONLY REM By default, you can start any type of application when running REM COMMAND.COM. If you start an application other than an MS-DOS-based REM application, any running TSR may be disrupted. To ensure that only REM MS-DOS-based applications can be started, add the command dosonly to REM CONFIG.NT or other startup file. REM REM EMM REM You can use EMM command line to configure EMM(Expanded Memory Manager). REM The syntax is: REM REM EMM = [A=AltRegSets] [b=BaseSegment] [RAM] REM REM AltRegSets REM specifies the total Alternative Mapping Register Sets you REM want the system to support. 1 <= AltRegSets <= 255. The REM default value is 8. REM BaseSegment REM specifies the starting segment address in the Dos conventional REM memory you want the system to allocate for EMM page frames. REM The value must be given in Hexdecimal. REM 0x1000 <= BaseSegment <= 0x4000. The value is rounded down to REM 16KB boundary. The default value is 0x4000 REM RAM REM specifies that the system should only allocate 64Kb address REM space from the Upper Memory Block(UMB) area for EMM page frames REM and leave the rests(if available) to be used by DOS to support REM loadhigh and devicehigh commands. The system, by default, would REM allocate all possible and available UMB for page frames. REM REM The EMM size is determined by pif file(either the one associated REM with your application or _default.pif). If the size from PIF file REM is zero, EMM will be disabled and the EMM line will be ignored. REM dos=high, umb device=%SystemRoot%\system32\himem.sys REM files=40 rem por RCA. files=150 buffers=32 citação:Como está o AUTOEXEC.NT e o CONFIG.NT ?? João Santos - São Paulo. kmt_karinha@pop.com.br joao@pleno.com.br Fone: (11) 3106-2832 / 8243-5632 - TIM FWH 2.7 - xHARBOUR WorkShop.Exe id=quote>id=quote>Itaocara - RJ Clipper 5.3b - Fw 2.6 - DBFCDX xHb 1.1.0 - FwxH 8.02 - DBFCDX Quote Link to comment Share on other sites More sharing options...
kapiaba Posted January 11, 2011 Report Share Posted January 11, 2011 @echo off REM AUTOEXEC.BAT nao ‚ usado para inicializar o ambiente MS-DOS. REM AUTOEXEC.NT ‚ usado para inicializar o ambiente MS-DOS, a nao REM ser que se especifique um arquivo de inicializa‡ao diferente REM no arquivo de informa‡oes de programa (PIF) do aplicativo. REM Instalar as extensoes CD ROM lh %SystemRoot%\system32\mscdexnt.exe REM Instalar o redirecionador da rede (carregar antes do dosx.exe) lh %SystemRoot%\system32\redir REM Instalar o suporte DPMI lh %SystemRoot%\system32\dosx REM mode con codepage prepare=((850) C:\WINDOWS\SYSTEM32\ega.cpi) REM mode con codepage select=850 REM keyb br,,C:\WINDOWS\system32\keybord.sys /id:275 KB16 BR,850,C:\WINDOWS\SYSTEM32\KEYBRD2.SYS /ID:275 REM PARA NAO DAR DOS ERROR 2 TERM SET CLIPPER=F250 João Santos - São Paulo. kmt_karinha@pop.com.br joao@pleno.com.br Fone: (11) 3106-2832 / 8243-5632 - TIM FWH 2.7 - xHARBOUR WorkShop.Exe Quote Link to comment Share on other sites More sharing options...
kapiaba Posted January 11, 2011 Report Share Posted January 11, 2011 REM Arquivo de inicialização do MS-DOS no Windows REM REM CONFIG.SYS x CONFIG.NT REM O arquivo CONFIG.SYS não é usado para inicializar o ambiente REM do MS-DOS. Com este fim é usado o arquivo CONFIG.NT, a não ser REM que um arquivo de inicialização diferente seja especificado no REM arquivo de informação de programa (PIF) de um aplicativo. REM REM ECHOCONFIG REM Por padrão, nenhuma informação é exibida ao se inicializar o REM ambiente do MS-DOS. Para exibir as informações dos arquivos REM CONFIG.NT e AUTOEXEC.NT, adicione o comando ECHOCONFIG ao arquivo REM CONFIG.NT ou a outro arquivo de inicialização. REM REM NTCMDPROMPT REM Quando se retorna de um programa residente na memória ao prompt REM de comando ou enquanto se executa um aplicativo do MS-DOS, o Windows REM executa o COMMAND.COM para permitir que o programa residente permaneça REM ativo. Se você desejar que o Prompt de comando do Windows (CMD.EXE) REM seja executado ao invés do COMMAND.COM, adicione o comando ntcmdprompt REM ao arquivo CONFIG.NT ou a outro arquivo de inicialização. REM REM DOSONLY REM Por padrão, você pode iniciar qualquer aplicativo executando o programa REM COMMAND.COM. Se você iniciar um aplicativo que não seja do MS-DOS, é REM possÃvel que programas residentes na memória sejam interrompidos. Para REM garantir que somente aplicativos do MS-DOS possam ser iniciados, adicione REM o comando dosonly ao arquivo CONFIG.NT ou a outro arquivo de REM inicialização. REM REM EMM REM Você pode usar a linha de comando EMM para configurar o gerenciador REM de memória expandida (EMM). A sintaxe é a seguinte: REM REM EMM = [A=ConjRegMapAlts] [b=SegmentoBase] [RAM] REM REM ConjRegMapAlts REM especifica o total de conjuntos de registros de mapeamento REM alternativos que você deseja que o sistema aceite. REM 1 <= AltRegSets <= 255. O valor padrão é 8. REM SegmentoBase REM especifica o endereço do segmento inicial na memória REM convencional do DOS em que você deseja que o sistema aloque REM os quadros de páginas do EMM. O valor deve ser fornecido em REM números hexadecimais. 0x1000 <= SegmentoBase <= 0x4000. REM O valor é arredondado para baixo no limite de 16 Kb. REM O valor padrão é 0x4000. REM RAM REM especifica que o sistema deve alocar somente 64 Kb do espaço REM de endereçamento da área do Bloco de Memória Superior (UMB) REM para quadros de páginas do EMM e deixar o restante (se REM houver) para ser usado pelo DOS para aceitar comandos REM loadhigh e devicehigh. Por padrão, o sistema aloca o REM máximo possÃvel para os quadros de páginas. REM REM O tamanho do EMM é determinado pelo arquivo PIF associado ao REM aplicativo ou pelo arquivo _default.pif. Se o tamanho do arquivo REM PIF for igual a zero, o EMM será desativado e a linha de comando REM EMM ignorada. REM dos=high, umb device=%SystemRoot%\system32\himem.sys FILES=250 BUFFERS=32 device=C:\ARQUIV~1\ALWILS~1\Avast5\aswmonds.sys João Santos - São Paulo. kmt_karinha@pop.com.br joao@pleno.com.br Fone: (11) 3106-2832 / 8243-5632 - TIM FWH 2.7 - xHARBOUR WorkShop.Exe Quote Link to comment Share on other sites More sharing options...
Luiz Arruda (ICO) Posted January 11, 2011 Report Share Posted January 11, 2011 Minha ultima tentativa chuinf Autoexec.nt SET CLIPPER=F200 //DYNF:8 //SWAPK:65535 //SWAPPATH:"C:\TEMP" //TEMPPATH:"C:\TEMP" set lib=C:\FW192\lib ;C:\CLP53\LIB set include=C:\clp53\include;c:\fw192\include id=code>id=code>Luiz Arruda Corumbá - MS ico.corumba@gmail.com FiveWin 9.04 [x]Harbour PellesC Bcc Ws Aprendendo Logic Basic & SQL Retorne avisando se a dica funcionouid=red> Quote Link to comment Share on other sites More sharing options...
Anthony Ormond Posted January 11, 2011 Author Report Share Posted January 11, 2011 Já fiz com as dicas acima ++ , já reiniciei o computador, já apaguei os indices e nada. Itaocara - RJ Clipper 5.3b - Fw 2.6 - DBFCDX xHb 1.1.0 - FwxH 8.02 - DBFCDX Editado por - aormond on 11/01/2011 15:27:53 Quote Link to comment Share on other sites More sharing options...
kapiaba Posted January 11, 2011 Report Share Posted January 11, 2011 Verifique o error.log, tem alguma função que está te ferrando, desmembre-a. João Santos - São Paulo. kmt_karinha@pop.com.br joao@pleno.com.br Fone: (11) 3106-2832 / 8243-5632 - TIM FWH 2.7 - xHARBOUR WorkShop.Exe Quote Link to comment Share on other sites More sharing options...
kapiaba Posted January 11, 2011 Report Share Posted January 11, 2011 citação:Verifique o error.log, tem alguma função que está te ferrando, desmembre-a. Rode-a no XP, fica mais fácil. João Santos - São Paulo. kmt_karinha@pop.com.br joao@pleno.com.br Fone: (11) 3106-2832 / 8243-5632 - TIM FWH 2.7 - xHARBOUR WorkShop.Exe id=quote>id=quote>João Santos - São Paulo. kmt_karinha@pop.com.br joao@pleno.com.br Fone: (11) 3106-2832 / 8243-5632 - TIM FWH 2.7 - xHARBOUR WorkShop.Exe Quote Link to comment Share on other sites More sharing options...
kapiaba Posted January 11, 2011 Report Share Posted January 11, 2011 http://www.elguille.info/Clipper/errores.htm João Santos - São Paulo. kmt_karinha@pop.com.br joao@pleno.com.br Fone: (11) 3106-2832 / 8243-5632 - TIM FWH 2.7 - xHARBOUR WorkShop.Exe Quote Link to comment Share on other sites More sharing options...
Anthony Ormond Posted January 12, 2011 Author Report Share Posted January 12, 2011 Caros colegas quero agradecer a todos pela ajuda, principalmente: Kapiaba e Luiz Arruda. O problema foi aparentemente solucionado. Solução: Não sei dizer, pois temos duas pessoas(com maquinas diferentes) tentando solucionar o problema e de uma hora para outra parou de ocorrer o problema, inclusive sempre apagando o OBJ antes das compilações. Ficou mantido como anteriormente o STACKSIZE 11500 HEAPSIZE 8520. Desde já, muito obrigado. Itaocara - RJ Clipper 5.3b - Fw 2.6 - DBFCDX xHb 1.1.0 - FwxH 8.02 - DBFCDX Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.