11 March 2016 - Forum Rules
Started by justin3009, May 18, 2015, 06:41:42 PM
QuoteTo properly manipulate this into uploading your data, the following procedureseems to work: 1. Wait for a 16-bit read on $2140-1 to return $BBAA. 2. Write the target address to $2142-3. 3. Write non-zero to $2141. 4. Write $CC to $2140. 5. Wait until reading $2140 returns $CC. 6. Set your first byte to $2141. 7. Set your byte index ($00 for the first byte) to $2140. 8. Wait for $2140 to echo your byte index. 9. Go back to step 6 with your next byte and ++index until you're done.10. If you want to write another block, write the next address to $2142-3, non-zero to $2141, and index+2 (or +3 if that would be zero, otherwise it'll screw up the next transfer) to $2140 and wait for the echo. Then go to step 6 with index=0.11. Otherwise, you can jump to some code you've just uploaded. Put the target address in $2142-3, $00 in $2141, and index+2 in $2140 and wait for the echo. Shortly afterwards, your code will be executing.
QuoteActually, this game is writing the data it wants to transfer into 2141/2142/2143, not the target address. Is that normal?
Page created in 0.050 seconds with 20 queries.