MSX2ANSI requires 128KB VRAM even though currently it doesn't use pages, reason being the hardware itself interlacing the memory access between different banks to speed it up.
Given that, TELNET should look on MODE system variable when MSX2 or higher ( 0xFAFC - MODE should be checked on bits 1 and 2, so & 0x06, result should be 4 or 6 (meaning 128KB or 196KB VRAM), and if lower than 4 it should not use ANSI mode.
Another nicety could be to automatically set screen mode to screen 0 and screen width to 80 columns... A test on openMSX / Canon V25 showed the current screen mode of dos being used instead.
MSX2ANSI requires 128KB VRAM even though currently it doesn't use pages, reason being the hardware itself interlacing the memory access between different banks to speed it up.
Given that, TELNET should look on MODE system variable when MSX2 or higher ( 0xFAFC - MODE should be checked on bits 1 and 2, so & 0x06, result should be 4 or 6 (meaning 128KB or 196KB VRAM), and if lower than 4 it should not use ANSI mode.
Another nicety could be to automatically set screen mode to screen 0 and screen width to 80 columns... A test on openMSX / Canon V25 showed the current screen mode of dos being used instead.