Commit Graph

1249 Commits

Author SHA1 Message Date
gbeauche
6255bd24c3 direct addressing & 64-bit fixes 2004-12-18 18:40:43 +00:00
gbeauche
f9937854be ethernet seems to work with sheepnet, even on kernel 2.6/x86_64! 2004-12-18 18:40:04 +00:00
gbeauche
1c915bbc19 Don't restrict MacOS X Xserver detection on native versions since SheepShaver
can run remotely and drawing to an X window on MacOS X.
2004-12-18 18:34:56 +00:00
gbeauche
1406b615c7 Make EtherInterrupt/packet[] "static" so that it is allocated in the .data
section, which is likely accessible under 32-bit address on 64-bit platforms
2004-12-18 18:10:40 +00:00
gbeauche
854478a048 support for kernel 2.6 (from MOL) 2004-12-18 17:49:12 +00:00
gbeauche
83f594ec16 patch the right branch instruction, it seems it doesn't much matter whether
we return success (0) or error (-1) in the previous casse.
2004-12-16 23:14:25 +00:00
gbeauche
dfa16d9686 disable power management for now (opcode fe0f) 2004-12-16 22:59:38 +00:00
gbeauche
873377726b fix regression introduced in the load of OldWorld ROMs when Direct Addressing
mode was impemented
2004-12-12 18:45:44 +00:00
gbeauche
c10046c137 Check that we can really read at the faulty eip in Windows prior to decoding
the instruction. Also fix the unrecoverable fault dump to really be useful.
2004-12-11 13:07:38 +00:00
gbeauche
0c8d0cd8be SheepShaver icon for Windows 2004-12-11 11:19:55 +00:00
gbeauche
a80e76111f remove obsolete headers inclusion, implement vosf lock with native windows
mutexes, use new vm_page_size() accessor
2004-12-11 10:20:32 +00:00
gbeauche
fc47096ef8 implement vm_page_size() to get the actual size of a page 2004-12-11 10:19:34 +00:00
gbeauche
ce1420dcce use native windows critical sections to implement atomic interrupt flags
handling and B2_mutexes
2004-12-11 10:17:48 +00:00
gbeauche
ceba60d76f native windows mutexes as (fast) critical sections 2004-12-11 10:16:42 +00:00
gbeauche
22efcbc6e4 native windows threads, set a higher thread priority to the tick thread,
implement Pause/ResumeEmulator()
2004-12-11 09:42:34 +00:00
gbeauche
2bbbde1e2b thread wrappers 2004-12-11 09:41:13 +00:00
gbeauche
ef8e363c5c new NATMEM_OFFSET (0x02000000) makes it possible to allocate space for
the MacOS DR emulator code, though the usual limitations exist there
2004-12-11 08:59:57 +00:00
gbeauche
27eb7cccae Windows-specific prefs items 2004-12-07 22:43:21 +00:00
gbeauche
3cd6c38e99 native windows version of SheepShaver (does not depend on cygwin.dll) 2004-12-07 22:40:30 +00:00
gbeauche
292b839e47 add Windows-specific localizable strings 2004-12-07 22:36:29 +00:00
gbeauche
912479d0d1 ethernet related prefs items 2004-12-06 23:42:19 +00:00
gbeauche
fb4dacd6a6 Raw import of ether_windows.cpp from original Basilisk II for Windows.
Fix code so that it builds in Cygwin/Mingw32.
2004-12-06 23:31:03 +00:00
gbeauche
ead0de6fdf Refactor native windows system support routines from sys_unix.cpp. This
includes CD-ROM support but still lacks original B2 features involving
floppies, real hard disk, and hard file options
2004-12-05 17:11:15 +00:00
gbeauche
0c7dbfd290 Import some extra functions from Win32 libraries. Expose OS versions. 2004-12-05 16:54:14 +00:00
gbeauche
553127f8f3 import original b2ether code from B2/Win32 2004-12-05 16:51:29 +00:00
gbeauche
2de1c1760f import NAT-Router code from original Basilisk II for Windows 2004-12-05 16:48:36 +00:00
gbeauche
eec1f6928a add --cdboot command line option akin to MoL's 2004-12-05 15:28:39 +00:00
gbeauche
af8e95642e merge in "pollmedia" prefs item 2004-12-05 15:05:25 +00:00
gbeauche
892a50a233 currently in 2004 ;-) 2004-12-05 15:04:30 +00:00
gbeauche
c26be68be4 cdenable interface 2004-12-05 15:03:05 +00:00
gbeauche
67399201bb more extfs related prefs items (debugextfs, extdrives) 2004-12-03 22:59:39 +00:00
gbeauche
2e9253743d Requires Windows NT >= 4.0, implement ErrorAlert(), WarningAlert() 2004-12-03 22:48:08 +00:00
gbeauche
02a406d538 renamed SysTimerInit() to timer_init() 2004-12-03 22:05:36 +00:00
gbeauche
2014ab7918 cosmetics 2004-12-03 22:05:11 +00:00
gbeauche
7b3a535f2f Add Windows specific "enableextfs" prefs items. There, the "extfs" path is
replaced by a virtual desktop containing all current drives.
2004-12-03 22:04:24 +00:00
gbeauche
238c68c8df Merge and upgrade native filesystem support from B2/Win. The nice
"My Computer" icon is now back. Adapt from recent extfs_unix.cpp.
2004-12-03 22:03:12 +00:00
gbeauche
3094372e34 Merge util_windows.cpp (exists, get_file_size, create_file) from original
Basilisk II for Windows
2004-12-03 22:01:47 +00:00
gbeauche
0e52edfbd0 ppc64 fixes 2004-12-02 23:29:52 +00:00
gbeauche
08a15ff00b fully native (no cygwin dep) version of main_windows.cpp 2004-11-30 23:40:24 +00:00
gbeauche
ffcf51b99d Merge in "My Computer" user strings from original B2/win 2004-11-29 23:31:30 +00:00
gbeauche
e813acfeab native win32 XPRAM handling for both Basilisk II and SheepShaver 2004-11-29 22:43:22 +00:00
gbeauche
fbff8b1b3c typos 2004-11-29 21:59:03 +00:00
gbeauche
1ead478ece native win32 implementation for prefs file (BasiliskII_prefs) 2004-11-29 21:54:09 +00:00
gbeauche
5b58485720 fix win32 timer_host2mac_time() 2004-11-29 00:15:14 +00:00
gbeauche
08a3e449d3 Always use vm_acquire* to allocate frame buffers, so that cygwin/x86 version
can have a chance in case VOSF is not profitable (on video mode switches)
Improve video mode switches in SheepShaver/SDL, aka avoid crashes on win32
as there is apparently no thread canceleation algorithm used in SDL/win32.
2004-11-28 19:31:11 +00:00
gbeauche
f8cd0231a0 add native windows timers 2004-11-28 17:54:05 +00:00
gbeauche
9e96bd8241 fix cntlzw masks, fix build with cygwin/gcc 2004-11-26 00:13:05 +00:00
gbeauche
6287978c19 enable build of the cpu tester from the SheepShaver tree 2004-11-25 19:14:15 +00:00
gbeauche
6d68826725 cope with cygwin assembler'isms 2004-11-25 00:29:36 +00:00
gbeauche
3caa663fc8 try to cope with cygwin assembler 2004-11-25 00:25:53 +00:00