- Moved out emx files to emx target

* Updated todo-list
This commit is contained in:
yuri 2003-09-24 09:21:10 +00:00
parent ad0e0c3f94
commit 81e9ccb757
4 changed files with 105 additions and 251 deletions

View File

@ -1,9 +0,0 @@
;
; emx.imp
;
_emx_init emx 1 R
_emx_syscall emx 2 R
_emx_16to32 emx 3 1
_emx_32to16 emx 4 1
_emx_thunk1 emx 5 2
_emx_exception emx 6 4

View File

@ -1,39 +0,0 @@
{****************************************************************************
EMX - Interface unit for the EMX dynamic runtime library.
Part of Free Pascal runtime library for OS/2
History:
2 June 1997 : Creation.
This unit is Copyright (c) 1999-2000 by Daniel Mantione.
Free Pascal is Copyright (c) -1999-2000 by Florian Klaempfl.
EMX.DLL is Copyright (c) -1999-2000 by Eberhard Mattes.
Modifying this unit is allowed, under the following conditions:
- You will not make anyone beleive that you or someone else wrote this.
- Unless you are developing on the official version of FPC, you will make a
note in this file that it is not the original one.
****************************************************************************}
unit emx;
type PFar=record
Segment,Offset:word;
end;
{! Don't call this one. It is used by the startup code.}
procedure __emxinit;
{! Calling this is not recommended. Use ___syscall instead.}
procedure __emx_syscall;
{This one converts 16:16 far pointers to 32 bit flat ones.}
procedure __emx_16to32(APtr:PFar):pointer;
{This one converts 32 bit flat pointers to 16:16 far ones.}
procedure __emx_32to16(APtr:pointer):PFar;
{This one should be called to call 16-bit procedures and functions.}
procedure __emx_thunk1(APtr:pointer)

View File

@ -3,40 +3,23 @@ Please indent tasks which are done with 8 spaces.
Persons: Persons:
TH - Tomas Hajny DM - Daniel Mantione (as daniel)
TH - Tomas Hajny (as hajny)
RB - Ramon Bosque RB - Ramon Bosque
KB - Karoly Balogh KB - Karoly Balogh
YP - Yuri Prokushev YP - Yuri Prokushev (as yuri)
AS - Andry Svirgunov AS - Andry Svirgunov
BM - Bob Martin
Item Priority Implemented by Item Priority Implemented by
----------------------------------------------------------------------------- -----------------------------------------------------------------------------
Free Vision high - Free Vision.............................................TH/YP
- Keyboard................................................TH - Presentation Manager....................................RB/TH/YP
- Video...................................................TH
- Mouse...................................................TH
finish PM support high
- PMWin...................................................RB
- PMGPI...................................................RB
- PMBitmap................................................RB
- PMStdDlg................................................YP
- PMHelp..................................................YP
- PMDev...................................................YP
- PMSpl...................................................TH
- PMShl...................................................YP
- PMBidi..................................................YP
- PMDdi - PMDdi
- PMdjp.h (PMWin?)
- PMFont.h (PMWin?)
- PMSei.h (PMWin?)
- PMWP....................................................YP
- PMWSock.................................................YP
RTL high RTL high
- sockets - sockets
- winsock - winsock.................................................YP
- graph - graph
- pass dos compatibility tests - pass dos compatibility tests
- exception handler - exception handler
@ -45,60 +28,72 @@ RTL high
libgdb medium libgdb medium
OS/2 native rtl high OS/2 native rtl high
- System - system.pas
- CRT - crt.pas
- DOS - dos.pas.................................................YP
- sysutils.pp - sysutils.pp
- ports.pas
- thread.inc
- linker (LINK386, Internal, ...) - linker (LINK386, Internal, ...)
- loaders (prt*) for EXEs and DLLs - loader (prt*) for EXEs
- loader (prt*) for DLLs
- autothunking for 16-bit calls - autothunking for 16-bit calls
- compiler support
- kbdcalls
- moncalls
- moucalls
- viocalls
- smartlinking - smartlinking
- {$linklib dllname} (autolinking like for win32/linux) - {$linklib dllname} (autolinking like for win32/linux)
- interfaces support (SOM/DSOM) - interfaces support (SOM/DSOM)
- move emx.pas to emx rtl.................................YP
- move emx.imp to emx rtl.................................YP
- move wrap.imp to emx rtl as emxwrap.imp.................YP
- external variables import
- new place for exe.pas/newexe.pas
FCL medium FCL medium
- disk.inc................................................TH - disk.inc................................................TH
- filutil.inc.............................................TH - filutil.inc.............................................TH
- thread.inc..............................................TH - thread.inc..............................................TH
- pipes.inc...............................................TH - pipes.inc...............................................TH
- eventlog.inc............................................TH
- process.inc
- ? unit SyncObjs - ? unit SyncObjs
- ? unit HTTPApp - ? unit HTTPApp
other OS/2 APIs low
- SOM (SOM2/SOM3?)
- Base API
- Base classes
- WPS
- Base classes
- IBM MM classes (seems to be obsolete in eCS 1.1+)
- CW MM classes (seems to be replacement for IBM MM classes in eCS 1.1+)
- XWorkplace classes (seems to be a part of future eCS)
- OpenDoc classes (obsolete since OS/2 4.5)
native packages medium native packages medium
- NetAPI (NetBIOS) - NetAPI (NetBIOS)
- Unicode - Unicode
- LAN Manager - LAN Manager
- Web Explorer (obsolete since OS/2 4.5) - Web Explorer (obsolete since OS/2 4.5)
- EPM - EPM
- LVM (new since OS/2 4.5) - LVM (new since OS/2 4.5)................................YP
- MMOS/2 - MMOS/2..................................................AS/YP/KB
- mmbase.pas..............................................AS/YP - remove mmos2\buildall.pas
- mci.pas.................................................AS/YP - WarpOverlay!(os2.kiev.ua)...............................YP
- mciapi.pas..............................................AS/YP
- mcidrv.pas..............................................AS/YP
- mmio.pas................................................AS/YP
- dive.pas................................................KB
- sw.pas..................................................YP
- WarpOverlay!
- hwvideo.pas.............................................YP
- TCP/IP - TCP/IP
- Sockets (so32dll) - Sockets (so32dll)
- tcp32dll - tcp32dll
- FTP API.................................................YP - FTP API.................................................YP
- LibC (Which lib to use? Native libc or EMX or Innotek or all of them?
Anyway, interface must be compatible with libc package)
- SOM (SOM2, not SOM3, because all current OS/2 implementations based on SOM2)
- Base API
- Base classes
- WPS
- Base classes
- CW BubblePad class
- IBM MM classes (seems to be obsolete in eCS 1.1+)
- CW MM classes (seems to be replacement for IBM MM classes in eCS 1.1+)
- eWorkplace/XWorkplace classes (new since eCS 1.1)
- OpenDoc classes (obsolete since OS/2 4.5)
- DSOM
- Security/2 (os2.kiev.ua)
- UniAud/2 (os2.kiev.ua)
cross-platform packages low cross-platform packages low
- SVGAlib - SVGAlib (?)
- Xlib (Everblue, XFreeOS/2) - Xlib (Everblue, XFreeOS/2)
- Base....................................................YP - Base....................................................YP
- GTK - GTK
@ -107,53 +102,73 @@ cross-platform packages low
- gtk.....................................................YP - gtk.....................................................YP
- gtkgl - gtkgl
- fpgtk...................................................YP - fpgtk...................................................YP
- fix display detection bug
- Gnome - Gnome
- art - art_lgpl
- gnome - gnome
- gnomeui - gnomeui
- tcl - zvt
- ncurses - gconf
- libpng - gconfclient
- gd - libgd
- syslog - tcl.....................................................YP
- libpng..................................................YP
- imlib...................................................YP
- OpenGL/MesaGL/Mesa3D/WarpMesaGL
- REXX - REXX
- rxstrings.pp (overloaded functions like len, pos, etc.) - rxstrings.pp (overloaded functions like len, pos, etc.)
- rexxsaa.pp..............................................YP - rexxsaa.pp..............................................YP
- OpenGL/MesaGL/Mesa3D/WarpMesaGL - SciTech SNAP SDK
- SciTech MGL
- Twain (STi/CFM/Win32)
documentation (pasdoc/fpdoc?) low Odin32 target (as fast as native fpc/2 will be ready) low
- CPI - New compiler target (t_odin32.pas)
- os2defs - Add Win32 units compiltation to Makefiles
- doscalls
- kbdcalls documentation (fpdoc) low
- moucalls - TeX to INF converter
- moncalls - Inf support for fpdoc
- PM - RTL
- PMWin - CPI
- PMGPI - os2defs
- PMBitmap - doscalls
- PMStdDlg - kbdcalls
- PMHelp - moucalls
- PMDev - moncalls
- PMSpl - PM
- TCP/IP - PMWin
- ftpapi - PMGPI
- so32dll - PMBitmap
- tcp32dll - PMStdDlg
- MMOS/2 - PMHelp
- mmbase.pas - PMDev
- mci.pas - PMSpl
- mciapi.pas - PMShl
- mcidrv.pas - PMWP
- mmio.pas - PMWSock
- dive.pas - native packages
- sw.pas - TCP/IP
- WarpOverlay! - ftpapi
- hwvideo.pas - so32dll
- REXX - tcp32dll
- rexxsaa.pp - MMOS/2
- rxstrings.pp - mmbase.pas
- mci.pas
- mciapi.pas
- mcidrv.pas
- mmio.pas
- dive.pas
- sw.pas
- WarpOverlay!
- hwvideo.pas
- cross-platform packages
- REXX
- rexxsaa.pp
- rxstrings.pp
sample programs low sample programs low
installation (WarpIN?) low installation (PM installer with WarpIN DB) low
- Warpin database unit
- PM interface to standard FPC installer

View File

@ -1,113 +0,0 @@
;
; wrap.imp (created by emximp)
;
; -------- emxwrap.def --------
EMX_REVISION EMXWRAP 1 ?
WinDefAVioWindowProc EMXWRAP 30 ?
VioEndPopUp EMXWRAP 101 ?
VioGetPhysBuf EMXWRAP 102 ?
VioGetAnsi EMXWRAP 103 ?
VioSetAnsi EMXWRAP 105 ?
VioDeRegister EMXWRAP 106 ?
VioScrollUp EMXWRAP 107 ?
VioPrtSc EMXWRAP 108 ?
VioGetCurPos EMXWRAP 109 ?
VioWrtCellStr EMXWRAP 110 ?
VioPopUp EMXWRAP 111 ?
VioScrollRt EMXWRAP 112 ?
VioWrtCharStr EMXWRAP 113 ?
VioSetCurPos EMXWRAP 115 ?
VioScrUnLock EMXWRAP 118 ?
VioWrtTTY EMXWRAP 119 ?
VioGetMode EMXWRAP 121 ?
VioSetMode EMXWRAP 122 ?
VioScrLock EMXWRAP 123 ?
VioReadCellStr EMXWRAP 124 ?
VioSavRedrawWait EMXWRAP 125 ?
VioWrtNAttr EMXWRAP 126 ?
VioGetCurType EMXWRAP 127 ?
VioSavRedrawUndo EMXWRAP 128 ?
VioGetFont EMXWRAP 129 ?
VioReadCharStr EMXWRAP 130 ?
VioGetBuf EMXWRAP 131 ?
VioSetCurType EMXWRAP 132 ?
VioSetFont EMXWRAP 133 ?
VioModeUndo EMXWRAP 135 ?
VioModeWait EMXWRAP 137 ?
VioGetCp EMXWRAP 140 ?
VioSetCp EMXWRAP 142 ?
VioShowBuf EMXWRAP 143 ?
VioScrollLf EMXWRAP 144 ?
VioRegister EMXWRAP 145 ?
VioGetConfig EMXWRAP 146 ?
VioScrollDn EMXWRAP 147 ?
VioWrtCharStrAtt EMXWRAP 148 4
VioGetState EMXWRAP 149 ?
VioPrtScToggle EMXWRAP 150 ?
VioSetState EMXWRAP 151 ?
VioWrtNCell EMXWRAP 152 ?
VioWrtNChar EMXWRAP 153 ?
VioAssociate EMXWRAP 155 ?
VioCreatePS EMXWRAP 156 ?
VioDeleteSetId EMXWRAP 157 ?
VioGetDeviceCellSize EMXWRAP 158 ?
VioGetOrg EMXWRAP 159 ?
VioCreateLogFont EMXWRAP 160 ?
VioDestroyPS EMXWRAP 161 ?
VioQuerySetIds EMXWRAP 162 ?
VioSetOrg EMXWRAP 163 ?
VioQueryFonts EMXWRAP 164 ?
VioSetDeviceCellSize EMXWRAP 165 ?
VioShowPS EMXWRAP 166 ?
VioGlobalReg EMXWRAP 170 ?
VioCheckCharType EMXWRAP 175 ?
KbdSetCustXt EMXWRAP 201 ?
KbdGetCp EMXWRAP 203 ?
KbdCharIn EMXWRAP 204 ?
KbdSetCp EMXWRAP 205 ?
KbdSynch EMXWRAP 207 ?
KbdRegister EMXWRAP 208 ?
KbdStringIn EMXWRAP 209 ?
KbdGetStatus EMXWRAP 210 ?
KbdSetStatus EMXWRAP 211 ?
KbdGetFocus EMXWRAP 212 ?
KbdFlushBuffer EMXWRAP 213 ?
KbdXlate EMXWRAP 214 ?
KbdClose EMXWRAP 217 ?
KbdFreeFocus EMXWRAP 218 ?
KbdDeRegister EMXWRAP 220 ?
KbdSetFgnd EMXWRAP 221 ?
KbdPeek EMXWRAP 222 ?
KbdOpen EMXWRAP 223 ?
KbdGetHWID EMXWRAP 224 ?
KbdSetHWID EMXWRAP 225 ?
MouGetPtrShape EMXWRAP 301 ?
MouSetPtrShape EMXWRAP 302 ?
MouGetNumMickeys EMXWRAP 303 ?
MouGetScaleFact EMXWRAP 306 ?
MouFlushQue EMXWRAP 307 ?
MouGetNumButtons EMXWRAP 308 ?
MouClose EMXWRAP 309 ?
MouSetScaleFact EMXWRAP 311 ?
MouGetNumQueEl EMXWRAP 313 ?
MouDeRegister EMXWRAP 314 ?
MouGetEventMask EMXWRAP 315 ?
MouSetEventMask EMXWRAP 316 ?
MouOpen EMXWRAP 317 ?
MouRemovePtr EMXWRAP 318 ?
MouGetPtrPos EMXWRAP 319 ?
MouReadEventQue EMXWRAP 320 ?
MouSetPtrPos EMXWRAP 321 ?
MouGetDevStatus EMXWRAP 322 ?
MouSynch EMXWRAP 323 ?
MouRegister EMXWRAP 324 ?
MouSetDevStatus EMXWRAP 325 ?
MouDrawPtr EMXWRAP 326 ?
MouInitReal EMXWRAP 327 ?
MouSetThreshold EMXWRAP 329 ?
MouGetThreshold EMXWRAP 330 ?
DosMonWrite EMXWRAP 401 ?
DosMonRead EMXWRAP 402 ?
DosMonClose EMXWRAP 403 ?
DosMonOpen EMXWRAP 404 ?
DosMonReg EMXWRAP 405 ?