Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.os.cpm > #14572

Re: Anybody adapted Sargon78 to B&W VT100 ?

From Jack Strangio <jackstrangio@yahoo.com>
Newsgroups comp.os.cpm
Subject Re: Anybody adapted Sargon78 to B&W VT100 ?
Date 2026-05-14 03:36 +0000
Organization North Star Horizon Builders Club
Message-ID <tF0CHI.3oK@yahoo.com> (permalink)
References <10t4mn2$247dq$1@dont-email.me>

Show all headers | View raw


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.

Back to comp.os.cpm | Previous | NextPrevious in thread | Find similar


Thread

Anybody adapted Sargon78 to B&W VT100 ? Peter Dassow <z80eu@arcor.de> - 2026-05-02 13:21 +0200
  Re: Anybody adapted Sargon78 to B&W VT100 ? Jack Strangio  <jackstrangio@yahoo.com> - 2026-05-14 03:36 +0000

csiph-web