On 31 May 2001, Bastiaan MSX wrote:
> Hello,
>
> The situation: NMS8250: internal mapper 128kB, external 1MB
>
> How do I prevent the use of the internal mapper so I don't lose time switching
> slots?
> Can I block or disable the internal mapper (with a programm)?
>
> hope you can help
In hardware, the mapper cannot be uninstalled (except by physically taking
it out). Detecting the mapper in a standard way will always succeed. If
you write your own software, you can off course only use the largest
mapper.
If it comes to standard routines (dos2, eg), there is probably some system
variable telling where the mappers are. Changing that should work for
programs that use dos2 to access memory. I do not know where this variable
is. Anybody?
Bye,
/** mastermind. input 4 numbers 0-5. output <right>.<in the right place> **/
main(){int c[4] ,x=3 ,l=getpid() ,i;; for( srand(l);c[ x]=- rand
()%6 ,x-- ;);; for( ;44> x;){ char a[9] ,*p=
"%.1f\n", b[9];x=i=0; gets(a);for (l=4 ;l-- ;)x+=-(a[l] -=48)==
(b[l ]=c[ l]); ;for (l=0;16 >i;l =++i %4)x
+=(b[i/4]+ a[l] ?0:( a[l]=b[i/4] =10)) ;printf(p,x *.1) ;};}
--
For info, see http://www.stack.nl/~wynke/MSX/listinfo.html