Problem with timers {Mega -> Due}

A use Arduino Mega for my Car computer. I have problem with LCD speed. I decided to change processor “to faster”. First problem is with my timer. On The Mega looks like this:

void setup() {

...

  TCCR1A = 0;
  TCCR1B |= ((1 << CS10) | (1 << CS11));
  TIMSK1 |= (1 << TOIE1);
  TCNT1 = 3036;
}

void loop() {
ISR(TIMER1_OVF_vect) {

...my calculation...

  }
  TCNT1 = 3036;
}

I need big changes for my Due. Or must read hundreds of pages of the manual … I’ve never been good at interuptss or timers. Please Help

Burakko:
Or must read hundreds of pages of the manual ...

Yes, indeed... That's a price to pay for using a different UC while using hardware specific parts...

And the point of the arduino. The writers of the IDE pore through the manuals so you don't have to.

Correctly will use and modify this code

int led = 13;

volatile boolean ledon;
volatile unsigned long lasttime;
volatile unsigned long now;

int FREQ_1Hz = 1;

void TC3_Handler(){
    TC_GetStatus(TC1, 0);
    
    now = millis();
    
    digitalWrite(led, ledon = !ledon);
    
    Serial.println(now - lasttime);
    lasttime = now;
    
}

void startTimer(Tc *tc, uint32_t channel, IRQn_Type irq, uint32_t frequency){
  
    //Enable or disable write protect of PMC registers.
    pmc_set_writeprotect(false);
    //Enable the specified peripheral clock.
    pmc_enable_periph_clk((uint32_t)irq);  
    
    TC_Configure(tc, channel, TC_CMR_WAVE|TC_CMR_WAVSEL_UP_RC|TC_CMR_TCCLKS_TIMER_CLOCK4);
    uint32_t rc = VARIANT_MCK/128/frequency;
    
    TC_SetRA(tc, channel, rc/2);
    TC_SetRC(tc, channel, rc);
    TC_Start(tc, channel);
    
    tc->TC_CHANNEL[channel].TC_IER = TC_IER_CPCS;
    tc->TC_CHANNEL[channel].TC_IDR = ~TC_IER_CPCS;
    NVIC_EnableIRQ(irq);
}

void setup() {
    pinMode(led, OUTPUT);
    Serial.begin(9600);
    startTimer(TC1, 0, TC3_IRQn, FREQ_1Hz);
    lasttime = 0;
}

void loop() {

}

A use Arduino Mega for my Car computer. I have problem with LCD speed. I decided to change processor “to faster”. First problem is with my timer. On The Mega looks like this:

int x, counter;

void setup() {

  noInterrupts();           
  
  TCCR1A = 0;
  TCCR1B |= ((1 << CS10) | (1 << CS11));
  TIMSK1 |= (1 << TOIE1);
  TCNT1 = 3036; 

  Interrupts();           
}

void loop() {

Serial.print(x);

ISR(TIMER1_OVF_vect) {
  counter++; 
    if(counter > 3) {
       x++;
         counter = 0;   
     }
   TCNT1 = 3036
  }

How to change to Arduino Due ? Please Help