4K HP 67 Games rom attached for testing
11-06-2016, 04:40 PM (This post was last modified: 11-06-2016 07:19 PM by Dieter.)
Post: #98
 Dieter Senior Member Posts: 2,397 Joined: Dec 2013
RE: 4K HP 67 Games rom attached for testing
(11-05-2016 10:29 PM)Gene Wrote:  XROM 23,26 will be the Random Number program. Let's compromise on the shorter version here which is much better than the PI + X^2 type:

Gene, don't get me wrong, but I really would like to have some solid facts about the problems of the frac(x+pi)² generator. Do you have a link or some other information on this?

Anyway, so let's use the frac(997x) generator which is said to be okay – provided there is a suitable seed. For obvious reasons it cannot be negative or zero, and it also should not be too small: imagine you start with 1E–20... ;-) That's why I think the user input has to be "normalized" in some way. For instance by limiting to the domain 0,1...0,9 which can be done by 0,1 + 0,8*frac(abs(x)). This is just a first idea, maybe you have a better one.

Another idea: what about using the "preferred algorithm" in an MCode routine? The seed would be taken from and finally stored in R00, just as a simple FOCAL implementation.

I am currently reviewing the individual programs. What is "F67"? Do you have a source / user instructions and an example? And also one for Chuck-a-luck?

Edit:
Now I think I know how Chuck-a-luck works. Here is an improved version that should still fit as we are saving lots of bytes due to the common RNG and seed routines. It also saves two registers (now just R00...04). How do you like it? If you think it should go into the new ROM: I just did an update that is even a bit shorter. ;-)

Dieter

