foft wrote:You need to ‘apply settings’ for video.
I’ve already got the pll reconfig working on mcctv, I was planning to share the component. If you already have a good one could you point me to it please? Then I’ll use the better one.
I can cut down firmware to allow mistification. Just let me know what you need ideally. I guess we move the menus out and just leave the drive emulation. Of course it needs to load sectors so I guess it can request them from the mist cpu or you could load the whole image to ram somewhere.
No luck, but maybe I did something wrong with the settings file?
I've sent you a mail with the reconfigurable PLL patch, I've used it in other cores, basically copy-pasted from another one (except the PLL setting ROMs of course). It works in my previous mistified version, where only carts were supported.
For a minimal firmware, it just needs the image file handling:
- MiST can send a signal when a new disk image is mounted
- The ZPU firmware should send signals for requesting a new sector from that image, no FAT handling needed, that's handled by the ARM. The signals needed (basically what's in user_io):
Code: Select all
sd_lba : in std_logic_vector(31 downto 0); -- lba of the requested sector
sd_rd : in std_logic; -- read request
sd_wr : in std_logic; -- write request
sd_dout : out std_logic_vector(7 downto 0); -- byte from ARM
sd_dout_strobe : out std_logic; -- byte strobe indicating a new byte from ARM
sd_din : in std_logic_vector(7 downto 0); -- byte to ARM
sd_din_strobe: out std_logic; -- byte strobe requesting a write byte to ARM
sd_buff_addr: out std_logic_vector(8 downto 0); -- a helper byte counter to address the sector buffer (no need to count yourself)
img_mounted : out std_logic; -- new image is mounted
img_size : out std_logic_vector(31 downto 0); -- size of the new image
The only limitation that the MiST firmware can handle two mounted images at the same time, not four (sd_rd, sd_wr, img_mounted can be 2 bits wide).
The dma_xx signals can be skipped, with the help of the data_io module, the core can upload ROMs and carts into the memory directly (like in the A5200 core).