forked from dosemu2/dosemu2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ChangeLog
8212 lines (6186 loc) · 285 KB
/
ChangeLog
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
2008-03-27 Bart
* [r1853] ChangeLog, NEWS:
DOSEMU 1.4.0.1
* [r1852] configure, configure.ac, src/commands/Makefile,
src/plugin/commands/Makefile:
Fix 64-bit compilation on 32-bit systems and vice versa.
* [r1851] src/base/bios/hlt.c, src/dosext/mfs/mfs.c,
src/plugin/kbd_unicode/keyb_raw.c:
Fix more gcc warnings for 64-bit compilation.
* [r1850] src/base/bios/int10.c, src/plugin/term/terminal.c:
Cleaner fix for terminal memory map race.
2008-03-26 Bart
* [r1849] VERSION:
DOSEMU 1.4.0.1
* [r1848] Makefile:
Remove configure.lineno on distclean.
* [r1847] src/base/init/lexer.l.in:
Avoid gcc-4.3 warning about unused input function in lexer.
* [r1846] src/base/bios/int10.c, src/plugin/term/terminal.c:
Add a call to video->update_screen to int10/ah=0 modesets to make
sure the terminal is initialized. Fixes a race (though it should be
done more cleanly).
2008-03-25 Bart
* [r1845] src/arch/linux/dosext/sound/midid/timid.c,
src/plugin/midimisc/mid_o_tmdty.c:
In timidity plugin and midid code: use socketpair as a bidirectional
pipe: older versions (current as of 2008 :( ) of timidity write to
stdin and we can catch that to avoid waiting 3 seconds at select at
DOSEMU startup.
2008-03-21 Bart
* [r1844] src/dosext/mfs/lfn.c:
Add missing "return" for LFN findnext error. Fixes #1801411: Running
File Wizard crashes DOSEMU 1.4.0.0.
* [r1843] src/plugin/term/keyb_slang.c, src/plugin/term/terminal.c:
Added some diagnostics to check for UTF-8 terminal mismatches;
"fixes" bug #1729556.
2008-03-18 Bart
* [r1842] src/emu-i386/simx86/trees.c:
Try to fix #1910153 again: we need to round to PAGE_SIZE for the loop
termination test because of backwards jumps and NOJUMPS.
* [r1841] src/emu-i386/simx86/codegen-sim.c:
SF-Patch #1683073: handle 16bit address overflow in string
instructions. Fixes overflow in the simulator of cpu-emu. Adjusted
from Michael Karcher's patch.
2008-03-17 Bart
* [r1840] src/emu-i386/simx86/trees.c:
Bail out of node-to-invalidate check loop for the sorted list once
the base (instead of the PC-beginning of the block) is past the
affected address. Really fixes #1910153: SkyRoads failure: JIT fails
some self-modifying code (Michael Karcher).
2008-03-16 Bart
* [r1839] src/emu-i386/simx86/trees.h:
Fix #1910153 SkyRoads failure: JIT fails some self-modifying code.
The dnpc field needs to be signed because it can be negative and is
compared to negative "int"s in BreakNode.
2008-03-11 Bart
* [r1838] src/emu-i386/simx86/sigsegv.c:
Patch #1910535, Michael Karcher: fix for "e_vgaemu_fault corrupts
eip/rip"
* [r1837] src/env/video/vgaemu.c:
In Super-VGA modes, do *not* wrap memory at 256k. SF patch #1910415,
Michael Karcher; fixes bug #1806787.
2008-02-18 Stas
* [r1836] src/base/dev/dma/dmanew.c, src/base/dev/sb16/sb16.c:
OK, the good-bye cannot be that rude any more. My apologies to the
sound.c authors for that silly remark of mine and I hope you can do a
good work on my code.
2007-12-06 Bart
* [r1835] src/arch/linux/async/sigsegv.c:
Use fpregset_t instead of _fpstate to avoid problems with Debian's
glibc for x86_64.
2007-09-24 Bart
* [r1834] src/emu-i386/simx86/codegen-sim.h,
src/emu-i386/simx86/codegen-x86.h:
Replace BT24 and BTA inline asm by C.
2007-09-23 Bart
* [r1833] src/emu-i386/simx86/interp.c:
Michael Karcher: #1800717 cpuemu: BOUND is signed. The current bound
implementation does a signed compare instead of an unsigned one. This
patch should fix it.
* [r1832] src/base/async/int.c, src/base/dev/misc/lpt.c,
src/emu-i386/simx86/interp.c:
Implement the bound instruction (albeit fully interpreted). Make sure
that int 5 does not try printscreen if there is no printer.
* [r1831] src/emu-i386/simx86/interp.c:
From Michael Karcher: #1763170 CPU emu: implement INTO correctly. The
INTO instruction should generate the overflow execption only if the
overflow flag is set, not on every invocation.
* [r1830] src/emu-i386/simx86/interp.c:
From Michael Karcher: SF #1763169 CPU emu: handle prefixed jumps
correctly: The distance in a (not 8-bit) jump instruction is encoded
according to operand size, not address size. There is some wrong
documentation in this regard, even the processor reference manual I
usually use. The size of CX used in JCXZ is depending on the address
size, as correctly implemented in dosemu.
* [r1829] src/emu-i386/simx86/interp.c:
From Michael Karcher, #1763166 CPU emu: ignore access to unknown VGA
ports Currently, dosemu crashes on read/write access to unhandled
ports in the VGA range when cpuemu is enabled. While this is
acceptable behaviour while developing, it is not helpful for the end
user, who has a program probing for different SVGA cards by direct
hardware access.
2007-06-11 Bart
* [r1828] src/dosext/mfs/lfn.c, src/tools/Makefile:
Fixed some warnings with 64-bit builds.
2007-06-05 Bart
* [r1827] etc/global.conf, src/plugin/X/X.c:
Fix $_X_winsize; also enable to use it, and X_aspect_43 with text
modes with bitmapped fonts.
2007-06-04 Bart
* [r1826] src/dosext/dpmi/msdos.c:
Add DPMI API translation support for int21/ax=71a6.
* [r1825] src/base/async/int.c, src/dosext/mfs/lfn.c,
src/dosext/mfs/mfs.c, src/dosext/mfs/mfs.h, src/include/dos2linux.h:
Implement the LFN handle functions int21/ax=5704,5,6,7, and 71a6.
Also avoid using the set attribute ioctl on non-FAT filesystems.
2007-06-03 Bart
* [r1824] dist/dosemu:
Correct dosemu script.
* [r1823] src/plugin/sdl/sdl.c:
Fix SDL video mode chooser if only one mode is available.
* [r1822] src/plugin/X/X.c:
Fix "dosemu -w" for X and error messages for $DISPLAY not set.
* [r1821] src/plugin/kbd_unicode/keymaps.c, src/plugin/term/terminal.c:
Prompt if the keyboard layout can't be auto-detected. Initialize the
SLang terminal screen draw routines as late as possible (the first
time something needs to be drawn) so that other error messages can
still be seen on the normal (non-SLang) terminal screen.
* [r1820] dist/dosemu, dist/dosemu.bindist, dist/dosemu.systemwide,
man/dosemu.bin.1.in, src/arch/linux/Makefile.main,
src/base/init/config.c, src/include/emu.h, src/plugin/X/X.c,
src/plugin/X/X_font.c, src/plugin/term/terminal.c:
Move xset functionality to obtain the X fonts and the terminal < 25
lines warnings from dosemu to dosemu.bin.
2007-06-01 Bart
* [r1819] src/base/async/int.c, src/base/bios/int10.c,
src/base/dev/pic/pic.c, src/base/init/config.c,
src/base/init/parser.y.in, src/base/misc/dump.c,
src/dosext/dpmi/dpmi.c, src/dosext/mfs/mfs.c, src/dosext/mfs/mfs.h,
src/dosext/misc/xms.c, src/dosext/net/net/pktnew.c,
src/emu-i386/simx86/cpu-emu.c, src/include/Asm/vm86.h,
src/include/machcompat.h:
Change longs in vm86.h to ints to be consistent between x86-64 and
i386.
* [r1818] src/base/bios/int10.c, src/env/video/crtcemu.c,
src/env/video/seqemu.c, src/env/video/vgaemu.c:
Fix VESA text modes (fixes SR#1728817).
2007-05-30 Bart
* [r1817] src/plugin/commands/generic.S:
Fix preprocessor confusion.
2007-05-28 Bart
* [r1816] src/base/async/int.c, src/base/misc/dos2linux.c,
src/dosext/mfs/mangle.h, src/dosext/mfs/util.c,
src/include/dos2linux.h, src/plugin/X/X.c, src/plugin/sdl/sdl.c,
src/plugin/term/terminal.c, src/plugin/translate/include/translate.h,
src/plugin/translate/translate.c:
Better fix for X window titles & UTF-8. The title is now passed to
the plugin using a wchar_t string.
2007-05-25 Bart
* [r1815] src/dosext/mfs/lfn.c, src/dosext/mfs/mfs.c,
src/dosext/mfs/mfs.h:
Let find_file report FILE_NOT_FOUND or PATH_NOT_FOUND in an extra
parameter depending on whether the directory where the file to be
searched would be in exists or not.
2007-05-23 Bart
* [r1814] src/base/init/parser.y.in, src/dosext/mfs/mfs.c,
src/env/video/vgaemu.c:
Fix a memory leak and some other issues found by Valgrind.
2007-05-21 Bart
* [r1813] src/emu-i386/simx86/sigsegv.c:
CPUEMU: do not mix up LDT accesses with emulator page faults, and
translate non-zero based DPMI addresses to the correct pointer.
2007-05-18 Bart
* [r1812] etc/global.conf, src/base/init/lexer.l.in,
src/base/init/parser.y.in, src/env/video/vesa.c, src/include/emu.h:
Use vgaemubios_file internally to get the Bochs BIOS to avoid mixing
up with using it with console graphics, and be able to run it in a
non-root console.
* [r1811] src/doc/README/config, src/plugin/X/screen.c,
src/plugin/kbd_unicode/include/keyb_clients.h,
src/plugin/kbd_unicode/keyb_clients.c,
src/plugin/translate/config/plugin_parser,
src/plugin/translate/include/translate.h,
src/plugin/translate/translate_config.c:
Improve pasting in X into DOSEMU too, trying to ask for UTF-8, then
iso2022, and then iso8859-1. This obsoletes the use of
$_external_char_set for pasting.
* [r1810] src/base/async/int.c:
Add forgotten init memset of mbstate_t unix_state to 0. Fixes crash
on x86-64.
* [r1809] src/env/video/text.c, src/include/vgatext.h,
src/plugin/X/screen.c:
Improving pasting text from DOSEMU: follow guidelines about which
character sets to use (in practise we must usually convert to UTF8
nowadays).
* [r1808] src/plugin/kbd_unicode/keyb_clients.c:
Check for -1 return from character_count (if an invalid multibyte
character string is pasted for example), so DOSEMU won't crash.
* [r1807] src/base/bios/int10.c:
Add missing semicolon in int10.c
* [r1806] src/arch/linux/debugger/mhpdbgc.c, src/base/async/int.c,
src/base/misc/disks.c, src/base/misc/fatfs.c,
src/base/misc/userhook.c, src/base/misc/utilities.c,
src/dosext/mfs/lfn.c, src/dosext/mfs/mangle.c,
src/dosext/mfs/mangle.h, src/dosext/mfs/mfs.c,
src/dosext/mfs/mscdex.c, src/dosext/mfs/util.c,
src/include/dos2linux.h, src/include/utilities.h,
src/plugin/commands/builtins.c, src/plugin/commands/commands.c,
src/plugin/commands/dosdbg.c, src/plugin/commands/lredir.c,
src/plugin/commands/msetenv.c, src/plugin/commands/xmode.c:
Force within-ASCII uppercasing for ASCII letters for toupperDOS and
friends. Consistently use toupperDOS etc. functions instead of
toupper etc. to avoid problems with the dotless i as used in Turkish
and some other languages. In fatfs.c convert from the Linux to the
DOS character set, and vice versa for the X title display.
2007-05-17 Bart
* [r1805] src/base/bios/bios.S:
Always covert ax=6cxx to 6c00 for the int21/ah=6c LFN->DOS converter.
2007-05-16 Bart
* [r1804] src/env/video/vesa.c:
Allow larger Bochs vgabios'es to be used than 32K.
2007-05-14 Bart
* [r1803] src/emu-i386/simx86/interp.c:
Implemented lock prefix (either ignored, or illegal op).
2007-05-13 Bart
* [r1802] src/emu-i386/simx86/cpu-emu.c:
SIMX86: Don't try to stretch time using RDTSC if $_rdtsc=(off)
* [r1801] src/emu-i386/simx86/cpu-emu.c, src/emu-i386/simx86/interp.c:
Push IOPL_MASK on the stack for pushf and int. Fixes vm86 mode
detection of DOS4GW when $_dpmi=(off).
* [r1800] src/arch/linux/async/signal.c:
Revert DPMI-inability detection change from #1799.
* [r1799] src/arch/linux/async/signal.c,
src/arch/linux/async/sigsegv.c, src/dosext/dpmi/dpmi.c,
src/dosext/dpmi/dpmi.h, src/emu-i386/simx86/sigsegv.c,
src/env/video/vgaemu.c:
When handling signals, check for a valid DPMI selector, which means
that it is an LDT selector and not reserved by glibc or similar, e.g.
for pthreads. Else, and that includes the whole GDT, assume we
interrupt DOSEMU code. SystemSelector() in DPMI now refers to
anything not covered by the above, plus dpmi_sel16 & dpmi_sel32. This
fixes crashes with Xen-DOM0 on x86-64 where cs is 0x33 on entry to
signal handlers but set to 0xe033 after the first syscall.
2007-05-11 Bart
* [r1798] src/emu-i386/simx86/interp.c:
Remove (replace by an e_printf) debug code that aborts CPUEMU if 4 or
more 0's in a row are executed. Some .com programs do this to skip
over data (Reinhard Karcher).
* [r1797] dist/dosemu, src/emu.c:
Moved DOSDRIVE_D environment manipulation from the dosemu script to
dosemu.bin so it also works with sudo.
* [r1796] src/arch/linux/async/debug.c, src/arch/linux/async/sigsegv.c,
src/base/init/init.c:
Reorganize some debug reporting a bit. uname and the GCC version
number are now always reported in boot.log. Added some bug report
instructions.
* [r1795] src/plugin/X/X.c, src/plugin/sdl/sdl.c,
src/plugin/term/term_core.c:
Fix terminal init problem (no terminal input running xdosemu) if no
dynamically linked plugins are used.
* [r1794] default-configure:
Check the default bitness of gcc, instead of blindly relying on
uname.
* [r1793] src/dosext/dpmi/dpmi.c, src/emu-i386/cpu.c,
src/emu-i386/simx86/sigsegv.c, src/include/emu.h:
Implement some workarounds for the CPU ESP bug. It is unlikely that
it will be worked around in 64-bit kernels. Compare with segment
limits instead of what is supposed to be kernel space (it isn't on
x86-64). Fixes the ancient MS Linker and the Need For Speed demo on
x86-64.
2007-05-10 Bart
* [r1792] src/emu-i386/simx86/sigsegv.c:
Do not patch code that has just tried to overwrite code instead of
data. Fixes a crash with Larry.
2007-05-09 Bart
* [r1791] src/dosext/mfs/mfs.c:
As the read-only attribute is mostly ignored for directories in DOS,
the dos_would_allow check for writable directories doesn't make much
sense. Instead simply check if the file is writable.
* [r1790] src/dosext/mfs/mfs.c:
It is possible to work around the x86-64 FAT compat-ioctl kernel bug.
Thanks to Wine.
2007-05-08 Bart
* [r1789] src/arch/linux/async/signal.c, src/emu.c:
Force $_cpu_emu="full", and do not crash, if %cs is not saved for
signal handlers on x86-64 (kernels < 2.6.15, #1713659).
* [r1788] src/arch/linux/dosext/sound/midid/oss.c,
src/arch/linux/dosext/sound/midid/timid.c,
src/plugin/midimisc/mid_o_oss.c:
Declare *seqbuf_dump static before including soundcard.h. Hopefully
that solves all warnings and errors with the variations out there.
* [r1787] src/plugin/kbd_unicode/keymaps.c:
Do not attempt to load the X plugin if X isn't compiled.
* [r1786] src/dosext/mfs/lfn.c:
int21/ax=7160/cl=1,2 must return an error if the file does not exist.
Fixes problems with FreeCOM mkdir not preserving the LFN directory
name.
* [r1785] src/dosext/mfs/mfs.c:
Ignore attempts to translate the archive and read-only attributes to
Unix permissions for directories. Fixes problem with pkunzip (Joe
Ripley, linux-msdos).
2007-05-07 Bart
* [r1784] dist/autoexec.bat, dist/config.sys, src/base/async/int.c,
src/plugin/commands/blaster.c:
Reduce lines of output in config.sys, autoexec.bat, blaster, and the
banner, so everything fits on 25 lines.
* [r1783] src/dosext/mfs/lfn.c:
Fix more illegal writes in the LFN code (crashed DJGPP gcc with
cpuemu=vm86).
2007-05-06 Bart
* [r1782] Makefile, Makefile.conf.in, src/Makefile.common,
src/arch/linux/Makefile.main, src/commands/Makefile:
Speed up 'make' a bit: - don't use bash anymore; remove bash-isms and
eliminate pwd -P - don't use the intermediate tmp directory for make
install anymore - use -rR make flags to ignore built-ins and made
some built-ins explicit
* [r1781] configure, configure.ac, src/plugin/kbd_unicode/configure,
src/plugin/sdl/configure:
Execute sub-configures by hand to avoid autoconf warnings and
possible future breakage.
* [r1780] Makefile.conf.in, configure, configure.ac, default-configure:
Allow dash to be used as sh in out-of-tree builds.
* [r1779] Makefile.conf.in:
Do not forget sndfile and alsa libraries when building without
dynamically loaded plugins.
* [r1778] src/base/bios/int10.c:
Implement INT10/AH=1c (save/restore video state)
2007-05-05 Bart
* [r1776] ChangeLog, NEWS, dist/config.sys, dist/dosemu.bindist,
dist/mkbindist:
Last minute fix for 1.4.0: fix #1713278 COMSPEC setting wrong. Use
config.sys/autoexec.bat distributed from here in the bindist instead
of the one in dosemu-freedos-*-bin*.
* [r1775] NEWS, ChangeLog:
Release 1.4.0.
* [r1774] INSTALL, README, README.bindist, doc/README.txt,
doc/announce, src/base/init/install.c, src/doc/README/config,
src/doc/README/header:
More documentation updates; added a quick more basic introduction at
the beginning of README.txt.
2007-05-04 Bart
* [r1773] VERSION, doc/DANG.txt, doc/README-tech.txt, doc/README.txt,
doc/announce, doc/dosemu-HOWTO.txt, etc/dosemu.conf,
src/doc/DANG/DANG.sgml, src/doc/HOWTO/dosemu-HOWTO.sgml,
src/doc/README/Priv-usage, src/doc/README/SECURITY,
src/doc/README/config, src/doc/README/port-io,
src/doc/README/recover, src/doc/README/runasuser:
Documentation updates for 1.4.0.
* [r1772] src/dosext/mfs/lfn.c, src/emu-i386/simx86/codegen-sim.c,
src/plugin/commands/lredir.c:
gcc-2.95 compatibility fixes.
* [r1771] src/base/init/config.c, src/emu-i386/ports.c:
Convert error about direct port i/o without root into a warning.
Err about using "-s" without enough privileges.
* [r1770] src/arch/linux/Makefile.main:
Fix man page out-of-tree building.
* [r1769] (almost all files changed)
Update copyright line to 2007.
* [r1768] dosemu.spec.in:
Added missing new directory and symbolic link to dosemu.spec.
* [r1767] src/arch/linux/Makefile.main:
Make man files at "make" instead of "make install" time.
* [r1766] dist/dosemu, dist/dosemu.bindist, dist/mkbindist,
man/dosemu.bin.1.in, src/arch/linux/Makefile.main,
src/base/init/config.c, src/base/init/install.c,
src/base/init/parser.y.in, src/base/misc/fatfs.c:
Allow --Flibdir for suid configurations, as it hasn't been used to
locate global.conf for years. Document the allowance for
--Flibdir/--Fimagedir. Repair bindist/mkbindist to work with the
new FreeDOS configuration. This means using --Flibdir and
$DOSEMU_LIB_DIR instead of the hardcode DOSEMULIB_DEFAULT.
Run mkfontdir at "make" instead of "make install" time when possible.
* [r1765] src/plugin/commands/lredir.c:
Fix lredir c: d:
2007-05-03 Bart
* [r1764] configure, configure.ac, src/plugin/sdl/Makefile:
Fix forgotten make distclean file in SDL plugin; add -lXext for
Xxf86vm checking on certain systems.
* [r1763] INSTALL, configure, configure.ac:
Check for the existence of the Xxf86vm and Xext libraries, not just
header files. Adjust INSTALL instructions.
* [r1762] config.guess, config.sub, configure, configure.ac:
Don't use -mtune by default. It doesn't bear much relation to 'uname
-m' anymore on anything newer than a Pentium Pro.
* [r1761] etc/dosemu.users.example, src/base/init/config.c,
src/base/init/parser.y.in, src/base/misc/priv.c, src/include/priv.h:
Register the difference between sudo and suid-root.
Use c_all as the default for users who run dosemu via sudo so
dosemu.users does not need to be edited for that case, leaving
the default "restricted" (only console graphics at the console,
no remote direct hardware access) setting for suid-root.
2007-05-02 Bart
* [r1760] src/arch/linux/Makefile.main:
Use -rm instead of rm to deal with non-existing directories.
Use bdftopcf at make time instead of make install.
Fixes problems reported at linux-msdos (perry hargrave).
* [r1759] src/base/init/parser.y.in:
Repair $_sound=(on). You would only get the old sound driver via
$_sound=(1).
2007-05-01 Bart
* [r1758] src/env/video/dualmon.c, src/env/video/hgc.c,
src/env/video/matrox.c, src/env/video/vc.c:
Mark all mapped video memory PROT_EXEC, similar to the VGAEMU memory.
Solves a few problems with console video on x86-64.
* [r1757] src/emu-i386/simx86/fp87-x86.c:
Use aliased memory for emulation of FSTENV/FSAVE.
* [r1756] src/emu-i386/simx86/cpatch.c:
There is a slight chance that the CPUEMU cpatch stubs hit VGA memory.
For that case there is a simple instruction decoder but we must use
explicit assembly instructions. Fixes another problem with Norton
SysInfo.
2007-04-30 Bart
* [r1755] src/emu-i386/simx86/codegen-sim.c:
Fix regression in vgaemu handling from #1754.
Fix problem with rep movs with df set backwards for simulated cpuemu
with planar VGA modes.
* [r1754] src/emu-i386/simx86/codegen-sim.c,
src/emu-i386/simx86/sigsegv.c, src/env/video/vgaemu.c:
Fix problems with programs that try to access unmapped VGA memory or
write to ROM in CPUEMU, such as Norton SysInfo.
2007-04-29 Bart
* [r1753] src/dosext/mfs/mfs.c:
Check for FAT filesystem before attempting to use the VFAT ioctls.
Also check if the first entry is ".\0" to avoid an ioctl32 bug in
kernels <= 2.6.21.1.
2007-04-27 Bart
* [r1751] VERSION, NEWS, ChangeLog, doc/DOSEMU-HOWTO.txt,
etc/dosemu.conf:
Regenerate documentation. Release 1.3.5.
* [r1750] src/plugin/commands/lredir.c, src/plugin/commands/msetenv.c:
Avoid CPUEMU problems with msetenv. Only set DOSEMU_LASTREDIR if no
drive letter was given; improve lredir command line processing with C
and R.
* [r1749] etc/dosemu.conf, src/base/dev/misc/lpt.c:
Flush every second when printing. Fix $_lptx="" to not register any
ports.
* [r1748] src/dosext/dpmi/msdos.c:
Fix #1638135 (int 21h, ax=6300 not translated currently, japheth)
* [r1747] src/dosext/mfs/mfs.c, src/dosext/mfs/mfs.h:
Always return . and .. as the first two entries for
findfirst/findnext to be consistent with real DOS. On Linux they
can be somewhere in the middle.
2007-04-26 Bart
* [r1746] src/base/misc/dos2linux.c, src/include/dos2linux.h,
src/plugin/commands/lredir.c, src/plugin/commands/unix.c:
Apply #1691712 make lredir able to automatically choose next free
drive II (Stuart Axon)
* [r1745] INSTALL:
Made a note about libXxf86vm (#1644784)
* [r1744] man/dosemu.1.in:
[ 1692149 ] Describe --version in man page (fix for 1245033) (Stuart
Axon)
* [r1743] src/doc/HOWTO/dosemu-HOWTO.sgml:
Some HOWTO updates by Stuart Axon (#1692299).
* [r1742] src/emu-i386/simx86/codegen-sim.c,
src/emu-i386/simx86/codegen-x86.c, src/emu-i386/simx86/codegen.h,
src/emu-i386/simx86/cpatch.c, src/emu-i386/simx86/interp.c,
src/emu-i386/simx86/tables.c:
Handle 16bit address overflow in cpuemu string instructions.
(#1683078, slightly adjusted from Michael Karcher's patch)
2007-04-23 Bart
* [r1741] src/base/init/config.c, src/dosext/dpmi/dpmi.c,
src/dosext/dpmi/dpmi.h, src/emu-i386/cpu.c, src/include/cpu.h,
src/include/emu.h:
Use fxsave/fxrstor when available on i386 to deal with SSE fp.
Make sure the fxsave buffer is paragraph aligned (fixes a bug with
DJGPP gcc on x86_64).
2007-04-22 Bart
* [r1740] src/dosext/dpmi/dpmi.c:
Check fs/gs values before loading them on x86-64. Preserves 64 bit
segment bases on Intel chips (but apparently makes no difference on
AMD's).
2007-04-20 Bart
* [r1739] src/dosext/dpmi/dpmi.c:
Fix LFB w/console graphics for x86-64.
* [r1738] src/base/async/pci_bios.c, src/base/dev/misc/pci.c,
src/env/video/matrox.c, src/include/pci.h:
Fix PCI support on x86-64.
* [r1737] src/emu-i386/do_vm86.c, src/include/cpu.h:
Use fnsave instead of fsave for saving the FPU state. Should fix
#1436788.
* [r1736] src/plugin/term/keyb_slang.c,
src/plugin/translate/charsets/utf8.c:
Fix problems with utf-8 multibyte input in terminals (reported by
Grigory Batalov, linux-msdos).
2007-03-29 Bart
* [r1735] dist/dosemu, src/base/init/config.c:
Avoid bash-ism "exec -a"; use an environment variable instead.
* [r1734] src/emu-i386/simx86/codegen-x86.c:
Fix gcc warning.
* [r1733] src/emu-i386/simx86/codegen-sim.c:
Fix shift/rotate instructions in simulator (Michael Karcher,
#1687296)
* [r1732] src/emu-i386/simx86/codegen-x86.c:
Fix spurious crashes with "linker: node busy" (Michael Karcher,
#1687298)
2007-03-24 Bart
* [r1731] src/emu-i386/simx86/codegen-sim.c,
src/emu-i386/simx86/codegen-x86.c, src/emu-i386/simx86/tables.c:
Fix rep scas/cmps when eCX is 0 (#1683190, with Michael Karcher)
2007-03-18 Bart
* [r1730] src/emu-i386/simx86/cpatch.c:
Fix to SVN #1727 stosw fix (Michael Karcher, #1679675)
2007-03-17 Bart
* [r1729] src/emu-i386/simx86/interp.c:
Fix problem with push when single stepping in cpuemu (#1682620, M.
Karcher)
* [r1728] src/emu-i386/simx86/interp.c:
Fix cpuemu bug with sbb, affects GNUish ls and tasm (#1682575)
2007-03-13 Bart
* [r1727] src/emu-i386/simx86/cpatch.c:
Save eax in stosw stub (Michael Karcher, #1679675)
2007-03-11 Bart
* [r1726] src/emu-i386/simx86/cpu-emu.c, src/emu-i386/simx86/interp.c:
Use leavedos(1) for EMU86 failure to drop into dosdebug; improve
diagnostics. For rep outs, use not_permitted and let the port code
deal with it instead of quitting DOSEMU.
* [r1725] src/emu-i386/simx86/cpatch.c, src/emu-i386/simx86/trees.c:
Break node if current eip is in a page to be unprotected; fixes bug
#1678581
2007-03-10 Bart
* [r1724] src/dosext/mfs/dosc.c, src/dosext/mfs/lfn.c:
LFN: avoid writing to write-protected memory (thanks Michael Karcher)
* [r1723] src/base/bios/setup.c, src/base/init/init.c,
src/base/misc/disks.c, src/dosext/dpmi/emu-ldt.c,
src/dosext/dpmi/msdos.c, src/dosext/misc/xms.c,
src/dosext/net/net/ipx.c, src/emu-i386/ports.c,
src/emu-i386/simx86/fp87-x86.c, src/emu-i386/simx86/sigsegv.c,
src/tools/periph/dexeconfig.c, src/tools/tools86.c:
Replaced 'long *' by 'int *' or 'uint32_t *' for 64-bit
compatibility.
2007-02-28 Bart
* [r1722] src/env/video/instremu.c:
Fix problem with constraints in inline assembler.
2006-12-10 Bart
* [r1721] src/include/sound, src/include/sound/midi.h,
src/include/sound/sndpcm.h, src/include/sound/sound.h,
src/plugin/sdl/snd_o_SDL.c:
Add forgotten files from Stas' new sound code.
* [r1720] src/arch/linux/dosext/sound/midid/io.c,
src/arch/linux/dosext/sound/midid/midid.c,
src/arch/linux/dosext/sound/midid/timid.c:
Integrated most of the other midid changes by Stas.
* [r1719] Makefile.conf.in, compiletime-settings,
compiletime-settings.devel, configure, configure.ac,
default-configure, src/base/sound/sndpcm.c, src/include/config.h.in,
src/plugin/alsa, src/plugin/alsa/Makefile,
src/plugin/alsa/mid_o_alsa.c, src/plugin/sndfile,
src/plugin/sndfile/Makefile, src/plugin/sndfile/snd_o_wav.c:
Added ALSA and libsndfile plugins from Stas.
2006-11-29 Bart
* [r1718] compiletime-settings, compiletime-settings.devel,
etc/dosemu.conf, etc/global.conf, src/arch/linux/Makefile.main,
src/base/dev/dma/Makefile, src/base/dev/dma/dma.c,
src/base/dev/dma/dmanew.c, src/base/dev/sb16,
src/base/dev/sb16/Makefile, src/base/dev/sb16/adlib.c,
src/base/dev/sb16/adlib.h, src/base/dev/sb16/dspio.c,
src/base/dev/sb16/dspio.h, src/base/dev/sb16/sb16.c,
src/base/dev/sb16/sb16.h, src/base/dev/sb16/ymf262.c,
src/base/dev/sb16/ymf262.h, src/base/init/dev_list.c,
src/base/init/parser.y.in, src/base/sound, src/base/sound/Makefile,
src/base/sound/midi.c, src/base/sound/nullsnd.c,
src/base/sound/nullsnd.h, src/base/sound/sndpcm.c,
src/dosext/sound/sound.c, src/include/dma.h, src/include/sound.h,
src/plugin/midimisc, src/plugin/midimisc/Makefile,
src/plugin/midimisc/mid_i_pipe.c, src/plugin/midimisc/mid_o_midid.c,
src/plugin/midimisc/mid_o_oss.c, src/plugin/midimisc/mid_o_pipe.c,
src/plugin/midimisc/mid_o_tmdty.c, src/plugin/sdl/Makefile:
Integrate most of Stas' new sound code, for now run-time selectable
using $_sound = (2).
2006-11-25 Bart
* [r1717] src/dosext/dpmi/dpmi.c:
Fix trap flag handling regression for DPMI (#1602643)
* [r1716] src/arch/linux/dosext/sound/midid/Makefile,
src/arch/linux/dosext/sound/midid/device.c,
src/arch/linux/dosext/sound/midid/device.h,
src/arch/linux/dosext/sound/midid/midid.c,
src/arch/linux/dosext/sound/midid/midout.c,
src/arch/linux/dosext/sound/midid/null.c,
src/arch/linux/dosext/sound/midid/oss.c,
src/arch/linux/dosext/sound/midid/seqops.h,
src/arch/linux/dosext/sound/midid/timid.c:
Merged trivial changes and makefile improvements from Stas' new midid
code.
* [r1715] src/arch/linux/Makefile.main:
Do not erase all previous FreeDOS files when upgrading. Remove risky
comment between semicolons.
2006-11-22 Bart
* [r1714] src/plugin/sdl/keyb_SDL.c:
Fix AltGr handling with SDL. It was confused with ScrollLock.
* [r1713] src/plugin/sdl/keyb_SDL.c:
Try to use keysyms where possible in the SDL keyboard code.
Implemented workaround for altgr and broken unicode support in older
SDL versions.
2006-11-21 Bart
* [r1712] src/plugin/X/X.c:
Fix double mouse cursor problem with Arachne.
2006-11-18 Bart
* [r1710] VERSION, NEWS, ChangeLog, src/doc/DANG/DANG.sgml,
src/doc/README/CDROM, doc/DANG.txt, doc/README.cpuemu,
doc/README.txt, doc/EMUfailure.txt:
Added CDROM lredir documentation. Regenerate documentation.
Release 1.3.4.
* [r1709] src/arch/linux/async/debug.c, src/base/init/lexer.l.in,
src/base/misc/fatfs_boot.S, src/base/misc/utilities.c,
src/dosext/dpmi/memory.c, src/dosext/dpmi/vxd.c,
src/dosext/dpmi/windefs.h, src/emu-i386/simx86/codegen-sim.c,
src/emu-i386/simx86/codegen-x86.c, src/include/cpu.h:
GCC-2.95 and x86-64 VXD compatibility changes.
* [r1708] INSTALL, src/base/init/install.c:
Fixed -install for other DOSes than the supplied FreeDOS and
adjust README.
2006-11-16 Bart
* [r1707] src/emu-i386/simx86/sigsegv.c:
Fixed some 64-bit rip usage, and the division by zero exception.
* [r1706] configure, configure.ac, src/include/config.h.in,
src/include/dlmalloc.h:
Fixed gcc warning in dlmalloc and removed some obsolete autoconf
macros.
2006-11-15 Bart
* [r1705] src/arch/linux/Makefile.main:
Rearranged the messages after make install, so it is more clear
that the FreeDOS tarball is missing.
* [r1704] src/emu-i386/simx86/codegen-x86.c,
src/emu-i386/simx86/interp.c, src/emu-i386/simx86/modrm-gen.c,
src/emu-i386/simx86/protmode.c, src/emu-i386/simx86/protmode.h,
src/emu-i386/simx86/tables.c:
Segment handling and address calculation optimizations for
cpuemu.
2006-11-14 Bart
* [r1703] configure, configure.ac:
Added configure checks for bdftopcf and mkfontdir.
* [r1702] dist/dosemu:
Allow DOSDRIVE_D to be overridden.
* [r1701] src/emu-i386/simx86/codegen-x86.c,
src/emu-i386/simx86/tables.c:
Optimize the O_MOVS_SetA cpuemu op.
2006-11-13 Bart
* [r1700] ChangeLog, NEWS:
Updated NEWS and ChangeLog
2006-11-12 Bart
* [r1699] COPYING.DOSEMU, src/env/video/vgafonts.c:
Added VGA font and dlmalloc copyrights for completeness.
* [r1698] dist/autoemu.bat, dist/autoexec.bat, dist/config.emu,
dist/config.sys, src/arch/linux/Makefile.main,
src/base/init/install.c, src/base/misc/fatfs.c:
The previous approach had circular symbolic links for directories
which is bad as it confuses DOS programs. It seems clearer to
create a drive_z directory with contents equal to the old freedos
directory (even though there may not be a freedos present).
* [r1697] dist/dosemu, src/base/init/config.c,
src/base/init/install.c, src/emu.c, src/include/dos2linux.h,
src/include/emu.h, src/plugin/commands/unix.c:
Create no-prompt initial boot for DOSEMU+FreeDOS with a welcome
screen. The liability disclaimer just needs to be confirmed.
Removed the win4lin check from the dosemu script and moved the
terminal instructions to the main code.
* [r1696] dist/autoemu.bat, dist/autoexec.bat, dist/config.emu,
dist/config.sys, dosemu.spec.in, src/arch/linux/Makefile.main,
src/base/init/install.c, src/base/misc/fatfs.c:
Remove the tarballs with symlinks. Instead, point d: to the
systemwide FreeDOS directory during config.sys processing and use
z: after that. Install config.sys et al from dosemu.
* [r1695] etc/dosemu.conf, etc/global.conf,
src/base/dev/misc/lpt.c, src/base/init/lexer.l.in,
src/base/init/parser.y.in:
Use $_lpt1, $_lpt2, and $_lpt3 for printer configuration and
disable the printer IRQ for now since it's not used. Fixes
#1492201.
* [r1694] src/base/async/int.c, src/base/bios/setup.c,
src/include/int.h:
Fix missing LFN support after ctrl-alt-del (#1487899)
* [r1693] INSTALL, compiletime-settings,
compiletime-settings.devel, compiletime-settings.help, configure,
configure.ac, default-configure, src/emu.c,
src/plugin/sdl/acinclude.m4, src/plugin/sdl/configure,
src/plugin/sdl/configure.ac:
Use JIT cpuemu by default on x86-64, and don't force -m32 any
longer. Introduce target_bits compile time option to optionally
set -m32 or -m64. Updated SDL configure script and added a link
check for cross-compilation.
2006-11-11 Bart
* [r1692] dist/dosemu:
Use `id -ur` instead of $UID for dash compatibility.
* [r1691] src/arch/linux/async/signal.c, src/dosext/dpmi/dpmi.c,
src/emu-i386/cpu.c, src/include/cpu-emu.h:
Fix compilation with cpuemu off.
* [r1690] src/emu-i386/simx86/codegen-sim.c,
src/emu-i386/simx86/codegen-sim.h,
src/emu-i386/simx86/codegen-x86.c,
src/emu-i386/simx86/codegen-x86.h, src/emu-i386/simx86/emu86.h,
src/emu-i386/simx86/sigsegv.c, src/env/video/instremu.c,
src/env/video/vgaemu.c, src/include/vgaemu.h:
Implemented better VGAEMU support for simulated cpuemu and
eliminated the e_vga_base and e_vga_end variables.
* [r1689] src/arch/linux/async/signal.c,
src/emu-i386/simx86/cpu-emu.c, src/emu.c, src/env/video/vc.c,
src/include/emu.h, src/plugin/term/terminal.c:
Handle all async signals except those that call leavedos using
sigasync() which calls the correct sighandler using a function
pointer array. The real signal handlers are all set in
signal.c:signal_init() now. Add SIGWINCH & SIGPROF to the queue
block list because of their nature.
* [r1688] src/emu-i386/simx86/sigsegv.c,
src/emu-i386/simx86/trees.c:
Fixed some issues with self-modifying code.
* [r1687] src/emu-i386/simx86/codegen-x86.c,
src/emu-i386/simx86/tables.c, src/emu-i386/simx86/trees.c:
Removed GenBufSize hack and adjusted the op size array.
* [r1686] src/emu-i386/simx86/interp.c, src/env/video/instremu.c,
src/include/cpu.h:
Avoid "lahf" (may not be available on x86-64) and use READ_BYTE
for IS_IRET.
2006-11-10 Bart
* [r1685] src/emu-i386/simx86/codegen-x86.c,
src/emu-i386/simx86/cpu-emu.c, src/emu-i386/simx86/interp.c,
src/emu-i386/simx86/trees.c:
Fixed a bug in InvalidateSingleNode and DPMI TheCPU.eflags
handling. Under normal circumstances IOPL should never be set
there.
* [r1684] configure, configure.ac:
Add -lm to LIBS as DOSEMU now uses a few math functions.
* [r1683] src/emu-i386/simx86/fp87-sim.c:
Fixed rounding to integer in the FPU simulator.
* [r1682] src/emu-i386/simx86/codegen-x86.c:
Fix das/aas/aam for x86-64.
* [r1681] src/emu-i386/simx86/codegen-sim.c,
src/emu-i386/simx86/codegen-x86.c,
src/emu-i386/simx86/fp87-sim.c, src/emu-i386/simx86/interp.c:
Fixed ENTER/IDIV/DIV/IMUL/DAS and some FPU cases that failed with
the QEMU i386 emulator test program.
2006-11-09 Bart
* [r1680] src/emu-i386/simx86/interp.c:
Correct ofsseg array for DPMI
2006-11-08 Bart
* [r1679] src/emu.c, src/include/emu.h:
Forgotten sigjmp_buf declarations from r1677.
* [r1678] src/plugin/sdl/sdl.c:
Enable X background pause for SDL
* [r1677] src/base/misc/utilities.c, src/emu.c:
Use sigsetjmp/siglongjmp because signal handlers may be involved
in leavedos.
* [r1676] src/emu-i386/simx86/codegen-x86.c,
src/emu-i386/simx86/sigsegv.c:
Fix BSF and BSR, and don't use code patches for DPMI code for
cpuemu="full". Fixes Duke Nukem 3D in this mode.
* [r1675] src/emu-i386/simx86/interp.c:
Use the operand size instead of the address size for jump
destination masking. Fixes some issues with cpuemu in DPMI.
* [r1674] src/emu-i386/simx86/codegen-x86.c:
Fix vgaemu in compiled code.
* [r1673] src/emu-i386/simx86/codegen-sim.c,
src/emu-i386/simx86/interp.c:
Fixed IMUL regressions from r1670.