home *** CD-ROM | disk | FTP | other *** search
/ ftp.xmission.com / 2014.06.ftp.xmission.com.tar / ftp.xmission.com / pub / lists / fractdev / archive / v01.n009 < prev    next >
Internet Message Format  |  1998-06-11  |  40KB

  1. From: owner-fractdev-digest@lists.xmission.com (fractdev-digest)
  2. To: fractdev-digest@lists.xmission.com
  3. Subject: fractdev-digest V1 #9
  4. Reply-To: fractdev-digest
  5. Sender: owner-fractdev-digest@lists.xmission.com
  6. Errors-To: owner-fractdev-digest@lists.xmission.com
  7. Precedence: bulk
  8.  
  9.  
  10. fractdev-digest        Thursday, June 11 1998        Volume 01 : Number 009
  11.  
  12.  
  13.  
  14.  
  15. ----------------------------------------------------------------------
  16.  
  17. Date: Mon, 01 Jun 1998 23:38:38 -0400
  18. From: "Damien M. Jones" <dmj@fractalus.com>
  19. Subject: Re: (fractdev) Fractint porting
  20.  
  21. Tim,
  22.  
  23.  - I'm particularly intrigued with the Win95/DirectX port of Allegro as a
  24.  - porting possibility.
  25.  
  26. DirectX would be overkill for what FractInt needs.  However, if it's part
  27. of a Windows port of Allegro, then you're basically getting it for free.
  28. Keep in mind, though, that some older systems don't have good DirectDraw
  29. support, and can lock up or crash with despairing regularity with programs
  30. that try to use DirectDraw.  Newer cards don't have this problem.
  31.  
  32. Damien M. Jones   \\
  33. dmj@fractalus.com  \\  http://www.icd.com/tsd/ (temporary sanity designs)
  34.                     \\  http://www.fractalus.com/ (fractals are my hobby)
  35.  
  36. - --------------------------------------------------------------
  37. Thanks for using Fractdev, The Fractint Developer's Discussion List
  38. Post Message:   fractdev@lists.xmission.com
  39. Get Commands:   majordomo@lists.xmission.com "help"
  40. Administrator:  twegner@phoenix.net
  41. Unsubscribe:    majordomo@lists.xmission.com "unsubscribe fractdev"
  42.  
  43. ------------------------------
  44.  
  45. Date: Tue, 2 Jun 1998 09:59:47 EDT
  46. From: <RBarn0001@aol.com>
  47. Subject: Re: (fractdev) Fractint porting
  48.  
  49. In a message dated 98-06-01 23:29:02 EDT, you write:
  50.  
  51. << I've started actively researching a new development environment for
  52. Fractint. I 
  53.  bought Microsoft Visual C/C++ with that in mind.
  54.  
  55.  My tentative conclusion after a survey this weekend is to port fractint to
  56. djgpp 
  57.  with the allegro library. This is the extended DOS port of the GNU C
  58. compiler, 
  59.  along with a game graphics library. Some of the pluses of this are:
  60.  
  61.  1. free platform
  62.  2. excellent, fast compiler
  63.  3. ready porting to Win95 and Linux
  64.  
  65.  The main downside is that porting the assembler would be tricky, so we'd take
  66.  a performance hook.
  67.  
  68.  I'm particularly intrigued with the Win95/DirectX port of Allegro as a
  69. porting 
  70.  possibility.
  71.  
  72.  Comments? >>
  73. Tim,
  74. I am currently unemployed as a result of a consulting group that downsized my
  75. company and eliminated a layer of management. I may finally have time to be a
  76. real participant. I would at least like to contribute to the true color
  77. algorithm side. I believe Terry is now using my algorithm as one of the
  78. options with his program.
  79. Ron Barnett
  80.  
  81. - --------------------------------------------------------------
  82. Thanks for using Fractdev, The Fractint Developer's Discussion List
  83. Post Message:   fractdev@lists.xmission.com
  84. Get Commands:   majordomo@lists.xmission.com "help"
  85. Administrator:  twegner@phoenix.net
  86. Unsubscribe:    majordomo@lists.xmission.com "unsubscribe fractdev"
  87.  
  88. ------------------------------
  89.  
  90. Date: Wed, 3 Jun 1998 14:06:45 -0400 (EDT)
  91. From: cjc26@cornell.edu
  92. Subject: Re: (fractdev) Fractint porting
  93.  
  94. On Mon, 1 Jun 1998, Tim Wegner wrote:
  95.  
  96. > I've started actively researching a new development environment for Fractint. I 
  97. > bought Microsoft Visual C/C++ with that in mind.
  98. > My tentative conclusion after a survey this weekend is to port fractint to djgpp 
  99. > with the allegro library. This is the extended DOS port of the GNU C compiler, 
  100. > along with a game graphics library.
  101.  
  102. I think this is a good idea.  I'm currently trying to compile fractint 
  103. with djgpp...if I ever get it working, I'll let y'all know how it goes...
  104.  
  105. - -------------------------------------------+-------------------------------
  106. Cliff Crawford                             |            Windows NT crashed.
  107. http://www.people.cornell.edu/pages/cjc26/ | I am the Blue Screen of Death.
  108.                                            |     No one hears your screams.
  109.  
  110. - --------------------------------------------------------------
  111. Thanks for using Fractdev, The Fractint Developer's Discussion List
  112. Post Message:   fractdev@lists.xmission.com
  113. Get Commands:   majordomo@lists.xmission.com "help"
  114. Administrator:  twegner@phoenix.net
  115. Unsubscribe:    majordomo@lists.xmission.com "unsubscribe fractdev"
  116.  
  117. ------------------------------
  118.  
  119. Date: Wed, 3 Jun 1998 22:07:35 +0100
  120. From: "Christian Strik" <cstrik.isg@hetnet.nl>
  121. Subject: Re: (fractdev) Fractint porting
  122.  
  123. Cliff wrote:
  124.  
  125. <<snipped>>
  126. >I'm currently trying to compile fractint with djgpp...if I ever get it
  127. working
  128.  
  129. Is it so the problem you're having is an exception 0x0E (page fault) when
  130. starting any djgpp compiler/debugger? If so, I'm having the same problem.
  131. Does anybody know a solution? I'm currently using TurboC++ 3.0, but want to
  132. switch to djgpp asap.
  133.  
  134. Christian
  135.  
  136.  
  137.  
  138.  
  139. - --------------------------------------------------------------
  140. Thanks for using Fractdev, The Fractint Developer's Discussion List
  141. Post Message:   fractdev@lists.xmission.com
  142. Get Commands:   majordomo@lists.xmission.com "help"
  143. Administrator:  twegner@phoenix.net
  144. Unsubscribe:    majordomo@lists.xmission.com "unsubscribe fractdev"
  145.  
  146. ------------------------------
  147.  
  148. Date: Wed, 3 Jun 1998 16:27:31 -0400 (EDT)
  149. From: cjc26@cornell.edu
  150. Subject: Re: (fractdev) Fractint porting
  151.  
  152. On Wed, 3 Jun 1998, Christian Strik wrote:
  153.  
  154. > Is it so the problem you're having is an exception 0x0E (page fault) when
  155. > starting any djgpp compiler/debugger? If so, I'm having the same problem.
  156. > Does anybody know a solution? I'm currently using TurboC++ 3.0, but want to
  157. > switch to djgpp asap.
  158.  
  159. Hmm, not exactly sure what's going on.  Did you install everything
  160. correctly, including setting the path and the environment variable?
  161. ("set DJGPP=C:\DJGPP\DJGPP.ENV") I remember at first I forgot to do that 
  162. and all sorts of weird problems occured. 
  163.  
  164. No, the problems I'm having are with the source code itself not being 
  165. compatible.  I think I'm gonna try compiling the xfractint source 
  166. instead (since djgpp is so unix-ish), I might have more luck with that.
  167.  
  168. - -------------------------------------------+-------------------------------
  169. Cliff Crawford                             |            Windows NT crashed.
  170. http://www.people.cornell.edu/pages/cjc26/ | I am the Blue Screen of Death.
  171.                                            |     No one hears your screams.
  172.  
  173. - --------------------------------------------------------------
  174. Thanks for using Fractdev, The Fractint Developer's Discussion List
  175. Post Message:   fractdev@lists.xmission.com
  176. Get Commands:   majordomo@lists.xmission.com "help"
  177. Administrator:  twegner@phoenix.net
  178. Unsubscribe:    majordomo@lists.xmission.com "unsubscribe fractdev"
  179.  
  180. ------------------------------
  181.  
  182. Date: Thu, 4 Jun 1998 00:06:16 -0400
  183. From: "Peter Gavin" <pgavin@mindspring.com>
  184. Subject: RE: (fractdev) Fractint porting
  185.  
  186. The problems I'm having with compiling it using DJGPP are all the =
  187. #define in 'port.h'.  It seem to me that the best way would be to make a =
  188. section combining the XFRACT section and the MSDOS section.  Well, you =
  189. may just be able to do it by copying the 'remove far' section to the =
  190. MSDOS section.  I really haven't had the time to mess with it that much, =
  191. unfortunately...  :(
  192.  
  193.  
  194.  
  195. Pete
  196. <pgavin@mindspring.com>
  197.  
  198. //  -----Original Message-----
  199. //  From: owner-fractdev@lists.xmission.com
  200. //  [mailto:owner-fractdev@lists.xmission.com]On Behalf Of =
  201. cjc26@cornell.edu
  202. //  Sent: Wednesday, June 03, 1998 4:28 PM
  203. //  To: fractdev@lists.xmission.com
  204. //  Subject: Re: (fractdev) Fractint porting
  205. // =20
  206. // =20
  207. //  On Wed, 3 Jun 1998, Christian Strik wrote:
  208. // =20
  209. //  > Is it so the problem you're having is an exception 0x0E (page=20
  210. //  fault) when
  211. //  > starting any djgpp compiler/debugger? If so, I'm having the=20
  212. //  same problem.
  213. //  > Does anybody know a solution? I'm currently using TurboC++=20
  214. //  3.0, but want to
  215. //  > switch to djgpp asap.
  216. // =20
  217. //  Hmm, not exactly sure what's going on.  Did you install everything
  218. //  correctly, including setting the path and the environment variable?
  219. //  ("set DJGPP=3DC:\DJGPP\DJGPP.ENV") I remember at first I forgot=20
  220. //  to do that=20
  221. //  and all sorts of weird problems occured.=20
  222. // =20
  223. //  No, the problems I'm having are with the source code itself not =
  224. being=20
  225. //  compatible.  I think I'm gonna try compiling the xfractint source=20
  226. //  instead (since djgpp is so unix-ish), I might have more luck with =
  227. that.
  228. // =20
  229. //  -------------------------------------------+--------------------
  230. //  -----------
  231. //  Cliff Crawford                             |            Windows=20
  232. //  NT crashed.
  233. //  http://www.people.cornell.edu/pages/cjc26/ | I am the Blue=20
  234. //  Screen of Death.
  235. //                                             |     No one hears=20
  236. //  your screams.
  237. // =20
  238. //  --------------------------------------------------------------
  239. //  Thanks for using Fractdev, The Fractint Developer's Discussion List
  240. //  Post Message:   fractdev@lists.xmission.com
  241. //  Get Commands:   majordomo@lists.xmission.com "help"
  242. //  Administrator:  twegner@phoenix.net
  243. //  Unsubscribe:    majordomo@lists.xmission.com "unsubscribe fractdev"
  244. // =20
  245.  
  246.  
  247. - --------------------------------------------------------------
  248. Thanks for using Fractdev, The Fractint Developer's Discussion List
  249. Post Message:   fractdev@lists.xmission.com
  250. Get Commands:   majordomo@lists.xmission.com "help"
  251. Administrator:  twegner@phoenix.net
  252. Unsubscribe:    majordomo@lists.xmission.com "unsubscribe fractdev"
  253.  
  254. ------------------------------
  255.  
  256. Date: Thu, 4 Jun 1998 13:05:19 +0100
  257. From: "Christian Strik" <cstrik.isg@hetnet.nl>
  258. Subject: Re: (fractdev) Fractint porting
  259.  
  260. >Did you install everything
  261. >correctly, including setting the path and the environment variable?
  262. >("set DJGPP=C:\DJGPP\DJGPP.ENV")
  263.  
  264. Thanx. Indeed the problem was the djgpp env var. I wrote
  265.     set DJGPP=F:\PRGRMMNG\DJGPP\DGJPP.ENV
  266. instead of ...\DJGPP.ENV.
  267.  
  268. Christian
  269.  
  270.  
  271.  
  272.  
  273.  
  274. - --------------------------------------------------------------
  275. Thanks for using Fractdev, The Fractint Developer's Discussion List
  276. Post Message:   fractdev@lists.xmission.com
  277. Get Commands:   majordomo@lists.xmission.com "help"
  278. Administrator:  twegner@phoenix.net
  279. Unsubscribe:    majordomo@lists.xmission.com "unsubscribe fractdev"
  280.  
  281. ------------------------------
  282.  
  283. Date: Thu, 4 Jun 1998 16:35:01 -0400 (EDT)
  284. From: cjc26@cornell.edu
  285. Subject: RE: (fractdev) Fractint porting
  286.  
  287. On Thu, 4 Jun 1998, Peter Gavin wrote:
  288.  
  289. > The problems I'm having with compiling it using DJGPP are all the
  290. #define in 'port.h'.  It seem to me that the best way would be to make a
  291. section combining the XFRACT section and the MSDOS section.  Well, you may
  292. just be able to do it by copying the 'remove far' section to the MSDOS
  293. section.  I really haven't had the time to mess with it that much,
  294. unfortunately...  :(
  295.  
  296. Yes, I took care of the near/far problem (by undefining 'far'), and I've
  297. got everything compiled, I'm just having trouble with the linking stage. 
  298. Seems the pre-compiled object files (corresponding to the assembly files)
  299. aren't compatible with djgpp's linker.  I really don't want to try and
  300. assemble all those files with the djgpp assembler, because I suspect that
  301. they were also written in the 16-bit memory model, so I would have to go
  302. through and change it all to 32-bit, which I suspect will be a LOT harder
  303. than changing the C source code.  Anyone know what else I can do?
  304.  
  305. - -------------------------------------------+-------------------------------
  306. Cliff Crawford                             |            Windows NT crashed.
  307. http://www.people.cornell.edu/pages/cjc26/ | I am the Blue Screen of Death.
  308.                                            |     No one hears your screams.
  309.  
  310. - --------------------------------------------------------------
  311. Thanks for using Fractdev, The Fractint Developer's Discussion List
  312. Post Message:   fractdev@lists.xmission.com
  313. Get Commands:   majordomo@lists.xmission.com "help"
  314. Administrator:  twegner@phoenix.net
  315. Unsubscribe:    majordomo@lists.xmission.com "unsubscribe fractdev"
  316.  
  317. ------------------------------
  318.  
  319. Date: Thu, 4 Jun 1998 17:46:40 -0600
  320. From: "Tim Wegner" <twegner@phoenix.net>
  321. Subject: RE: (fractdev) Fractint porting
  322.  
  323. Cliff wrote:
  324.  
  325. > Seems the pre-compiled object files (corresponding to the assembly files)
  326. > aren't compatible with djgpp's linker.  I really don't want to try and
  327. > assemble all those files with the djgpp assembler, because I suspect that
  328. > they were also written in the 16-bit memory model, so I would have to go
  329. > through and change it all to 32-bit, which I suspect will be a LOT harder
  330. > than changing the C source code.  Anyone know what else I can do?
  331.  
  332. You definitely can't use the assembler files because they are compiled for the 
  333. medium memory model.
  334.  
  335. Your best bet is to start with Xfractint, but you'll have to deal with any Xwindows-
  336. specific stuff.
  337.  
  338. One way or another you have to bite a bullet to do a port - it isn't just a 
  339. question of tweaking the compiler so the code works. But starting with Xfractint 
  340. eliminates all assembler problems.
  341.  
  342. Tim
  343.  
  344.  
  345.  
  346. - --------------------------------------------------------------
  347. Thanks for using Fractdev, The Fractint Developer's Discussion List
  348. Post Message:   fractdev@lists.xmission.com
  349. Get Commands:   majordomo@lists.xmission.com "help"
  350. Administrator:  twegner@phoenix.net
  351. Unsubscribe:    majordomo@lists.xmission.com "unsubscribe fractdev"
  352.  
  353. ------------------------------
  354.  
  355. Date: Fri, 5 Jun 1998 09:25:27 -0400 (EDT)
  356. From: kragen@pobox.com (Kragen)
  357. Subject: RE: (fractdev) Fractint porting
  358.  
  359. On Thu, 4 Jun 1998 cjc26@cornell.edu wrote:
  360. > Seems the pre-compiled object files (corresponding to the assembly files)
  361. > aren't compatible with djgpp's linker.  I really don't want to try and
  362. > assemble all those files with the djgpp assembler, because I suspect that
  363. > they were also written in the 16-bit memory model, so I would have to go
  364. > through and change it all to 32-bit, which I suspect will be a LOT harder
  365. > than changing the C source code.  
  366.  
  367. There's also the MASM syntax vs. gas syntax thing.  gas uses a
  368. different assembly-language syntax (% on all the register names,
  369. slightly different names for most opcodes, no BYTE PTR, different
  370. operand order) which is fairly uniform across processor families.  So
  371. it's likely to be even harder than you thought :)
  372.  
  373. > Anyone know what else I can do?
  374.  
  375. If you don't feel like translating 16-bit MASM assembly code to 32-bit
  376. gas assembly -- a feat which doesn't sound like it should be
  377. tremendously difficult, but is nevertheless much harder than
  378. recompiling something with a different compiler -- you could use the C
  379. versions of the assembly routines.  I don't know if they exist in the
  380. main source code base, but they certainly exist in xfractint, because I
  381. ran xfractint on an RS/6000 in 1995.
  382.  
  383. Kragen
  384.  
  385.  
  386. - --------------------------------------------------------------
  387. Thanks for using Fractdev, The Fractint Developer's Discussion List
  388. Post Message:   fractdev@lists.xmission.com
  389. Get Commands:   majordomo@lists.xmission.com "help"
  390. Administrator:  twegner@phoenix.net
  391. Unsubscribe:    majordomo@lists.xmission.com "unsubscribe fractdev"
  392.  
  393. ------------------------------
  394.  
  395. Date: Mon, 8 Jun 1998 18:45:25 -0600
  396. From: "Tim Wegner" <twegner@phoenix.net>
  397. Subject: (fractdev) Visual C/C++ 5
  398.  
  399. I am sure lots of folks know this stuff, but remember, I'm a beginner <grin!>
  400.  
  401. I've been playing with Microsoft Visual C/C++ 5.0 and have noticed the following:
  402.  
  403. 1. The compiler has a "console" mode which can be run from DOS or 
  404. Windows. The executable program runs as DOS program; under windows a 
  405. DOS box is created. In this mode the compiler works like the good ol' MSC 7 
  406. that I use for the DOS fractint. Two big differences: long filenames are 
  407. supported, and even when running from a DOS Box (inside Win95 of course), a 
  408. flat memory model is used, so large amounts of memory can be malloc'ed. Of 
  409. course a DOS Fractint compiled in this way wouldn't run under a true DOS. A 
  410. few diehard Fractint users like Lee SKinner don't run Windows at all <g!> He'd 
  411. have to install WIn95 to use such a program.
  412.  
  413. 2. It isn't hard to link Visual C with assembler. I was able to link in some test 
  414. code compiled with MASM 6.1. However it does look like the documentation is 
  415. more oriented to inline assembler. For portability, we could keep the 
  416. "assembler" files separate, and they could be implemented as either pure 
  417. assembler or as one big inline file. All assembler, of course, must use the flat 
  418. memory model.
  419.  
  420. I'm not so sure it would be all that hard to port some of the more critical 
  421. assembler to Visual C/C++ 5. This compiler doesn't support Windows 3.1, but 
  422. I'm not worried about supporting 16 bit Windows.
  423.  
  424. Tim
  425.  
  426.  
  427.  
  428.  
  429. - --------------------------------------------------------------
  430. Thanks for using Fractdev, The Fractint Developer's Discussion List
  431. Post Message:   fractdev@lists.xmission.com
  432. Get Commands:   majordomo@lists.xmission.com "help"
  433. Administrator:  twegner@phoenix.net
  434. Unsubscribe:    majordomo@lists.xmission.com "unsubscribe fractdev"
  435.  
  436. ------------------------------
  437.  
  438. Date: Mon, 8 Jun 1998 21:06:02 -0400
  439. From: Lee Skinner <LeeHSkinner@compuserve.com>
  440. Subject: (fractdev) Visual C/C++
  441.  
  442. >>A few diehard Fractint users like Lee SKinner don't run Windows at all
  443. <g!> He'd have to install WIn95 to use such a program.<<
  444.  
  445. I heard that!<g>
  446.  
  447. Actually I do use Win95 occasionally when writing CDs or making thumbnail=
  448. s
  449. with CPIC, but still run Fractint under DOS 6.22
  450.  
  451. Lee
  452.  
  453. - --------------------------------------------------------------
  454. Thanks for using Fractdev, The Fractint Developer's Discussion List
  455. Post Message:   fractdev@lists.xmission.com
  456. Get Commands:   majordomo@lists.xmission.com "help"
  457. Administrator:  twegner@phoenix.net
  458. Unsubscribe:    majordomo@lists.xmission.com "unsubscribe fractdev"
  459.  
  460. ------------------------------
  461.  
  462. Date: Tue, 9 Jun 1998 09:38:07 +0200 (MET DST)
  463. From: fjslman@wins.uva.nl (F.J. Slijkerman)
  464. Subject: Re: (fractdev) Visual C/C++ 5
  465.  
  466. Tim,
  467.  
  468. I think you need to take the same approach as POV-Ray.
  469. Basically, create a 32-bit fractal engine completely written
  470. in C. Then you can build a user interface on top of that,
  471. and rewrite routines in assembler for each platform.
  472. I would recommend to use inline assembly for these routines --
  473. that's ok since you will only use them with VC++, not with
  474. other platforms.
  475.  
  476. Regards,
  477. Frederik.
  478.  
  479. - --------------------------------------------------------------
  480. Thanks for using Fractdev, The Fractint Developer's Discussion List
  481. Post Message:   fractdev@lists.xmission.com
  482. Get Commands:   majordomo@lists.xmission.com "help"
  483. Administrator:  twegner@phoenix.net
  484. Unsubscribe:    majordomo@lists.xmission.com "unsubscribe fractdev"
  485.  
  486. ------------------------------
  487.  
  488. Date: Tue, 9 Jun 1998 11:34:05 +0000
  489. From: tonton_th@mail.geocities.com
  490. Subject: Re: (fractdev) Visual C/C++ 5
  491.  
  492. > Basically, create a 32-bit fractal engine completely written
  493. > in C. Then you can build a user interface on top of that,
  494.     I like that.    
  495. - ---
  496.   Linux et Cassoulet  ;===)  http://savage.iut-blagnac.fr/
  497.   Rien a dire ...     ;===)  http://www.mygale.org/08/oulala/
  498.  
  499. - --------------------------------------------------------------
  500. Thanks for using Fractdev, The Fractint Developer's Discussion List
  501. Post Message:   fractdev@lists.xmission.com
  502. Get Commands:   majordomo@lists.xmission.com "help"
  503. Administrator:  twegner@phoenix.net
  504. Unsubscribe:    majordomo@lists.xmission.com "unsubscribe fractdev"
  505.  
  506. ------------------------------
  507.  
  508. Date: Tue, 09 Jun 1998 16:26:51 -0600
  509. From: Phil McRevis <legalize@xmission.com>
  510. Subject: Re: (fractdev) Visual C/C++ 5 
  511.  
  512. Hi, after a long hiatus, I am back (sort of) :).
  513. I'm coming in late on this discussion, but I might be
  514. able to lend some insights...please accept my apologies
  515. in advance if I'm repeating what's already been said.
  516.  
  517. In article <199806090738.JAA00820@ow69.wins.uva.nl>,
  518.     fjslman@wins.uva.nl (F.J. Slijkerman)  writes:
  519. > Basically, create a 32-bit fractal engine completely written
  520. > in C. Then you can build a user interface on top of that,
  521.  
  522. If you start with the xfractint sources, this will be much
  523. easier than starting with the fractint sources.  The xfractint
  524. code has all the assembly replaced with C routines which compile
  525. on various flavors of unix.  Its a little slow (especially the
  526. formula-based fractals) but it does indeed work.
  527.  
  528. - --------------------------------------------------------------
  529. Thanks for using Fractdev, The Fractint Developer's Discussion List
  530. Post Message:   fractdev@lists.xmission.com
  531. Get Commands:   majordomo@lists.xmission.com "help"
  532. Administrator:  twegner@phoenix.net
  533. Unsubscribe:    majordomo@lists.xmission.com "unsubscribe fractdev"
  534.  
  535. ------------------------------
  536.  
  537. Date: Tue, 9 Jun 1998 21:49:26 -0600
  538. From: "Tim Wegner" <twegner@phoenix.net>
  539. Subject: Re: (fractdev) Visual C/C++ 5 
  540.  
  541. Phil wrote:
  542.  
  543. > If you start with the xfractint sources, this will be much
  544. > easier than starting with the fractint sources.  The xfractint
  545. > code has all the assembly replaced with C routines which compile
  546. > on various flavors of unix.  Its a little slow (especially the
  547. > formula-based fractals) but it does indeed work.
  548.  
  549. That's the obvious approach, but we won't be able to retire the DOS version 
  550. until there's an equally fast version. As a non-expert, I'm encouraged that flat 
  551. model assembler doesn't look so bad. We could probably port the assembler to 
  552. djgpp and Linux, also, but that would be more work.
  553.  
  554. My idea is to eliminate the integer math, which in one fell swoop eliminates a 
  555. lot of assembler. The mandel/julia assembler and the parser assembler are the 
  556. most important to keep.
  557.  
  558. Tim
  559.  
  560.  
  561. - --------------------------------------------------------------
  562. Thanks for using Fractdev, The Fractint Developer's Discussion List
  563. Post Message:   fractdev@lists.xmission.com
  564. Get Commands:   majordomo@lists.xmission.com "help"
  565. Administrator:  twegner@phoenix.net
  566. Unsubscribe:    majordomo@lists.xmission.com "unsubscribe fractdev"
  567.  
  568. ------------------------------
  569.  
  570. Date: Tue, 09 Jun 1998 23:20:55 -0400
  571. From: "Damien M. Jones" <dmj@fractalus.com>
  572. Subject: Re: (fractdev) Visual C/C++ 5 
  573.  
  574. Tim,
  575.  
  576.  - As a non-expert, I'm encouraged that flat model assembler doesn't look
  577.  - so bad.
  578.  
  579. It's actually enormously easier than 16-bit modes... you never have to
  580. touch the segment registers, everything is in just one linear address space
  581. (it isn't really, but that's how the OS makes it look to your app) and it's
  582. just Way Cool.
  583.  
  584. Damien M. Jones   \\
  585. dmj@fractalus.com  \\  http://www.icd.com/tsd/ (temporary sanity designs)
  586.                     \\  http://www.fractalus.com/ (fractals are my hobby)
  587.  
  588. - --------------------------------------------------------------
  589. Thanks for using Fractdev, The Fractint Developer's Discussion List
  590. Post Message:   fractdev@lists.xmission.com
  591. Get Commands:   majordomo@lists.xmission.com "help"
  592. Administrator:  twegner@phoenix.net
  593. Unsubscribe:    majordomo@lists.xmission.com "unsubscribe fractdev"
  594.  
  595. ------------------------------
  596.  
  597. Date: Wed, 10 Jun 1998 00:04:27 -0400 (EDT)
  598. From: kragen@pobox.com (Kragen)
  599. Subject: Re: (fractdev) Visual C/C++ 5 
  600.  
  601. On Tue, 9 Jun 1998, Tim Wegner wrote:
  602. > model assembler doesn't look so bad. We could probably port the assembler to 
  603. > djgpp and Linux, also, but that would be more work.
  604.  
  605. But productive work.
  606.  
  607. > My idea is to eliminate the integer math, which in one fell swoop eliminates a 
  608. > lot of assembler. The mandel/julia assembler and the parser assembler are the 
  609. > most important to keep.
  610.  
  611. I really like integer math a lot, especially if I'm going to run
  612. xfractint on my 386-16.
  613.  
  614. Kragen
  615.  
  616.  
  617. - --------------------------------------------------------------
  618. Thanks for using Fractdev, The Fractint Developer's Discussion List
  619. Post Message:   fractdev@lists.xmission.com
  620. Get Commands:   majordomo@lists.xmission.com "help"
  621. Administrator:  twegner@phoenix.net
  622. Unsubscribe:    majordomo@lists.xmission.com "unsubscribe fractdev"
  623.  
  624. ------------------------------
  625.  
  626. Date: Wed, 10 Jun 1998 00:07:15 -0400 (EDT)
  627. From: kragen@pobox.com (Kragen)
  628. Subject: Re: (fractdev) Visual C/C++ 5 
  629.  
  630. On Tue, 9 Jun 1998, Damien M. Jones wrote:
  631. >  - As a non-expert, I'm encouraged that flat model assembler doesn't look
  632. >  - so bad.
  633. > It's actually enormously easier than 16-bit modes... 
  634.  
  635. It's much easier to translate 16-bit assembler into 16-bit assembler
  636. (using, for example, copy, cat, or xcopy) than to translate 16-bit
  637. assembler into 32-bit assembler (which requires quite a bit of work).
  638. Certain parts of fractint are currently written in 16-bit assembler.
  639.  
  640. Kragen
  641.  
  642.  
  643. - --------------------------------------------------------------
  644. Thanks for using Fractdev, The Fractint Developer's Discussion List
  645. Post Message:   fractdev@lists.xmission.com
  646. Get Commands:   majordomo@lists.xmission.com "help"
  647. Administrator:  twegner@phoenix.net
  648. Unsubscribe:    majordomo@lists.xmission.com "unsubscribe fractdev"
  649.  
  650. ------------------------------
  651.  
  652. Date: Wed, 10 Jun 1998 00:45:48 -0400
  653. From: "Damien M. Jones" <dmj@fractalus.com>
  654. Subject: Re: (fractdev) Visual C/C++ 5 
  655.  
  656. Kragen,
  657.  
  658.  - It's much easier to translate 16-bit assembler into 16-bit assembler
  659.  - (using, for example, copy, cat, or xcopy) than to translate 16-bit
  660.  - assembler into 32-bit assembler (which requires quite a bit of work).
  661.  
  662. I didn't mean to imply otherwise.  On the whole, writing a routine in
  663. 32-bit assembly to begin with is a heckuva lot easier than writing the same
  664. technique in 16-bit assembly.  Having done this, I can attest that this is
  665. very much the case, and THAT is the point I was trying to make here.
  666.  
  667. Damien M. Jones   \\
  668. dmj@fractalus.com  \\  http://www.icd.com/tsd/ (temporary sanity designs)
  669.                     \\  http://www.fractalus.com/ (fractals are my hobby)
  670.  
  671. - --------------------------------------------------------------
  672. Thanks for using Fractdev, The Fractint Developer's Discussion List
  673. Post Message:   fractdev@lists.xmission.com
  674. Get Commands:   majordomo@lists.xmission.com "help"
  675. Administrator:  twegner@phoenix.net
  676. Unsubscribe:    majordomo@lists.xmission.com "unsubscribe fractdev"
  677.  
  678. ------------------------------
  679.  
  680. Date: Wed, 10 Jun 1998 22:56:37 -0600
  681. From: "Tim Wegner" <twegner@phoenix.net>
  682. Subject: Re: (fractdev) Visual C/C++ 5 
  683.  
  684. kragen wrote:
  685.  
  686. > I really like integer math a lot, especially if I'm going to run
  687. > xfractint on my 386-16.
  688.  
  689. yes, but with every passing day a 386 is an unusual platform, and the old DOS 
  690. fractint can always be used. My view is that these old platforms shouldn't block 
  691. Fractint's progress.
  692.  
  693. On the other hand, if we get help porting the assembler,  we could keep the 
  694. integer math.
  695.  
  696. Tim
  697.  
  698.  
  699. - --------------------------------------------------------------
  700. Thanks for using Fractdev, The Fractint Developer's Discussion List
  701. Post Message:   fractdev@lists.xmission.com
  702. Get Commands:   majordomo@lists.xmission.com "help"
  703. Administrator:  twegner@phoenix.net
  704. Unsubscribe:    majordomo@lists.xmission.com "unsubscribe fractdev"
  705.  
  706. ------------------------------
  707.  
  708. Date: Thu, 11 Jun 1998 01:28:14 -0400
  709. From: "Peter Gavin" <pgavin@mindspring.com>
  710. Subject: RE: (fractdev) Visual C/C++ 5 
  711.  
  712. And besides, who in their right mind would even *try* to run Win95 on a =
  713. 386?  <g>   :)
  714.  
  715. Well, then again, DJGPP has a built in 32 bit extender, correct?
  716.  
  717. Pete
  718. <pgavin@mindspring.com>
  719.  
  720. //  -----Original Message-----
  721. //  From: owner-fractdev@lists.xmission.com
  722. //  [mailto:owner-fractdev@lists.xmission.com]On Behalf Of Tim Wegner
  723. //  Sent: Thursday, June 11, 1998 12:57 AM
  724. //  To: fractdev@lists.xmission.com
  725. //  Subject: Re: (fractdev) Visual C/C++ 5=20
  726. // =20
  727. // =20
  728. //  kragen wrote:
  729. // =20
  730. //  > I really like integer math a lot, especially if I'm going to run
  731. //  > xfractint on my 386-16.
  732. // =20
  733. //  yes, but with every passing day a 386 is an unusual platform,=20
  734. //  and the old DOS=20
  735. //  fractint can always be used. My view is that these old=20
  736. //  platforms shouldn't block=20
  737. //  Fractint's progress.
  738. // =20
  739. //  On the other hand, if we get help porting the assembler,  we=20
  740. //  could keep the=20
  741. //  integer math.
  742. // =20
  743. //  Tim
  744. // =20
  745. // =20
  746. //  --------------------------------------------------------------
  747. //  Thanks for using Fractdev, The Fractint Developer's Discussion List
  748. //  Post Message:   fractdev@lists.xmission.com
  749. //  Get Commands:   majordomo@lists.xmission.com "help"
  750. //  Administrator:  twegner@phoenix.net
  751. //  Unsubscribe:    majordomo@lists.xmission.com "unsubscribe fractdev"
  752. // =20
  753.  
  754.  
  755. - --------------------------------------------------------------
  756. Thanks for using Fractdev, The Fractint Developer's Discussion List
  757. Post Message:   fractdev@lists.xmission.com
  758. Get Commands:   majordomo@lists.xmission.com "help"
  759. Administrator:  twegner@phoenix.net
  760. Unsubscribe:    majordomo@lists.xmission.com "unsubscribe fractdev"
  761.  
  762. ------------------------------
  763.  
  764. Date: Thu, 11 Jun 1998 01:41:27 -0400
  765. From: "Peter Gavin" <pgavin@mindspring.com>
  766. Subject: RE: (fractdev) Visual C/C++ 5
  767.  
  768. Wait, can you explain this to me?  The console mode programs made by Vis =
  769. C++ 5 are not DOS programs at all, as far as I know.  I don't think you =
  770. can run a 32-bit console mode program under DOS, even with a 32-bit DOS =
  771. extender.  First off, DOS'll spit out the typical 'This program must be =
  772. run under Windows' BS.  (Try using the FTP console mode program that  =
  773. comes w/ windows under DOS, with a DOS TCP/IP stack, like Wattcp.  It =
  774. won't work.  And the 'This program...' BS is really spit out by the =
  775. Windows program itself, you can hook in any code you want, that's just =
  776. the default behavior.)  Second, I don't think console mode progs can =
  777. access vid hardware the way fractint does, windows doesn't like that, =
  778. 'specially w/ protected mode etc.  Third, did you translate the assembly =
  779. to 32-bit, or what? <g> :)
  780.  
  781. BTW, not to be an anal-retentive dork or anything <g>, but the Vis C++ =
  782. IDE runs that same console  mode compiler you found, it just pipes the =
  783. output through that little box in the bottom.  The wonders of =
  784. Microsoft's programming team! ;)
  785.  
  786. I have Vis C 4, which is (nearly) identical to 5, other than the MFC =
  787. version included (which is only about .01 version-points better) and =
  788. cosmetic "enhancements".  (Again, MS's team at work! <g>)  I would =
  789. really like to see what you did to get that working!  Could you email =
  790. me?
  791.  
  792. Thanks!
  793.  
  794. Pete
  795. <pgavin@mindspring.com>
  796.  
  797. //  -----Original Message-----
  798. //  From: owner-fractdev@lists.xmission.com
  799. //  [mailto:owner-fractdev@lists.xmission.com]On Behalf Of Tim Wegner
  800. //  Sent: Monday, June 08, 1998 8:45 PM
  801. //  To: fractdev@lists.xmission.com
  802. //  Subject: (fractdev) Visual C/C++ 5
  803. // =20
  804. // =20
  805. //  I am sure lots of folks know this stuff, but remember, I'm a=20
  806. //  beginner <grin!>
  807. // =20
  808. //  I've been playing with Microsoft Visual C/C++ 5.0 and have=20
  809. //  noticed the following:
  810. // =20
  811. //  1. The compiler has a "console" mode which can be run from DOS or=20
  812. //  Windows. The executable program runs as DOS program; under windows a =
  813.  
  814. //  DOS box is created. In this mode the compiler works like the=20
  815. //  good ol' MSC 7=20
  816. //  that I use for the DOS fractint. Two big differences: long=20
  817. //  filenames are=20
  818. //  supported, and even when running from a DOS Box (inside Win95=20
  819. //  of course), a=20
  820. //  flat memory model is used, so large amounts of memory can be=20
  821. //  malloc'ed. Of=20
  822. //  course a DOS Fractint compiled in this way wouldn't run under a=20
  823. //  true DOS. A=20
  824. //  few diehard Fractint users like Lee SKinner don't run Windows=20
  825. //  at all <g!> He'd=20
  826. //  have to install WIn95 to use such a program.
  827. // =20
  828. //  2. It isn't hard to link Visual C with assembler. I was able to=20
  829. //  link in some test=20
  830. //  code compiled with MASM 6.1. However it does look like the=20
  831. //  documentation is=20
  832. //  more oriented to inline assembler. For portability, we could keep =
  833. the=20
  834. //  "assembler" files separate, and they could be implemented as=20
  835. //  either pure=20
  836. //  assembler or as one big inline file. All assembler, of course,=20
  837. //  must use the flat=20
  838. //  memory model.
  839. // =20
  840. //  I'm not so sure it would be all that hard to port some of the=20
  841. //  more critical=20
  842. //  assembler to Visual C/C++ 5. This compiler doesn't support=20
  843. //  Windows 3.1, but=20
  844. //  I'm not worried about supporting 16 bit Windows.
  845. // =20
  846. //  Tim
  847. // =20
  848. // =20
  849. // =20
  850. // =20
  851. //  --------------------------------------------------------------
  852. //  Thanks for using Fractdev, The Fractint Developer's Discussion List
  853. //  Post Message:   fractdev@lists.xmission.com
  854. //  Get Commands:   majordomo@lists.xmission.com "help"
  855. //  Administrator:  twegner@phoenix.net
  856. //  Unsubscribe:    majordomo@lists.xmission.com "unsubscribe fractdev"
  857. // =20
  858.  
  859.  
  860. - --------------------------------------------------------------
  861. Thanks for using Fractdev, The Fractint Developer's Discussion List
  862. Post Message:   fractdev@lists.xmission.com
  863. Get Commands:   majordomo@lists.xmission.com "help"
  864. Administrator:  twegner@phoenix.net
  865. Unsubscribe:    majordomo@lists.xmission.com "unsubscribe fractdev"
  866.  
  867. ------------------------------
  868.  
  869. Date: Thu, 11 Jun 1998 11:11:30 +0200 (MET DST)
  870. From: fjslman@wins.uva.nl (F.J. Slijkerman)
  871. Subject: Re: (fractdev) Visual C/C++ 5
  872.  
  873. > On the other hand, if we get help porting the assembler,  we could keep the 
  874. > integer math.
  875.  
  876. The assembler must not be "ported", it should be rewritten. The
  877. difference between 16- and 32-bit assembler is just too much.
  878.  
  879. Regards,
  880. Frederik.
  881.  
  882. - --------------------------------------------------------------
  883. Thanks for using Fractdev, The Fractint Developer's Discussion List
  884. Post Message:   fractdev@lists.xmission.com
  885. Get Commands:   majordomo@lists.xmission.com "help"
  886. Administrator:  twegner@phoenix.net
  887. Unsubscribe:    majordomo@lists.xmission.com "unsubscribe fractdev"
  888.  
  889. ------------------------------
  890.  
  891. Date: Thu, 11 Jun 1998 06:23:43 EDT
  892. From: <HGtotheG@aol.com>
  893. Subject: (fractdev) 3D Fractint
  894.  
  895. Can anyone help me?
  896.  
  897. I am working on a physics project and have been using Fractint to make 2D
  898. images for a proof.  What I need now is to be able to make a specific type of
  899. 3D image such that, on an x,y,z reference frame, a Mandelbrot set can be
  900. generated on each of the three planes.
  901.      y \   / z
  902.    x ---X---
  903.        /    \
  904.  
  905. Each plane x,yi; y,zi; and z,xi, would have a two dimensional Mandelbrot
  906. fractal to make a three dimensional image.  The formulas that I use to
  907. generate each MS contains a small variable so that each MS that in generated
  908. is different from any other MS.  The reference frame is then rotated two
  909. degrees and three new MS are generated to get a new image.  With multiple
  910. images, a video can be made showing vibrent 3D rotating fractals.  
  911.  
  912. Need to show only the 'front' of the image.  Where the MSs overlap, only the
  913. portion of MSs that are in view can be seen.
  914.  
  915. Can anyone help?????  
  916.  
  917.  
  918. - --------------------------------------------------------------
  919. Thanks for using Fractdev, The Fractint Developer's Discussion List
  920. Post Message:   fractdev@lists.xmission.com
  921. Get Commands:   majordomo@lists.xmission.com "help"
  922. Administrator:  twegner@phoenix.net
  923. Unsubscribe:    majordomo@lists.xmission.com "unsubscribe fractdev"
  924.  
  925. ------------------------------
  926.  
  927. Date: Thu, 11 Jun 1998 20:31:06 +0100
  928. From: Michael Bell <mbell@forfree.at>
  929. Subject: Re: (fractdev) Visual C/C++ 5
  930.  
  931. Tim Wegner wrote:
  932. > kragen wrote:
  933. > > I really like integer math a lot, especially if I'm going to run
  934. > > xfractint on my 386-16.
  935. > yes, but with every passing day a 386 is an unusual platform, and the old DOS
  936. > fractint can always be used. My view is that these old platforms shouldn't block
  937. > Fractint's progress.
  938. > On the other hand, if we get help porting the assembler,  we could keep the
  939. > integer math.
  940. > Tim
  941.  
  942. There are other processor's for which integer math still has large
  943. benefits (as far as I can tell from v19.6).  The K6 processor has a slow
  944. FPU so integer math is better on this processor than the floating point
  945. code (guess what processor I've got :-)).  This generally applies for
  946. all non-Intel chips as far as I can tell, and there are a fair few of
  947. them about.
  948.  
  949. Michael.
  950.  
  951. - --------------------------------------------------------------
  952. Thanks for using Fractdev, The Fractint Developer's Discussion List
  953. Post Message:   fractdev@lists.xmission.com
  954. Get Commands:   majordomo@lists.xmission.com "help"
  955. Administrator:  twegner@phoenix.net
  956. Unsubscribe:    majordomo@lists.xmission.com "unsubscribe fractdev"
  957.  
  958. ------------------------------
  959.  
  960. Date: Thu, 11 Jun 1998 15:43:17 -0400
  961. From: "Damien M. Jones" <dmj@fractalus.com>
  962. Subject: Re: (fractdev) Visual C/C++ 5
  963.  
  964. Michael,
  965.  
  966.  - There are other processor's for which integer math still has large
  967.  - benefits (as far as I can tell from v19.6).  The K6 processor has a slow
  968.  - FPU so integer math is better on this processor than the floating point
  969.  - code (guess what processor I've got :-)).  This generally applies for
  970.  - all non-Intel chips as far as I can tell, and there are a fair few of
  971.  - them about.
  972.  
  973. The AMD K6-2 has a fast FPU.  Apparently even AMD recognizes a weak spot
  974. when they see one. :-)  Cyrix still hasn't figured it out yet, though,
  975. more's the pity.
  976.  
  977. Damien M. Jones   \\
  978. dmj@fractalus.com  \\  http://www.icd.com/tsd/ (temporary sanity designs)
  979.                     \\  http://www.fractalus.com/ (fractals are my hobby)
  980.  
  981. - --------------------------------------------------------------
  982. Thanks for using Fractdev, The Fractint Developer's Discussion List
  983. Post Message:   fractdev@lists.xmission.com
  984. Get Commands:   majordomo@lists.xmission.com "help"
  985. Administrator:  twegner@phoenix.net
  986. Unsubscribe:    majordomo@lists.xmission.com "unsubscribe fractdev"
  987.  
  988. ------------------------------
  989.  
  990. Date: Thu, 11 Jun 1998 22:29:59 -0600
  991. From: "Tim Wegner" <twegner@phoenix.net>
  992. Subject: Re: (fractdev) Visual C/C++ 5
  993.  
  994. I wrote:
  995.  
  996. > > On the other hand, if we get help porting the assembler,  we could keep the 
  997. > > integer math.
  998.  
  999.  
  1000. And Frederik responded:
  1001.  
  1002. > The assembler must not be "ported", it should be rewritten. The
  1003. > difference between 16- and 32-bit assembler is just too much.
  1004.  
  1005. Ahh, the key word was "help", not "porting" <grin!>. If the "helper" wrote 100% 
  1006. pure assembler from first principles, that's cool.
  1007.  
  1008. Seriously, talk of help is a bit premature, but I do hope at the appropriate time 
  1009. in true Stone Soup spirit we get some talented volunteers.
  1010.  
  1011. Tim
  1012.  
  1013.  
  1014. - --------------------------------------------------------------
  1015. Thanks for using Fractdev, The Fractint Developer's Discussion List
  1016. Post Message:   fractdev@lists.xmission.com
  1017. Get Commands:   majordomo@lists.xmission.com "help"
  1018. Administrator:  twegner@phoenix.net
  1019. Unsubscribe:    majordomo@lists.xmission.com "unsubscribe fractdev"
  1020.  
  1021. ------------------------------
  1022.  
  1023. Date: Thu, 11 Jun 1998 22:29:59 -0600
  1024. From: "Tim Wegner" <twegner@phoenix.net>
  1025. Subject: Re: (fractdev) Visual C/C++ 5
  1026.  
  1027. Michael wrote:
  1028.  
  1029. > There are other processor's for which integer math still has large
  1030. > benefits (as far as I can tell from v19.6).  The K6 processor has a slow
  1031. > FPU so integer math is better on this processor than the floating point
  1032. > code (guess what processor I've got :-)).  This generally applies for
  1033. > all non-Intel chips as far as I can tell, and there are a fair few of
  1034. > them about.
  1035.  
  1036. Ah so, but I have a float-only version I have already made. I know for certain 
  1037. that I personally will not be writing any flat model  integer math code in 
  1038. assembler. That doesn't mean it won't happen, it just means that it will depend 
  1039. on someone who agrees it is important and who has the skills and time  
  1040. steping forward.
  1041.  
  1042. Tim
  1043.  
  1044.  
  1045. - --------------------------------------------------------------
  1046. Thanks for using Fractdev, The Fractint Developer's Discussion List
  1047. Post Message:   fractdev@lists.xmission.com
  1048. Get Commands:   majordomo@lists.xmission.com "help"
  1049. Administrator:  twegner@phoenix.net
  1050. Unsubscribe:    majordomo@lists.xmission.com "unsubscribe fractdev"
  1051.  
  1052. ------------------------------
  1053.  
  1054. End of fractdev-digest V1 #9
  1055. ****************************
  1056.  
  1057.