[[ header START ]]

Welcome to OS2.GURU site! (eComStation.RU)

Select your language: Russian English Deutch Spanish Italian Portuguese Czech Polish French

Frequently asked questions and answers:
telegram

Форум обсуждение

telegram

Send message

telegram

[ +7-981-8529467 (Санкт-Петербург)

telegram

t.me/os2_guru

eComStation.RU


ru · en · de · es · it · pt · cz · pl · fr
OS/2 is a greatly different operating system for PC (ArcaOS, eComStation, IBM OS/2 Warp)
Applications, news, reviews, support of users, hardware, questions and answers.
 
[What is OS/2?  News  Install  Update  
 
 
Usage  Future  Community  Projects  

How to buy
russian OS/2 apps?

The concept of
OS/2 development

(Map of the site)

 
 
[[ head-3-search ]]

Database of OS/2 compatible hardware

[[ head-3-search END ]]

 
Update

 
Applications

 
Advantages:

 
For developer:

 
(Пайпы программ)

 
Companies:

 
History:

 
(Бонусы)

 
Advice:

 
(Барьеры и решения)

 
Technologies:

 
(Применение в науке, лаборатории, ..)

 

 
Solutions

 
New eComStation:

 
Future:

 
(Ссылки на другие сайты)

 
(Картинка дня)

 
OS/2 artefacts:

 
Gadgets:

eCo Software Developer Connection


About DevCon
Subscription to DevCon
Budget of DevCon
FAQ


Roadmap
eCo Software runtime
eCo Software toolkit
Contacts

  You can sponsor the development of the libraries,
control the expenses

ACPI FAQ for eComStation developers

Q1: I am developing a driver. How to create ACPI compatible driver?
A1: Main rules:
  • don't set own restrictions to high IRQs > IRQ15
  • read information about IRQ from PCI Config Space or from acpi.psd

How to create driver ready for SMP and APIC mode?

  • Use DevEOI helper only (DevHlp_EOI), DON'T USE OUT 20h,20h

More suggestions:

  • If you are going use IRQ before INIT_COMPLETE then use PIC IRQ before, APIC IRQ after. Query the information using FindPCIDevice()

APM:

  • when you init the adapter, look at D-state in PCI, if the adapter is in D-state (i.e. D-state != 0) then enable it. Else the devices don't work if computer was suspended by Windows.

 
Q2: There is old device driver. How to make it work in APIC?
A2: Patch it. It's necessary patch DevHlp_SetIRQ and set shared. (This will help if DevHlp_EOI are used) If you have asm source code with headers from DDK then makefile should contain SMP=1
 
Q3: How to create driver ready for SMP?
A3: SMP Considerations for OS/2 Device Drivers http://www.edm2.com/0701/driver.html (by Scott E. Garfinkle)
 
Q4: How to run my R3 program on CPU 2?
A4: Use DosSetThreadAffinity function
 
Q5: ACPI replaces OEMHLP$ driver. Is this new OEMHLP$ documented?
A5: The interface is not changed. DDK contains description of OEMHLP.
 
Q6: How to find COM-port in ACPI tree
A6: Example:

We looked into the acpitree output to find the com port of the digitizer.

+*DTR_ T:[Device] HID:[WACF004] STA:[0xd] SxD State:[0xff:ff:ff:ff]
Current state:
> IO:[1 0x200 - 0x200 Al:1 Len:8]
>Trigger by Edge, Polarity High IRQ-4
> ENDTAG

thx Wim Brul
 

 

 
For dummies

Database of OS/2 compatible hardware

 
Reviews


     
  Why eComStation?
Features
Advantages
Usage
Clips and screenshots
   eComStation for
for businessmen
for students and engineers
for reselles of computers
community of users
   Developer
Distribute the program
Description of API, libraries
Start new project
Competition
   Applications
On-line catalogue
Select from eCo Market
   Support service
Contact the web-master
Buy eComStation
Frequently asked questions
for Beginners
 
 
© 2001 - 2021 eCo Software, All rights reserved
Сибирский Медведь технологическая компания
eComStation Serenity Systems International • OS/2 Warp IBM Corporation • ArcaOS Arca Noae