Path: csiph.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail From: Peter Dassow Newsgroups: comp.os.cpm Subject: Anybody adapted Sargon78 to B&W VT100 ? Date: Sat, 2 May 2026 13:21:06 +0200 Organization: A noiseless patient Spider Lines: 19 Message-ID: <10t4mn2$247dq$1@dont-email.me> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Sat, 02 May 2026 11:21:07 +0000 (UTC) Injection-Info: dont-email.me; logging-data="2235834"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18fYPRMDkWwZ48Yc9T0Xp3i"; posting-host="d178c951979e50dec75e2e4dcaab0b21" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:RT2GTQsBsfhUBhpbuSNuPFkNdGY= Content-Language: en-US Xref: csiph.com comp.os.cpm:14566 Hi, at https://github.com/z80playground/sargon-cpm a slightly modified version of the original CP/M-80 Sargon chess program from 1978 can be downloaded. I tried this one, and it looks great with Codepage 437 and ANSI terminal emulation on a PC, but looks very ugly on a SC126 (RC2014 compatible Z180 SBC) with RP2040 VGA Terminal, which has also some sort of ANSI/VT100 emulation. The codepage 437 graphics chars are NOT the problem (because RP2040 VGA Terminal supports this), but the ESC sequences for color. I tried to modify the binary at the address of the ESC sequence stored in the file, but the program crashes immediately (thought the ESC sequences are null-terminated strings, but it seems they are not). The source code seems to be assembled with "PASMO", but I don't know PASMO. The unmodified original source code (?) can be found at https://github.com/billforsternz/retro-sargon/blob/master/stages/sargon-z80.asm ... does anybody tried to adapt/modify the Sargon78 to run with non-color VT100/ANSI codes but keep the CP437 graphics chars ?