tcdev
27th October 2008, 01:50 PM
I've got the Ladybug hardware (Ladybug, Dorodon & Cosmic Avenger) running on the DE1. Due to space limitations, the cpu rom must be programmed into the flash, at offset $0000.
The simplest way to create the binary is to extract the hex files from the repository and use the freely-available hex2bin utility to create binary versions of the 2-part CPU rom file, then concatenate them with copy /b.
Finally, program the flash using the DE1 control panel.
You can of course use the CAVENGER .SOF file to play any of the supported games - there is no need to build LADYBUG or DORODON projects for the DE1.
I will probably add a couple of switches controlling the flash address lines A15 and A16 so you can program the flash with all 3 rom images and switch between them at will.
The simplest way to create the binary is to extract the hex files from the repository and use the freely-available hex2bin utility to create binary versions of the 2-part CPU rom file, then concatenate them with copy /b.
Finally, program the flash using the DE1 control panel.
You can of course use the CAVENGER .SOF file to play any of the supported games - there is no need to build LADYBUG or DORODON projects for the DE1.
I will probably add a couple of switches controlling the flash address lines A15 and A16 so you can program the flash with all 3 rom images and switch between them at will.