Skip to content

Commit

Permalink
experimental cs2 func impl in loop
Browse files Browse the repository at this point in the history
  • Loading branch information
wodowiesel committed Jun 28, 2024
1 parent 46939df commit da4480b
Showing 1 changed file with 9 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -331,17 +331,23 @@ void loop() {
}
}

/// dump ram special
cs2_dumpsave();

// Disable RAM
write_byte(0x0000, 0x00);
Serial.flush(); // Flush any serial data that wasn't processed

// Flush any serial data that wasn't processed
Serial.flush();
}
}

rd_wr_mreq_off();
///Serial.println("Loop done \n");
}
}
//--- End loop!

// func definitions
uint8_t read_byte(uint16_t address) {
shiftout_address(address); // Shift out address

Expand Down

0 comments on commit da4480b

Please sign in to comment.