From: Manuel B. <ma...@ms...> - 2005-01-05 11:05:18
|
Hi, I investigated the problems me and Eric had with the new MegaRAM extension and I found out that it boiled down to a bug in gcc. See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=288721 The code in openMSX that is affected is at least: MSXMegaRam.cc:81: if (address >= 0x4000 && address <= 0xbfff) { return &(*rom)[address - 0x4000]; } Because of the bug, the range check fails, which causes an assert failure in the index operator of Rom. The bug can be worked around by splitting the if into two ifs. -- Grtjs, Manuel PS: MSX FOR EVER! (Questions? http://faq.msxnet.org/ ) PPS: Visit my homepage at http://manuel.msxnet.org/ |