Search found 82 matches

by Tony Brewer
04 Oct 2017 14:29
Forum: PROGRAMMING
Topic: Memotest 2017 - Z80 coding contest
Replies: 27
Views: 35321

Re: Memotest 2017 - Z80 coding contest

What makes the advanced challenge harder is that p and q are 17-bit, not 16-bit. You can represent the two extra state bits however you choose, provided Programming rule 1 is not broken. Remember the aim of the game is to write the smallest and fastest code possible.
by Tony Brewer
04 Oct 2017 13:53
Forum: PROGRAMMING
Topic: Memotest 2017 - Z80 coding contest
Replies: 27
Views: 35321

Re: Memotest 2017 - Z80 coding contest

We are now about halfway through the time allowed for the code challenges. Both of them can be solved without using the stack (not permitted) so that the code could run on a Z80 system with no RAM at all. If you have completed the basic challenge, you should find the solution to be rather pleasing a...
by Tony Brewer
02 Oct 2017 01:21
Forum: PROGRAMMING
Topic: Memotest 2017 - Z80 coding contest
Replies: 27
Views: 35321

Re: Memotest 2017 - Z80 coding contest

Updates: * I think we should have an Advanced winner as well as a Basic winner, so now you have two chances to be a victor! * In post 2, I have listed the first 16 PRNs for both challenges. * In post 3, I have added the word entirely to Programming rule 2. Your routine must not contain self-modifyin...
by Tony Brewer
01 Oct 2017 02:24
Forum: PROGRAMMING
Topic: Memotest 2017 - Z80 coding contest
Replies: 27
Views: 35321

Re: Memotest 2017 - Z80 coding contest

Andy, those results are correct.
by Tony Brewer
27 Sep 2017 01:12
Forum: PROGRAMMING
Topic: Memotest 2017 - Z80 coding contest
Replies: 27
Views: 35321

Re: Memotest 2017 - Z80 coding contest

Absolute jumps can be used in the Advanced challenge, if needed. (You will not need them in the Basic challenge.) Programming rule 4 ("Your routine must run correctly if placed anywhere in memory") means you cannot choose a specific starting address. Any type of JP to a label within the ro...
by Tony Brewer
26 Sep 2017 20:13
Forum: PROGRAMMING
Topic: Memotest 2017 - Z80 coding contest
Replies: 27
Views: 35321

Re: Memotest 2017 - Z80 coding contest

Any code that will run on a Z80A CPU is permitted, including "undocumented" instructions.
by Tony Brewer
25 Sep 2017 21:32
Forum: PROGRAMMING
Topic: Memotest 2017 - Z80 coding contest
Replies: 27
Views: 35321

Re: Memotest 2017 - Z80 coding contest

New programming rules added to post 2 above.
by Tony Brewer
25 Sep 2017 20:22
Forum: PROGRAMMING
Topic: Memotest 2017 - Z80 coding contest
Replies: 27
Views: 35321

Re: Memotest 2017 - Z80 coding contest

Self-modifying code is not allowed in the basic challenge code, which should be able to run in ROM.
by Tony Brewer
24 Sep 2017 20:33
Forum: PROGRAMMING
Topic: Memotest 2017 - Z80 coding contest
Replies: 27
Views: 35321

Re: Memotest 2017 - Z80 coding contest

reserved
by Tony Brewer
24 Sep 2017 20:33
Forum: PROGRAMMING
Topic: Memotest 2017 - Z80 coding contest
Replies: 27
Views: 35321

Re: Memotest 2017 - Z80 coding contest

Contest Rules 1. Please do NOT post any of the following either here or on the Memotech Facebook page: * Your source code * Tips or spoilers * The number of bytes in your solution 2. Send your source code to me by a private message here or on Facebook (click on my name) any time before the end of F...