cleanup schematic, edge triggered cycle start detection, debug output cleanup
This commit is contained in:
@@ -187,10 +187,5 @@ uint32_t calc_sram_crc(uint32_t size) {
|
||||
uart_putc(hex[(crc>>24)&0xf]);
|
||||
uart_putc(hex[(crc>>20)&0xf]);
|
||||
uart_putc(hex[(crc>>16)&0xf]); */
|
||||
uart_putc(hex[(crc>>12)&0xf]);
|
||||
uart_putc(hex[(crc>>8)&0xf]);
|
||||
uart_putc(hex[(crc>>4)&0xf]);
|
||||
uart_putc(hex[(crc)&0xf]);
|
||||
uart_putcrlf();
|
||||
return crc;
|
||||
}
|
||||
|
||||
@@ -53,11 +53,11 @@ void snes_main_loop() {
|
||||
sram_crc = calc_sram_crc(sram_size);
|
||||
if(sram_crc != sram_crc_old) {
|
||||
uart_putc('U');
|
||||
uart_puthexlong(sram_crc);
|
||||
uart_putcrlf();
|
||||
set_busy_led(1);
|
||||
save_sram("/test.srm", sram_size, sram_base_addr);
|
||||
set_busy_led(0);
|
||||
}
|
||||
sram_crc_old = sram_crc;
|
||||
uart_putc('.');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user