--- uae/src/ChangeLog 2018/04/24 16:39:47 1.1.1.3 +++ uae/src/ChangeLog 2018/04/24 17:01:40 1.1.1.18 @@ -1,16 +1,540 @@ -980508 Fix compilation problem on ELF systems introduced by BSD patches. - configure.in, aclocal.m4, Makefile.in: Use AM_PATH_GTK from gtk - distribution. - Don't disable GGI if we can't find svgalib. -980504 xwin.c: Call XAllocColorCells for dithered modes. Don't set image_mem +9B1121 Mini-merge of noncontroversial WinUAE filesys.c code. + Add harddisk page to gtkui. Also change gui behaviour to wait for + the user to unpause before starting the emulator. + Add Toni's drive-led display. + Fixed a rather amazing source of crashes (we could fail to notice + the end of the frame in some cases). + Default to scanline mode. + Some tweaks to the SDL driver and the Win32 gui, mostly buffer-size + related. + Moved C source files back from tools directory (but still build them + there) to preserve my CVS history. +9B1119 Move all the build tools (gencpu, cpuopti etc.) into their own + directory which is configured separately. This was necessary to + avoid picking up SDL CFLAGS (which can #define main to _SDL_main, and + that breaks if you don't link with SDL), and to make cross-compiling + at least a little more likely. + Remove sanity check for SDL header file - rely on sdl-config getting + things right (not that we have much choice). + Move thread support code past sound code in configure, and make sure + that SDL sound enables threads. + Move sername into options structure. + Check for existance of isinf/isnan before using them. + Rather large WinUAE merge - this tree compiles again under Windows. + Most of the additional features are missing though. +9B1118 Restore code to mirror banks for 24 bit address space which got lost + when all the JIT memory changes were put in. + Speed up the CPU time calibration code. + Fix the broken file selector handling in the gtk ui. Add kickstart + selector. + Don't call XCloseDisplay, it apparently leads to crashes. + Try to solve the "missing write_log" problem in a sane way. + SDL joystick support. + When configure detects win32, use fsdb_win32 rather than fsdb_unix. +9B1117 Proper masking for DDFSTOP; proper handling of AUDLEN == 0, changed + delayoffset code, gencpu BFINS fix, and lots of disk updates (all + Toni). + Some additional regs for move2c/movec2 (also by Toni IIRC) +9B1115 COLOR_READ typo fix (Toni). +9B1024 Filesystem reset leak fixes (Brian) + Allocate enough memory for custom state saving. + bploff renamed to bpl_off. + AGA copper cycle diagram (Toni) + Disable disk_data_used optimization. +9B0926 Delayed palette setting for Picasso modes. Also fixed problem with + palette setting in CLUT emulation - we need to redraw the entire + screen if that happens. +9B0921 Miscellaneous small bugfixes. Delete some obsolete code. +9B0907 Beginnings of SDL support. Exterminated some penguins. +9B0825 Some xwin.c fixes from Maik Qualmann. +9B0730 Some sprite state machine tweaks. Fix sprite vs. DIW comparison. + HAM linebuffer was too small by half - oops. + Make absolutely, positively sure that when hsync_handler calls + sync_copper_with_cpu, we don't take any invalid shortcuts. + Memory management changes for JIT (Bernie [2], mostly). +9B0729 Silly mistake - need to call flush_plane_data unless plfleft is + -1, even if no planes were enabled. +9B0728 Small hack to reduce the time we lose with unnecessary + disk_doupdate_read calls. + Avoid calling flush_plane_data if we have no bitplanes enabled. + Tweak the SPCFLAG_INT handling to make "Delirium" demo work. + Limit rate of DDF warning messages. + Adjust display parameters so that things are shifted to the left + even more. + Fix (hopefully) CIA & blitter saving code. +9B0727 Copper code reorganized; speedup code rewritten. Can now be + enabled with a GUI setting. + Fixed the delayoffset stuff. +9B0725 AGA sprites, and some patches to sprite/playfield collision code, + mostly by Toni. + Fixed a small sprite restore problem; added missing code to map + fastmem banks when restoring them. + Some more state saving updates from Toni. +9B0724 Fix a nasty bug in the copper SKIP instruction introduced by recent + changes. + Update the FAST_COPPER code. Not quite enabled yet. + More work on the memory configuration stuff. + Fix CPU type writeout in cfgfile.c (taken from WinUAE source). + Move the WOC demo BPLCON0 fix to compute_toscr_delay (Toni). + Added Toni's new disk patches, which include HD disk support by + Adil Temel. + Rewrote the memory and audio save/restore code. + Mask DDFSTOP with 0xFE, not 0xFC. +9B0723 Yet another new and correct copper state machine (this time for sure) + Fix some AGA problems in DDF speedup code. + In gencpu.c, branch insns return a hardcoded cycle count; this had + not been updated for the CYCLE_UNIT stuff. Fixed. + xwin.c: If mouse is grabbed, we don't need mousehack. + Don't clear audio state if produce_sound == 0; this causes problems + if we want to turn the sound back on. + If an audio channel had a period of PERIOD_MAX, allow AUDxPER to + set its evtime back to a reasonable value. + Massive cleanup of memory initialization code; it will now use changed + prefs on reset. Added some memory options to gtkui.c. + Added Toni's state saving code, then added gtkui options and code to + initiate saving/restoring. +9B0722 filesys.c: Fix writeout of hardfile params (Bernie [2]) + Add an A1000 Kickstart disk loader (Gerald Schnabel). Got rid of + the automount_uaedev code; we can detect the Kickstart version and + do the right thing. + Deleted a few unused variables (Toni) + Avoid aborting in decode_ham if Amiga code turns on the HAM bit but + has too few bitplanes (found by Toni). + Make the dummy mem bank return other values than 0; helps some + stupid memory detection code. + Implemented a little exec task lister for the debugger. + Added new debugger commands from Mark Cox. Improved his copper list + debugger by adding recorded timing information to it. + MOVE16 fixes from Gwenole Beauchesne. + xBCD fixes by Maik Qualmann, with some additional flag fixes by myself + (ABCD & SBCD behave exactly like on a 68000 now; dunno about NBCD). +9B0520 AGA bscan2 fixes and disk.c kickstart speedup fixes from Toni. + Remove bogus changes I made to one of Toni's earlier disk.c updates. + Call RethinkICRA/B from INTREQ (suggested by Toni). + Properly save mixed_stereo setting. + NEGX uses X and Z (Bernd Roesch). + Danish keyboard support (Jesper Bojesen). +9B0311 Repair "emulated but no output" sound setting. +9B0310 Fix massive bug introduced in do_cycles_slow with the rescaling + changes. + CLXCON logic updated for AGA (Toni). Change meaning of collision_level + and add support for it in cfgfile.c. +9B0309 Fix problem where a fsdb file could prevent deletion of otherwise + empty directory discovered by Torsten Enderling. + Rescale return values of CPU emulator functions. +9B0225 Undo parts of the audio changes that made the "accurate" setting the + default. +9B0221 Make fsdb_unix compile again. +9B0219 Fix ddf for cases where start isn't aligned to fetchunit. + Fix some problems with the sound code going into infinite loops or + crashing. + Try to re-add Toni's ddf delay fixes properly. + Added a fix from Krister Walfridsson for X11 SHM code. + Rename OBJECT_NOT_FOUND to OBJECT_NOT_AROUND (not sure why, but the + win32 port does this; Fellow picked it up as well...) + Give in and allocate ainos with xcalloc. + Import fsdb_win32 code from Fellow. + Some tidyup and fixes in fsdb code. + Lose the lastdiv10 variable, and update CIA timers when reading them + (mostly by Bernie [2] Meyer) + Move reset_uaedevices and get_new_device to filesys.c. Add extra + parameter to get_new_device. +9B0213 Fix mouse pointer jumping bug in X11 code (Ralf Hoffmann) + Scaled event handling by a factor of 512. This allows more accurate + sound output frequencies, as well as more fine grained CPU speed + settings. + Implemented totally untested emulator side AHI support. +9B0211 Partially reverted changes made to the audio event code in 0.8.0. + Implemented "mixed" stereo. +9B0210 Fixed invisible sprite bug - sprite_width got a new meaning, and not + everything had been updated. +9B0121 cycles => get_cycles () (from Bernie [2] Meyer's JIT patchkit) +9B0120 Final bugfix in speedup code (plfleft got set too early). +9B0118 Fixed SPEEDUP code for AGA. Speedup now starts when fetch_state is + fetched_plane0. +9B0115 First batch of AGA playfield changes (Toni & myself). +9B0110 Small fix for the m68k_run macro (Bernie [2] Meyer) +9B0109 Use ntscmode from prefs structure (Dwayne C. Litzenberger) + Some 040 FPU fixes (Bernie [2] Meyer) + Delay DSKREADY a while; fix other small disk bugs (Toni Wilen) +9A0902 F0FF10 is now a puts () calltrap. +9A0830 Add some missing initializations in filesys.c, thanks to debugging by + Harald Frank. +9A0827 Fix a crash with framerate != 1. + Don't allow programs to see left & right or top & bottom simultaneously + with the keyboard joystick replacements. (Gee, games on the CPC and on + the Amiga actually have something in common - some of them crash when + the joystick is pushed in too many directions at the same time...) +9A0825 Put in the new sprite code. This has existed for many months but + I've only now found the final bugs. + New version of Bernd Meyer's special_mem code. Also add his + set_special/unset_special code, the noflags changes for gencpu, + and a fix for cpuopti's string matching. + Tiny clarification in table68k. + Add 68040 support from Basilisk. + readcpu.h is now included from newcpu.h. +9A0824 Rather massive overhaul of the DDF code. Many other timing fixes + (copper state machine mostly) (Sam Jordan and myself) + Get rid of stupid optimizations in color recording. + Synchronize CPU and copper in custom_wget. +9A0816 Introduce variable "special_mem", set it in each memory handler + that doesn't work on real memory (Bernd Meyer). +9A0815 Fix a really stupid bug in cfgfile_strval. + Nonfunctional support for switching between windowed/fullscreen modes + in gtkui. + Add (semi-broken) support in the debugger to create a trace logfile. + Take out most port-specific flags handling; x86 version kept with + slight name changes to indicate that this is code is suitable for + other ports as well. Took out HAVE_GAS while I was in configure. +9A0811 Fix the line doubling slowdown. +9A0809 Software autofire. + Remove one line from Makefile.in in the hope it will fix the build + errors people are seeing. +9A0807 Tighten up some minor aspects of spcflags handling. + Fix an AGA bug in customreset. + Set default CPU speed to approximate a A500. Tweak gencpu so that the + timings for this are more accurate. + Ignore T0 bit if not emulating a 68020. + Add an option to set the number of emulated floppy drives. + Improve the mfmcode function a bit. Faster and more accurate. + More SCSI patches from Patrick. + Add gui_data structure from WinUAE. Turn on gui leds again. +9A0725 Fix incorrect define of m68k_run for non-x86 systems (could have + sworn I already fixed that). +9A0723 Some SCSI patches by Patrick Ohly (which I got two months ago... oops) + Filesystem fixes from Brian. + AGA updates from Toni. +9A0627 Apydia loader fixes from Toni. +9A0611 Fix bug in filesys.c causing in-use ainos to get discarded. Thanks + to Brian for the analysis. +9A0608 Added some disk.c changes from Toni and a crude hack of my own to + speed up disk accesses done by the Kickstart. +9A0330 Change blitter not to translate memory addresses to native. Had to + disable 32 bit blits. + Floppy code changes (Toni Wilen) + Delete GGI port. + Fix toggle_inhibit_frame (Brian). +9A0228 Some WARPUP fixes, and changes to accomodate broken Amiga gzip (Sam + Jordan). +9A0221 Tweak POTGO a bit. Seems to work with BC Kid now. +9A0220 Fix off-by-one errors in expansion.c (Toni Wilen). + Remove AGA checks in DDFSTRT/DDFSTOP (Toni Wilen). + Turn off/restrict some warning messages. +9A0209 Fix some problems where the blitter nasty flag wouldn't ever get reset. + cia.c: Set all parallel port related bits to 1 when reading. +9A0208 gencpu.c: Fix saved PC for division by zero exception (found by Sam + Jordan). +9A0131 update_copper: Mask until_hpos properly. + Delay values are masked to 3 bit in hires mode (Sam Jordan). +9A0102 Only delay horizontal copper wait if vertical position matches exactly. + Tweak vblank end position for sprites. + Calculate playfield borders more accurately for case where we have + sprites. +9A0101 Reintroduce ev_copper; use it sparingly for longer waits within a + single line (but _not_ to time reads). + Fix a dumb bug in yesterday's changes that screwed up scrolling. +991231 drawing.c: Cruftectomy. genp2c.c: Gone. X86.S: mostly gone. +991229 Always use NTSC vblank_lastline for sprite purposes. + Make sprite logic recognize vertical stop even if vertical start has + not been reached (found by Sam Jordan). + Prevent move2c/movec2 instructions from incrementing the PC if they + raise an illegal instruction exception (found by Toni Wilen). +991212 ncurses port compiles again. + Disable serial interrupts in custom.c; they break things. +991208 Add a missing decide_line call in update_copper_1. +991206 Fix copper emulation to use state machine figured out by Sam Jordan. +991205 Fix event table corruption in disksync_handler. +991113 gencpu.c: Fix a problem with BTST. +991110 fpp.c: Initial set of changes merging code from Lauri Pesonen. +991024 Add missing type in m68k_run1. + Divisions by zero clear overflow bit. +991023 Fix compilation problem for ! HAVE_STEREO_SUPPORT. +991022 Rewrite disk read code to transfer some DMA words every raster line. + fpp_movem_index1 and fpp_movem_index2 were reversed (Brian King, Sam + Jordan). + Fix accuracy of fpp fix insns (Sam Jordan). + Allow ports to define their own FP 68881/host conversion functions (Sam + Jordan). + Get rid of all the HAVE_GET_WORD_UNSWAPPED code. + Fix prefetch for insn opcodes (Sam Jordan). + Fix call insn syntax in X86.S. + Tidy up sound interpolation support. + Readd old command line arg parsing. + Change "long unsigned int" to "unsigned long" in a couple of places. + Use Sam's version of the filesys.c fixes (action_parent_fh, + action_change_mode). + Fix a place in disk.c where a mfm buffer was zeroed instead of 0xaa'ed + (Sam Jordan). +991006 CPU emulator fixes by Christian Bauer + tui.c compilation fixes by Christof Petig. + Fix operand in one insn in X86.S (Brian). + zfile.c fix for filenames with embedded spaces (Ingo Ruhnke). + linux-ppc configury patch (Holger Jakob). + s,static __inline__,STATIC_INLINE, (Sam Jordan). + cfgfile.c: Don't use "t" modifier in fopen (Sam Jordan). + serial.c: Don't close file if fd < 0 (Sam Jordan). + filesys.c: Open files on readonly devices with O_RDONLY (Sam Jordan). + Fix bugs in parent_fh and change_mode actions (Sam Jordan). + WARPUP patch (Sam Jordan). +990621 Initial version of Richard Hoffmann's sound interpolation patches. + Fix a crash in action_set_comment. + De-inline 68k trace code. +990508 Fix rdtsc asm statement to show that edx is clobbered. + gtkui.c: Add pause button (Patrick Ohly) + configure.in: Check for -mpreferred-stack-boundary compiler option + and use it if found to set a sane value. +990429 X11 patches by Patrick Ohly. + Filesystem code extended to keep a simple database with information + about each file that is not representable on the host FS, such as + script/pure bits or filenotes. +990417 Bits and pieces merged from the Win32 port; mostly options stuff. Got + rid of getopt; added chipset options to prefs structure. +990411 Patches by Patrick Ohly: SCSI support and timehack tool. +990410 Applied easy parts of Toni's latest AGA patches. +990315 Attempts to fix Picasso crashes in SVGAlib version. +990216 picasso96.c: Some optimizations. + cfgfile.c: Save target specific options. Allow simple/smart choice + for centering options. Delete mount_data junk, substitute immediately. + Whitespace handling fixes. Fix config_description typo. + m68k flag handling redone. +990212 Implement rotate instructions without loops. Some other m68k + optimizations. + Some configure.in fixes. +990122 gtkui.c: Fixes for gtk 1.1.13. +990113 genp2c.c: Don't include custom.h. +990109 Some fixes in cfgfile.c. Make svga.c compile again. +981229 Miscellaneous fixes in the new config file stuff. + In config files, allow 68ec020 as CPU type, and get rid of 24 bit + addressing option. + Make the get_disp_ea non-inline. + SGI sound support (Ari Heikkinen). + More updates by Brian: + audio.c: Handle frequency, too, when changing sound prefs. Do some + work in update_audio even if not generating sound output. + filesys.c: Request 50 buffers in our parampacket. + Assorted right control key fixes. + Some updates in od-win32 (not nearly done...) +981228 Config file and option handling redone; based on work by Brian. + Rename UAEn: devices to DHn: (Brian). + filesys.c: Implement ACTION_CHANGE_MODE, ACTION_PARENT_FH; add support + for variable hardfile blocksizes (Brian). + Some Picasso96 updates (Brian). +981226 Win32 fsusage.c fixes; zfile bug fix; gui_fps addition (Brian). +981221 Fix gtkui to work with newer versions of gtk. + Fix gencpu so that FPU emulation doesn't crash when unswapped word reads + are available. +981129 gencpu.c: Delete all the queue_amode stuff again. + xwin.c: Allow switching between DGA and window mode (Marcus Sundberg). + DGA seems broken in X 3.3.3, however :( +981011 Teach cpuopti.c about epilogues that increment esp by popping. +980930 Add BSD socket code (Mathias Ortmann). +980923 filesys.c: Implement FH_FROM_LOCK (Brian King) +980823 xwin.c: French keyboard patch (Raphaël Poss). +980810 Fix RDTSC detection (Raphaël Poss). + newcpu.c: Patch by Brian King to display what kind of CPU table is + built. +980716 More AGA patches: use new macro GET_PLANES to calculate number of + bitplanes from BPLCON0; adapt the copper code; add BPLPT[HL][78] and + BPLDAT[78] (Toni Wilen) +980715 Change sd-uss/sound.c not to keep a file open in setup_sound, to + support reconfiguration. +980713 Fix m68k detection in configure.in. Clear execbase after allocating + chipmem (Holger Jakob) + od-dos update, tui.c patches (Gustavo Goedert) + Get rid of --enable-sound, always enable sound. + Make svga.c compilable. +980712 md-ppc-gcc patches (Holger Jakob) +980707 gtk ui: Better CPU speed selection. + Move initializations from add_filesys_unit to set_filesys_unit. +980706 AGA patches by Toni Wilen: Call calcdiw when changing fmode; fix + references to bplcon variables to go through dp_for_drawing; ifdef out + some code that's too hard to fix for now. + "Fix" the AGA color code. In pfield_linetoscr_aga, add lframe_end and + diw_end parameters and use them. Add some fill_line code for AGA. Make + sure no code touches acolors if [AGA_CHIPSET != 0] + New function finish_line_aga. +980705 drawing.c/custom.c: Get rid of line_changed, replace with a single + variable thisline_changed. Pass it to hsync_record_line_state and + evaluate it there. Get rid of BORDER_PREV and BORDER_NEXT states; + add LINE_BLACK/LINE_REMEMBERED_AS_BLACK to implement scanlines option. + Remove code in pfield_draw_line that checks line_changed. +980702 filesys.c: New function move_filesys_unit. + Win32 GUI fixes. +980701 gtk UI beautification and code cleanup (Michael Krause) + Beginning to make audio code run-time configurable (mostly by Michael + Krause) + Fix off-by-one errors in memory check handlers (Jake Hamby) + configure: Add AM_CYGWIN32, AM_EXEEXT and AM_MINGW32 and fix some Win32 + configuration problems. + genp2c: Fix symbol name braindamage. + md-i386-{gcc,watcom}.c: Don't do machdep_init when [_WIN32]. + Many Win32 compilation fixes. + filesys.c: Attempt to fix the mount code chaos. +980629 MOVEP bug fixes (Philippe Gerin) + Comment out code using readdir_r again. +980628 gencpu.c: Generate an end label only when it's needed. + configure.in: Check for windows.h, ddraw.h, sys/utime.h; check sizeof + __int64; check whether a small DirectX program compiles; check for + Watcom C; don't do GNOME_FILEUTILS_CHECKS when compiling on Win32 + without GNU C; use AC_EGREP_CPP in some places instead of compiling a + file by hand; check for GAS .p2align feature; check for USE_UNDERSCORE + with a small test program; add code to set up od-win32/md-i386-watcom + directories when appropriate. + genp2c.c: Use GAS .p2align feature; don't generate .type directive. + Rename md-*/memory.h to md-*/maccess.h. + More fixes in Win32 code. + Add wcc.sh and wrc.sh, two scripts to make it possible to use the + Watcom C compiler and the resource compiler in a Cygwin32 build + environment. +980626 Change zfile.c not to use fopen_del. +980614 Delete ihf_sem stuff. + picasso_refresh now nonstatic and called by check_picasso after a + notice_screen_contents_lost call. + More functions to access filesystem mount information. + More Win32 code. +980613 Use an AC_TRY_LINK block to check for libpthread. +980611 Rename lockscr/unlockscr to gfx_{lock,unlock}_picasso and add new + functions lockscr/unlockscr which are now called by drawing.c. + xwin.c: Clear picasso_invalid_lines in graphics_subinit and when + doing an XPutImage for a refresh. + New function reset_all_systems, which is a bit misnamed at the moment + because it only resets the filesystem. Called from m68k_go when a + reset is needed. + In filesys_prepare_reset, examine unit_pipe instead of self to + determine whether a unit has a thread that needs to be killed. Move + the reset_state and reset_sync_sem variable to UnitInfo so they are + available at all times. + Don't need to call finish_drawing_frame if we do a reset, it was + done a couple of lines earlier. + In uae_reset, do nothing if any reset or quit operations are in + progress. + Make DMACONR static. +980609 Add memory size fields in struct uae_prefs. New variables + allocated_xxxmem for every block of memory that holds the actual + amount currently allocated, copied from the preferences at allocation + time. + Create a new structure "uaedev_mount_info" to hold filesystem mount + information. Add a pointer to one of those in struct uae_options, + and copy it from currprefs to a filesystem private place when + starting the filesystem threads to a work area. + Terminate filesystem threads during a reset, and restart the whole + filesystem code afterwards so that prefs changes are noticed. +980608 If check_prefs_changed_gfx returns nonzero, or if we switch from/to + picasso mode, call notice_new_xcolors and notice_screen_contents_lost. + Delete the frame_do_semup crap. +980606 Create config.h link in configure, not in Makefile. +980604 xwin.c: No longer need picasso_max[wh]. Improve picasso invalid lines + code a bit more. Fix some dithering bugs. + gtkui.c (add_checkbox_widget, add_radio_widget): New helper functions. + Patches by Marcus Sundberg: + Make X11 picasso clut emulation mode work in DGA + gfxutil.c (setup_dither): Free redvals. +980602 Split out init_aspect_maps from reset_drawing. + Call check_prefs_changed_gfx from vsync_handle_redraw, and initialize + row and aspect maps if it returns nonzero. + Use an enum instead of integer values to communicate between + hsync_handler and hsync_record_line_state. + gtkui.c: Use gtk_window_set_title (Marcus Sundberg) + xwin.h: Add lockscr/unlockscr prototypes. +980601 Move check_prefs_changed_xxx into vsync_handle_redraw. + Make ersatz.c a little more crash-proof. +980531 New graphics specs 'a' and 'p'. Support them in the X11 version. +980530 sysdeps.h, posixemu.c: Change (char *) to (const char *) in the + arguments of some of the posixemu functions. + sysdeps.h: Delete getopt declaration. Include "getopt.h" in main.c. + aclocal.m4: add fsusage.c support from Gnome. + fsusage.[ch]: New files from fileutils, slightly modified to fit + into UAE and to add Win32 support. Adapt do_info filesys.c to use + it, and delete all the old cruft. + Some updates for the Win32 port. +980529 Patches for X11 version by Marcus Sundberg (Picasso invalid lines + optimization, XShm availability check, cleanup, etc.) +980528 Add field emergmem to struct vidbuf_description, and change + pfield_draw_line to use it. +980516 Patches by Samuel Devulder and Holger Jakob: update Amiga port, + add support for compiling cpuemu.c in seveal steps again, add + cheatsearch in the debugger. +980515 GGI patches (Christian Schmitt). + sd-mme: New directory (Marcus Sundberg). + Changes in the X11 version to support mixed DGA/normal binaries, + hotkeys, and mouse grabbing (Marcus Sundberg) + xwin.c: Copy a bit of code from Win32 port that constrains + lastmx/lastmy to real coordinates when ievent_alive. +980510 gencpu.c: Slightly better flag generation code. + picasso96.c (wgfx_flushline): Don't do anything if Picasso screen + is invisible. +980508 Don't disable GGI if we can't find svgalib. + newcpu.[ch], gencpu.c, md-i386-gcc/memory.h: Implement unswapped + word reads for opcodes. +980505 drawing.c: add missing #ifdef X86_ASSEMBLY. +980504 More BSD fixes from Krister. + xwin.c: Call XAllocColorCells for dithered modes. Don't set image_mem in get_image, instead arrange for it to store the address in a pointer chosen by the caller. - BSD patches by Krister Walfridsson. -980425 picasso96.c: In BlitPattern, correctly handle the pattern offsets. -980421 BeOS update (Christian Bauer) -980419 In pfield_doline_unaligned_h, don't increment dataptr. + picasso96.h: Add a clut array to picasso_vidinfo. + picasso96.c (do_fillrect, do_blit): Use picasso_vidinfo.pixbytes + instead of picasso96_state.BytesPerPixel where appropriate. + (do_fillrect, do_blit, wgfx_do_flushline): Handle the case when the + Amiga-side buffer is a 256 color palette mode and the native buffer + is truecolor by looking up colors in the new picasso_vidinfo.clut. + xwin.c: Adapt to support emulating a palette display in truecolor. + Make tui.c compile. +980501 picasso96.c: Make sure there's an unlockscr for every lockscr call. + In SetColorArray, detect when no colors changed. + configure.in, aclocal.m4, Makefile.in: Use AM_PATH_GTK from gtk + distribution. + New field rgbformat in picasso_vidinfo. Set it in xwin.c and svga.c. + custom.c (mousehack_helper): Use Picasso screen offsets correctly. +980427 Call decide_line in DIWSTOP. Implement DIWHIGH register. +980426 filesys.c (get_nname): Don't allow Unix "." and ".." directories. + gencpu.c: Approximate the number of cycles per instruction. Make + generated functions return that number, and use it in newcpu.c in + the do_cycles call. + custom.c, drawing.c: init_hardware_for_drawing_frame must be + called from init_drawing_frame. + Move read_processor_time specific stuff to new file md-xxx/rpt.h. + md-i386-gcc/support.c: Try to detect whether the CPU has RDTSC. + newcpu.c: m68k_speed == 0 means approximate A500 speed; + m68k-speed == -1 means use frame rate hack when available. Some + changes to support this. +980425 custom.c: New copper code. Unfortunately not much faster than the + old one. + Get rid of some unused variables throughout. + filesys.c: Use readdir_r when available. + picasso96.c: In BlitPattern, correctly handle the pattern offsets. + missing.c: Get rid of getopt. Add GNU getopt instead. + In SPRxPTH, SPRxPTL, call decide_sprites instead of decide_line. +980421 custom.c: Add an extra argument, hpos, to plenty of functions, and + use it instead of calling current_hpos. +980420 BeOS update (Christian Bauer). + When enabling additional planes in post_decide_line, update + thisline_decision.bplcon0. + Tweak copper timings. +980419 Extend post_decide_line to handle cases where some planes are + enabled much later in the line than the others. + In pfield_doline_unaligned_h, don't increment dataptr. + Split custom.c, move drawing code to new file drawing.c. New header + file drawing.h for declarations of shared stuff. + osemu.h: Delete junk. 980418 gtkui.c: Don't crash if -G option is given. + audio.c, custom.c: Don't use the generic event handling mechanism + for audio emulation, the overhead is too high. update_audio: New + function, handles audio updates "on demand" or every hsync (Idea by + Petter Schau). +980417 Some cleanups in custom.c to make splitting it up easier. 980416 custom.c: Don't use bplhires in do_modulos. +980415 readdisk.c: Support FFS (Jim Cooper). + BSD patches by Krister Walfridsson. + configure.in, Makefile.in: More fixes for build != source directory. + Arrange to build p2c_x86.o when using md-i386-gcc. + sysdeps.h: Include limits.h. + Remove silly code that restricted possible version numbers. +980320 configure.in: Check for vprintf. + Make write_log a varargs function. Provide a write_log_standard + function that is used by most systems. + Refuse to compile with non-ANSI compilers. + gencpu.c: Rearrange some of the generated code to reduce register + pressure. Release 0.7.0 980401 gengenblitter.c: Complete rewrite. Much smaller, much faster, much