Search found 1086 matches

by rje
Wed Jul 10, 2024 9:13 pm
Forum: Games
Topic: Traveller Trader 1.0
Replies: 3
Views: 2359

Re: Traveller Trader 1.0

Thank you guys! I appreciate that. I'm working on yet another version of this with a more dynamic galaxy, a less fancy interface... and frankly, more interesting. This one has a lot of "capability" and I learned a lot writing it, but ... but I am bored with it. It doesn't have the neat fea...
by rje
Mon Jan 29, 2024 11:35 pm
Forum: Games
Topic: Traveller Trader 1.0
Replies: 3
Views: 2359

Traveller Trader 1.0

Splash 1.0.png Travel the space lanes in your free trader... discover a thousand worlds in Imperial space... and avoid the pirates. Fly dozens of starship types and pick your own crew. This is a very 1980's-style retro simulator of Free Trader operations in the Traveller universe. The getting start...
by rje
Fri Jun 16, 2023 1:57 pm
Forum: Programming
Topic: Alife and Machine Learning on the X16
Replies: 11
Views: 7496

Re: Alife and Machine Learning on the X16

There's more. If you have more than two inputs to a neuron, then you need to normalize the weights. That means summing the squares of the weights, taking the square root, inverting, and then multiplying the result by each weight to give a relative weighting. But that looks like a new technique (201...
by rje
Mon Jun 12, 2023 3:54 am
Forum: Programming
Topic: Alife and Machine Learning on the X16
Replies: 11
Views: 7496

Re: Alife and Machine Learning on the X16

Minifloats I would prefer to steal someone else's minifloat code (and have been looking at examples lately); unfortunately minifloats on the 6502 really ought to be in assembly language, and I'm not too keen on doing that. Maybe I can approach it by writing very elementary and memory-focused C. Tha...
by rje
Mon Jun 12, 2023 3:37 am
Forum: Programming
Topic: Alife and Machine Learning on the X16
Replies: 11
Views: 7496

Re: Alife and Machine Learning on the X16

I'd suggest breaking it up into semi-independent but inter-compatible modules. In this way, you could work on them independently and release them separately. This has the benefits of 1. accomplishment 2. reducing complexity 3. more likely to be bottom-up code projects But you already know this, beca...
by rje
Fri Jun 09, 2023 3:58 am
Forum: Programming
Topic: Alife and Machine Learning on the X16
Replies: 11
Views: 7496

Re: Alife and Machine Learning on the X16

Here's my first attempt at a "real" cellular automaton: the Hodgepodge machine, from Scientific American around 1989 or so.

Written in C with CC65. Faster than BASIC, slower than assembly.
HODGEPODGE.PRG
(4.37 KiB) Downloaded 879 times
by rje
Thu Jun 08, 2023 9:05 pm
Forum: Programming
Topic: Alife and Machine Learning on the X16
Replies: 11
Views: 7496

Re: Alife and Machine Learning on the X16

As an initial diversion I coded up a starter CA for myself in BASIC. I really need to move this to C to get some speedup.
CA0.PRG
(396 Bytes) Downloaded 871 times
by rje
Thu Jun 08, 2023 7:42 pm
Forum: Programming
Topic: Alife and Machine Learning on the X16
Replies: 11
Views: 7496

Alife and Machine Learning on the X16

When my mood swings to machine learning, I think about implementing things on the X16. I SHOULD be implementing cellular automata (CA) or genetic algorithms (GA) first. CA are fun and easy. They work on a grid of byte values, which is usually displayed on the screen as pixels or characters. A CA pro...
by rje
Sun Mar 26, 2023 1:07 am
Forum: Demoscene
Topic: Bubble Universe Demo
Replies: 20
Views: 18381

Re: Bubble Universe Demo

So I got a small execution speedup by removing the % and the two calls to INT(). I also created a couple of indexes to determine the pixel color, but I didn't use anything sophisticated. 10 PA=$FA00 20 VPOKE 1,PA+ 0,0 :VPOKE 1,PA+ 1, 0 30 VPOKE 1,PA+ 2,0 :VPOKE 1,PA+ 3, 0 40 VPOKE 1,PA+ 4,0 +$0F:VPO...
by rje
Sun Mar 26, 2023 12:25 am
Forum: Demoscene
Topic: Bubble Universe Demo
Replies: 20
Views: 18381

Re: Bubble Universe Demo

Would the demo run slightly faster if all the variables were floating point? I.E. no A% N% S% and so on?