WinAsm Studio, The Assembly IDE - Free Downloads, Source Code
Sponsors
Articles
Programming Quick Start
32-bit Assembler is Easy
Porting Iczelion tutorials
What is FASM
What is FASM G
Hard Drive Recovery
Wiring your own LAN
Personal menu
Welcome Guest
User:
Pass:
Register!
Resend Validation Email
 
Forum
Pages (2) [1] 2   ( Go to first unread post )

ru: how to work with LPT?, how to work with LPT by using WinAsm

qwerty322261
Quote Post


New Member
*

Group: Members
Posts: 3
Member No.: 39071
Joined: 31-October 10


Sponsored Links
hi EveryBoby
I want to figure out how work Lpt Port(i meant read and write to pin by WinAsm). I did not find any staff about it.
I was trying to make device on http://www.pcports.ru/articles/1.php, but i dont have MSDEV, and i can't dounload it cause me internet isn't good. By using Dev-C++ this source not working. I'll by very happy if somebody will explein it to me (in asm or Dev-C++).
PMEmail Poster
Top
shoorick
Quote Post


Extremely Active Member
******

Group: Admins
Posts: 2342
Member No.: 160
Joined: 22-June 04


have you already look there: http://www.winasm.net/forum/index.php?showtopic=2341 ?

in any case, example by your link will work under win 9x only, to get access to the LPT under win2000/winXP you will need driver. i'm using inpout32.dll, there are also some other - giveio etc., but i had not try them.

more complex examples you may found there: http://shoorick.org.ua/prog - software used to control both programmers use inpout32.dll, written with FASM and posted there with source.

inpout32 zip has examples in C for Borland and MS (if you are interesting with C exactly)

i had not see inpout version for Vista or Win7, but i have only winXP and win2000 to try.

let me know if you get any progress.
PMEmail PosterUsers Website
Top
qwerty322261
Quote Post


New Member
*

Group: Members
Posts: 3
Member No.: 39071
Joined: 31-October 10


окей, тема ис
95;;ерпана. похоk8;е мой лпт здох
буду делать програматор на ком :P
спасибо шурик за заботу ;)
PMEmail Poster
Top
shoorick
Quote Post


Extremely Active Member
******

Group: Admins
Posts: 2342
Member No.: 160
Joined: 22-June 04


ну, не обязательно сразу сдаваться. может, есть смысл проверить биос? его могут отключать по умолчанию, может быть, стоит режим ЕРР (он тогда живет своей жизнью), есть смысл уточнить также его базовый адрес в биосе. также нужно посмотреть в диспетчере устройств винды: есть ли? не отключен? адрес? можно попытаться в отладчике поустанавливать биты из под доса.
PMEmail PosterUsers Website
Top
qwerty322261
Quote Post


New Member
*

Group: Members
Posts: 3
Member No.: 39071
Joined: 31-October 10


диспечер устройств видит лпт. Робочий он или нет, наверняка не знаю. Думаю что не работает по след. причине: постоянно есть сигнал на регистрах Data 1-5(Сигнал менял разными прогами управления лпт портом). Проверку осущесвлял светодиодом с резистором. Еще горит какой-то, точно нескажу какой, так как сейчас не имею доступа к стацыонарной машине(где собсна и есть етот лпт). Програмой с твоего сайта тоже пользовался(показывает что на регистре дата вездедолжны быть единицы, фатачески - сигнал на регистрах Data 1-5)
PMEmail Poster
Top
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

Topic Options Pages (2) [1] 2  Reply to this topicStart new topicStart Poll

 

Sponsors
Computer Science

Internet
C/C++
Hardware & PC maintenance

HiEditor

General Discussions
Suggestions/Bug Reports
WinAsm Studio

General Discussions
Suggestions/Bug Reports
WinAsm Studio FAQ
Multilingual User Interface
Add-Ins
Assembly Programming

Main
Newbies
Projects
Custom Controls
Snippets
Announcements & Rules

Announcements

General

Online Degrees - Distance Learning
The Heap
Russian
Google