8 Commits

Author SHA1 Message Date
Travis Geiselbrecht
5249549e12 [platform][rosco_m68k] update the duart driver
-Reinitialize the uart bit modes
-Ignore framing/break errors on receive. Unclear why they seem to always
be set in the fifo, but seems to be safe to ignore for now
-Make sure platform_pgetc returns the right error code
-Initialize the output ports to all gpios
2024-02-11 01:28:49 -08:00
Travis Geiselbrecht
d9b7d070c9 [top] add header declaration for lk_boot_args
Update users of the boot args array to use the header.
2024-02-11 00:38:09 -08:00
Travis Geiselbrecht
497c52115b [platform][rosco-m68k] microoptimize the duart irq 2022-08-06 17:55:35 -07:00
Travis Geiselbrecht
b8de922781 [platform][rosco-m68k] delete some unused #defines 2022-08-06 17:41:12 -07:00
Travis Geiselbrecht
d496ca1902 [platform][rosco-m68k] add proper support for the system data block
A block of data left behind by the firmware to tell the system important
things such as the size of memory.
2022-05-21 17:26:49 -07:00
Travis Geiselbrecht
8cdd71ab00 [platform][rosco-m68k] default to WITH_LINKER_GC on 2022-04-18 01:15:45 -07:00
Travis Geiselbrecht
9d1802fa2c [platform][rosco-m68k] change the tick rate to 100Hz
1000kHz is probably a bit much for this board.
2022-04-18 00:48:50 -07:00
Travis Geiselbrecht
49644a2c39 [platform][rosco-m68k] Add port to the Rosco M68k board
Port to the really neat 68010 based board at https://rosco-m68k.com/

Port Features:
-10Mhz 68010
-1MB ram
-Dual UART + timer implemented as a 68c681 chip
-timer running at 1Khz, UART A for console
-interrupt driven RX support

Some amount of extending of the 68k exceptinon code was needed to
support the autovectored irqs that the 68681 uart uses. Added build
system support for 68010.
2022-04-12 00:25:12 -07:00