hah, well... I did get a start and it is, at first glance, not what I expected! The trampoline is very different, so I am piecing together how that works first. Still, a useful mental exercise. I think the end goal would be great.
On Wed, Jul 14, 2021 at 4:33 PM Gary Weber <g...@web8201.com> wrote: > I love this whole idea! The ROM address conversion would be the easy > part, if we can call anything "easy" regarding this. :) > It's the upper RAM addresses that could be quite tricky. There's some > differences in the hook table and then even more differences that don't > seem to be well documented. > > I'm with Brian on this -- if YOU think it can be done, then I think it can > be done. Let me know if I can help in any way. > > Gary > > > On Mon, Jul 12, 2021 at 5:30 AM Stephen Adolph <twospru...@gmail.com> > wrote: > >> Noting that SuperROM has never been found (or never released?) for NEC, >> it seems to me given what I know about making applications run on both >> platforms, that it should be very straightforward to translate the M100 >> SuperROM into an NEC variant. After all, the NEC and M100 are so similar. >> >> Does anyone have any thoughts on this? >> >> Process could be: >> - Disassemble >> - find the trampoline, and adjust for NEC memory map >> - look for "trampoline" calls to the main ROM, and convert to NEC >> addresses >> - look for upper RAM addresses, and convert to NEC addresses >> ---> this could be a bit tricky I admit, because it may not always be >> apparent that a register pair value is being used as an upper RAM pointer >> - adjust the hardware interrupt if needed >> >> >> cheers >> Steve >> >> >> >>