Re: [hatari-devel] NE2000 emulation for Hatari

[ Thread Index | Date Index | More lists.tuxfamily.org/hatari-devel Archives ]


Le 02/06/2016 à 23:12, Eero Tamminen a écrit :
Hi,

Here's NE2000 / NE1000 network adapter emulation
for Hatari:
https://github.com/mist-devel/mist-board/blob/master/tools/hatari/memory.c

(See the code inside "NE_EMU" ifdefs.)


Code comment in the beginning of the file mentions
few (fairly severe) impacts of this code.

Comments on it?



Hi

just had a quick look, some remarks :

- why is the code in memory.c ? this is not very maintanable, better split it in a separate ne.c or similar

- ethernet traffic is handled by "rerouting" bytes accesses to cartdridge space at FAxxxx ; it this how it's done on real HW ? Does such NE adapter exist and should be plugged on cartridge port ?

But this means that HD emulation can't work at the same time, since we use a cartdridge to emulate gemdos HD drive too.

Nicolas




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/