XRoar wish/patch info?
Posted: Tue Aug 11, 2015 6:46 pm
Hi, I have a strange-ish requirement and I'd love to make XRoar help me ![Smile :-)](./images/smilies/icon_e_smile.gif)
My plan is to create a hardware 'addon' for a D32/64 with extended memory/MMU, extra I/O etc. Obviously for the hardware I have to use real hardware, but I'll be wanting to write OS9 drivers for it, and that's where it gets tricky.
In the 'old days', I'd write the driver and then test it, let the D64 crash, go back try to work out why, re-assemble, try again, and so on.
As far as I can see, I should be able to use XRoar with GDB to do something better nowadays
The problem is that I'll have custom hardware. The aim is that it'll be in a cartridge port, but I'll be triggering DSD to disable the SAM's memory map handling, and providing some RAM & I/O via the cartridge port (covering the whole address space, not just the 'cartridge' area).
Ideally, XRoar would have some way to do this already, but I don't think it currently supports the DSD line. Am I right that I'll need to hack something into the 'read_byte' and 'write_byte' functions in machine.c to do what I want?
Any chance of XRoar supporting user-created cartridges and the DSD line?
![Smile :-)](./images/smilies/icon_e_smile.gif)
My plan is to create a hardware 'addon' for a D32/64 with extended memory/MMU, extra I/O etc. Obviously for the hardware I have to use real hardware, but I'll be wanting to write OS9 drivers for it, and that's where it gets tricky.
In the 'old days', I'd write the driver and then test it, let the D64 crash, go back try to work out why, re-assemble, try again, and so on.
As far as I can see, I should be able to use XRoar with GDB to do something better nowadays
The problem is that I'll have custom hardware. The aim is that it'll be in a cartridge port, but I'll be triggering DSD to disable the SAM's memory map handling, and providing some RAM & I/O via the cartridge port (covering the whole address space, not just the 'cartridge' area).
Ideally, XRoar would have some way to do this already, but I don't think it currently supports the DSD line. Am I right that I'll need to hack something into the 'read_byte' and 'write_byte' functions in machine.c to do what I want?
Any chance of XRoar supporting user-created cartridges and the DSD line?