Ups frequency to 80Mhz : unstable behaviour

This commit is contained in:
2025-11-16 16:45:00 +01:00
parent dbe0a488f3
commit c0b4311458
5 changed files with 181 additions and 100 deletions

View File

@@ -24,7 +24,7 @@ pub extern "C" fn main() -> !
let clint_time: *mut u64 = 0x0200bff8 as *mut u64;
let clocks = *clint_time;
let seconds = clocks / (125_000_000 / 2);
let seconds = clocks / 80_000_000;
VGA::draw_string(100, 10, "CLint:", BLUE);
VGA::draw_u64(150, 10, clocks, BLUE, BLACK);
VGA::draw_string(100, 23, "(s)", BLUE);