Rocksolid Light

Welcome to Rocksolid Light

mail  files  register  newsreader  groups  login

Message-ID:  

grep me no patterns and I'll tell you no lines.


devel / comp.os.cpm / Startrek with option to save/load game

SubjectAuthor
* Startrek with option to save/load gameladislau szilagyi
`* Startrek with option to save/load gameladislau szilagyi
 `* Startrek with option to save/load gamePeter Dassow
  `* Startrek with option to save/load gameladislau szilagyi
   `* Startrek with option to save/load gameladislau szilagyi
    `- Startrek with option to save/load gameladislau szilagyi

1
Startrek with option to save/load game

<4a2270e3-9c93-4685-8d64-69e3cf161adcn@googlegroups.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=4263&group=comp.os.cpm#4263

  copy link   Newsgroups: comp.os.cpm
X-Received: by 2002:a05:620a:248a:b0:765:3e4a:1c57 with SMTP id i10-20020a05620a248a00b007653e4a1c57mr495qkn.11.1688066372805;
Thu, 29 Jun 2023 12:19:32 -0700 (PDT)
X-Received: by 2002:a05:6870:7d14:b0:1ad:4a75:39b8 with SMTP id
os20-20020a0568707d1400b001ad4a7539b8mr755737oab.7.1688066372563; Thu, 29 Jun
2023 12:19:32 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.cpm
Date: Thu, 29 Jun 2023 12:19:31 -0700 (PDT)
Injection-Info: google-groups.googlegroups.com; posting-host=86.125.83.230; posting-account=Zav8fAoAAACRqOOZYggbw7GhvvIJEzFn
NNTP-Posting-Host: 86.125.83.230
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <4a2270e3-9c93-4685-8d64-69e3cf161adcn@googlegroups.com>
Subject: Startrek with option to save/load game
From: ladislau_szilagyi@euroqst.ro (ladislau szilagyi)
Injection-Date: Thu, 29 Jun 2023 19:19:32 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 1594
 by: ladislau szilagyi - Thu, 29 Jun 2023 19:19 UTC

Hi,

Thanks to Alan Cox ( https://github.com/EtchedPixels/FUZIX/tree/master/Applications/games ), I had a very solid starting point...

I made some adjustments for HiTech C, and added save/load game.

You may find my Startrek here: https://github.com/Laci1953/RC2014-CPM/tree/main/startrek

Do not forget to copy the st.fat, st.int, st.log, st.txt files on the disk containing the startrek.com

I ported the game also on Bill Shen's Z80ALL.

As an interesting detail, on Z80ALL the random number generator computes its "seed" value by summing all the screen's characters!

Ladislau

Re: Startrek with option to save/load game

<a93890e0-2e86-4b35-b7a3-ed6650a8b453n@googlegroups.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=4282&group=comp.os.cpm#4282

  copy link   Newsgroups: comp.os.cpm
X-Received: by 2002:ad4:58ac:0:b0:635:dd06:3b56 with SMTP id ea12-20020ad458ac000000b00635dd063b56mr9506qvb.12.1689311929919;
Thu, 13 Jul 2023 22:18:49 -0700 (PDT)
X-Received: by 2002:a9d:73c1:0:b0:6b4:5ee1:a988 with SMTP id
m1-20020a9d73c1000000b006b45ee1a988mr3460032otk.5.1689311929636; Thu, 13 Jul
2023 22:18:49 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!panix!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.cpm
Date: Thu, 13 Jul 2023 22:18:49 -0700 (PDT)
In-Reply-To: <4a2270e3-9c93-4685-8d64-69e3cf161adcn@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=86.125.83.230; posting-account=Zav8fAoAAACRqOOZYggbw7GhvvIJEzFn
NNTP-Posting-Host: 86.125.83.230
References: <4a2270e3-9c93-4685-8d64-69e3cf161adcn@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <a93890e0-2e86-4b35-b7a3-ed6650a8b453n@googlegroups.com>
Subject: Re: Startrek with option to save/load game
From: ladislau_szilagyi@euroqst.ro (ladislau szilagyi)
Injection-Date: Fri, 14 Jul 2023 05:18:49 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 1385
 by: ladislau szilagyi - Fri, 14 Jul 2023 05:18 UTC

Hi,

I just received the following message:

"Ensign Chekov : I have detected and fixed a malfunction in the phaser control computer"

You may find the fixed StarTrek at https://github.com/Laci1953/RC2014-CPM/tree/main/startrek

Ladislau

Re: Startrek with option to save/load game

<u9dmrm$372n6$1@dont-email.me>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=4292&group=comp.os.cpm#4292

  copy link   Newsgroups: comp.os.cpm
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: z80eu@arcor.de (Peter Dassow)
Newsgroups: comp.os.cpm
Subject: Re: Startrek with option to save/load game
Date: Fri, 21 Jul 2023 12:32:21 +0200
Organization: A noiseless patient Spider
Lines: 15
Message-ID: <u9dmrm$372n6$1@dont-email.me>
References: <4a2270e3-9c93-4685-8d64-69e3cf161adcn@googlegroups.com>
<a93890e0-2e86-4b35-b7a3-ed6650a8b453n@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Fri, 21 Jul 2023 10:32:22 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="ae7eb893ba16e43a37c54355d60c0b8a";
logging-data="3377894"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+ywfzdRpEz9aDXsciU66PK"
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.13.0
Cancel-Lock: sha1:xAw4NX4l6DhtqkIt6KAkOgHOI5E=
Content-Language: en-US
In-Reply-To: <a93890e0-2e86-4b35-b7a3-ed6650a8b453n@googlegroups.com>
 by: Peter Dassow - Fri, 21 Jul 2023 10:32 UTC

On 14.07.2023 at 07:18 ladislau szilagyi wrote:
> Hi,
>
> I just received the following message:
>
> "Ensign Chekov : I have detected and fixed a malfunction in the phaser control computer"
>
> You may find the fixed StarTrek at https://github.com/Laci1953/RC2014-CPM/tree/main/startrek
>
> Ladislau
>
Thanks for the update. Btw. - may be you can explain why you implemented
the save functionality as assembler, despite of the fact, that the game
itself is written in C ...

Re: Startrek with option to save/load game

<5b674620-d4cd-4fcd-a9ae-5bb31fbc2aa1n@googlegroups.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=4293&group=comp.os.cpm#4293

  copy link   Newsgroups: comp.os.cpm
X-Received: by 2002:ad4:5883:0:b0:635:f3c8:860d with SMTP id dz3-20020ad45883000000b00635f3c8860dmr4969qvb.11.1689939585821;
Fri, 21 Jul 2023 04:39:45 -0700 (PDT)
X-Received: by 2002:a05:6870:7701:b0:1b3:eec8:faa9 with SMTP id
dw1-20020a056870770100b001b3eec8faa9mr2781875oab.2.1689939585460; Fri, 21 Jul
2023 04:39:45 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.cpm
Date: Fri, 21 Jul 2023 04:39:44 -0700 (PDT)
In-Reply-To: <u9dmrm$372n6$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=86.125.83.230; posting-account=Zav8fAoAAACRqOOZYggbw7GhvvIJEzFn
NNTP-Posting-Host: 86.125.83.230
References: <4a2270e3-9c93-4685-8d64-69e3cf161adcn@googlegroups.com>
<a93890e0-2e86-4b35-b7a3-ed6650a8b453n@googlegroups.com> <u9dmrm$372n6$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <5b674620-d4cd-4fcd-a9ae-5bb31fbc2aa1n@googlegroups.com>
Subject: Re: Startrek with option to save/load game
From: ladislau_szilagyi@euroqst.ro (ladislau szilagyi)
Injection-Date: Fri, 21 Jul 2023 11:39:45 +0000
Content-Type: text/plain; charset="UTF-8"
 by: ladislau szilagyi - Fri, 21 Jul 2023 11:39 UTC

Hi Peter,

I already had the save/load routine written in assembler... it is used also for backgammon, sargon78, sudoku.

Ladislau

Re: Startrek with option to save/load game

<1327be78-8bb3-458c-92c2-b91c7c0340f8n@googlegroups.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=4375&group=comp.os.cpm#4375

  copy link   Newsgroups: comp.os.cpm
X-Received: by 2002:a05:622a:41:b0:403:a627:8b79 with SMTP id y1-20020a05622a004100b00403a6278b79mr12348qtw.13.1691219953443;
Sat, 05 Aug 2023 00:19:13 -0700 (PDT)
X-Received: by 2002:a05:6808:1450:b0:39c:f0c2:e3ad with SMTP id
x16-20020a056808145000b0039cf0c2e3admr6297026oiv.5.1691219953194; Sat, 05 Aug
2023 00:19:13 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.goja.nl.eu.org!3.eu.feeder.erje.net!feeder.erje.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.cpm
Date: Sat, 5 Aug 2023 00:19:12 -0700 (PDT)
In-Reply-To: <5b674620-d4cd-4fcd-a9ae-5bb31fbc2aa1n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=46.55.211.1; posting-account=Zav8fAoAAACRqOOZYggbw7GhvvIJEzFn
NNTP-Posting-Host: 46.55.211.1
References: <4a2270e3-9c93-4685-8d64-69e3cf161adcn@googlegroups.com>
<a93890e0-2e86-4b35-b7a3-ed6650a8b453n@googlegroups.com> <u9dmrm$372n6$1@dont-email.me>
<5b674620-d4cd-4fcd-a9ae-5bb31fbc2aa1n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <1327be78-8bb3-458c-92c2-b91c7c0340f8n@googlegroups.com>
Subject: Re: Startrek with option to save/load game
From: ladislau_szilagyi@euroqst.ro (ladislau szilagyi)
Injection-Date: Sat, 05 Aug 2023 07:19:13 +0000
Content-Type: text/plain; charset="UTF-8"
 by: ladislau szilagyi - Sat, 5 Aug 2023 07:19 UTC

I just published a new version (better random number generator) for VT100.

File rand.as was updated.

Ladislau

Re: Startrek with option to save/load game

<624d903d-ba3f-417c-93f7-bc4fbc0c0a78n@googlegroups.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=4423&group=comp.os.cpm#4423

  copy link   Newsgroups: comp.os.cpm
X-Received: by 2002:a37:2c01:0:b0:767:f368:79e8 with SMTP id s1-20020a372c01000000b00767f36879e8mr59905qkh.0.1691608288408;
Wed, 09 Aug 2023 12:11:28 -0700 (PDT)
X-Received: by 2002:a17:90b:811:b0:262:ffae:56cf with SMTP id
bk17-20020a17090b081100b00262ffae56cfmr37200pjb.8.1691608287630; Wed, 09 Aug
2023 12:11:27 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.goja.nl.eu.org!3.eu.feeder.erje.net!feeder.erje.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.cpm
Date: Wed, 9 Aug 2023 12:11:26 -0700 (PDT)
In-Reply-To: <1327be78-8bb3-458c-92c2-b91c7c0340f8n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=86.125.83.230; posting-account=Zav8fAoAAACRqOOZYggbw7GhvvIJEzFn
NNTP-Posting-Host: 86.125.83.230
References: <4a2270e3-9c93-4685-8d64-69e3cf161adcn@googlegroups.com>
<a93890e0-2e86-4b35-b7a3-ed6650a8b453n@googlegroups.com> <u9dmrm$372n6$1@dont-email.me>
<5b674620-d4cd-4fcd-a9ae-5bb31fbc2aa1n@googlegroups.com> <1327be78-8bb3-458c-92c2-b91c7c0340f8n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <624d903d-ba3f-417c-93f7-bc4fbc0c0a78n@googlegroups.com>
Subject: Re: Startrek with option to save/load game
From: ladislau_szilagyi@euroqst.ro (ladislau szilagyi)
Injection-Date: Wed, 09 Aug 2023 19:11:28 +0000
Content-Type: text/plain; charset="UTF-8"
 by: ladislau szilagyi - Wed, 9 Aug 2023 19:11 UTC

Hi,

I published also a new version for Z80ALL.

Just to show how fast Z80ALL works, here is a listing of the Startrek building procedure:

(clock is a small program used to measure time intervals, using the real time clock)

c>submit stmake
c>clock reset
c>c -c -o st1.c
HI-TECH C COMPILER (CP/M-80) V3.09
Copyright (C) 1984-87 HI-TECH SOFTWARE
ST1.C:406: constant relational expression
Z80AS Macro-Assembler V4.8
Errors: 0
Jump optimizations done: 76
Finished.
c>clock
00:01:14 since the last clock call...
c>c -c -o st2.c
HI-TECH C COMPILER (CP/M-80) V3.09
Copyright (C) 1984-87 HI-TECH SOFTWARE
Z80AS Macro-Assembler V4.8
Errors: 0
Jump optimizations done: 68
Finished.
c>clock
00:01:24 since the last clock call...
c>z80as -j rand
Z80AS Macro-Assembler V4.8
Errors: 0
Finished.
c>clock
00:00:01 since the last clock call...
c>z80as -j graphics
Z80AS Macro-Assembler V4.8
Errors: 0
Finished.
c>clock
00:00:01 since the last clock call...
c>z80as -j file
Z80AS Macro-Assembler V4.8
Errors: 0
Finished.
c>clock
00:00:02 since the last clock call...
c>submit stlink
c>clock reset
c>xsub
c>LINK
link> -X -Z -Ptext=0,data,bss -C100H -OSTARTREK.COM CRTCPM.OBJ \
link> ST1.OBJ ST2.OBJ GRAPHICS.OBJ FILE.OBJ RAND.OBJ LIBC.LIB
(xsub active)
c>clock
00:00:16 since the last clock call...
(xsub active)
c>

It took under 3 minutes...

The same procedure, executed on a RC2014 (CPU board SC108), takes more than 10 minutes...

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor