You don't want to loop back to "Begin" or you will reset your counter to "begin". Loop to the increment command. Also, you want to do "yyyy+1" if you want to fill that last byte. ________________________________________ From: Techtoolslist <techtoolslist-bounces@flippers.com> on behalf of John Robertson <jrr@flippers.com> Sent: Wednesday, January 28, 2015 8:30 PM To: techtoolslist@flippers.com Subject: Re: [Techtoolslist] Using the 9010 to fill a block of RAM Hi Adam, You can post it to the list if you wish, others may be interested... Thanks! John :-#)# On 01/28/2015 5:19 PM, Adam Courchesne wrote:
I have this. I'll send it to you when I get home.
On Jan 28, 2015 8:07 PM, "John Robertson" <jrr@flippers.com <mailto:jrr@flippers.com>> wrote:
I'm hoping one of you code jockeys knows a simple program for filling a block of memory on the 9010 - in this case with FFs.
I'm looking for something like:
*Begin at address xxxxh write FFh, ** ** **Increment counter by 1 store, ** ** **Compare counter with yyyyh - if equal goto Finish** ** **Loop back to Begin** ** **Finish*
I think I just about wrote the program, but it would take me up to a couple of hours to get it to work (I'm a heck of a lot better on hardware).
Why do I want this? Well, I am finding that the AnyPin device we sell is loaded with 00s, and the early Williams games don't seem to like that, so I want to load them with FFs and see if that works better. A 5101 is only 4 bits wide, so I made a simple adapter that puts a second 5101 in parallel (address and selects) with the original and the four additional data lines (D4 - D7) go to a Glomper clip that fits over a handy ROM to get those connections. Now I can test the 5101 in the game using the standard built in RAM tests.
Thanks!
John :-#)#
-- How to subscribe or unsubscribe from TTL http://seven.pairlist.net/mailman/listinfo/techtoolslist _______________________________________________ Techtoolslist mailing list Techtoolslist@flippers.com <mailto:Techtoolslist@flippers.com> https://pairlist7.pair.net/mailman/listinfo/techtoolslist FTP site is: ftp://ttl.arcadetech.org/TTL/Test_Equipment Archive site: http://seven.pairlist.net/pipermail/techtoolslist/
-- How to subscribe or unsubscribe from TTL http://seven.pairlist.net/mailman/listinfo/techtoolslist _______________________________________________ Techtoolslist mailing list Techtoolslist@flippers.com https://pairlist7.pair.net/mailman/listinfo/techtoolslist FTP site is: ftp://ttl.arcadetech.org/TTL/Test_Equipment Archive site: http://seven.pairlist.net/pipermail/techtoolslist/ ________________________________ CONFIDENTIALITY NOTICE: The information contained in this electronic message is confidential information intended for the use of the individual or entity named above. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this electronic message to the intended recipient, you are hereby notified that any dissemination or copying of this communication is strictly prohibited. If this message contains non-public personal information about any consumer or customer of the sender or intended recipient, you are further prohibited under penalty of law from using or disclosing the information to any third party by provisions of the federal Gramm-Leach-Bliley Act. If you have received this electronic message in error, please immediately notify us by telephone and return or destroy the original message to assure that it is not read, copied, or distributed by others.