Difference between revisions of "Guides:MAME - Networking"

From Wah!ki
Jump to navigation Jump to search
Line 54: Line 54:
 
* https://github.com/mamedev/mame/tree/2ca5f3a386a1ca63433d6d13bb66f5e46fb2a854/src/osd/modules/netdev
 
* https://github.com/mamedev/mame/tree/2ca5f3a386a1ca63433d6d13bb66f5e46fb2a854/src/osd/modules/netdev
 
* https://dfarq.homeip.net/using-an-ne2000-network-card-in-dos/
 
* https://dfarq.homeip.net/using-an-ne2000-network-card-in-dos/
 +
* http://mess.redump.net/howto/apollo

Revision as of 11:08, 20 March 2021

just notes here


compile with USE_NETWORK=1

OSD_NET_USE_TAPTUN=1 might be required as well to pull in the source, dunno man I don't do c stuff

#if defined(OSD_NET_USE_TAPTUN)

mame -listnetworks (should show the available devices, not just TAP/TUN ?)

$ ./mame -listnetwork
Available network adapters:
    TAP/TUN Device


tap/tun device


dos ne2000

  • ne2000.com 0x60


Drivers/Software


sudo ip link add link enp4s0 name mametap0 type macvtap
sudo ip link set mametap0 address 00:00:1B:4A:3A:F2 up
ip link show mametap0

sudo ip link delete mametap0

sudo ip tuntap del dev mametap0 mode tap group netdev
sudo ip tuntap del dev mametap0 mode tap


References