home *** CD-ROM | disk | FTP | other *** search
/ ftp.xmission.com / 2014.06.ftp.xmission.com.tar / ftp.xmission.com / pub / lists / fractdev / archive / fractdev.200009 < prev    next >
Internet Message Format  |  2000-09-23  |  17KB

  1. From: "Jonathan Osuch" <osuchj@uswest.net>
  2. Subject: SOI
  3. Date: 04 Sep 2000 18:52:27 -0500
  4.  
  5. Tim,
  6.  
  7. I've been playing with passes=s, with and without debug=3444, and have found
  8. that at times there is less stack available than the value defined by
  9. minstack=.  I have also been kicked out with a stack overflow error numerous
  10. times.
  11.  
  12. I don't know if this is related to the problem Puskas has found.  His images
  13. use arbitrary precision math, which might be causing a problem.
  14.  
  15. Jonathan
  16.  
  17.  
  18.  
  19. Thanks for using Fractdev, The Fractint Developer's Discussion List
  20. Post Message:   fractdev@lists.xmission.com
  21. Get Commands:   majordomo@lists.xmission.com "help"
  22. Administrator:  twegner@fractint.org
  23. Unsubscribe:    majordomo@lists.xmission.com "unsubscribe fractdev"
  24.  
  25.  
  26. -------------------------------------------------------------------------------
  27.  
  28. From: Tim Wegner <twegner@swbell.net>
  29. Subject: Re: SOI
  30. Date: 04 Sep 2000 21:52:38 -0600
  31.  
  32. Jonathan wrote:
  33.  
  34. > I've been playing with passes=s, with and without debug=3444, and have found
  35. > that at times there is less stack available than the value defined by
  36. > minstack=.  I have also been kicked out with a stack overflow error numerous
  37. > times.
  38.  
  39. I haven't had a chance to look at this yet.
  40.  
  41. SOI is very sensitive to available stack space because it uses 
  42. stack like crazy (recursive algorithm). Memory allocated to stack is 
  43. adjustable as a link option, but it steals from free near space (if my 
  44. memory serves). I went to extraordinary lengths to cut down on 
  45. stack use in favor of static far memory. There are some tests of 
  46. remaining stack space designed to head off problems but they 
  47. aren't reliable. The problem is that the amount of stack space free 
  48. is user-dependent, and is affected by things like video drivers.
  49.  
  50. If and when we cut ourselves off from the medium model, we can 
  51. go back to the original SOI sources. Well almost. The original 
  52. sources have some tricky optimizations involved loop unrolling, and 
  53. don't give a result for each iteration. But this can be handled one 
  54. way or another.
  55.  
  56. > I don't know if this is related to the problem Puskas has found.  His images
  57. > use arbitrary precision math, which might be causing a problem.
  58.  
  59. SOI doesn't use arbitrary precision, so that explains a lot right 
  60. there :-) If Puskas is using arbitrary precision, SOI is guaranteed to 
  61. not work.
  62.  
  63. Once again, the real fun of SOI would be to add arbitrary precision 
  64. support so we can plunge into the magnification depths much 
  65. faster. But we can't even think about doing this until we have 
  66. memory to work withy. It's amazing we do as much as we do under 
  67. DOS.
  68.  
  69. Tim
  70.  
  71.  
  72. Thanks for using Fractdev, The Fractint Developer's Discussion List
  73. Post Message:   fractdev@lists.xmission.com
  74. Get Commands:   majordomo@lists.xmission.com "help"
  75. Administrator:  twegner@fractint.org
  76. Unsubscribe:    majordomo@lists.xmission.com "unsubscribe fractdev"
  77.  
  78.  
  79. -------------------------------------------------------------------------------
  80.  
  81. From: "Jonathan Osuch" <osuchj@uswest.net>
  82. Subject: Re: SOI
  83. Date: 05 Sep 2000 20:38:36 -0500
  84.  
  85. Tim,
  86.  
  87. Here is an example.  It crashes when the <tab> key is pressed and one of the
  88. small sections is being drawn (for example, the first square).
  89.  
  90. test_03            { ; ;
  91.                      ;  Jonathan Osuch
  92.                      ;  Sep 05, 2000 at 20:30:10
  93.                      ; Version 2000 Patchlevel 15
  94.   reset=2000 type=mandel passes=s
  95.   center-mag=-1.02147734604105500/+0.24939377444589350/2133333
  96.   params=0/0 float=y maxiter=7000 inside=0 sound=off
  97.   }
  98.  
  99.  
  100.  
  101. Thanks for using Fractdev, The Fractint Developer's Discussion List
  102. Post Message:   fractdev@lists.xmission.com
  103. Get Commands:   majordomo@lists.xmission.com "help"
  104. Administrator:  twegner@fractint.org
  105. Unsubscribe:    majordomo@lists.xmission.com "unsubscribe fractdev"
  106.  
  107.  
  108. -------------------------------------------------------------------------------
  109.  
  110. From: "Jonathan Osuch" <osuchj@uswest.net>
  111. Subject: Conflict in extraseg
  112. Date: 10 Sep 2000 18:46:27 -0500
  113.  
  114. Tim,
  115.  
  116. I received the following bug report from Puskßs Istvßn jr.
  117.  
  118. > When in arbitrary precision mode, if I want to save a picture with <b>,
  119. and
  120. > press TAB to check the parameters, then switch back and move the cursor
  121. > between the entry fields, the texts on the menu turn into memory garbage
  122. > when updated.
  123.  
  124. This is caused by the comment fields (and then CHOICES) using the start of
  125. extraseg (see make_batch_file() in miscovl.c).  As you will recall, the
  126. arbitrary precision routines also use extraseg.  In biginit.c, there is a
  127. define for ENDVID which is currently set to 0.  Setting it to 2048 clears up
  128. this problem.  This is based on a rough estimate of 24 lines X 80 characters
  129. = 1920 + slop to make it a nice number.
  130.  
  131. The arbitrary precision math can handle this, but are there any instances
  132. that you can think of where the <b> screen might exceed this?
  133.  
  134. Jonathan
  135.  
  136.  
  137.  
  138. Thanks for using Fractdev, The Fractint Developer's Discussion List
  139. Post Message:   fractdev@lists.xmission.com
  140. Get Commands:   majordomo@lists.xmission.com "help"
  141. Administrator:  twegner@fractint.org
  142. Unsubscribe:    majordomo@lists.xmission.com "unsubscribe fractdev"
  143.  
  144.  
  145. -------------------------------------------------------------------------------
  146.  
  147. From: Tim Wegner <twegner@swbell.net>
  148. Subject: Re: Conflict in extraseg
  149. Date: 10 Sep 2000 19:43:01 -0600
  150.  
  151. Jonathan asked:
  152.  
  153. > The arbitrary precision math can handle this, but are there any instances
  154. > that you can think of where the <b> screen might exceed this?
  155.  
  156. This is possible, and would have to be looked more closely, but a 
  157. more likely situation that would cause the symptoms described 
  158. would be overlayed data segments being swapped into or out of 
  159. memory. It would help to know exactly which text prompts became 
  160. garbage. A bit of tweaking might be needed of which variables are 
  161. in which segment.
  162.  
  163. Tim
  164.  
  165.  
  166. Thanks for using Fractdev, The Fractint Developer's Discussion List
  167. Post Message:   fractdev@lists.xmission.com
  168. Get Commands:   majordomo@lists.xmission.com "help"
  169. Administrator:  twegner@fractint.org
  170. Unsubscribe:    majordomo@lists.xmission.com "unsubscribe fractdev"
  171.  
  172.  
  173. -------------------------------------------------------------------------------
  174.  
  175. From: "Jonathan Osuch" <osuchj@uswest.net>
  176. Subject: Re: Conflict in extraseg
  177. Date: 11 Sep 2000 21:04:41 -0500
  178.  
  179. Tim replied,
  180.  
  181. > This is possible, and would have to be looked more closely, but a
  182. > more likely situation that would cause the symptoms described
  183. > would be overlayed data segments being swapped into or out of
  184. > memory. It would help to know exactly which text prompts became
  185. > garbage. A bit of tweaking might be needed of which variables are
  186. > in which segment.
  187.  
  188. Hmm, I don't see any data segment swapping in this case.  But, I could just
  189. be missing it.
  190.  
  191. I have found a similar problem.  If you have loaded an arbitrary precision
  192. image (so ap is turned on) and then start to load another ap image.  At the
  193. select a video mode screen, press <tab>.  The tab screen should indicate ap
  194. is active.  Exit the tab screen and then page down the video mode screen a
  195. couple of times.  You should see some blank entries and some garbled
  196. entries.
  197.  
  198. Jonathan
  199.  
  200.  
  201.  
  202. Thanks for using Fractdev, The Fractint Developer's Discussion List
  203. Post Message:   fractdev@lists.xmission.com
  204. Get Commands:   majordomo@lists.xmission.com "help"
  205. Administrator:  twegner@fractint.org
  206. Unsubscribe:    majordomo@lists.xmission.com "unsubscribe fractdev"
  207.  
  208.  
  209. -------------------------------------------------------------------------------
  210.  
  211. From: "Jonathan Osuch" <osuchj@uswest.net>
  212. Subject: Re: Conflict in extraseg
  213. Date: 12 Sep 2000 20:55:36 -0500
  214.  
  215. Tim,
  216.  
  217. If you take a look at the comments at the beginning of biginit.c, there is a
  218. short discussion of ENDVID.  It looks to me like we have two cases where it
  219. isn't safe to let the ap math have all of extraseg.  Leaving ENDVID as it is
  220. defined in fractint.h clears up both these problems.
  221.  
  222. Is this going to affect the performance of the ap math?  We may want to
  223. explore other solutions.  The one case can be fixed by using a temporary far
  224. buffer.  I haven't looked at the other case that closely.
  225.  
  226. Jonathan
  227.  
  228.  
  229.  
  230. Thanks for using Fractdev, The Fractint Developer's Discussion List
  231. Post Message:   fractdev@lists.xmission.com
  232. Get Commands:   majordomo@lists.xmission.com "help"
  233. Administrator:  twegner@fractint.org
  234. Unsubscribe:    majordomo@lists.xmission.com "unsubscribe fractdev"
  235.  
  236.  
  237. -------------------------------------------------------------------------------
  238.  
  239. From: Tim Wegner <twegner@swbell.net>
  240. Subject: Re: Conflict in extraseg
  241. Date: 12 Sep 2000 21:06:26 -0600
  242.  
  243.  
  244. > Is this going to affect the performance of the ap math?  We may want to
  245. > explore other solutions.  The one case can be fixed by using a temporary far
  246. > buffer.  I haven't looked at the other case that closely.
  247.  
  248. Arbitrary precision has a simple minded memory allocation 
  249. scheme based on a stack. Reducing the amount of extraseg 
  250. available reduces how many variables can be created. Alternatively, 
  251. since the size of variables depends on precision, it reduces the 
  252. highest possible precision. This is probably not a big deal, 
  253. especially for the mandelbrot which doesn't fdreate a lot of variables.
  254.  
  255. Tim
  256.  
  257.  
  258. Thanks for using Fractdev, The Fractint Developer's Discussion List
  259. Post Message:   fractdev@lists.xmission.com
  260. Get Commands:   majordomo@lists.xmission.com "help"
  261. Administrator:  twegner@fractint.org
  262. Unsubscribe:    majordomo@lists.xmission.com "unsubscribe fractdev"
  263.  
  264.  
  265. -------------------------------------------------------------------------------
  266.  
  267. From: "Jonathan Osuch" <osuchj@uswest.net>
  268. Subject: Incrementing version number
  269. Date: 17 Sep 2000 15:36:40 -0500
  270.  
  271. Tim,
  272.  
  273. I am going to need to add backwards compatibility for a feature that Iain
  274. Stirling has sent me.  Thus, the need to increment the version number.  My
  275. next patch would then be 2001P00.
  276.  
  277. OTOH, I can add the backward compatibility without incrementing the version
  278. number but then the changed feature won't be available until the next
  279. official release.
  280.  
  281. The feature I'm referring to is the inside=fmod option.  Iain has
  282. implemented it as an outside= option and sent me the diff.  What he also did
  283. was to change the calculation of the magnitude to reflect the bailout test
  284. being used.  So instead of the magnitude always being sqr(new.x)+sqr(new.y),
  285. it changes with the bailout test.  This makes a big difference on the image.
  286.  
  287. Opinions, options, ideas?
  288.  
  289. Jonathan
  290.  
  291.  
  292.  
  293. Thanks for using Fractdev, The Fractint Developer's Discussion List
  294. Post Message:   fractdev@lists.xmission.com
  295. Get Commands:   majordomo@lists.xmission.com "help"
  296. Administrator:  twegner@fractint.org
  297. Unsubscribe:    majordomo@lists.xmission.com "unsubscribe fractdev"
  298.  
  299.  
  300. -------------------------------------------------------------------------------
  301.  
  302. From: "Jonathan Osuch" <osuchj@uswest.net>
  303. Subject: Re: Conflict in extraseg
  304. Date: 18 Sep 2000 21:17:52 -0500
  305.  
  306. Tim,
  307.  
  308. While I was pondering the use of ENDVID and extraseg, it occurred to me that
  309. since the ap math uses all of extraseg, any of the screen prompts which use
  310. extraseg should corrupt the ap math data.  This would only be seen with an
  311. extremely deep zoom.  The ap math data would need to take up over 22400
  312. bytes!  This wasn't seen when ENDVID was defined in biginit.c because only
  313. temporary variables were being corrupted.
  314.  
  315. Jonathan
  316.  
  317.  
  318.  
  319. Thanks for using Fractdev, The Fractint Developer's Discussion List
  320. Post Message:   fractdev@lists.xmission.com
  321. Get Commands:   majordomo@lists.xmission.com "help"
  322. Administrator:  twegner@fractint.org
  323. Unsubscribe:    majordomo@lists.xmission.com "unsubscribe fractdev"
  324.  
  325.  
  326. -------------------------------------------------------------------------------
  327.  
  328. From: Tim Wegner <twegner@swbell.net>
  329. Subject: Re: Incrementing version number
  330. Date: 19 Sep 2000 23:12:04 -0600
  331.  
  332. Jonathan wrote:
  333.  
  334. > I am going to need to add backwards compatibility for a feature that Iain
  335. > Stirling has sent me.  Thus, the need to increment the version number.  My
  336. > next patch would then be 2001P00.
  337.  
  338. I don't mind incrementing the version number. Do whatever makes 
  339. sense to you.
  340.  
  341. Tim
  342.  
  343.  
  344. Thanks for using Fractdev, The Fractint Developer's Discussion List
  345. Post Message:   fractdev@lists.xmission.com
  346. Get Commands:   majordomo@lists.xmission.com "help"
  347. Administrator:  twegner@fractint.org
  348. Unsubscribe:    majordomo@lists.xmission.com "unsubscribe fractdev"
  349.  
  350.  
  351. -------------------------------------------------------------------------------
  352.  
  353. From: "Jonathan Osuch" <osuchj@uswest.net>
  354. Subject: Parser constants
  355. Date: 22 Sep 2000 20:53:50 -0500
  356.  
  357. Tim & George,
  358.  
  359. The following two formulae illustrate a problem that recently appeared on
  360. the Fractint bug list.  They should produce the same image, but the parser
  361. optimization is flipping the bad image.  Using debug=322 (turn off parser
  362. optimizations) corrects the problem.
  363.  
  364. bad_image {; Jim Muth  Don't try this at home.
  365.  a=1, z=(-1/0.95)^(-1/9.9):
  366.  z=a*(10*(z^(-1.1))+0.95*(z^(-11)))+1/pixel,
  367.  |z| < 500
  368. }
  369.  
  370. good_image {; Jim Muth  This either.
  371.  a=(1,0), z=(-1/0.95)^(-1/9.9):
  372.  z=a*(10*(z^(-1.1))+0.95*(z^(-11)))+1/pixel,
  373.  |z| < 500
  374. }
  375.  
  376. The only difference is changing the a=1 to a=(1,0).  This problem seems
  377. familiar.
  378.  
  379. Jonathan
  380.  
  381.  
  382.  
  383. Thanks for using Fractdev, The Fractint Developer's Discussion List
  384. Post Message:   fractdev@lists.xmission.com
  385. Get Commands:   majordomo@lists.xmission.com "help"
  386. Administrator:  twegner@fractint.org
  387. Unsubscribe:    majordomo@lists.xmission.com "unsubscribe fractdev"
  388.  
  389.  
  390. -------------------------------------------------------------------------------
  391.  
  392. From: George Martin <GGMARTIN@compuserve.com>
  393. Subject: Parser constants
  394. Date: 23 Sep 2000 12:52:27 -0400
  395.  
  396. Jonathan,
  397.  
  398. This problem doesn't ring any bells for me. I'll look at it, but can't ge=
  399. t
  400. to it for a couple of days.
  401.  
  402. George =
  403.  
  404.  
  405. Thanks for using Fractdev, The Fractint Developer's Discussion List
  406. Post Message:   fractdev@lists.xmission.com
  407. Get Commands:   majordomo@lists.xmission.com "help"
  408. Administrator:  twegner@fractint.org
  409. Unsubscribe:    majordomo@lists.xmission.com "unsubscribe fractdev"
  410.  
  411.  
  412. -------------------------------------------------------------------------------
  413.  
  414. From: "Jonathan Osuch" <osuchj@uswest.net>
  415. Subject: Next patch, version 20.1.0
  416. Date: 23 Sep 2000 20:52:22 -0500
  417.  
  418. Tim,
  419.  
  420. I've uploaded the diff, executable and a source sync for version 20.1.0.
  421.  
  422. Here's the text from the documentation:
  423.  
  424. Version 20.1.0\
  425. Incremented the version number to accommodate backwards compatibility for
  426. the inside=fmod option.
  427.  
  428. Fixed the assignment of hotkeys to video modes so that the fractint.cfg
  429. file is no longer corrupted.  Made the showdot= feature reset with <INS>
  430. if it is entered using the <g> screen.  Added a check for the video size
  431. before invoking the palette editor.  Too small a size would crash Fractint.
  432.  
  433. Fixed an extraseg conflict which occurred with arbitrary precision when
  434. the <tab> key was used with various screens open (x,y,b).  This conflict
  435. also occurred when loading an ap math image at the video selection screen.
  436. Cleaned up some of the ap math initialization code.
  437.  
  438. Fixed an obscure bug that left memory allocated when an unfinished image
  439. was being reloaded, but a video mode was not selected (escape was pressed).
  440.  
  441. Added outside=fmod option.  This is an extension of the inside=fmod option.
  442. The magnitude used for the comparison is now based on the same calculation
  443. as
  444. is used for the bailout test.  This feature was contributed by Iain
  445. Stirling.
  446. There is a problem with the mandel fractal type when outside=fmod is used
  447. with inside=bof6x and bailoutest=real, imag, or manr.  This is likely due
  448. to changes made in the code so that bof images could be reproduced.  Select
  449. a different fractal type that produces the default mandel image to explore
  450. using these parameters.
  451.  
  452. Added outside=tdis option.  This colors the pixels according to the total
  453. distance traveled by the orbit.  This feature was suggested by Steve
  454. Robinson
  455. on the Fractint Wish List.
  456.  
  457. Modified the inside and outside prompts on the <x> screen.  They are now
  458. split into two separate prompts.  One for entering a color number and the
  459. other for changing the option.  The left and right arrow keys can now be
  460. used to change the inside and outside options.
  461.  
  462. Fixed a bug that was causing a crash when mathtolerance= was used and
  463. fractal types ifs, ifs3d, or lsystem were selected.
  464.  
  465. Increased the minimum stack requirement for passes=s (SOI) to eliminate
  466. crashes when the tab key was pressed.
  467.  
  468. Jonathan
  469.  
  470.  
  471.  
  472. Thanks for using Fractdev, The Fractint Developer's Discussion List
  473. Post Message:   fractdev@lists.xmission.com
  474. Get Commands:   majordomo@lists.xmission.com "help"
  475. Administrator:  twegner@fractint.org
  476. Unsubscribe:    majordomo@lists.xmission.com "unsubscribe fractdev"
  477.  
  478.