On Tuesday 25 June 2002 07:42 am, Charlie wrote:
1. L-system "Thinking" screen freezes up upon this: (Under W98 it announces a restricted instruction or st. like that) Bug { angle 6 axiom F F=[F+F- F=-F+F] } It's somehow caused by spliting related push-pops into multiple lines.
Does this work using the integer math? It does for me, but is it the expected image?
3. Therefore while wondering thru video.asm I found some bad things:
VESAtruewrite in 24+b/color mode forms B-G-B instead of R-G-B (caused by commenting out some lines, but most of the cards require B-G-R anyway, so that branch is rarely passed thru I guess)
Haven't looked at this yet, but it is a bit messy. I could have easily gotten it incorrect.
VESAtruewrite/read and put/gettruecolor in 24+b/color mode call VESAtrueaddr three times! (While calling it once is enough!)
As I recall, which isn't very good, the problem occurs when the address crosses a segment boundary. If you don't call VESAtrueaddr you'll get bounced out. Jonathan