[comp.binaries.ibm.pc.d] v01i016: fract386, creates fractal display v2.1

kaldis@topaz.rutgers.edu (Theodore A. Kaldis) (11/18/88)

In article <4792@bsu-cs.UUCP> rmarks@ksp.unisys.com (Richard Marks) writes:

> This program produces the most amazing Mandlebrot fractal display I
> have seen.  The program lets you zoom in on a region, really neat.  It
> will handle many different EGA and VGA adaptors.

> It needs a 386 machine as it uses assembler coded 32 bit arithmetic for
> speed.

So how many of out here have '386 machines?
-- 
              Theodore A. Kaldis                      |  "Perhaps we may
              +-+-+-+-+-+-+-+-+-                      |   frighten away
      email:  kaldis@topaz.rutgers.edu                |   the ghost of so
       UUCP:  {...}!rutgers!topaz.rutgers.edu!kaldis  |   many years ago
 U.S. Snail:  P.O. Box #1212, Woodbridge, NJ  07095   |   with a little
 ex-Ma Bell:  (201) 283-4855  (voice)                 |   illumination . . ."

garrett@oscar.ccm.udel.edu (11/18/88)

In article <Nov.17.11.23.07.1988.6600@topaz.rutgers.edu>, kaldis@topaz.rutgers.edu (Theodore A. Kaldis) writes...

>So how many of out here have '386 machines?
>-- 
>              Theodore A. Kaldis                      |  "Perhaps we may
>              +-+-+-+-+-+-+-+-+-                      |   frighten away
>      email:  kaldis@topaz.rutgers.edu                |   the ghost of so
>       UUCP:  {...}!rutgers!topaz.rutgers.edu!kaldis  |   many years ago
> U.S. Snail:  P.O. Box #1212, Woodbridge, NJ  07095   |   with a little
> ex-Ma Bell:  (201) 283-4855  (voice)                 |   illumination . . ."

We have a couple.  I thought the program was neat.  Having the source there
too made for some interesting reading this morning.  Thanks for the original
posting!

					Joel

seg@smsdpg.uu.net (Scott Garfinkle) (11/18/88)

From article <Nov.17.11.23.07.1988.6600@topaz.rutgers.edu>, by kaldis@topaz.rutgers.edu (Theodore A. Kaldis):
> So how many of out here have '386 machines?

If you don't, that's too bad.  I do, and I really like the program.  If you
want to rewrite it without 386 instructions, he included source.
		Scott E. Garfinkle
		SMS Data Products Group, Inc.
		uunet!smsdpg!seg

		Standard Disclaimer

kjk@pbhyf.PacBell.COM (Ken Keirnan) (11/19/88)

In article <Nov.17.11.23.07.1988.6600@topaz.rutgers.edu> kaldis@topaz.rutgers.edu (Theodore A. Kaldis) writes:
>In article <4792@bsu-cs.UUCP> rmarks@ksp.unisys.com (Richard Marks) writes:
>
>> This program produces the most amazing Mandlebrot fractal display I
>> have seen...  It needs a 386 machine...
>
>So how many of out here have '386 machines?


I do, for one, and the program is fantastic.




[ extra stuff ]
-- 

Ken Keirnan - Pacific Bell - {att,bellcore,sun,ames,pyramid}!pacbell!pbhyf!kjk
  San Ramon, California	                    kjk@pbhyf.PacBell.COM

keithe@tekgvs.GVS.TEK.COM (Keith Ericson) (11/22/88)

In article <Nov.17.11.23.07.1988.6600@topaz.rutgers.edu> kaldis@topaz.rutgers.edu (Theodore A. Kaldis) writes:
>
>> It needs a 386 machine as it uses assembler coded 32 bit arithmetic for
>> speed.
>
>So how many of out here have '386 machines?

I've got three of 'em: do I get 3 votes?

keith

marc@rna.UUCP (Marc Johnson) (11/23/88)

In article <4278@tekgvs.GVS.TEK.COM> keithe@tekgvs.GVS.TEK.COM (Keith Ericson) writes:
]In article <Nov.17.11.23.07.1988.6600@topaz.rutgers.edu] kaldis@topaz.rutgers.edu (Theodore A. Kaldis) writes:
]]
]]] It needs a 386 machine as it uses assembler coded 32 bit arithmetic for
]]] speed.
]]
]]So how many of out here have '386 machines?
]
]I've got three of 'em: do I get 3 votes?
]
]keith

No, but just became the front-runner for this month's Usenet Pomposity Award.


=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
= Marc Johnson			    BITNET:   rna!marc@rockvax.bitnet         =
= Rockefeller Univ. Neurobiology    UUCP:     ...cmcl2!rna!marc               =
= New York City                     INTERNET: marc%rna@rocky2.rockefeller.edu =
=                                             (129.85.2.1)                    =
=                                                                             =
= "Gimme the beat boys and free my soul, I wanna get lost in your rock & roll =
=                           ...and drift away"                                =
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
= Marc Johnson			  BITNET:   rna!marc@rockvax.bitnet           =
= Rockefeller U. Neurobiology     UUCP:     ...cmcl2!rna!marc                 =
= New York City      (129.85.2.1) INTERNET: marc%rna@rocky2.rockefeller.edu   =

pim@ctisbv.UUCP (Pim Zandbergen) (11/28/88)

> This program produces the most amazing Mandlebrot fractal display I
> have seen.  The program lets you zoom in on a region, really neat.  It
> will handle many different EGA and VGA adaptors.

> It needs a 386 machine as it uses assembler coded 32 bit arithmetic for
> speed.

