- removed the objpas dependency of unit ports under go32v2 as well

git-svn-id: trunk@37559 -
This commit is contained in:
nickysn 2017-11-06 16:19:54 +00:00
parent 24d447716e
commit 0695381709
3 changed files with 5 additions and 8 deletions

View File

@ -3140,7 +3140,7 @@ emu387$(PPUEXT) : emu387.pp fpu$(OEXT) strings$(PPUEXT) dxeload$(PPUEXT) \
dpmiexcp$(PPUEXT)
$(COMPILER) emu387.pp
$(EXECPPAS)
ports$(PPUEXT) : ports.pp objpas$(PPUEXT) system$(PPUEXT)
ports$(PPUEXT) : ports.pp system$(PPUEXT)
$(COMPILER) ports.pp
$(EXECPPAS)
dos$(PPUEXT) : dos.pp $(INC)/filerec.inc $(INC)/textrec.inc \

View File

@ -134,7 +134,7 @@ emu387$(PPUEXT) : emu387.pp fpu$(OEXT) strings$(PPUEXT) dxeload$(PPUEXT) \
$(COMPILER) emu387.pp
$(EXECPPAS)
ports$(PPUEXT) : ports.pp objpas$(PPUEXT) system$(PPUEXT)
ports$(PPUEXT) : ports.pp system$(PPUEXT)
$(COMPILER) ports.pp
$(EXECPPAS)

View File

@ -16,27 +16,24 @@
unit ports;
{ this unit uses classes so
ObjFpc mode is required PM }
{$Mode ObjFpc}
{$Calling StdCall}
interface
type
tport = class
tport = object
procedure writeport(p : word;data : byte);
function readport(p : word) : byte;
property pp[w : word] : byte read readport write writeport;default;
end;
tportw = class
tportw = object
procedure writeport(p : word;data : word);
function readport(p : word) : word;
property pp[w : word] : word read readport write writeport;default;
end;
tportl = class
tportl = object
procedure writeport(p : word;data : longint);
function readport(p : word) : longint;
property pp[w : word] : longint read readport write writeport;default;