Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: determining ECP address?  (Read 1141 times)

0 Members and 1 Guest are viewing this topic.

sdrob04

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 94
  • Last login:February 18, 2021, 02:12:50 pm
determining ECP address?
« on: June 27, 2006, 02:59:03 pm »
How does one determine the ECP (parallel) port address in Win98?  I'm at the initial stages of setting up a ZVG for vector emulation and one of the parameters being asked for is the ECP address.  In the BIOS I found the DMA and IRQ identifiers, but nothing for 'address'.

Once Windows loads, I can find a range for the port, but there are two values listed here, so I'm not sure what I need. 

NOP

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 916
  • Last login:September 19, 2017, 08:22:27 pm
  • I stole my avatar.
    • winterMAME
Re: determining ECP address?
« Reply #1 on: June 28, 2006, 11:35:39 am »
back in the oldschool days, (ie DOS) we used to find the parallel port address by doing the following:

C:\>debug
-d 0:400
0000:0400  F8 03 F8 02 E8 03 E8 02-BC 03 78 03 00 00 C0 9F   ..........x.x...
0000:0410  23 C8 F0 80 02 00 00 20-00 00 32 00 32 00 79 15   #...... ..2.2.y.
0000:0420  0D 1C 64 20 20 39 30 0B-3A 27 34 05 30 0B 30 0B   ..d  90.:'4.0.0.
0000:0430  0D 1C 00 00 00 00 00 00-00 00 00 00 00 00 00 00   ................
0000:0440  CD 00 C3 00 C7 95 31 E3-CA 03 50 00 40 1F 00 00   ......1...P.@...
0000:0450  00 31 00 00 00 00 00 00-00 00 00 00 00 00 00 00   .1..............
0000:0460  07 06 00 D4 03 29 30 9A-0F 80 CA 00 F6 80 0A 00   .....)0.........
0000:0470  00 00 00 00 00 00 08 00-14 14 14 14 01 01 01 01   ................
-q

That glowy part is the base address, or 03BC (flip the bytes around) of LPT1, LPT2 is going to be 0378 in this example.

I'd think that still applies to win98, but I cannot say for certain.

I don't quite recall if it was a deal with ECP or EPP, but one of them also had another I/O range that I think was base+200h, which is probably the 2nd address that windows is reporting to you. 

Standard LPT addresses are 278, 378 and 3bc.

Hope that did the trick.

-jeff!


botman

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 22
  • Last login:May 06, 2009, 01:11:02 pm
  • There is no spoon.
Re: determining ECP address?
« Reply #2 on: June 29, 2006, 05:26:06 pm »
Once Windows loads, I can find a range for the port, but there are two values listed here, so I'm not sure what I need. 
The first address in the range should be the "base" address of the port.