This is funny, fract386 runs just fine under VP/ix with SCO Xenix.
VP/ix emulates a 8086 pc. Can anybody explain this?
-- 
--------------------+------------------------------------+---------------------
Pim Zandbergen      | CTI Software BV                    | Phone: +31 70 542302 
pim@ctisbv.UUCP     | Laan Copes van Cattenburch 70      | Fax:   +31 70 512837
..!mcvax!ctisbv!pim | 2585 GD The Hague, The Netherlands | Telex: 32133 CTI NL

jsb@advdev.LBP.HARRIS.COM (Jeff Barber) (11/29/88)

In article <588@ctisbv.UUCP> pim@ctisbv.UUCP (Pim Zandbergen) writes:
>> It needs a 386 machine as it uses assembler coded 32 bit arithmetic for
>> speed.
>
>This is funny, fract386 runs just fine under VP/ix with SCO Xenix.
>VP/ix emulates a 8086 pc. Can anybody explain this?

VP/ix uses the 386's "Virtual 8086 Mode" to emulate an 8086 pc.
The new 32-bit (non-protected-mode) instructions are still available though
as are the new segment registers (FS and GS).

J. Barber              Lanier Business Systems              Atlanta, GA

                    Just Say No To The United Way.

davidsen@steinmetz.ge.com (William E. Davidsen Jr) (11/29/88)

In article <588@ctisbv.UUCP> pim@ctisbv.UUCP (Pim Zandbergen) writes:

| This is funny, fract386 runs just fine under VP/ix with SCO Xenix.
| VP/ix emulates a 8086 pc. Can anybody explain this?

  VP/ix requires a 386... the 8086 mode emulates the 8086 addressing
modes (for the most part) but not the instruction set. It really behaves
like DOS running on a 386 machine.

  Over the holidays I'm going to try to port the fractal program to use
32 bit arithmetic in the 287 chip, for older machines, and to CGI for
Xenix people without VP/ix. I don't promise that either will get done,
depending on what parties my wife decides to throw or go to ;-) I'll
post the 287 version here if I get it. I have my own fractal program for
Xenix, which could run on DOS, and I hand coded the innermost loop in 11
80287 instructions. Hopefully I have my notes on programming the 287,
since the manual is just a starting place.
-- 
	bill davidsen		(wedu@ge-crd.arpa)
  {uunet | philabs}!steinmetz!crdos1!davidsen
"Stupidity, like virtue, is its own reward" -me

romkey@asylum.sf.ca.us (John Romkey) (11/29/88)

In article <588@ctisbv.UUCP> pim@ctisbv.UUCP (Pim Zandbergen) writes:
>This is funny, fract386 runs just fine under VP/ix with SCO Xenix.
>VP/ix emulates a 8086 pc. Can anybody explain this?

Sure. VP/ix doesn't really emulate an 8086. It emulates a superset of
an 8086. It precludes you from executing protected mode instructions
and from using 32 bit segments. When you're running in VP/ix, the
processor is still executing the instructions directly, so you can use
the 32 bit-mode prefix on instructions and it will work. Likewise,
instructions like ENTER and LEAVE, which were only added to later
processors than the 8086 also work.
-- 
			- john romkey
romkey@asylum.uucp	romkey@xx.lcs.mit.edu	romkey@asylum.sf.ca.us
Find the cost of freedom, buried in the ground
Mother Earth will swallow you, lay your body down.

seg@smsdpg.uu.net (Scott Garfinkle) (11/30/88)

From article <588@ctisbv.UUCP>, by pim@ctisbv.UUCP (Pim Zandbergen):
> ....
>> It needs a 386 machine as it uses assembler coded 32 bit arithmetic for
>> speed.
> 
> This is funny, fract386 runs just fine under VP/ix with SCO Xenix.
> VP/ix emulates a 8086 pc. Can anybody explain this?

Apparently, VP/ix kindly gives your virtual 8086 copies of the 32 bit registers
to play with, too; fract386 doesn't do any strange and wonderful things with
the virtual memory, it just does 64 bit arithmetic.
		Scott E. Garfinkle
		SMS Data Products Group, Inc.
		uunet!smsdpg!seg

marco@hpmcaa.HP.COM (Marco Dalla-Gasperina) (12/01/88)

>> It needs a 386 machine as it uses assembler coded 32 bit arithmetic for
>> speed.
>
>This is funny, fract386 runs just fine under VP/ix with SCO Xenix.
>VP/ix emulates a 8086 pc. Can anybody explain this?

I think it only emulates an 8086 pc in terms of memory addressing and the use
of protected instructions... 32 bit arithmetic is no on the protected list
so ADD EAX,EBX is ok.

>--------------------+------------------------------------+---------------------
>Pim Zandbergen | CTI Software BV | Phone: +31 70 542302
>pim@ctisbv.UUCP | Laan Copes van Cattenburch 70 | Fax: +31 70 512837
>..!mcvax!ctisbv!pim | 2585 GD The Hague, The Netherlands | Telex: 32133 CTI NL
----------
marco

det@hawkmoon.MN.ORG (Derek E. Terveer) (12/04/88)

I got the fractal program and tried running it on my 80386 (acer 1100) in both
dos-merge and in native dos and it just hangs as soon as i run it.  No menu or
anything -- just a hang right away...

What am i doing wrong?

derek
-- 
Derek Terveer		det@hawkmoon.MN.ORG
			w(612)681-6986	h(612)688-0667

"A proper king is crowned" -- Thomas B. Costain