Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!samsung!uunet!zephyr.ens.tek.com!tektronix!percy!m2xenix!puddle!p0.f1.n7101.z5.fidonet.org!Cobus.Debeer From: Cobus.Debeer@p0.f1.n7101.z5.fidonet.org (Cobus Debeer) Newsgroups: comp.lang.modula2 Subject: Re: TopSpeed 3.0 First Impressions Message-ID: <3278.2868588C@puddle.fidonet.org> Date: 26 Jun 91 02:26:04 GMT Sender: ufgate@puddle.fidonet.org (newsout1.26) Organization: FidoNet node 5:7101/1.0 - Golden City Opus, Johannesburg RSA Lines: 21 I have found that the MGDEMO program crashes on certain video adaptors and traced the cause of the problem to the code where the video mode is In line 1961 of the GRAPH.mod file the bios function is called without the AH register being set to 0. This can be fixed by changing the assignment of AL = 010 to AX := 010 or by making ah zero. The reason why it does not crash consistently is that AH is mostly zero. When it happens to be non-zero you go off into space. There is another bug in the code. When using VGA graphics the structure indicating the hrizontal and vertical pixel count returns the correct values but the pixel plotting functions use the EGA limitsto decide if a point should be plotted. regards Cobus de Beer -- uucp: uunet!m2xenix!puddle!5!7101!1.0!Cobus.Debeer Internet: Cobus.Debeer@p0.f1.n7101.z5.fidonet.org