I've successfully built LOS from source!: https://lisalist2.com/index.php/topic,644.0.html
The 6504 is a 6502 with some pins not connected. Both parts use the same silicon die. So you can use the 6502 core and ignore the upper address lines.