Rotina para controle de portas paralelas em C. (biblioteca LP.h)
Publicado por Helton Barbosa Santos Ferreira 10/04/2006
[ Hits: 4.877 ]
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);
Fibbonacci com Memoization - O(n)
Atenção a quem posta conteúdo de dicas, scripts e tal (6)
Como Configurar um Túnel SSH Reverso para Acessar Sua Máquina Local a Partir de uma Máquina Remota
Configuração para desligamento automatizado de Computadores em um Ambiente Comercial
O mínimo que você precisa saber sobre o terminal (parte 2)
O mínimo que você precisa saber sobre o terminal (parte 1)
Como iniciar uma máquina virtual do VirtualBox automaticamente no boot do LUbuntu 18 LTS
Mudar o gerenciador de login (GDM para SDDM e vice-versa) - parte 2
Como deixar as abas do Firefox mais fininhas
Mudar o gerenciador de login (GDM para SDDM)
"Tentando" fazer com que programas rodem no Wayland e no X11
Porblema com MergeList [RESOLVIDO] (10)
Melhor hospedagem em nuvem para projetos Laravel com baixo custo? [RES... (7)
Como baixar os drivers de áudio no linux mint? (7)
Como posso localizar o arquivo HTML da página inicial do GLPI dentro d... (2)
[Python] Automação de scan de vulnerabilidades
[Python] Script para analise de superficie de ataque
[Shell Script] Novo script para redimensionar, rotacionar, converter e espelhar arquivos de imagem
[Shell Script] Iniciador de DOOM (DSDA-DOOM, Doom Retro ou Woof!)
[Shell Script] Script para adicionar bordas às imagens de uma pasta