DevCon for OS/2 - Developer Connection |
Operating systems: ArcaOS, eComStation, IBM OS/2 Warp |
![]()
|
|
Development of device driversDetailed information:
Template of 32-bit driver for eComStation
KEE interfaceTo develop modern drivers you should use DevHlp, KEE interfaces. Read DDK, pddref.inf for details.
Tutorials
Suspend/resumeeCS supports suspend/resume for one-core and multi-core desktops and notebooks. You can use APM interface (read DDK -> in_out.inf, Input/Output Device Driver Reference) or hidden kernel function SaveRestore()
/* * Function SaveRestore * @pkt standard drivers packet * @return None * Note: This function is undocemmented in pddref.inf */ void SaveRestore( PRPSAVERESTORE pkt) { PrintDevCall((PRPH)pkt, "SaveRestore"); if (PSD) { PSD->AcpiOsPrintf("APM:SaveRestore - %x\n",(ULONG)pkt->FuncCode); } pkt->rph.Status |= STDON; } dd OFFSET FLAT:SaveRestore ; Command code 20h SaveRestore
Please share information with other developers how to:
Programming PCI devicesTo create new driver, you need
Wakeup PCI devicesExamples:
Read/write ports from Ring3Example how to read/write to the ports
Маппинг физической памяти в линейныйВ результате этой операции подставляется данный физический адрес под некоторый линейный адрес. Пример мапинга через драйвер SCREEN$ (thx LightElf)
Driver debugging
if you are going to do driver debugging, a trap dump partition is a
must have. It will save you a lot of time. A usable kernel debugger
setup will save you a even more time, but this can be problematic on newer
systems that lack a serial port.
Useful links
|
|
||||
ArcaOS 5.1.1 что нового? - PNG иконкиТеперь PNG иконки на рабочем столе (вместо древних .ico 1994-го года) |
Мы напоминаем про заслуги eComStationНаш сайт - единственный про OS/2, где напоминаем про заслуги eComStation, за основу была взята OS/2 Warp, разработка велась с 1999.. 2001.. по 2013-ый годы. |
// надо на ENG!!
![]()
Купить программу OS/2:
LIP пакет - Пакет русификации ArcaOS / eComStation,
|
Warpstock Europe 2000Конференция Warpstock Europe про OS/2 , клип про конференцию: |