MEGA65 / mega65-core

MEGA65 FPGA core
Other
238 stars 84 forks source link

Set M65MODEL for R4 and R5 boards #723

Closed dansanderson closed 10 months ago

dansanderson commented 10 months ago

D629 UARTMISC:M65MODEL (target_id) identifies the hardware model of the MEGA65, representing R1, R2, R3, and various dev boards with values. Please add appropriate logic for the 4=R4 and 5=R5 boards before the 0.96 release.

https://github.com/MEGA65/mega65-core/blob/f9385701f67c4cd28a92f6af27ad7abe601699e6/src/vhdl/c65uart.vhdl#L303

Motivation: I believe this powers a useful field in MEGAINFO that helps the user identify their hardware. Starting with R5, we have two production models with different main boards and identical exteriors. I would like to document that the user should use MEGAINFO to identify their board for the purposes of selecting which core to install. (I'm aware that older cores don't have MEGAINFO and will account for this in the docs.)

lydon42 commented 10 months ago

Already in.