• Anybody adapted Sargon78 to B&W VT100 ?

    From Peter Dassow@z80eu@arcor.de to comp.os.cpm on Sat May 2 13:21:06 2026
    From Newsgroup: comp.os.cpm

    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 ?

    --- Synchronet 3.21f-Linux NewsLink 1.2
  • From Jack Strangio@jackstrangio@yahoo.com to comp.os.cpm on Thu May 14 03:36:32 2026
    From Newsgroup: comp.os.cpm

    Peter Dassow <z80eu@arcor.de> writes:
    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 ?


    I had a heavily-modified Sargon working under North Star DOS way back in the 80s. Instead of working with screen graphics, I was using a teletype so my Sargon reprinted a new diagram of the chessboard after each move.

    At some point I tried to convert that to CP/M assembled with MAC. I can't remember whether or not I had it working under CP/M.

    I dug up that CP/M code and it assembles cleanly. But when I try to run it using xterm, there is a fault, in that there seems to be an infinite text
    input or output loop. (I didn't spend time with the debugger to determine which - I suspect it's an output loop.)

    I can email the (faulty?) code to your email if you like, but you will
    probably be better off playing with the original Sargon code like I did back
    in the 80s.

    Regards,

    Jack
    --
    90% of people who are bald still own a comb.
    They just can't part with it.
    --- Synchronet 3.22a-Linux NewsLink 1.2