Commit Graph

556 Commits

Author SHA1 Message Date
Kelvin Sherlock 81c74470ef PUSH16 MMU check was incorrect. 2019-01-28 22:59:00 -05:00
Kelvin Sherlock 0e2f35e7fe re-order instructions so zero/negative flags are set AFTER memory write (which may abort) 2019-01-28 22:01:29 -05:00
Kelvin Sherlock 8d60a2d437 clean up the disassembler a little bit. 2019-01-28 18:10:27 -05:00
Kelvin Sherlock 0c0c886be9 drop the g_dbg_step variable for now... 2019-01-26 17:14:39 -05:00
Kelvin Sherlock 66f3971027 add debug flag register to engine. 2019-01-26 17:07:40 -05:00
Kelvin Sherlock f376e2a442 new memory checking [part 1]
_ macros bypass the memory checking code.
2019-01-26 17:06:48 -05:00
Kelvin Sherlock 7e87fc6968 replace inline asm for rdtsc with compiler intrinsics. 2019-01-26 16:50:59 -05:00
Kelvin Sherlock 38e691562c use c99 stdint types. 2019-01-22 22:37:20 -05:00
Kelvin Sherlock ee078aeb19 remove breakpoint checks (to be added back later) 2019-01-22 21:52:00 -05:00
Kelvin Sherlock 77eb25fc71 use defines instead of bit shifts 2019-01-22 19:28:59 -05:00
Kelvin Sherlock 9f5a6566f5 sdl driver - support for the Home key. 2019-01-16 18:23:17 -05:00
Kelvin Sherlock ad3ec85a1d shift-keypad . was generating a keypad comma. very strange. 2019-01-16 18:22:36 -05:00
Kelvin Sherlock ff1022db8f sdl driver keymap mistakes. 2019-01-12 21:10:51 -05:00
Kelvin Sherlock 43b7330256 clean up CMake dependencies a little bit. 2019-01-10 20:36:17 -05:00
Kelvin Sherlock 5e852773ca os x - setuid helper utility to connect to the bridge interface. 2019-01-08 18:41:55 -05:00
Kelvin Sherlock 4a5d6effd5 to work around vmnet root/entitlement restrictions, add a stand-alone helper utility than can be setuid root.
vmnet_helper creates a vmnet connection then communicates back to GS+ via pipes to stdin/stdout and a simple binary messaging protocol.
2019-01-06 22:58:41 -05:00
Kelvin Sherlock 55de506812 msvc warnings 2019-01-04 22:58:56 -05:00
Kelvin Sherlock 1700285fd2 cleanup to build with MSVC. 2019-01-04 17:53:16 -05:00
Kelvin Sherlock b0764fb93c build fix. 2019-01-02 21:49:48 -05:00
Kelvin Sherlock f0bd88195b bsd tuntap documentation. 2019-01-02 21:49:38 -05:00
Kelvin Sherlock 7422409f53 remove stale old msvc projects 2019-01-02 21:48:55 -05:00
Kelvin Sherlock b353a7ff22 cleanup headers a bit 2019-01-02 19:53:34 -05:00
Kelvin Sherlock 4923efb5fc cleanup to build under msys2/mingw64 2019-01-02 18:45:14 -05:00
Kelvin Sherlock ecf6c58661 improved ethernet startup. use device name instead of index into a list that could change. 2018-12-31 20:51:14 -05:00
Kelvin Sherlock 4da1a246c7 get rid of the -enet flag, for now. 2018-12-31 20:50:07 -05:00
Kelvin Sherlock fae38450e9 tap cleanup, more *BSD support. 2018-12-31 20:49:39 -05:00
Kelvin Sherlock aaeda41baf unix mtu/mac code for pcap. 2018-12-31 20:49:07 -05:00
Kelvin Sherlock 4af3cf0761 untested win32 mac code. 2018-12-31 20:48:34 -05:00
Kelvin Sherlock 04314d7bb0 dead code, no longer needed as of Uthernet Link Layer 1.0.2 2018-12-31 20:48:07 -05:00
Kelvin Sherlock 41b01509ad rawnet - replace ugly transmit/receive functions with read/write. 2018-12-30 15:53:54 -05:00
Kelvin Sherlock 5884e751bc rawnet - close pcap if not an ethernet device. 2018-12-30 15:51:53 -05:00
Kelvin Sherlock c4796f77ec rawnet - add rawnet_status() call to check if interface is open. 2018-12-30 15:50:41 -05:00
Kelvin Sherlock 324c9a191f win32 - support for npcap which is a successor to winpcap. winpcap is still supported. 2018-12-30 15:49:29 -05:00
Kelvin Sherlock 0b03aad15d tap/tun interface (alpha!) 2018-12-29 15:04:14 -05:00
Kelvin Sherlock c34b0a4c02 vmnet - allocate one buffer and use it. 2018-12-26 22:51:04 -05:00
Kelvin Sherlock 44ee124882 can use numbers to navigate file picker. 2018-12-26 20:01:22 -05:00
Kelvin Sherlock ce3bb3d642 add new menu lookup for ethernet interface. 2018-12-26 00:11:42 -05:00
Kelvin Sherlock fc100dd6b6 sdl key mapping - remove alternate value (eg, page up) for keypad numbers. Hitting real page-up is converted to the 3 key, for example, which is bad. 2018-12-25 21:53:56 -05:00
Kelvin Sherlock 8dcbb38a62 clean up config menus 2018-12-25 21:52:41 -05:00
Kelvin Sherlock 1790096088 clean up arrow key code in the config window. 2018-12-25 20:00:15 -05:00
Kelvin Sherlock 18d988319e rawnet cmake 2018-12-19 21:07:57 -05:00
Kelvin Sherlock 7a6ea5ef99 remove unused variables. 2018-12-19 21:07:25 -05:00
Kelvin Sherlock b98635aaf1 darwin rawnet - since the MAC address can't change, switch it with Uthernet's mac address. Unfortunately, dhcp requests include a mac address, so it also has to be swapped in the DHCP message. 2018-12-18 19:23:57 -05:00
Kelvin Sherlock 9370ed8604 rawnet - add functions to get mac and mtu, if known. 2018-12-18 19:21:20 -05:00
Kelvin Sherlock f550249382 tweak rawnet_hexdump 2018-12-18 19:20:11 -05:00
Kelvin Sherlock ba50807910 tfe -> rawnet. 2018-12-14 20:37:39 -05:00
Kelvin Sherlock 12c8f215ba darwin vmnet tweaks. 2018-12-14 20:35:50 -05:00
Kelvin Sherlock a8c23a4c2a rawnet - fix logging, add hexdump. 2018-12-14 20:35:23 -05:00
Kelvin Sherlock 1b1983b64a rawnet - add link libraries, debugging defines. 2018-12-14 20:35:04 -05:00
Kelvin Sherlock 698678f508 rawnet
vice cleaned up TFE and called it RAWNET.  Slightly better code separation.
I removed libnet stuff in the unix version and added a darwin version that uses the vmnet framework.
2018-12-13 23:20:04 -05:00