Xref: utzoo comp.sys.ibm.pc.hardware:6906 comp.lang.pascal:5859 Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!zaphod.mps.ohio-state.edu!caen!news.cs.indiana.edu!maytag!watstat.waterloo.edu!dmurdoch From: dmurdoch@watstat.waterloo.edu (Duncan Murdoch) Newsgroups: comp.sys.ibm.pc.hardware,comp.lang.pascal Subject: Re: Turbo Pascal 6.0 code generation for 80286 Message-ID: <1991Mar26.145129.24550@maytag.waterloo.edu> Date: 26 Mar 91 14:51:29 GMT References: <1991Mar26.010615.1@rulcri.leidenuniv.nl> Sender: daemon@maytag.waterloo.edu (Admin) Organization: University of Waterloo Lines: 22 In article <1991Mar26.010615.1@rulcri.leidenuniv.nl> vereijken@rulcri.leidenuniv.nl (Jan Joris Vereijken) writes: >Hi, > >I have run into something very strange: under Turbo Pascal one can choose to >generate specific 80286 code ($G+ switch). This code is not supposed to run on >XT-like (8088/8086-based) machines. However, it seems to do... > >Facts: > > - My system is V30-based clone, using a BIOS called "PC-SPEED V1.50" > (Actually it's a modified Atari ST, it runs about every MSDOS thing > just fine. I am sure I have a V30, as I installed it myself.) > - I compiled (for 80286) BGIDEMO.PAS, TCALC.PAS and a few (big) things There's been some discussion of this on Fidonet. It seems that the $G+ command only generates instructions that are on the 80186; V20 and V30 chips also support these instructions. There's a list of exactly which instructions the $G+ command allows in the manual; if you have a V30 manual, you can verify that it supports all of them. Duncan Murdoch dmurdoch@watstat.waterloo.edu