[comp.sys.ibm.pc] Solitaire information

hex@uop.UUCP (02/17/87)

	The following is some info on my solitaire game which I recently
posted.  I don't know if anyone needs (wants) it but here goes:

	First of all, the matter of cheating.  What you can do is
change a couple of bytes and eliminate the checking for a king when
moving to an empty pile.  I would recommend making a backup copy of
s.com before changing things with debug.  To patch s.com for cheating:

A> debug s.com
-e 26ab eb
-e 27fd eb
-w
-q
	Now you can cheat to your heart's delight!!!

	There are a number of things you might wish to change.  To
change any of these, enter debug as above, then type "e <addr> <new>"
where <addr> is the address of the byte you wish to change, and <new>
is the new value you want in it (in hex).  Then just be sure and
"w"rite before "q"uitting.

(All addresses refer to bytes unless specified otherwise)

-Addr-	-- Description --		-- default --	
(hex)					-dec- -hex-
138	card back color			 112	70
139	info color			  46	2e
13a	red				 116	74
13b	black				 112	70
13c	banner color			  14	0e
13d	column number color		  46	2e
13e	remaining cards # color		  33	21
13f	table color			  46	2e
140	menu color			  33	21
141	red on black w/ flashing	 132	84

7b3	lower part of banner msg 	   1	01
890	header (top part of table)	  33	21
8a3	help screen header		  33	21
8b6	help screen			  46	2e
c48	help screen trailer		  33	21
c86	rule screen header		  33	21
cb8	rule screen			  46	2e
114a	rule screen trailer		  33	21
1188	big win msg			 175	af
1498	menu				  33	21
14c6	move msg			  33	21
14f6	to: prompt			  33	21
14fd	from: prompt			  33	21
1502	Invalid key msg			  36	24
1511	Invalid selection msg		  36	24
1521	Shuffling msg			  46	2e
1531	Continue msg			  47	2f
1541	play on?  msg			  46	2e
1570	take over? msg			  46	2e
158d	initial sound question		   4	04
15a9	initial color question		   4	04

168d	banner delay			2500	9c4	(word)
168f	invalid delay 1		       50000	c350	(word)
1691	invalid delay 2			   0	0	(word)
1693	card delay 1			 300	12c	(word)
1695	card delay 2			 336	150	(word)
1697	shuffle delay 1			  77	4d	(word)
1699	shuffle delay 2			 200	c8	(word)
169b	shuffle delay 3			 700	2bc	(word)
169d	gun delay 1		       25000	61a8	(word)
169f	gun delay 2			 380	17c	(word)
169d	fly delay		       25000	61a8	(word)


	The delays for Solitaire are based on a normal clock speed.
On an AT, or any machine with a faster clock, The delays may not be
enough, so I've included the addresses of the delays (although some
of them are not just normal 123... delays).  If you do want to change
any of these, and you can't figure them out, drop me a line and I'll
dig out the old listing and see what I can find.

	Think that about covers it.  Have fun!!!

--hex
----------------------------------------------------------------------
|  Allyn 'Hex' Wade   ---   {ucbvax,lll-lcc}!ucdavis!uop!hex         |
|                                                      	             |
|  "What, me hurry?"                                                 |
----------------------------------------------------------------------