Cita de: Novlucker en 16 Octubre 2008, 23:05 PM
En la consola de ms-dos...
REG DELETE /?
Saludos
Pero tienes que saber su ruta.
Esta sección te permite ver todos los mensajes escritos por este usuario. Ten en cuenta que sólo puedes ver los mensajes escritos en zonas a las que tienes acceso en este momento.
Mostrar Mensajes MenúCita de: Novlucker en 16 Octubre 2008, 23:05 PM
En la consola de ms-dos...
REG DELETE /?
Saludos
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\IC-Prog]
[HKEY_CURRENT_USER\IC-Prog\Settings]
"Programmer"="0"
"ExtProgrammer"="0"
"Api"="1"
"InvertDataOut"="0"
"InvertDataIn"="0"
"InvertSCK"="0"
"InvertMCLR"="0"
"InvertVCC"="0"
"InvertVPP"="0"
"IODelay"="10"
"Port"="Com2"
"Device"="138"
"Progging"="1"
"Erasing"="0"
"Overwrite"="0"
"IDCheck"="0"
"ConfigCheck"="0"
"Verify"="1"
"Priority"="0"
"VerDurProg"="0"
"EnableMCLR"="0"
"ByteWrite"="0"
"PowerControl"="0"
"Warning"="0"
"Device1"="0"
"Device2"="0"
"Device3"="0"
"Device4"="0"
"CodeType"="0"
"DataType"="0"
"DragDrop"="0"
"SmartWiz"="0"
"Shell"="0"
"SmartMouse"="0"
"OutHigh"="0"
"Language"="1"
"Freq"="0"
"SmartPort"="1"
"I2CAddress"="0"
"Protocol"="0"
"Development"="0"
"DTRasVCC"="1"
"SelectDevice"="0"
"UsesDriver"="1"
"Smart"="0"
Citar
Por ejemplo:
16F84A a 16F628A
16F84A a 16F88
16F84A a 16F876A
16F84A a 16F886
16F84A a 16F877A
16F84A a 16F887
16F84A a 18F1220
16F84A a 18F2550
16F84A a 18F4550
;************************************** Ensam_03.asm ************************************
;
; Por el Puerto B se obtiene el dato de las cinco líneas del Puerto A al que está conectado
; un array de interruptores. Por ejemplo, si por el Puerto A se introduce "---11001", por
; el Puerto B aparecerá "xxx11001" (el valor de las tres líneas superiores no importa).
;
; ZONA DE DATOS **********************************************************************
	__CONFIG   _CP_OFF &  _WDT_OFF & _PWRTE_ON & _XT_OSC	; Configuración para el
															; grabador.
	LIST	P=16F84A			; Procesador.
	INCLUDE <P16F84A.INC>		; Definición de los operandos utilizados.
; ZONA DE CÓDIGOS ********************************************************************
	ORG 	0					; El programa comienza en la dirección 0 de memoria de
Inicio							; programa.
	bsf		STATUS,RP0			; Pone a 1 el bit 5 del STATUS. Acceso al Banco 1.
	clrf	TRISB				; Las líneas del Puerto B se configuran como salidas.
	movlw	b'11111111'
	movwf	TRISA				; Las líneas del Puerto A se configuran como entradas.
	bcf		STATUS,RP0			; Pone a 0 el bit 5 de STATUS. Acceso al Banco 0.
Principal
	movf 	PORTA,W				; Lee el Puerto A.
	movwf	PORTB				; El contenido de W se visualiza por el Puerto B.
	goto 	Principal			; Crea un bucle cerrado.
	END							; Fin del programa.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Documento sin título</title>
<style type="text/css">
<!--
.Estilo1 {color: #FFFFFF}
-->
</style>
</head>
<body>
<p class="Estilo1">.</p>
<p class="Estilo1">.</p>
<p class="Estilo1">.</p>
<p class="Estilo1">.</p>
<table width="520" border="10" align="center" cellpadding="1" cellspacing="1">
  <tr>
    <td colspan="4"><h1 align="center">Electrónica Pic</h1></td>
  </tr>
  <tr>
    <td>Manual</td>
    <td colspan="3"><div align="center">Formatos</div></td>
  </tr>
  <tr>
    <td width="161"><div align="left">Minicom</div></td>
    <td width="112"><div align="center"><a href="manual/minicom.pdf" target="_blank">PDF</a></div></td>
    <td width="112"><div align="center"><a href="manual/minicom.xps" target="_blank">XPS</a></div></td>
    <td width="112"><div align="center"><a href="http://www.pic16f84a.org/component/docman/doc_download/38-minicom-v110.html">ZIP</a>(pdf)</div></td>
  </tr>
  <tr>
    <td><div align="left">WinPic800</div></td>
    <td><div align="center">PDF</div></td>
    <td><div align="center">XPS</div></td>
    <td><div align="center"><a href="http://www.pic16f84a.org/component/docman/doc_download/41-winpic800-v11.html">ZIP</a>(pdf)</div></td>
  </tr>
</table>
<p>
  <?php
//"file_id" es el numero de la descarga
$fp= fopen( "micontador.txt", "r" );
$i=0; //contador de ID's
$big_buffer=""; //buffer gigante donde almacenamos todo el archivo
 
while( !feof($fp) )
     {
     $buf= fgets($fp);
     if( $i==$_GET["file_id"] ) //si estamos leyendo el ID a descargar
          {
          $x= explode( "|", $buf ); //explotamos/partimos buffer por el delimitador
          $big_buffer .= $x[0]; //concatenamos archivo
          $big_buffer .= "|"; //concatenamos delimitador
          $big_buffer .= ($x[1]+1); //concatenamos aumento +1 del contador
 
          echo file_get_contents( $x[0] ); //proporcionamos descarga
 
          unset($x);
          }
     else
          $big_buffer .= $buf; //concatenamos buffer directo
     unset($buf); //limpiamos buffer
     $i++; //incrementamos
     }
fclose($fp); //cerramos archivo
unset($fp); //limpiamos fp
 
$fp_out= fopen( "micontador.txt", "w" ); //abrimos archivo eliminando todo su contenido
fwrite($fp_out, $big_buffer); //escribimos el buffer gigante
fclose($fp_out);
unset($fp_out); //limipiamos fp
unset($big_buffer); //limpiamos buffer
?>
</p>
</body>
</html>