Booting on a real MicroVAX 3100/40 via netboot and on simh emulating a micrvax 3900. Doesn't fully work, lots of stuff is stubbed out, but it starts to run and hits unimplemented bits and stops.
21 lines
426 B
C
21 lines
426 B
C
/*
|
|
* Copyright (c) 2019 Travis Geiselbrecht
|
|
*
|
|
* Use of this source code is governed by a MIT-style
|
|
* license that can be found in the LICENSE file or at
|
|
* https://opensource.org/licenses/MIT
|
|
*/
|
|
#include <lk/debug.h>
|
|
#include <platform.h>
|
|
#include <platform/timer.h>
|
|
|
|
// stubbed out time
|
|
static lk_time_t t = 0;
|
|
lk_time_t current_time() {
|
|
return ++t;
|
|
}
|
|
|
|
lk_bigtime_t current_time_hires() {
|
|
return (++t) * 1000;
|
|
}
|