control lines moved to PortC

This commit is contained in:
Tim Gopaul
2023-02-06 20:31:58 -07:00
parent ad9d74fae7
commit b56f142ac7
2 changed files with 69 additions and 57 deletions
+3 -4
View File
@@ -102,7 +102,7 @@ void writeAddress(unsigned int address, byte dataByte);
byte readAddress(unsigned int address);
void fillRange(unsigned int addrStart, unsigned int addrCount, byte dataByte);
void fillRandomRange(unsigned int addrStart, unsigned int addrCount, byte dataByte);
void fillRandomRange(unsigned int addrStart, unsigned int addrCount);
void dumpRange(unsigned int addrStart, unsigned int addrCount);
void gameDumpRange(unsigned int addrStart, unsigned int addrCount);
void dumpBuffRange(unsigned int addrStart, unsigned int addrCount);
@@ -320,11 +320,10 @@ int fillCommand() {
int fillRandomCommand() {
unsigned int addrStart = readNumber();
unsigned int addrCount = readNumber();
byte dataByte = (byte)random(0x100);
fillRandomRange(addrStart, addrCount, dataByte); //dataByte is recreated for each address of range
fillRandomRange(addrStart, addrCount); //dataByte is recreated for each address of range
return dataByte;
return 0;
}
// ***** saveMemoryCommand *****