Rotina para controle de portas paralelas em C. (biblioteca LP.h)
Publicado por Helton Barbosa Santos Ferreira 10/04/2006
[ Hits: 5.011 ]
Download biblio porta paralela.txt
Esta é a biblioteca necessária para o programa "Rotina para controle de portas paralelas em C. Espero que gostem!!!
# @(#) lp.h 1.1 91/03/18 19:50:17 /* lp.h include file */ /* function codes */ #define IN 1 #define OUT 2 #define INIT 3 #define STAT 4 #define SELECT 5 #define IS_BUSY 6 #define IS_ACK 7 #define IS_PRESENT 8 /* SELECT subfunction calls */ #define ASSERT 100 #define DEASSERT 101 /* common lpt ports on PCs. NOTE that the PC ROM bios does not bind these */ /* addresses to LPTs according to any rule. Instead it scans this set of */ /* addresses and assigns LPTs in sequence. The subtlty does not matter */ /* except when dealing with some "smart" lpt cards that try to out-guess */ /* what the BIOS is doing and adjusts its address accordingly. For the */ /* Nidget, we keep things a bunch simpler. */ #define LPT1 0x3bc #define LPT2 0x378 #define LPT3 0x278 extern unsigned int lpt_print( unsigned int, unsigned char, int);
Busca em texto - Lista encadeada
Gerenciamento de Área de Alocação Dinâmica (Listas Encadeadas)
O que é o THP na configuração de RAM do Linux e quando desabilitá-lo
Comparação entre os escalonadores BFQ e MQ-Deadline (acesso a disco) no Arch e Debian
Conciliando o uso da ZRAM e SWAP em disco na sua máquina
Servidor de Backup com Ubuntu Server 24.04 LTS, RAID e Duplicati (Dell PowerEdge T420)
Como unir duas coleções de ROMs preservando as versões traduzidas (sem duplicatas)
Como instalar o Telegram Desktop no Ubuntu 24.04
Overclocking Permanente para Drastic no Miyoo Mini Plus
Problemas de chaves (/usr/share/keyrings) no Debian
Converter os repositórios Debian para o novo formato com as chaves
Browser/Placa de vídeo trava Ubuntu 22.04 (1)
Salvar estado da VM no virt-manager [RESOLVIDO] (5)