+ add the ports[] access to the go32v2 system unit as well

git-svn-id: trunk@39423 -
This commit is contained in:
nickysn 2018-07-09 16:26:52 +00:00
parent 62fe6cb5d3
commit db0b6adef8
2 changed files with 16 additions and 5 deletions

View File

@ -16,14 +16,23 @@
unit ports;
{$inline ON}
interface
{$I portsh.inc}
{ Since this platform has port access built into the System unit, this unit just
creates aliases, for compatibility for programs, that already use the ports
unit. }
type
tport = System.tport;
tportw = System.tportw;
tportl = System.tportl;
var
port : tport absolute System.port;
portb : tport absolute System.portb;
portw : tportw absolute System.portw;
portl : tportl absolute System.portl;
implementation
{$I ports.inc}
end.

View File

@ -32,6 +32,7 @@ interface
{ include system-independent routine headers }
{$I systemh.inc}
{$I portsh.inc}
const
@ -157,6 +158,7 @@ implementation
{ include system independent routines }
{$I system.inc}
{$I ports.inc}
var