Using Basic/4g and CWSDPMI DOS Extender to access PCI card

If you have questions about any aspect of QBasic programming, or would like to help fellow programmers solve their problems, check out this board!

Moderators: Pete, Mods

Post Reply
Lbmalibu
Newbie
Posts: 1
Joined: Tue Jan 22, 2008 10:04 am

Using Basic/4g and CWSDPMI DOS Extender to access PCI card

Post by Lbmalibu »

A PC/104 card (ISA bus) I use went obsolete and now is avail. as PC/104+ and uses the PCI bus access only. I'm operating in DOS with a 386+ type processor. I used PCI_Sniffer to scan the PCI bus to get the board address which came back as A000 0000h. I want to use my existing QB4.5 code to Peek and Poke to this card, which is the only card on the PCI bus. I decided to try the Basic/4G libraries and the CWSDPMI DOS Extender to access memory above 1 Megabyte. I have succesfully run the sample programs provided but can't seem to access the PCI bus. I'm using a DEF SEG of 0A00 0000h, but suspect this is not the correct. Is DEF SEG limited to 16 bits? Has anyone tried to use these libraries and extender to access the PCI bus? Any insites appreciated.
User avatar
Seb McClouth
Veteran
Posts: 342
Joined: Wed Nov 09, 2005 7:47 am
Location: Inside the Matrix...
Contact:

Post by Seb McClouth »

I suggest you download PDS 7.1 a.k.a. QB 7.1 It handles at lot of things better. I was using QB4.5 first for QBinux but have past on to QB7.1.

Give it a try and let us know if it works!

Grtz
QBinux is a Linux distribution with the aim of integrating the work of the vast community of free software developers at Pete's QBASIC Site in order to create a modern, performant, safe and easy to use system for system administrators and desktop users.
Post Reply