POKE_IT

POKE_IT is a program to introduce  POKEs  in snapshots for emulators of
ZX-Spectrum.
Currently it only supports formats  .SNA  and  .SP , maybe the next
version will support .Z80

The format is:
POKE_IT.EXE snapshot[.SNA|.SP] address [value]
where:
POKE_IT:
	is the name of the executable program (you can rename it)

snapshot:
	is the name of the snapshot (ZX-Spectrum program).
	The extension is optional, and if you do not include it, POKE_IT
	will search first for the .SNA extension, and after the .SP.
	You can not POKE  two snapshots at the same time

address:
	is the memory address where you want to poke. For example, 16384 is the
	first RAM adress. If you try a number below 16384 (ROM), it will fail.

value:
	is the value you want to write in the address. It you do not include one,
	it will be asumed that value=0. Numbers greater than 255 are allowed,
	but it this case, the value will be POKED in 2 memory addresses,
	given by  address and  address+1.
	For example, POKE_IT raw_ram.SNA 16384 258 will write the value
	2 in address 16384, and 1 in address 16385, because
	258=2+256*1 , and Spectrum stores first the low byte.
	Values greater than 65535 are not allowed.


Things still to do:
	* support .Z80 format
	* wildcards
	* multiple POKEs in the same command line
	* get the POKEs from a file
	* more error-checking
	* improve my english


Now, the copyrights and that stuff:
This program is as simple than it has no copyrights. But if you use use for
more than 10000 times, send me a note to include you in the Guiness Records.
And if you modify the program, please tell who was the original writer, and
send me the modifications.
And last: if you ever come to Zaragoza (Spain), invite me to a beer.

cotrina@lia01.unizar.es

Francisco Cotrina
C/ Pampa, 4-0-2
50012 Zaragoza
Spain (Europe)
