Kelvin Sherlock
6034573693
udpated cmakefile for new debug code.
2019-01-28 23:04:55 -05:00
Kelvin Sherlock
c4aa64de48
new breakpoint code.
2019-01-28 23:04:20 -05:00
Kelvin Sherlock
0cf532c00d
BRK / COP weren't pushing the current z/neg flags.
2019-01-28 23:03:04 -05:00
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
Kelvin Sherlock
e37e50affe
cmake support.
...
cmake generates makefiles (or ninja file, xcode projects, etc) which are then built with make, ninja, xcode, etc.
usage:
make build # don't build in the source tree itself
cd build
cmake ../src/
then
make as usual.
It should work with OS X, Linux, and Win32 (tested on Windows with msys2 / mingw64, IIRC, using the win32 driver).
"make bundle" will run the OS X bundle utility to bundle up libraries.
2018-12-13 20:53:58 -05:00
Dagen Brock
5e009305f8
v0.14 release
2018-09-11 17:06:05 -05:00
Dagen Brock
fba7d6c89d
partially realized delta mouse handler (hidden in shift-F5 for now)
2018-09-07 09:29:46 -05:00
Dagen Brock
61d672f635
use SDL keycode whenever possible
...
- tested with US 101 key on US keyboard and it worked fine with this switch, but need users with international keyboards to test behavior on their end
2018-08-31 10:18:41 -05:00
Dagen Brock
7df808cf4a
add scaling options and fix speedups
2018-08-30 09:55:10 -05:00
Dagen Brock
710e2cd067
always alpha sort and cleaner hotkeys in file menu
2018-08-28 10:51:54 -05:00
Dagen Brock
6ec560ca49
only grab mouse in fullscreen for now
2018-08-27 12:16:57 -05:00
Dagen Brock
48bad8a432
cleaner shutdown / mouse code for SDL
2018-08-27 11:21:59 -05:00
Dagen Brock
ff39749feb
fix sdl frame rendering vsync method to simply present the buffer once per frame
2018-08-26 13:59:39 -05:00
Dagen Brock
17f22c3393
fix sdl2 keymap on non-apple systems and add rpi doc
2018-08-24 23:20:47 -05:00
Dagen Brock
12ec7c4fa9
proper SDL shutdown - fixes exit on RPi HW accel version
2018-08-24 14:18:44 -05:00
Dagen Brock
ed817c15fe
add vsync flag for great success
2018-08-24 12:45:51 -05:00
Dagen Brock
9b708a2ad8
resolve builds on windows with new fst objects
2018-08-24 11:40:25 -05:00
Dagen Brock
16b131d1f9
Merge pull request #41 from ksherlock/prodos_mli
...
Prodos mli (win32 edition)
2018-08-24 05:28:37 -05:00
Dagen Brock
26ac5bc51a
Merge branch 'master' into master
2018-08-24 05:12:46 -05:00
Kelvin Sherlock
fcf8dea873
host mli - convert cygwin paths to Win32 paths before using with Win32 API.
2018-08-23 20:47:09 -04:00
Kelvin Sherlock
2b38b6bf8d
win32 prefix fix.
2018-08-23 15:27:23 -04:00
Dagen Brock
27a0d34dff
pi build with sdl2
2018-08-23 18:35:41 +00:00
Kelvin Sherlock
7b66b3a070
bug fixes and more cleanup
2018-08-23 10:56:09 -04:00
Kelvin Sherlock
192cfc724b
win32 host mli support
...
this also moves a lot of common host_fst / host_mli / win_host_fst into host_common / unix_host_common / win32_host_common
Currently untested.
2018-08-23 00:38:53 -04:00
Dagen Brock
45da5d239d
add unimplemented functions to allow win32 builds to work
2018-08-22 10:07:25 -05:00
Kelvin Sherlock
70578779e4
mli init - was reading unit as 16-bit quantity instead of 8-bit quantity.
2018-08-20 21:34:59 -04:00
Kelvin Sherlock
30491a39a0
host fst - return a better error for ChangePathGS when destination file exists and DestroyGS when file is non-empty directory
2018-08-20 21:28:09 -04:00
Kelvin Sherlock
67a8d7a0c6
sunos xattr defines
2018-08-20 20:58:48 -04:00
Kelvin Sherlock
8be3dad543
uncrustify.
2018-08-20 20:57:45 -04:00
Kelvin Sherlock
a5e55f826c
update makefile, remove dead code
2018-08-20 20:55:19 -04:00
Kelvin Sherlock
3390a35f84
host mli support
...
intercepts ProDOS MLI calls for the /HOST/ path.
2018-08-20 15:43:06 -04:00
Dagen Brock
8e53c19f66
making it merge someway, somehow
2018-08-20 13:16:47 -05:00
Dagen Brock
5d6bc63bf7
Merge branch 'experimental' into debugger_wdm
2018-08-20 12:40:08 -05:00
Kelvin Sherlock
e021a622b4
adds two new WDM debugger commands useful for programmers.
...
WDM $a0 prints a string
a: string type (0 = c-string, 1 = pascal string, 2 = gs/os string). set bit 15 ($8000) to add a trailing '\n
x/y: pointer to the string
WDM $a1 hexdumps memory
a: length
x/y pointer to memory
(in both cases, x is the low word and y is the high word (ie, bank))
2018-08-20 13:03:53 -04:00
Dagen Brock
d7ccfb919c
remove debug and status line (not supported) flags from osx builds
2018-08-14 22:48:50 -05:00
Dagen Brock
65f280569c
using code beautifier (uncrustify), possibly most controversial commit ever\?
2018-08-13 12:22:40 -05:00
Dagen Brock
a509cc0a3c
fps testing for win comparison
2018-08-10 10:11:22 -05:00
Dagen Brock
99c51da6e8
re-implement alert dialogs for SDL2 version and add sane ROM message
2018-08-10 09:32:55 -05:00
Dagen Brock
7d82873478
add check for missing fonts
2018-07-27 14:06:33 -05:00
Dagen Brock
dca0a68abb
Merge pull request #32 from ksherlock/host_fst_updates
...
Host fst updates
2018-07-25 15:34:32 -05:00
Dagen Brock
47b837e34c
Win32 SDL2 builds on Cygwin against Mingw SDL2 libs, new docs and log cleanup
2018-07-25 14:33:16 -05:00
Kelvin Sherlock
efbd79264d
host fst - JudgeName doesn't necessarily have a pathname.
2018-07-24 09:16:03 -04:00
Dagen Brock
92af077e38
missing menu terminator bug
2018-07-17 12:39:53 -05:00
Kelvin Sherlock
e886532dbe
host fst - error out if not initialized (prevents null deference later)
2018-07-16 13:53:35 -04:00
Kelvin Sherlock
d1057c52f3
Host FST updates:
...
1. slightly improved logging
2. option to automatically translate cr/lf in text/source files
3. option to merlin encode text .S files
4. default file type for common source code files extensions.
2018-07-08 15:17:07 -04:00
Dagen Brock
ab54161b8d
cleanup and fixup and full options
2018-03-26 23:31:40 -05:00
Dagen Brock
24d2d75c49
return scanline scaling logic
2018-03-19 21:21:11 -05:00
Dagen Brock
b5eaa22877
page up/down in config menus.. yay
2018-03-18 14:25:05 -05:00
Dagen Brock
45d65c9643
missing lib directives
2018-03-11 15:57:03 -05:00
Dagen Brock
5c945e8bff
latest sdl options and first try of win sdl with new libs
2018-03-11 15:10:46 -05:00
Dagen Brock
3a6d272a50
copyright cleanup (and fix a copy-pasta)
2018-03-02 10:48:45 -06:00