Commit Graph

631 Commits

Author SHA1 Message Date
nigel
ffaf4cbd56 Prevent progress indicator from growing when window resized 2003-03-21 13:04:26 +00:00
nigel
a3d30b9798 Removed unused outlets and buttons 2003-03-21 12:57:36 +00:00
nigel
88c7c5a761 Oops. Those files are in CVS. Comment out the TIFF repair commands 2003-03-21 12:38:04 +00:00
nigel
4c375f68b3 Oops. Stuffed up a CVS file, and added these in the wrong place 2003-03-21 12:32:29 +00:00
nigel
fd727644b1 Updated version and year in copyright, added source file 2003-03-21 12:28:21 +00:00
nigel
338d0ef4e5 Smaller reset & shutdown buttons - resized & moved a few items 2003-03-21 12:24:21 +00:00
nigel
18efc23894 Generate some icons used by Interface from OS X's login panel 2003-03-21 12:22:35 +00:00
nigel
886ca6c348 Removed any OpenGL stuff 2003-03-21 12:04:34 +00:00
nigel
6180b4246a Some Interface Builder files that somehow weren't checked in? 2003-03-21 11:46:55 +00:00
nigel
82afd86ca5 New version, removed a few things from ToDo list 2003-03-21 10:07:54 +00:00
nigel
c106019389 Removed OpenGL relerences, updated description of windowed mode 2003-03-21 09:14:34 +00:00
nigel
f1a09b3155 Darwin-specific CD code. 2003-03-21 07:05:28 +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
nigel
f537fee92f When using CGIMAGEREF drawing strategy, allow any bit depth 2003-03-21 06:44:14 +00:00
nigel
762b76f565 Allow snapshot of window, no matter what the drawing strategy. Mention drawing strategy in benchmark results 2003-03-21 06:41:04 +00:00
nigel
3fe9f5701e Now supports all bit depth when in windowed mode
(but only when using CGIMAGEREF drawing strategy)
2003-03-21 06:29:28 +00:00
nigel
dea9029450 Use CGIMAGEREF as drawing strategy, and update comments explaining why 2003-03-21 06:14:22 +00:00
gbeauche
b48a5a3253 Detect x86-64 2003-03-20 13:49:49 +00:00
gbeauche
96ae75cd7e Optimize TEST[BWLQ]ir case where dest register is %rax
Add JCCSii and JCCii which directly takes the displacement value to encode
2003-03-19 17:06:22 +00:00
gbeauche
ecab19aa4e Emulate CMOV in the new code generator for processors that don't support
this intruction
2003-03-19 17:05:02 +00:00
gbeauche
06af072a40 Add missing wrappers of the new runtime-assembler primitives 2003-03-19 16:32:51 +00:00
gbeauche
a3b815366a Add facility to filter out some opcodes from the compfunctbl[] et al. 2003-03-19 16:28:23 +00:00
gbeauche
547bd6ab2c Fix MOVBrr 2003-03-19 16:25:12 +00:00
gbeauche
c4bf8e0695 Fix 0(%rbp,<reg>,1) operand encoding 2003-03-19 11:34:10 +00:00
gbeauche
da8d81509e Add new backend, disabled for until it's proofread and fully functional
Remove obsolete string-related instructions
2003-03-18 17:26:32 +00:00
gbeauche
5fb74e3592 Add sign/zero-extend instructions 2003-03-18 17:01:44 +00:00
gbeauche
29f636c2eb Fix _REXBmr(). Add CPUID. Some C++ compiler fixes. Make x86_emit_failure()
be void, and let x86_emit_failure0() be an int expression instead.
2003-03-18 16:28:23 +00:00
gbeauche
8271c0503e Add CMOV and BSF/BSR instructions 2003-03-18 13:12:56 +00:00
gbeauche
e07bfdbc8b Handle absolute and RIP addressing modes in x86-64 2003-03-18 10:08:16 +00:00
gbeauche
ce3d90ff5e clobber "cc" for flags, not "flags". Thanks Milan for noticing it. 2003-03-17 22:37:55 +00:00
gbeauche
08e9f936eb Add some SSE/SSE2 instructions 2003-03-17 17:18:24 +00:00
gbeauche
32e53e7b3b typo 2003-03-14 17:11:49 +00:00
gbeauche
9da9568525 Document current JIT options. 2003-03-14 17:10:47 +00:00
gbeauche
df97c3d02e JIT compiler is integrated but not yet the default for Linux/x86 and
FreeBSD/x86.
2003-03-14 17:10:19 +00:00
gbeauche
c2566295af Implement a generic setzflg_l() for P4, thus permitting to re-enable
translation of ADDX/SUBX/BCLR/BTST/BSET/BCHG instructions. i.e. make
it faster. ;-)
2003-03-13 20:34:34 +00:00
gbeauche
0cfa3126b3 Workaround change in flags handling for BSF instruction on Pentium 4.
i.e. currently disable translation of ADDX/SUBX/B<CHG,CLR,SET,TST> instructions
in that case. That is to say, better (much?) slower than inaccurate. :-(
2003-03-13 15:57:01 +00:00
gbeauche
a8e76deb69 Fix align_target with a padding of 0 bytes 2003-03-13 09:51:31 +00:00
nigel
bd29aa7a27 Mouse position fixes when in fullscreen mode. 2003-03-11 11:44:14 +00:00
nigel
029178546f Minor doco updates 2003-03-11 11:32:51 +00:00
nigel
8a62df5ae7 32bit defaults for windowed mode. 2003-03-11 11:31:56 +00:00
nigel
7726ef1b05 Simplified (and sped up) mouse movement processing when in fullscreen mode. 2003-03-11 11:31:01 +00:00
nigel
ef73063528 Corrected mouse co-ordinate processing after full screen resizing,
simplified mouse movement processing for full screen, added a few comments.
2003-03-11 11:27:20 +00:00
cebix
a69dcbb18f some cleanups 2003-02-06 19:24:09 +00:00
cebix
4bca966e18 added "install" target 2003-02-06 19:10:08 +00:00
gbeauche
45289042e6 Add some FPU instructions. Minor clean-ups. 2003-01-31 23:48:10 +00:00
gbeauche
ee7cea923a Add new run-time assembler derived from GNU lightning. It is suitable for
both i386 and x86-64 architectures. Still needs some work (see TODO) and
an actual glue to the JIT backend.

Original work is LGPL, but per section 3 of this license, I opt for GPL v2
for Basilisk II purposes.
2003-01-31 20:39:53 +00:00
cebix
26f5e92427 read_toc() dumps the entire TOC when DEBUG=1 2003-01-16 18:33:40 +00:00
nigel
f19f18175b Change MIN_HEIGHT, add new one for classic mode 2003-01-10 23:18:02 +00:00
nigel
a0a00b77f5 Corrections for 10.1 (which has a much older autoconf) 2003-01-10 23:16:47 +00:00
nigel
f7e84c7569 Updates for latest (though as yet unreleased) version 2003-01-10 23:12:37 +00:00
nigel
ca5f5e1b01 Make cpuemu[1-8].cpp if a for loop, a few minor corrections 2003-01-10 23:05:06 +00:00
nigel
5a9ec56a21 Extra methods for new Help menu items 2003-01-10 23:01:48 +00:00
nigel
25ea75ff32 Added a few notes on different compilation strategies 2003-01-10 23:00:43 +00:00
nigel
1527cac014 10.2 enhancements, eliminated some warnings, added alpha channel mask stuff 2002-12-19 10:40:40 +00:00
nigel
75e3b116a2 Corrected 10.2 problem, add 10.1 compile fix for newer configure.in 2002-12-18 12:13:28 +00:00
nigel
d94d399de8 Better comments about drawing strategies,
new define to specify using the alpha channel
2002-12-18 12:05:48 +00:00
nigel
b7d39be14d [[blah alloc] init] -> [blah new],
error checking when deleting volume files
2002-12-18 11:56:12 +00:00
nigel
3bc22a52d2 [[blah alloc] init] -> [blah new] 2002-12-18 11:54:17 +00:00
nigel
470adec0e6 Allow randomise to work with different drawing strategies 2002-12-18 11:53:11 +00:00
nigel
bfbeb17a96 [[blah alloc] init] becomes [blah new] 2002-12-18 11:50:12 +00:00
nigel
fc8a542d53 JIT 2002-12-18 11:33:37 +00:00
gbeauche
1477b501d1 Add changes from Brian Johnson:
- Update MIPSpro compiler flags
- Only define static variables if they are to be used
- Try to lock the pthreads mutex prior to unlocking/destroying it
2002-11-24 20:07:25 +00:00
gbeauche
3711aa4520 Update ASM_SYM_FOR_FUNC to match x86-64 too, may be useful later. 2002-11-16 15:38:53 +00:00
gbeauche
144e6f4e87 Use old x87 FPU stack on x86-64 too because we now use long doubles there for
better accuracy. Aka. prefer compatibility over speed.
2002-11-16 15:28:25 +00:00
gbeauche
bc5d7f9490 OPTIMIZED_FLAGS for x86-64 with the pushf/pop method since sahf/lahf are
invalid in long mode.
2002-11-05 11:59:12 +00:00
gbeauche
abaa9fb2cd Add configury for x86-64 2002-11-05 11:58:40 +00:00
gbeauche
862273a9d5 Updates to reflect recent cxmon 64bit changes 2002-11-05 10:33:06 +00:00
gbeauche
58b3aaba5b Get rid of CPU_* defines as nobody actually used them and are useless 2002-11-05 10:32:42 +00:00
gbeauche
3bf7843db1 x86-64 can do unaligned accesses 2002-11-05 10:32:05 +00:00
gbeauche
0a201217bf Remove obsolete CFLOW_* constants but keep cpuop_{begin,end} for an
inline-threaded core.
2002-11-02 18:13:29 +00:00
gbeauche
2cda26edae Fix buffer overflow reported by Aranym people 2002-11-02 17:23:20 +00:00
nigel
45b2765c21 Eliminate compile warning 2002-10-31 08:54:21 +00:00
nigel
c8218bbb11 SOme 10.2 compile fixes 2002-10-31 08:52:59 +00:00
nigel
6a0f9df867 Fixes for compiling on 10.2 2002-10-29 14:28:52 +00:00
nigel
c68df84838 Eliminate warning 2002-10-29 14:27:00 +00:00
nigel
9745e40ddb Correct path for some Unix files 2002-10-29 14:26:26 +00:00
nigel
954ee59832 Now generated by autoheader 2002-10-29 14:23:31 +00:00
nigel
9791c82ce4 Added Id, overwrite existing symlinks, run autoheader 2002-10-29 14:18:22 +00:00
nigel
0af0f74ea3 Added rules to generate MacOSX archive 2002-10-28 10:56:23 +00:00
nigel
a591d0e0cb Added info about documentation 2002-10-22 12:11:45 +00:00
nigel
5f755a4baa Add include to eliminate warning 2002-10-22 12:10:18 +00:00
nigel
47e9fe084c Corrected dependency for non-ide building
(makefile was not generating cpuemu*.cpp)
2002-10-22 12:09:17 +00:00
cebix
466fc971f6 Unix: new prefs options "dsp" and "mixer" to set the OSS device names instead
of the hardcoded '/dev/dsp' and '/dev/mixer'
2002-10-15 16:25:04 +00:00
gbeauche
2cb7e02c9e Some instructions assume offsets are only 1-byte long. I don't think this
is 100% correct. Therefore, insert some asserts so that would fail.
2002-10-13 11:14:24 +00:00
gbeauche
aa6b264d21 Add raw_emit_nop_filler() with more efficient no-op fillers stolen from
GNU binutils 2.12.90.0.15. Speed bump is marginal (less than 6%). Make it
default though, that's conditionalized by tune_nop_fillers constant.
2002-10-12 16:27:13 +00:00
nigel
7914fdc677 Incorporate several changes from latest Unix version of file 2002-10-06 23:29:59 +00:00
nigel
ce0bca286f Change required for GCC 3.1 (stdc++ library needed in C++ program link),
general tidy-up (now use G++ to compile several files at once for gencpu)
2002-10-06 23:28:58 +00:00
nigel
162cc94bcd Newer prototype required by GCC 3.1 2002-10-06 23:26:07 +00:00
nigel
dd6025502d MacOS 10.2 compatibility (diffeent config.sub & config.guess location),
argument processing (like Unix autogen.sh)
2002-10-06 23:23:10 +00:00
gbeauche
8bf60db5ee Real addressing mode also works on Linux/ppc. Uhoh, what was the initial
problem anyway?
2002-10-03 19:57:12 +00:00
gbeauche
78ac3e667f Don't forget to note CPU detection code mostly comes from Linux kernel. 2002-10-03 16:16:57 +00:00
gbeauche
d4ed937de6 JIT add copyright notices just to notify people that's real derivative
work from GPL code (UAE-JIT). Additions and improvements are from B2
developers.
2002-10-03 16:13:46 +00:00
gbeauche
ff85d804d0 Real addressing is reported to work on FreeBSD/i386 too 2002-10-03 15:50:13 +00:00
gbeauche
177cdee820 configure script is reportedly no longer crashing on FreeBSD when
SIGSEGV_SKIP_INSTRUCTION is set.
2002-10-03 15:49:14 +00:00
gbeauche
3efbc30695 B2 maintainer for FreeBSD reported <sys/soundcard.h> is the one to use in all
recent versions of FreeBSD.
2002-10-03 15:47:59 +00:00
gbeauche
8de7ad1091 - Turn on runtime detection of loop and jump alignment as Aranym people
reported they got some improvement with it and larger loops. Small
  loops are an issue for now until unrolling is implemented for DBcc.
- Const jumps are identified in readcpu. I don't want to duplicate code
  uselessly. Rather, it's the JIT job to know whether we are doing block
  inlining and un-marking those instructions as end-of-block.
2002-10-03 15:05:01 +00:00
gbeauche
a60c6da7c3 Turn on block inlining so that people could test this feature and report
if they do gain something or renders JIT less stable.
2002-10-03 15:01:53 +00:00
gbeauche
724516511a Do translate BSR.L, we don't have any issue with that even if we are
doing block inlining since we have a complete chain of information about
the blocks to checksum.
2002-10-03 14:59:35 +00:00
gbeauche
e11dd3d375 Do translate FMUL instructions, the core needs to be fixed and this is
not translation of that instruction. I believe this is related to some
misgeneration of FPU core sequence and allocation of FP registers?
2002-10-03 14:58:02 +00:00
gbeauche
e9584dbcc1 Add PROFILE_UNTRANSLATED_INSNS information. Interestingly, the following
are the bottleneck now: DIVS, BSR.L (why isn't it translated yet?),
bit-field instructions (I need to self-motivate enough for that), and
A-Traps.
2002-10-02 16:22:51 +00:00