TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Terry Ogaki
from: Greg MacLellan
date: 1997-03-28 13:58:28
subject: TP -- OS/2?

TO>     Are there any Pascal compilers for OS/2, that can 
 TO> fully handle ALL Turbo Pascal 7/DOS code,

I have virtual pascal v1 b8 or something (dunno what the latest version is,
i haven't been able to find anything but that) and it handles pretty much
all of the TP/BP commands, with a few execptions (like the val() procedure
only uses longint's (or something) and instead of sound(a) delay(b)
nosound; you just use PlaySound(a,b);

there's some quick ways around these tho..

procedure DoSound(hz, dur:word);
begin
  {$IFDEF OS2}
  playsound(hz, dur);
  {$ELSE}
  sound(hz);
  delay(dur);
  nosound;
  [$ENDIF}
end;

etc...

 TO> including things like its internal ASM support?

It supports ASM, but.. being a different operating system, it doesn't
really some of the asm stuff.. that's where i have the most problems when
making an os/2 port.. for the most part it's just a simple matter of
loading into VP, and then maybe making a couple varible type changes, then
you can compile..


ttyl, greg


--- Maximus/2 3.01
* Origin: * Chaos BBS * 6i3.389.O8i6 * Kingston, ON! (1:249/174)
SEEN-BY: 50/99 54/99 270/101 620/243 625/155 711/401 413 430 934 712/311 407
SEEN-BY: 712/505 506 517 623 624 704 713/317 800/1
@PATH: 249/174 100 12/12 396/1 270/101 712/624 711/934

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.