Re: [hatari-devel] DSP patch suggestion |
[ Thread Index | Date Index | More lists.tuxfamily.org/hatari-devel Archives ]
While modifying the DSP code for Previous I noted some structural issues with the code. It seems the DSP code contains quite some modifications specific to Atari. It mostly affects reading and writing external RAM. Wouldn’t it be better to do this outside of dsp_cpu.c? For example external RAM access code could be moved to dsp.c and called via function pointer as it is done with dsp_host_interrupt() (e.g. uint32_t dsp_ramext_read(int space, uint16_t address) and void dsp_ramext_write(int space, uint16_t address, uint32_t value)). What do you think? btw. full DSP ROM simulation is now online for Previous (can be configured to use the old method): https://sourceforge..net/p/previous/code/1362/ |
Mail converted by MHonArc 2.6.19+ | http://listengine.tuxfamily.org/ |