I recently wrote my own version of the Ladder game, mostly because
the original game is too hard for me. :)
Download: http://t3x.org/t3x/0/ladders.zip
The zip file contains executables for CP/M and DOS as well as the
source code in T3X.
As a side-effect the T3X/0 compiler (http://t3x.org/t3x/0/) now has
a console module that does things like clearing the screen, cursor addressing, etc. In the default configuration the game needs a
VT-100 terminal, but support for the VT-52 is also in the code and
just needs to be enabled.
Enjoy!
Interesting. But compiling and setting up t3x/0
is not straightforward, at least under GNU/Linux i686.
Here's the variables I changed in the makefile
and the sh script at bin/ :
T3XDIR= $HOME/t3x/lib
BINDIR= $HOME/t3x/bin
[...]
Which could be the issue?
If you change T3XDIR, you also have to change the "modpath"
in your code generator accordingly. In your case, change
"/usr/local/t3x/0/unx386/"
in the function "modpath" in the file "targets/cgunx386.t" to
"your-home/t3x/lib/unx386/"
Next step: write a script that will do the changes for you.
Nils M Holm <nmh@sraddha.invalid> wrote:
Next step: write a script that will do the changes for you.
Done and uploaded. Please use the new version:
http://t3x.org/t3x/0/t3x0-20.zip
On 2024-04-03, Nils M Holm <nmh@sraddha.invalid> wrote:
Nils M Holm <nmh@sraddha.invalid> wrote:
Done and uploaded. Please use the new version:
http://t3x.org/t3x/0/t3x0-20.zip
It works, but on the make install steps, it gave me an error,
I had to run 'mkdir -p $HOME/t3x0/{bin,lib}' first.
If not, the binaries get copied literally as $HOME/t3x0/bin
being 'bin' a single file, not a directory.
Bozo User <anthk@disroot.org> wrote:
On 2024-04-03, Nils M Holm <nmh@sraddha.invalid> wrote:
Nils M Holm <nmh@sraddha.invalid> wrote:
Done and uploaded. Please use the new version:
http://t3x.org/t3x/0/t3x0-20.zip
It works, but on the make install steps, it gave me an error,
I had to run 'mkdir -p $HOME/t3x0/{bin,lib}' first.
If not, the binaries get copied literally as $HOME/t3x0/bin
being 'bin' a single file, not a directory.
Ah, I see. The lib directory should be created by install -d,
because it also creates parent directories, at least on FreeBSD.
$BINDIR is intended to point to a location where you keep *all*
your binaries, not just T3X, e.g. /usr/local/bin or $HOME/bin.
Therefore the Makefile assumes that it already exists.
Will clarify this in the Makefile.
Thanks for the input!
I already compiled an interpreted version under a shared
pubnix with OpenBSD/amd64, people liked having a 'native'
Ladder a lot, at least they don't have to run an Altair
simulaton under simh.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 490 |
Nodes: | 16 (2 / 14) |
Uptime: | 57:21:16 |
Calls: | 9,674 |
Calls today: | 5 |
Files: | 13,719 |
Messages: | 6,171,161 |