Commit Graph

29 Commits

Author SHA1 Message Date
gbeauche
61a2e86594 Rewrite MacOS X CD-ROM support.
Other bugs fixed:
- CD-ROM media are polled and now can be changed without rebooting
- Buffer overflow, memory leak and extra wait in CD-ROM ejection code
2006-05-08 12:15:58 +00:00
cebix
9cdff5117f ignore floppy device open fail in Sys_open() so the floppy drive will be
operative even if no disk was inserted at startup
2005-11-24 17:23:43 +00:00
cebix
f450308b2f modernized Linux floppy detection 2005-11-24 17:02:59 +00:00
gbeauche
e694311703 Drop the old _llseek() hack. That was causing problems and we "now" use the
right approach with LFS for a few years now.
2005-08-01 05:23:02 +00:00
gbeauche
77208f85b0 sys_darwin.cpp depends on CoreFoundation stuff, disable it for OpenDarwin 2005-07-10 16:42:04 +00:00
gbeauche
30632aed4f Happy New Year! 2005-01-30 21:42:16 +00:00
gbeauche
f3fbf06674 Add configure macros to check for -framework Carbon & -framework IOKit so
that we choose to include ../MacOSX/clip_macosx.cpp, sys_darwin.cpp or not.
2004-06-27 22:06:02 +00:00
nigel
9c57351dba Tidy up Aqua/Darwin specific code 2004-01-26 11:08:52 +00:00
cebix
9e7932abf0 Happy New Year! :) 2004-01-12 15:29:31 +00:00
gbeauche
c04603adce Add hacks to disable "floppy" & "serial[ab]" entries that would cause
Basilisk II to hang on MacOS X as an X11 build. I am not sure this is
supposed to work in an Aqua build so I leave that enable there, assuming
<AvailabilityMacros.h> is included somehow, thus defining MAC_OS_X_VERSION_*
and friends.
2003-10-12 21:55:44 +00:00
nigel
fda7b93625 Darwin-specific prefs and initial CD code. Since some of the CD code is just too weird to include here, I just call extern functions which I currently implement in a file sys_darwin.cpp 2003-03-21 07:03:05 +00:00
cebix
cc423d283f default CD-ROM drive is /dev/cd0c on NetBSD 2002-04-28 14:06:17 +00:00
gbeauche
c9563ddb5c - Clarified test of access() return value
- s/strcpy/sprintf/ for cd_dev concatenation
- Statically allocate fd_dev[] and cd_dev[]
Better testing is yet to be done
2002-03-29 16:24:18 +00:00
cebix
5f9f63dea3 support for Linux devfs 2002-03-27 20:11:12 +00:00
cebix
78254ebddd added missing return values 2002-03-20 19:03:41 +00:00
cebix
3e58028cb1 fixed floppy disk change detection problems under Linux 2002-02-23 17:54:24 +00:00
cebix
5ac532edfd - default floppy device under Linux is now /dev/fd?u1440 because /dev/fd?H1440
is deprecated
2002-02-22 17:48:31 +00:00
cebix
7627f346ee cleaned up pthread attributes [Brian Johnson] 2002-02-07 16:10:57 +00:00
cebix
628533940d - documentation updates
- 2001 -> 2002
- version 0.9 -> 1.0
2002-01-15 14:58:43 +00:00
cebix
52e18c5874 fstab parsing ignores comment lines 2001-07-31 14:10:35 +00:00
cebix
c23567ab14 - bumped version number to 0.9
- updated copyright dates
2001-02-02 20:53:00 +00:00
cebix
b248b687db - CD-ROM under Linux only worked when a CD was in the drive when B2 was
started
- Unix/main_unix.cpp: 1Hz interrupt wasn't triggered
2000-07-24 20:39:34 +00:00
cebix
97d96bddea - updated copyright info: 1999->2000 2000-04-10 18:53:46 +00:00
cebix
1efa7490cf - Unix: changed time zone handling (again) 2000-02-21 20:04:18 +00:00
cebix
d60bc94de7 - removed MemoryDispatch() replacement; routine from ROM is now used if
possible
- rom_patches.cpp: check for double PACK 4 resources; if only one is found,
  assume that the ROM requires an FPU and issue a warning if FPU emulation
  is turned off
- UAE CPU opcode routines no longer return the cycle count
- main_unix.cpp: pressing Ctrl-C dumps the UAE CPU state before entering mon
- sys_unix.cpp: under Linux, partition sizes are read with BLKGETSIZE instead
  of llseek()
1999-10-31 23:18:44 +00:00
cebix
8edc3aa83c - some fixes for NetBSD 1999-10-15 14:50:39 +00:00
cebix
62aff59d79 - integrated patches for NetBSD 1999-10-14 11:37:47 +00:00
cebix
65244bc22c - sys_unix.cpp: changed one #ifdef that should really have been an #if
- Makefile.in: provided uninstall target
1999-10-03 17:45:08 +00:00
cebix
8e491572ca Imported sources 1999-10-03 14:16:26 +00:00