Attached File(s)
Chuckaluck2.zip (Size: 833 bytes / Downloads: 1)
 « Next Oldest | Next Newest »

 Messages In This Thread 4K HP 67 Games rom attached for testing - Gene - 10-24-2016, 06:54 PM RE: 4K HP 67 Games rom attached for testing - Dieter - 10-25-2016, 05:54 AM RE: 4K HP 67 Games rom attached for testing - Ángel Martin - 10-25-2016, 06:10 AM RE: 4K HP 67 Games rom attached for testing - Gene - 10-25-2016, 10:28 AM RE: 4K HP 67 Games rom attached for testing - Dieter - 10-25-2016, 06:25 PM RE: 4K HP 67 Games rom attached for testing - Gene - 10-25-2016, 08:40 PM RE: 4K HP 67 Games rom attached for testing - Dieter - 10-25-2016, 08:55 PM RE: 4K HP 67 Games rom attached for testing - Gene - 10-25-2016, 08:58 PM RE: 4K HP 67 Games rom attached for testing - Dieter - 10-26-2016, 12:08 PM RE: 4K HP 67 Games rom attached for testing - Dieter - 10-26-2016, 07:45 PM RE: 4K HP 67 Games rom attached for testing - Gene - 10-26-2016, 05:21 PM RE: 4K HP 67 Games rom attached for testing - Gene - 10-26-2016, 06:59 PM RE: 4K HP 67 Games rom attached for testing - Gene - 10-26-2016, 09:13 PM RE: 4K HP 67 Games rom attached for testing - Gene - 10-26-2016, 10:37 PM RE: 4K HP 67 Games rom attached for testing - Dieter - 10-27-2016, 12:30 PM RE: 4K HP 67 Games rom attached for testing - Gene - 10-27-2016, 02:56 PM RE: 4K HP 67 Games rom attached for testing - Dieter - 10-27-2016, 05:56 PM RE: 4K HP 67 Games rom attached for testing - Gene - 10-27-2016, 09:29 PM RE: 4K HP 67 Games rom attached for testing - Dieter - 10-27-2016, 09:39 PM RE: 4K HP 67 Games rom attached for testing - Gene - 10-27-2016, 10:16 PM RE: 4K HP 67 Games rom attached for testing - Gene - 10-28-2016, 01:28 PM RE: 4K HP 67 Games rom attached for testing - Ángel Martin - 10-28-2016, 02:22 PM RE: 4K HP 67 Games rom attached for testing - Dieter - 10-28-2016, 05:59 PM RE: 4K HP 67 Games rom attached for testing - Gene - 10-28-2016, 03:50 PM RE: 4K HP 67 Games rom attached for testing - Dieter - 10-28-2016, 08:42 PM RE: 4K HP 67 Games rom attached for testing - Gene - 10-28-2016, 09:00 PM RE: 4K HP 67 Games rom attached for testing - Dieter - 10-28-2016, 09:48 PM RE: 4K HP 67 Games rom attached for testing - Gene - 10-29-2016, 06:37 PM RE: 4K HP 67 Games rom attached for testing - Dieter - 10-30-2016, 03:29 PM HP-67 AOS program to debug - Gene - 10-30-2016, 02:11 AM RE: 4K HP 67 Games rom attached for testing - Dieter - 10-30-2016, 03:52 PM RE: 4K HP 67 Games rom attached for testing - Dieter - 10-30-2016, 09:41 PM RE: 4K HP 67 Games rom attached for testing - Gene - 10-30-2016, 09:51 PM RE: 4K HP 67 Games rom attached for testing - Jim Horn - 10-30-2016, 11:33 PM RE: 4K HP 67 Games rom attached for testing - Dieter - 10-31-2016, 07:36 AM RE: 4K HP 67 Games rom attached for testing - Jim Horn - 10-31-2016, 05:08 PM RE: 4K HP 67 Games rom attached for testing - Gene - 10-31-2016, 02:00 AM RE: 4K HP 67 Games rom attached for testing - Gene - 10-31-2016, 04:19 PM RE: 4K HP 67 Games rom attached for testing - Dieter - 10-31-2016, 07:41 PM RE: 4K HP 67 Games rom attached for testing - Jim Horn - 10-31-2016, 05:51 PM RE: 4K HP 67 Games rom attached for testing - Gene - 10-31-2016, 07:04 PM RE: 4K HP 67 Games rom attached for testing - Dieter - 10-31-2016, 09:49 PM RE: 4K HP 67 Games rom attached for testing - Gene - 10-31-2016, 08:05 PM RE: 4K HP 67 Games rom attached for testing - Gene - 10-31-2016, 09:51 PM RE: 4K HP 67 Games rom attached for testing - Dieter - 10-31-2016, 11:24 PM RE: 4K HP 67 Games rom attached for testing - Gene - 10-31-2016, 09:58 PM RE: 4K HP 67 Games rom attached for testing - Dieter - 10-31-2016, 10:21 PM RE: 4K HP 67 Games rom attached for testing - Gene - 10-31-2016, 11:49 PM RE: 4K HP 67 Games rom attached for testing - Dieter - 11-01-2016, 12:02 AM RE: 4K HP 67 Games rom attached for testing - Gene - 11-01-2016, 12:12 AM RE: 4K HP 67 Games rom attached for testing - Dieter - 11-01-2016, 07:47 PM RE: 4K HP 67 Games rom attached for testing - Gene - 11-01-2016, 08:09 PM RE: 4K HP 67 Games rom attached for testing - Dieter - 11-01-2016, 08:40 PM RE: 4K HP 67 Games rom attached for testing - Gene - 11-01-2016, 08:52 PM RE: 4K HP 67 Games rom attached for testing - Dieter - 11-01-2016, 09:51 PM RE: 4K HP 67 Games rom attached for testing - Gene - 11-01-2016, 08:49 PM RE: 4K HP 67 Games rom attached for testing - Dieter - 11-01-2016, 09:33 PM RE: 4K HP 67 Games rom attached for testing - Ángel Martin - 11-02-2016, 06:50 AM RE: 4K HP 67 Games rom attached for testing - Dieter - 11-02-2016, 08:28 AM RE: 4K HP 67 Games rom attached for testing - Ángel Martin - 11-02-2016, 10:39 AM RE: 4K HP 67 Games rom attached for testing - Gene - 11-01-2016, 09:37 PM RE: 4K HP 67 Games rom attached for testing - Dieter - 11-01-2016, 10:22 PM RE: 4K HP 67 Games rom attached for testing - Gene - 11-01-2016, 10:00 PM RE: 4K HP 67 Games rom attached for testing - Dieter - 11-01-2016, 10:32 PM RE: 4K HP 67 Games rom attached for testing - Gene - 11-02-2016, 01:45 AM RE: 4K HP 67 Games rom attached for testing - Dieter - 11-02-2016, 09:09 AM RE: 4K HP 67 Games rom attached for testing - Gene - 11-02-2016, 01:02 PM RE: 4K HP 67 Games rom attached for testing - Gene - 11-02-2016, 03:42 PM RE: 4K HP 67 Games rom attached for testing - Dieter - 11-02-2016, 09:33 PM RE: 4K HP 67 Games rom attached for testing - Gene - 11-02-2016, 09:49 PM RE: 4K HP 67 Games rom attached for testing - Dieter - 11-02-2016, 11:39 PM RE: 4K HP 67 Games rom attached for testing - Gene - 11-02-2016, 07:00 PM RE: 4K HP 67 Games rom attached for testing - Dieter - 11-02-2016, 08:23 PM RE: 4K HP 67 Games rom attached for testing - Gene - 11-02-2016, 08:40 PM RE: 4K HP 67 Games rom attached for testing - Dieter - 11-02-2016, 09:02 PM RE: 4K HP 67 Games rom attached for testing - Gene - 11-02-2016, 09:20 PM RE: 4K HP 67 Games rom attached for testing - Jim Horn - 11-02-2016, 09:17 PM RE: 4K HP 67 Games rom attached for testing - Gene - 11-02-2016, 09:36 PM RE: 4K HP 67 Games rom attached for testing - Gene - 11-03-2016, 02:33 AM RE: 4K HP 67 Games rom attached for testing - Dieter - 11-03-2016, 01:56 PM RE: 4K HP 67 Games rom attached for testing - Gene - 11-03-2016, 02:26 PM RE: 4K HP 67 Games rom attached for testing - Ángel Martin - 11-03-2016, 04:25 PM RE: 4K HP 67 Games rom attached for testing - Dieter - 11-03-2016, 07:00 PM RE: 4K HP 67 Games rom attached for testing - Gene - 11-03-2016, 04:27 PM RE: 4K HP 67 Games rom attached for testing - Dieter - 11-03-2016, 07:05 PM RE: 4K HP 67 Games rom attached for testing - hth - 11-03-2016, 07:20 PM RE: 4K HP 67 Games rom attached for testing - Gene - 11-03-2016, 07:16 PM RE: 4K HP 67 Games rom attached for testing - RobertM - 11-03-2016, 07:23 PM RE: 4K HP 67 Games rom attached for testing - Dieter - 11-03-2016, 07:59 PM RE: 4K HP 67 Games rom attached for testing - Gene - 11-03-2016, 08:21 PM RE: 4K HP 67 Games rom attached for testing - Dieter - 11-04-2016, 07:45 AM RE: 4K HP 67 Games rom attached for testing - RobertM - 11-04-2016, 06:21 PM RE: 4K HP 67 Games rom attached for testing - Dieter - 11-04-2016, 07:17 PM RE: 4K HP 67 Games rom attached for testing - Gene - 11-05-2016, 12:44 AM RE: 4K HP 67 Games rom attached for testing - Dieter - 11-05-2016, 07:04 AM RE: 4K HP 67 Games rom attached for testing - Gene - 11-05-2016, 04:06 PM RE: 4K HP 67 Games rom attached for testing - Gene - 11-05-2016, 10:29 PM RE: 4K HP 67 Games rom attached for testing - Dieter - 11-06-2016 04:40 PM RE: 4K HP 67 Games rom attached for testing - Gene - 11-06-2016, 08:43 PM RE: 4K HP 67 Games rom attached for testing - Dieter - 11-06-2016, 08:55 PM RE: 4K HP 67 Games rom attached for testing - Gene - 11-06-2016, 08:26 PM RE: 4K HP 67 Games rom attached for testing - Gene - 11-06-2016, 09:11 PM RE: 4K HP 67 Games rom attached for testing - Dieter - 11-07-2016, 08:15 PM RE: 4K HP 67 Games rom attached for testing - Gene - 11-07-2016, 09:29 PM RE: 4K HP 67 Games rom attached for testing - Dieter - 11-08-2016, 07:50 PM RE: 4K HP 67 Games rom attached for testing - RobertM - 11-09-2016, 12:47 AM RE: 4K HP 67 Games rom attached for testing - Gene - 11-08-2016, 08:37 PM RE: 4K HP 67 Games rom attached for testing - Gene - 11-09-2016, 01:42 PM RE: 4K HP 67 Games rom attached for testing - Dieter - 11-09-2016, 08:23 PM RE: 4K HP 67 Games rom attached for testing - Gene - 11-09-2016, 09:01 PM RE: 4K HP 67 Games rom attached for testing - Dieter - 11-09-2016, 10:32 PM RE: 4K HP 67 Games rom attached for testing - Dieter - 11-10-2016, 09:50 PM RE: 4K HP 67 Games rom attached for testing - Gene - 11-10-2016, 09:40 PM RE: 4K HP 67 Games rom attached for testing - Dieter - 11-11-2016, 08:03 PM RE: 4K HP 67 Games rom attached for testing - Gene - 11-10-2016, 10:31 PM RE: 4K HP 67 Games rom attached for testing - Dieter - 11-11-2016, 07:17 AM RE: 4K HP 67 Games rom attached for testing - Gene - 11-11-2016, 03:19 PM RE: 4K HP 67 Games rom attached for testing - Dieter - 11-11-2016, 07:10 PM RE: 4K HP 67 Games rom attached for testing - RobertM - 11-11-2016, 03:55 PM RE: 4K HP 67 Games rom attached for testing - Dieter - 11-11-2016, 07:12 PM RE: 4K HP 67 Games rom attached for testing - RobertM - 11-12-2016, 02:27 AM RE: 4K HP 67 Games rom attached for testing - Dieter - 11-12-2016, 06:52 AM RE: 4K HP 67 Games rom attached for testing - Gene - 11-11-2016, 09:10 PM RE: 4K HP 67 Games rom attached for testing - Dieter - 11-11-2016, 09:21 PM RE: 4K HP 67 Games rom attached for testing - Dieter - 11-17-2016, 10:15 PM RE: 4K HP 67 Games rom attached for testing - Gene - 11-11-2016, 09:33 PM RE: 4K HP 67 Games rom attached for testing - Gene - 11-17-2016, 10:27 PM RE: 4K HP 67 Games rom attached for testing - Dieter - 11-17-2016, 10:43 PM RE: 4K HP 67 Games rom attached for testing - Ángel Martin - 11-18-2016, 05:52 AM RE: 4K HP 67 Games rom attached for testing - Gene - 11-18-2016, 03:23 PM RE: 4K HP 67 Games rom attached for testing - Dieter - 11-18-2016, 07:28 PM RE: 4K HP 67 Games rom attached for testing - Dieter - 11-18-2016, 10:08 PM RE: 4K HP 67 Games rom attached for testing - Gene - 11-18-2016, 04:56 PM RE: 4K HP 67 Games rom attached for testing - Gene - 11-18-2016, 07:32 PM RE: 4K HP 67 Games rom attached for testing - Gene - 11-18-2016, 07:52 PM RE: 4K HP 67 Games rom attached for testing - Gene - 11-18-2016, 10:13 PM RE: 4K HP 67 Games rom attached for testing - Ángel Martin - 11-19-2016, 11:05 AM RE: 4K HP 67 Games rom attached for testing - Dieter - 11-19-2016, 07:14 PM RE: 4K HP 67 Games rom attached for testing - Dieter - 11-21-2016, 08:53 PM RE: 4K HP 67 Games rom attached for testing - Gene - 11-22-2016, 02:58 AM RE: 4K HP 67 Games rom attached for testing - Dieter - 11-22-2016, 06:57 AM RE: 4K HP 67 Games rom attached for testing - Gene - 11-19-2016, 08:06 PM RE: 4K HP 67 Games rom attached for testing - Dieter - 11-19-2016, 09:08 PM RE: 4K HP 67 Games rom attached for testing - Gene - 11-19-2016, 09:46 PM RE: 4K HP 67 Games rom attached for testing - Dieter - 11-19-2016, 10:48 PM RE: 4K HP 67 Games rom attached for testing - Gene - 11-19-2016, 11:01 PM RE: 4K HP 67 Games rom attached for testing - Gene - 11-20-2016, 12:47 AM RE: 4K HP 67 Games rom attached for testing - Dieter - 11-20-2016, 05:20 PM RE: 4K HP 67 Games rom attached for testing - Gene - 11-20-2016, 07:41 PM RE: 4K HP 67 Games rom attached for testing - Dieter - 11-20-2016, 08:14 PM RE: 4K HP 67 Games rom attached for testing - Gene - 11-20-2016, 02:31 AM RE: 4K HP 67 Games rom attached for testing - Dieter - 11-20-2016, 05:11 PM RE: 4K HP 67 Games rom attached for testing - Dieter - 11-20-2016, 07:12 PM RE: 4K HP 67 Games rom attached for testing - Gene - 11-20-2016, 07:55 PM RE: 4K HP 67 Games rom attached for testing - Dieter - 11-20-2016, 08:07 PM RE: 4K HP 67 Games rom attached for testing - Gene - 11-20-2016, 08:02 PM RE: 4K HP 67 Games rom attached for testing - Gene - 11-20-2016, 08:38 PM RE: 4K HP 67 Games rom attached for testing - rprosperi - 11-21-2016, 01:22 AM RE: 4K HP 67 Games rom attached for testing - Gene - 11-21-2016, 03:44 AM RE: 4K HP 67 Games rom attached for testing - RobertM - 11-22-2016, 02:36 AM RE: 4K HP 67 Games rom attached for testing - Gene - 11-22-2016, 02:56 AM RE: 4K HP 67 Games rom attached for testing - Ángel Martin - 11-23-2016, 11:07 AM RE: 4K HP 67 Games rom attached for testing - Gene - 11-23-2016, 01:58 PM RE: 4K HP 67 Games rom attached for testing - Dieter - 11-23-2016, 06:02 PM RE: 4K HP 67 Games rom attached for testing - Gene - 11-23-2016, 08:14 PM RE: 4K HP 67 Games rom attached for testing - Ángel Martin - 11-23-2016, 06:20 PM RE: 4K HP 67 Games rom attached for testing - Gene - 11-23-2016, 08:13 PM RE: 4K HP 67 Games rom attached for testing - Gene - 11-24-2016, 01:08 AM RE: 4K HP 67 Games rom attached for testing - Dieter - 11-24-2016, 07:05 AM RE: 4K HP 67 Games rom attached for testing - rprosperi - 11-24-2016, 03:07 PM RE: 4K HP 67 Games rom attached for testing - Dieter - 11-24-2016, 07:33 PM RE: 4K HP 67 Games rom attached for testing - Gene - 11-24-2016, 03:06 PM RE: 4K HP 67 Games rom attached for testing - Dieter - 11-24-2016, 07:29 PM RE: 4K HP 67 Games rom attached for testing - Gene - 11-24-2016, 07:53 PM RE: 4K HP 67 Games rom attached for testing - Dieter - 11-24-2016, 08:30 PM RE: 4K HP 67 Games rom attached for testing - Dieter - 12-04-2016, 08:40 PM RE: 4K HP 67 Games rom attached for testing - Gene - 12-04-2016, 08:55 PM RE: 4K HP 67 Games rom attached for testing - Dieter - 12-04-2016, 09:45 PM RE: 4K HP 67 Games rom attached for testing - Gene - 12-04-2016, 09:42 PM RE: 4K HP 67 Games rom attached for testing - Gene - 12-04-2016, 09:51 PM RE: 4K HP 67 Games rom attached for testing - Dieter - 12-04-2016, 10:04 PM RE: 4K HP 67 Games rom attached for testing - Gene - 12-04-2016, 09:52 PM RE: 4K HP 67 Games rom attached for testing - Gene - 12-04-2016, 10:10 PM RE: 4K HP 67 Games rom attached for testing - Dieter - 12-04-2016, 10:24 PM RE: 4K HP 67 Games rom attached for testing - Gene - 12-05-2016, 02:34 AM RE: 4K HP 67 Games rom attached for testing - Dieter - 12-05-2016, 07:40 PM RE: 4K HP 67 Games rom attached for testing - RobertM - 12-05-2016, 02:53 AM RE: 4K HP 67 Games rom attached for testing - Dieter - 12-05-2016, 07:14 AM RE: 4K HP 67 Games rom attached for testing - Gene - 12-05-2016, 03:57 AM

User(s) browsing this thread: 1 Guest(s)