forked from dosemu2/dosemu2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ChangeLog.ancient
3380 lines (2556 loc) · 121 KB
/
ChangeLog.ancient
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
96/11/09 ver. 0.64.0.4
- EMM fix (Hans)
- first round vm86plus (emumodule) (Hans)
96/10/20 ver. 0.64.0.3
- Priv off/on patches
- mfs.c patch to allow PRN called from mfs drives
- mouse.c modifed calls that reflect mouse visibility and
changed vectoring mouse interrupts to the actual interrupt
(thanks to Josef Pavlik)
- X.c added back mouse mickeys - WP5.1 mouse works now using
internal driver, but not WPs ROF. Also forced mouse reset
on DOSEmu boot if internal mouse being used.
(thanks to Bernd Paysan <[email protected]>)
- Alberto's patches to configure scripts for SBEMU.
- Hans' patches for running on Linux 2.1.5+
96/09/24 ver. 0.64.0.2 - From Hans, SMP, emumodule, insmod and some minor DPMI-stuff
96/09/23 ver. 0.64.0.1 - JES took over some valuable patches from 0.63
96/09/18 23:06:34 From : JES - Allow compiling without X support --without-x
96/08/30 01:21:30 From: Eric -- Some more Bugfixes, and a little video cleanup practice
96/08/07 13:56:38 From : Rainer - Video / Keyboard / Misc cleanup
* added runtime MITSHM detection
* fixed a problem with mouse initalisation
* mfs.c: fixed find_first error code if directory doesn't exist
96/08/02 18:45:49 From Alberto - Fix PIC bug even w/o emumodule & leave for vacations
96/08/01 22:39:10 From : JES - Minor changes to pic.[ch]
- Not sure if these make a difference, but since I'm no C guru, it looked
like some variable (pic_sys_time) were defined twice? At least it still
works looking this way ;).
96/07/31 19:57:40 From Alberto - Make debug flag working again & other fixes
96/07/31 18:29:09 From : JES - More IPX fixing and a Video WorkAround
- After all I went through to learn _not_ to call IPX functions
directly... I turn around and do it again ;-(. Always call IPXCallRel().
96/07/31 13:57:15 From : JES - Fix IPX again ;(
96/07/31 12:03:14 From : JES - The Real Patch(tm) to bring IPX watchdog into DOSEmu
- With many thanks to Tim Bird and JL, here is a patch to get
asynchronos events happening under DOSEmu. This will make DOSEmu
nolonger dependent on the wdogfix.com TSR. The problem before was
making a stack returnable via retf. Also added is an ESR callback
which may give slight IPX speed inprovements (may not), but
prepares DOSEmu for more IPX development ;).
96/07/29 21:33:55 From Alberto - Fixed sig11 in leavedos() and cleaned some warnings
96/09/15 ******** Release 0.64.0 - Made from 0.63.50
96/07/21 09:08:21 From Alberto - patches to serial code & various stuff
96/07/21 00:51:37 From Alberto - patches to serial code to avoid reentrancy
problems - Changes to tracing code in ports.c and dpmi.c - Some spelling
and small bug fixes
96/07/19 22:34:50 From : [email protected] - Fixes to parsing and Dr? regs.
1) parse_config() used to check the wrong id in order to find out whether
the user is allowed to have dangerous options in the configfile.
Hum.. it looks like my own bug...
(someone already fixed the same thing in parse_dosemu_users())
2) At least one program (I think it was a game--Winter Olympic Games perhaps)
plays with dr? registers (trying to avoid being debugged?). This problem
made me add some handling for mov dr??, ?? to vm86_GP_fault and make the
type of org_eip correct (actually, I did it in the opposite order <smile>)
96/07/10 11:26:50 From Hans: Dosdebug goes DPMI (+some minor DPMI-fixes)
96/07/07 16:13:11 From : JES - Allow stdin to be non-tty
- NO this is not the do-all-end-all to allow remote control access of DOSEmu.
It is only a stop gap to allow some next steps in testing.
96/07/07 13:27:10 From : JES - Replacment to WatchDog.com TSR for IPX
96/07/07 13:20:14 Cleanup and doc updates
96/07/06 14:19:39 From : John Davis - Proper changes to SLang
96/07/06 11:54:06 From : Peter Wainwright ([email protected]) - Fix init of IPXOpenSocket
96/07/04 22:03:59 From : Kang-Lee - Misc. patches to dosemu/src/commands
After much effort and many thanks to Kang-Lee I can understand him when he says:
"Well, this patch really deserves the award of most_complicated_patch_story. :-)"
Thanks Kang-Lee ;-)
96/07/04 21:56:58 From Alberto: some goodies for DPMI, DJGPP, GUSPNP, port fixes, e.t.c.
96/07/04 08:26:55 From Hans: upgrade to Linux-2.0.1, fixing LAR
96/07/02 22:08:27 Patches to DOSEmu
96/07/02 12:57:14 From Hans: 1st round towards 2.1.x (DPMI, LDT, emumodule, insmod)
96/06/30 12:45:11 From : Eric W. Biederman <[email protected]> - fixups to video, etc...
96/06/29 18:47:14 From Heiko : Reduce compiler warnings
96/06/21 13:41:27 From : Johann Friedrich Heinrichmeyer <[email protected]> - Update SLANG
Thu Jun 27 20:11:35 1996 Eric W. Biederman <[email protected]>
* Cleaned up mainy tiny things regarding font loading, screen
resizing, and updating bios variables. Now everything under X
should work under X except font loading and it punts that.
* Fixed a tiny bug where in emu-i386 where EIP was stored in a
character. Only important to dosdebug
All fixes against 0.63.36
96/06/20 22:26:21 From : Markus Kossmann <[email protected]> - Fix to configure.in
96/06/18 19:25:53 From : JES - Allow DOSEmu to compile without EMUmod support
96/06/18 09:17:36 From Marc Nijweide ([email protected]): empty ports should return 0xff
96/06/09 15:08:29 From : Uwe - A little bit more security with port access
doc/README.port-io: New file
src/base/init/parser.y, etc/config.dist : New port option "device"
src/emu-i386/cpu.c, src/emu.c, src/include/emu.h : Try to block
multiple access to registered ports
96/06/08 16:43:13 From : JES - Allow DOSEmu to compile when no X available
96/06/08 12:28:52 From Uwe : Port Access for (L)Users
Hallo,
the patch I posted yesterday was "cut and dropped" in my editor. That way,
parts get mangled. And I didn't apply it to a clean tree, so an error
slipped by. Here is the patch against 0.63.1.30:
96/06/07 20:12:36 From JES : Reduce HMASIZE by 16 bytes as suggested by HJ
96/06/07 17:11:37 From Hans: emumodule & restore_i387; patches from Bernd
From Bernd Paysan <[email protected]>:
- The timer initialization in src/base/init/init.c reduced to stay
in 32 bit integer arithmetic.
- The mouse handler fakes an interrupt and pusha on the real mode stack,
regardless if the program is in rm or pm. I added a fake_pm_int().
- The X_SELECTION isn't well separated from X_MOUSE. I tried to do it
(src/env/video/X.c).
96/06/03 12:39:57 From Hans: Fix silly vm86.h include loop (oh yeah, it was my fault).
96/06/02 15:58:42 From Hans: more LDT-access rights if running root, back out old, vm86.h hack
96/05/28 21:33:31 From Hans: forbid kerneld to unload emumodule, vm86.h missing fix.
96/05/25 15:14:02 From : JES - Fix mispatch to X.c
96/05/25 14:40:32 From : Various - Many subtle patches to X-mouse, mfs, ipx ...
96/05/25 13:16:30 From : Max H. Parke <[email protected]> - Add LDT to mhpdbgc.c
96/05/25 12:05:59 From : JES - Remove need to patch kernel includes
96/05/24 10:35:16 From : Hans - Patch to get floppies active again
96/05/22 18:20:52 From : Adam - Fixes to VGA Emulation et al
96/05/20 05:23:46 From Adam & Erik: new VGAemu patches
96/05/14 07:17:18 From Erik: New EMUsuccess.txt
96/05/13 07:33:39 From Erik: little patch to compile again with Linux >= 1.3.100
96/05/07 08:35:06 From Erik & Adam: Enhanced configure, Makefiles and VGAemu
96/05/02 07:21:58 From Adam Moss & Erik Mouw: MITSHM and little fixes for VGAemu
96/04/29 19:52:08 From: Alistair - Make SB (& DMA) code work
96/04/27 21:02:23 From: Alistair - SB reorganisation, DMA+SB update
96/04/26 17:11:28 From : Avery Pennarun - dosemu 0.63.1.8 X bugs (and fix)
Avery Pennarun <[email protected]>
It changes env/video/X.c to use unsigned chars instead of chars for screen
cells. Due to certain tests in the code, any character >128 (such as
line-drawing characters) would _always_ act as if that line had changed
since the last refresh. So, in full-screen applications like Borland C++,
the flicker (and related CPU usage) was horrible.
BTW, why on earth is the "byte" typedef a signed char?
Have fun.
Avery
96/04/24 19:18:40 From : Jon Tombs - Allow modules to be made independently
96/04/22 11:40:02 From Hans: fix stupid typo in emumodule
96/04/21 17:07:29 From : UWE - emm.c switch code fix
96/04/17 20:07:22 From Mike Castle <[email protected]>: fix for insmod + binutils 2.6.0.12
96/04/16 20:50:15 From : Hans - FIX for dosdebug, small -Wall cleanup
96/04/16 19:04:11 From : Hans - As promised: FIX for vgaemu, and new patch for EMS
96/04/09 06:29:47 From Hans: invalidate => flush_tlb (adapt emumodule to Linux-1.3.83)
96/04/08 22:45:19 From : JES - Recovering RDDC from HD Crash
96/04/08 0x:2x:xx TESTING RDDC
96/03/25 05:26:56 From Hans: closeing 'expand down seg' security hole in ldt.c
96/03/18 06:43:03 From Erik: extra manpages & sigsegv enhancement
96/03/16 16:14:36 From : JES - temporarily turn of port array call of portss.c
- From some timing investigations it has been discovered that the
portss.c array calling code seems to be considerable slower
in it's present state. To that end as an interim measure, we
will turn it off and use the older single case statement.
96/03/13 19:50:26 From : Alberto Vignani - Change non-existant port read to 0xff again
96/03/13 18:35:53 From : Michael Leodolter <[email protected]> - DPMI work
- With this stack nested PM programs like DJ200's make/compiler work fine
(maybe Borkland's protected mode make/compiler too).
96/03/11 18:59:26 From : [email protected] (Alberto Vignani) - LDFAGS fix
96/03/11 18:30:52 From JES/Uwe - Config fixes and more vga_emu_fault stuff
96/03/11 17:59:51 From JES, John - Add in VGA_EMU_FAULT() function
96/03/10 19:46:58 From : JES - Get Xdos with graphics working again
- Thanks to Uwe for pointing to a problem with Xdos not getting
configured with the latest X_GRAPHICS in config.h
- If 0'd out the VGA_EMU_FAULT() because it is not defined
96/03/07 23:39:37 From: John Kohl: turn on X_GRAPHICS for NetBSD
- turn on X_GRAPHICS support for NetBSD, it seems to work well enough
96/03/07 21:00:17 From : JES - Creating proper behavior in dpmi.c KERNEL_LDTALIAS
- with these diffs, Windows runs again. Need that DPMI guru :-)
96/03/07 20:13:38 From : JES - Supply new configure.in against John's diffs
96/03/07 19:10:38 From : John Kohl - NetBSD diffs for 0.63.1.2
From: John Kohl <[email protected]>
- Anyway, there's a system bug tickled by these changes on NetBSD but it
pretty much works.
- I haven't tried X graphics support yet, but I made
it easy to configure in or out now.
- I think I found a bug with KERNEL_LDTALIAS in the dpmi code, plus a
questionable missing () stuff there. Look inside dpmi.c
Thanks!
==John
96/03/05 22:20:22 From : JES - Up version to 0.63.1.2
96/03/05 22:02:23 From : (Alberto) [email protected] - Change cpu.c ports to size short
I was tracing a DOS program accessing a peripheral card and found dosemu
tried to access ports > 64k. After looking at the generated assembly, I
changed 'int' to 'short' for all port addresses in cpu.c.
Alberto
96/03/04 20:56:24 From: Hans, adapt insmod-HACKER_TOOL to modules-1.3.69
96/03/04 18:16:54 From : JES - Add config.h to emu.h to force its inclusion
96/03/03 17:34:02 From : Uwe - Add debug to dpmi.c
96/03/03 17:04:31 From : Alberto Vignani - LDFAGS -> LDFLAGS in Makefiles
96/03/03 17:02:58 From : Alberto Vignani - Timers TYPO 40 -> 0x40
96/03/03 16:31:25 From : Uwe - Remove more -Wall warnings
96/03/03 14:16:52 From : JES - Get USE_MHPDBG back into emumodule.o
- Make emumodule.o only included USE_MHPDBG if make from emumod subdir.
96/03/03 09:09:49 From : JES - Fix FNX calls in timers.c
- Due to the new ports calling convention, these had to be modified.
96/03/03 08:40:51 From : JES - Get IPX working again (and pktdrvr?)
- USING_NET was NOT being carried through all Makes
96/03/02 21:39:20 From : JES - Fix Makefile.main
96/03/02 18:11:46 From : JES - Add X_SUPPORT to mouse subdir
96/03/02 15:14:17 From : JES - Allow make in src subdirectory to _not_ wait for keypress
96/03/02 14:26:47 From : JES - Begin adding Scott's port access methods
96/03/02 12:02:46 From : Erik - Update dos.1 man page
96/03/01 22:13:18 From Hans: adapt emumod to 1.3.70, fix for xdos
96/02/29 18:52:50 From : JES - Bring back Xdos
96/02/29 17:58:19 From : Uwe - Add emumodule loading to QuickStart
96/02/28 20:23:42 from : JES - Fixes to inital ./configure with Uwe's help.
96/02/25 14:07:34 From : JES - Remove async Makefile dup
96/02/25 13:29:08 From : JES - Make MAKE work from each subdir using configure
96/02/24 18:37:17 JES - Add ./configure to DOSEmu via autoconf
96/02/21 13:37:32 From : JES - Correct typdef in cpu.c
96/02/21 11:05:06 From : JES - Remove RCS logs, remove unused, clients, and ipxutils
96/02/20 18:29:33 From Erik: securety fix & logging facilities
96/02/11 12:48:28 From JES - Backout typedefs (thanks Hans) and remove changelog in emu.c
96/02/08 21:52:43 From JES - Update the Release Patchlevel to 0.63.1.1
96/02/08 21:45:43 From JES - Make Xdos and Windows run again :-(
96/02/07 21:04:26 From JES : New typedefs for emu.c and dos.c
96/02/07 20:43:27 From : JES - Adjust types.h and cpu.h to new layout
96/02/05 21:37:47 From : JES - Documentation from Hans for VM86 flag usage
96/02/04 20:03:25 From Alistair: DANG cleanups ...
Thu Jan 25 1996
- From Henrik Storner <[email protected]>
Fix for malloc/valloc-bug, happens together with libc-5.3.0
- From Hans
Fix for syscallmgr, NR_xxx wrong together with newer shared libs
( found this thanks to Ronald Wahl <[email protected]>, who
posted it on de.comp.os.linux )
Tue Jan 23 1996
- Release of dosemu-0.63.0.1
xxx Dec 30 1996
- Release of dosemu-0.63.0
Sat Nov 25 1995
- From Michael Beck : Fix to debugger D command
Tue Nov 21 1995
- From [email protected] : Small fixes to Handle Novell programs
- From Uwe : Updates to README.X
Sat Nov 18 1995
- From JES : Close /dev/zero after mmap (DPMI), Fix compile without X
Fri Nov 10 1995
- From Hans Lermen (and Kevin Buhr): Fix for timerlock-bug
This includes the patch from Kevin Buhr (good work),
plus some fixes to make hardware-IRQs work (Sillyint),
plus some other pic fixes (correct now, but wasn't the reason for the lock)
plus THE (one line) fix for the _real_ bug:
Once again we messed up with VIF flag, hence letting ints pass
through. even if CLI was active.
This apparently was one 'bug-catcher' we left back during the
the great hunt for 'the bug of bugs' some month ago.
(Hmm... I say 'we', but very well may be that it was 'me')
I also introduced a
#define USE_UNIX_TIME_FOR_INT1A_AH0
which should be defined at top of dosemu/int.c to get the 'old' code,
which does not use the BIOS 40:6c timer, but got the time from Linux
and overwrites 40:6c.
Currently it is not defined, so INT1A AH=0 gets time from 40:6c,
however, if somone gets 'timerlocks' again (which I don't hope),
then try witch defineing USE_UNIX_TIME_FOR_INT1A_AH0 and report to the
team.
- removed timerlock-Workaround patch (was added Nov 01)
- added upgrade for Linux-1.3.38 (emumodule, syscallmgr, net/libpacket.c)
Wed Nov 06 1995
- From Michael Beck : Patches to SBEmu
Mon Nov 06 1995
- From Michael Beck : Enhancements to SB and DMA emulation
Sun Nov 05 1995
- Removed priv_on/off patches from Yanming (were added Oct 29 )
(inhibited port-IO)
Sat Nov 04 1995
- From Kang-Jin Lee: Mods to better detect DOSEmu
- From Kevin Buhr : Interim fix to timer stopping.
(removed the same day because of hardware-IRQ conflicts)
Fri Nov 03 1995
- X-char patch to cast display to correct sizes
Wed Nov 01 1995
- Workaround for boot-up-timer-lock-BUG. (Hans)
Sun Oct 29 1995
- From Yanming <[email protected]>,
fix iopl/ioperm permission bug:
- remove some wrong priv_on()/priv_off() calls.
- Add 2 parameters to priv_on()/priv_off() calls.
- Minor fix to compile without REQUIRES_EMUMODULE.
Sat Oct 28 1995
- *** pre-release pre0.60.4.4 uploaded from rddc to tsx-11 ***
Sun Oct 22 22:32:45 1995 John Kohl <[email protected]>
* Update emm.c to avoid release string-induced problems on NetBSD.
Sun Oct 22 22:32:45 1995 John Kohl <[email protected]>
* Update emm.c to avoid release string-induced problems on NetBSD.
sat Oct 22 1995
- From Hans, Upadates to go elf
- From Purtill <[email protected]>, joystick patches to use module.
- Libelf-a added to dist.
Wed Oct 04 1995
- Worked a bit with Uwe's discovery of type conversion
char <-> unsigned int
- Added release-keycode to slang. This may cause problems?
- From WE Metzenthen <[email protected]>
Hi,
Having some dos stuff which I wanted to run, I decided that it was
time to update my dosemu. Unfortunately, I still only run a mono HGA
card so dosemu-0.60.3 was not a stunning success. Anyway, I dug into
the sources to the extent which was necessary to get it to work with
my HGA card and the resulting patches are attached to the end of this
message. The patches also improve the functionality in that dosemu
now does something more sensible with the cursor.
Not having followed the development of dosemu closely, I don't
claim that these patches represent the correct way to solve the
problems, only that they work for me under admittedly limited testing.
The patches also apply cleanly to dosemu-0.60.4.3 (apart from a
trivial Makefile change) and seem to compile o.k., but I haven't
checked the result because I don't want to bother with modules yet.
--Bill
Tue Oct 03 1995
- From: "Pavel Kankovsky" <[email protected]>
These my patches are against 0.60.3 (but they seem to still be
usable in 0.61.00 from what I have seen at the first glance).
Here is some description only (usable as ChangeLog entries, I hope),
diffs themselves are enclosed as attached files (dosemu[0-3].diff).
Patch 0 fixes 3 things in mfs.c:
- Mktime() uses tm_isdst value (unlike stated in the original source code)
leaving it unset causes random mtime shifts by one hour and has funny
effects esp. when running make, value -1 (which meaning is "figure out
the proper value yourself" :> ) seems to be the best one for me.
- Hlist stack management was quite 'kludge-o-matic' in the original code
and caused problems with Quattro Pro 5.0 installation program which
starts a directory search, does NOT finish it and spawns unzip program
that starts another directory search, and upon unzip's exit, both lists
were popped, making the installation die eventually.
I rewrote findfirst/next and hlist_push/pop to allow this case and
do it all in a bit cleaner way.
- Findfirst returns FILE_NOT_FOUND no more because original Dos returns
this value only for EMPTY directories (even no ., .., volume label!),
so NO_MORE_FILES is more convenient in most cases (esp. for Volkov
Commander -- Norton Cmdr. alike -- that used to complain "Can't read
volume in drive X:" every time it got FILE_NOT_FOUND for findfirst)
Patch 1 brings some improvement I made in dosdbg.c and its counterpart
dyndeb.c to help myself when examining PIC working. The original code
does not accept debug levels (as Dosemu command line options do). Now
you can do something like "dosdbg 3r" when Dos boots and reduce the
debugging log by cca 300 kilobytes. :-)
Patch 2 makes Dosemu safer as it does not allow ordinary users to do
"dos -F ..." with dangerous (e.g. direct disk access) settings in their
configfiles.
Patch 3 modifies keyboard driver finalization so as to let keyboard leds
follow in-kernel num/caps/scroll-lock flags again. (I was trying to make
it save led-function setting and restore it later but the kernel does not
seem to provide a straight-forward way of doing it. Bad luck.)
I hope it will help make Dosemu better Dos than Dos! :-)
Yours Sincerely, +-----------------------------------------
| DCIT s.r.o., CDMS, J. Martiho 2/407
Pavel Kankovsky aka PeaK | 160 41 Praha 6 - Veleslavin, Czech Rep.
<[email protected]> | phone/fax: (42 2) 316 42 78
| web: http://www.dcit.cz/
Mon Oct 02 1995
- Patches to XMS for better himem compatibility
Wed Oct 11 22:28:05 1995 John Kohl <[email protected]>
* Update for latest NetBSD stuff
Wed Sep 27 1995
- Included many patches to get NetBSD back on track.
- Added in 2 patches for debugger and other en-Hans-ments :-)
Tue Sep 12 1995
- Added first layer of DMA and SoundBlaster code oringinally
contributed by Joel Weber (age 15), then put into the
distribution by Alistair.
Sat Sep 09 1995
- Added FOSSIL internal support by
[email protected] (Pasi Eronen)
- Added X enhancments and -O option by
Uwe Bonnes [email protected] and Pasi.
- Hans' latest syscallmgr updates.
Thu Jul 28 1995
- Release DOSEMU-0.60.4.tgz
- Hans' patch to dpmi.c
- Added CLTS from [email protected] (Richard Evans)
- Added .ini extensions from Jon
- From Snow Cat
2) pic/pic.c has some assembler code that doesn't work with -O3 because it's
using global labels that get expanded more than once. Fixing it to use local
labels solves the problem.
3) mfs/mfs.c doesn't handle "commit file" and "flush all disk buffers". It
causes AH=68H/int 21H to return an error code that confuses database programs.
I changed COMMIT_FILE to do fsync() and FLUSH_ALL_BUFFERS to do nothing and
return success (because sync()ing every time DOS wants to flush buffers makes
too much noise).
.... and some other patches too.
- Mfs patch from Andi.
- Mouse patches from [email protected] (Michael Beck)
- Patches for UID settings by Steven P. Crain
Wed Jun 28 1995
- Release DOSEMU-0.60.3.tgz
From Hans :
This is a summary of my changes since dosemu0.60.2:
- Upgraded syscallmgr/insmod to modutils-1.2.8
(full insmod-tree is in insmod-1.2.8-HACKER_TOOL.tar.gz)
Now can (mix) load a.out- or ELF- modules into
a.out- or ELF- kernels.
- New LDT support for emumodule, now can access the *real* LDT
from dosemu user space. How it works can be seen in ldttest.c
- Made emumod ELF compilable
( patch from Rick Sladkey <[email protected]> )
- Took over some changes to vm86() from Linux 1.2.11 and 1.3.3
into emumodule. Also now doing full verify_area on all accessed
user space in emumodules' vm86() (USE_VM86_STACKVERIFY).
This fixes some odd DOS register messups.
- Fixed wrong flag handling in bios.S for INT10 .. INT1B
(some of them should IRET).
- Improved return to DOS-space from dosemu redirected INTs
int dosemu/int.c function do_int().
(did respawn to dosemu immediately, so leaving the DOSapp
no chance to react).
- Fixed interruption of DOS space when interrupts were disabled.
( check for VIF at entry of pic's run_irqs() ).
This fixes the main trouble together with sillyint (exception 6 bug).
JES did the rest by finding this damned WRITE_FLAGS bug and
fixing various VIF/IF handling.
- Now dosemu will do register dump if -g debugflag is set and
if killed via SIGHUP. So we can see were the DOSapp is hanging.
- Varous fixing for sillyint (SIG), so it now complies with the
new pic-handling.
- Fix startup recognition of loaded emumodule. Now it will exit
with error if no module is loaded and REQUIRES_EMUMODULE is set.
- Made dosemu/sigsegv.c real-mode-386-compatible and fixed wrong
prefix handling (ES,DS,GS,FS,REP).
Moved some remaining 'fprintf(stderr)' to 'i_printf()'
- Fixed overload condition resulting in DOS internal stack overflow.
(<ESC> bug while using SLANG terminal). This is done by monitoring
the difference between pic_sys_time and pic_dos_time and avoiding
vm86() respawning to fast when OVERLOAD_THRESHOULD is reached.
This way DOS has a better chance to catch up some additional
CPU time in order to be in schedule with pic_sys_time.
- Fixed dualmon messup (didn't work a lot of last releases).
So long,
Hans
Fri Jun 22 1995
- Patches to emumod/vm86.c by Hans to fix some real
odd register bugs.
- Update to READ/WRITE_FLAGS to remove bug of
VIF being cleared when CARRY/NOCARRY used.
- Patches to pic.c from JL.
- Mods to the mfs.c code in an effort to get FCB callouts
working again.
- File locking implemented in mfs.c thanks to Jack.
- Allow booting from a sector image file
Wed May 31 1995
- Mouse patches from Alan Hourihane
- Made priv_on/off into functions.
- CDrom addition for Aztech/Orchid/Okano/Wearnes by
Werner Zimmermann ([email protected])
Mon May 29 1995
- JL's latest PIC overflow patch
- Kang-Jin Lee's latest help
Sat May 27 1995
- PIC enhancements.
- More support for CD-ROMs
- Dong's DPMI enhancements
- Change mouse.com to emumouse.com
- Mods to mfs.c for Novell compatibility
- Mods to emumodule by Hans
Fri May 12 1995
- RELEASE of DOSEMU0.60.2.
- Xkeyb.c -> More patches.
- Xkeyb.c changes mostly from Ross Becker (many thanks for
following up on this).
- Hans' latest for SIG and Emumod
- JL's PIC enhancements
- Dong's Mods for Pharlap extender capability which includes an
additional patch in ./dpmi/kernel.diff. This patch
(./dpmi/kernel.diff) will bomb on kernels > 1.2.7 as Linus has
included part of it (the last patch - to vm86.c) into 1.2.8.
Having said that, please choose to either :
1) Use emumodule which makes this all redundant
2) Use this full patch to kernels < 1.2.8
3) Remove the last part of this patch to vm86.c
if you are running a kernel > 1.2.7
Sat Apr 22 1995
- Changed disk_init() in ./dosemu/disks.c to allow 'hdimage'
being opened readonly.
- Added Dong's DPMI patches.
- Small patch to mouse.c for non-X compiles
Fri Apr 14 1995
- RELEASE of DOSEMU0.60.1.
- Patches to internal mouse.
- Patches to serial.
- Patches to PIC.
- Set X_keycode back to 0. This will require setting keycode in
your /etc/dosemu.conf for all folks who didn't need it before.
Sat Apr 08 1995
- OFFICIAL RELEASE of DOSEMU0.60.0.
- Last minute cleanup by Lutz.
- Last minute bugfixes by Dong
- Some additions to some docs.
Tue Apr 04 1995
- Upadate to config.dist by Don Parsons
- Speed.com for changing HogThreshold on the fly by
Tim Van der Linden
- Patches to mouse for logitech/mm from David
Sun Apr 02 1995
- Release pl58
- John's cleanup of SLANG including screen size fix.
- Preparing for the onslaught of user E-mail from above,
I added the file name being parsed to yyerror().
- JL's PIC patch for serial, etc...
- Hans' latest. It removes the KERNEL_VERSION hack too :-).
- Dong's DPMI patches to get the BCC IDE going. Also includes
small patch to serial.c to dissallow mice from being
initialized if not at the console.
Thu Mar 30 1995
- Release pl57
- Scott's timer patches for speaker emulation
- Hans' patches to bring emumodule to 1.2.2
- More cleanup+ by Kang-Jin Lee [email protected]
- Added hack for KERNEL_VERSION to lower E-mail :-)
- Rod May's dummy HDiamge (hddummy)
Tue Mar 28 1995
- Release pl56
- Kang-Jin Lee [email protected] patches to
lredir.c, unix.c, mouse.c, etc...
- Addition of tty_locks { } from:
Matthew Grant <[email protected]>
Mon Mar 27 1995
- John's patches to add priv_on() and priv_off().
- Dong's latest DPMI enhancements
- Scott's latest timer code to remove the need for
speaker access to port 0x42
- Hans' syscallmgr/emumodule combo so now we will not
require kernel patches to run DOSEMU with the extra
DPMI support. There are 2 scripts load_module.sh and
unload_module.sh to make the module stuff easier for
newbies. You'll need to modify the
Makefile if you chose to go with emumodule support
for this release.
Sat Mar 25 1995
- Release pl55.
- Patches by Rod May:
I've got patch for you that will check that partitions
specified for DPA are not already mounted. As it stands you get
an error if the fs is mounted read-write, and DPA read-only is
*not* specified. You get a warning if one is read-write and the
other read-only. Both read-only is accepted.
- Hans' latest patches to bring the syscallmgr compliment
up to 1.2.0.
- Various patches by Marty
Wed Mar 22 1995
- Release pl54
- Got TankWars going. Did so by removing section of
bios/bios.S that starts at orig 0xfff0. Put that
back into init/init.c as *ptr += code :-(. Now...
Why did this cause this problem?
- Latest and greatest serial patches from Mark. Should
allow DPMI good access to serial interrupts as well as
better throughput for transfers.
- Dong's latest DPMI series.
- Dong's shift to readonly bios parts.
Sun Mar 19 1995
- Release pre0.53.53
- Latest DPMI from Dong
- Locking serial ttys from:
Matthew Grant <[email protected]>
- Little work on ctrl-alt-del rebooting, but no success.
Fri Mar 17 1995
- Release pre0.53.52
- Larry's mods to use HLT code for IRETS
- Markky's code to make the timer faster
- Scott's latest PIT additions (some probs here)
- Added Dong's kernel patch to ./dpmi/kernel.diff
- Added back in network code :-(
- David's updates for LPT to ./examples/config.dist
- Put the internal mouse call on IRQ12.
- Some of this and a little of that.
Thr Mar 16 1995
- Release pre0.53.51
- Minor updates to DANG
- [email protected] (Kang-Jin Lee) submitted new
isemu.c/com, dosdbg.c/com, config cleanups.
- Andrew's latest mfs patches to hide hidden files.
- David Hansen <[email protected]> patches to add
lpt port configuration to the conf file.
- Marty added chdir, system and getcmd commands.
Wed Mar 15 1995
- Added "Andrew.Tridgell" <[email protected]> 's
name mangling patch to mfs.c. Too bad Andrew had to see
his previos work in such a hacked state :-(.
- Dong's latest DPMI patches.
Tue Mar 14 1995
- Changed Makefile to make;make install
- Replaced 2>debug with -o debug
- New libslang.a (also on tsx.../Incoming)
- Patches from Lutz. At this time we'll leave it at that :-)
- Changes from Marty
- JL's latest PIC enhancements.
Sun Mar 11 1995
- 2 patches from Lutz
- John's latest SLANG. Now does ctrl-alt-del :-)
- Moved to keyboard-{server/client}.c
- Added Daniel's redirection via -o patches.
Thr Mar 08 1995
- Added keyboard fix. Much more to go :-(
- Added Scott's timer fix.
- Added more timer code from Scott and Mark.
Tue Mar 06 1995
- Release pl48
- Latest from Marty (need to test serial)
- Scott adds new timer code
- Latest DPMI
- Latest Slang, uses ^^ instead of ^@.
- Beginning of keyboard split.
- Alistairs UNIX power additions:
OK - This version of unix.exe allows you to interrogate UNIX environment
variables and then execute a program contained within AND you can now pass
programs to DOSEMU to execute.
Basics:
Passing a command to DOSEMU:
============================
dos -E "command to be passed to DOSEMU" ....
....
C:\> unix.exe -e
>> RUNS command to be passed to DOSEMU <<
Executing the contents of an UNIX Environment Variable:
=======================================================
C:\> unix.exe -e ENV_VAR_NAME
>> RUNS COMMAND NAMED IN env_var_name <<
NB ENV_VAR_NAME will probably need to be in CAPITALS !
Running a UNIX Command:
=======================
(As Before...)
C:\ unix.exe ls -l /dev
>> RUNS "ls -l /dev" under Linux .... <<
----------
Alistair
Fri Mar 03 1995
- Release pl47.
- Small EMS fix.
Wed Mar 01 1995
- Add break to -v cmdline option :-(.
- Added new slang code from John. Includes:
1. Online help
"^@?"
2. Sticky modifier keys.
3. Easy terminal independent way of simulating function keys, e.g., ^@5
is F5.
4. Mechanism for panning screen for terminals with less than 25 lines.
5. Redraw
- Dong/Lutz latest DPMI
- Kevin's latest BOCHS changes.
Sat Feb 25 1995
- Released pl46.
- Added -v[1-4] option for John to configure cardtype at
DOSEMU boot time. (1=VGA, 2=EGA, 3=CGA, 4=MDA)
- Added in JL's latest keyboard PIC fixes.
- Added in Marty's humungous set of patches. Inncludes
changes to PIC layout.
- Subset of mouse patches sent in and filtered via Alan.
Thr Feb 16 1995
- Release pl45
- Lutz et Dongs latest
- Hacked ipxutils to compile again.
Sun Feb 12 1995
- Added ipx.h to ./init/init.c
- Fixed VC hangs due to GP on memcpy in vc.c
- Added back in ctrl-G beep in init10.c
- Added some code to get keyboard working in non-keybint mode.
Fri Feb 10 1995
- Release pl44
- Added Lutz/Dong's latest patches. Includes another possible
fix to the PIC keyboard problem.
- Added Alan's latest mouse patches.
- Added rebuilt run_unix_command(). See ./dosemu/int.c
for details.
- Added Scott's latest cleanup patches.
Sun Feb 6 1995
- release pl43
- Added Dong/Lutz patch for pic_cli();
- Set (hardcoded) X window to 80x25.
Sun Feb 5 1995
- Added latest DPMI patches.
- Patched in Scott's latest dosemu cleaning up.
Also from Scott:
James,
Well, I restarted the patch work that I sent to you some time ago. I
haven't gotten all the way through it yet (sadly), but here goes:
I propose a naming convention for the initialization procedures:
xxxx_init() for something that only gets called once
xxxx_setup() for something that gets called at each 'reboot'
(e.g. internal reboot -- the code that doesn't work)
- Dualmon patches from ([email protected]> (Erik Mouw)
- Rewritten unix.c to compile under various DOS C-compilers.
Mon Jan 30 1995
- Must mention that JL has added an interrupt watchdog
timer so that the keyboard behind problem may be resolved.
- Backed out Marty's exchange_uids() as they were slightly
incomplete and causing video switching (etc) problems.
- #if 0'ed Marty's dbg_fd changes until this is complete.
This has caused some problems for folks trying to boot
DOSEMU.
- Added 2 sets of Lutz's DPMI patches.
- Added Ed's mouse garrot enhancements (inc mgarrot.com) to
reduce DOSEMU CPU time even more during mouse activity.
- Dissallowed video segment IPC attachment when Xdos is
used.
Fri Jan 27 1995
- Another week, and quite a few goodies. IPX updates
from Greg Page. Many mouse updates from Alan. Some
DPMI changes from Dong so that jed386 will run.
- Renamed termio.* to keyboard.c. Attempted to move all
keyboard functions into the keyboard subdir.
- Well, for better or worse, watch out world, I've started
back again on some of the client/server aspect. Remeber
that :-)? At this time, dosemu now creates a file:
/tmp/dosemu.<PID> with basic info and SHM id's. To
see how amazing this is (pun is intended!),
cd clients and make. Then you'll have 2 programs:
video - To just dump the dos processes 80x25 video screen
(Must NOT be in graphics or console mode)
keyboard - To dump what is in the DOSEMU keyboard buffer.
(NOT the DOS 40:?? buffer)
Both programs require a pid as parrameter 1.
Fri Jan 20 1995
- Additions by Denis Julitovto make ctrl-alt-del stuff work.
Fri Jan 16 1995
- Release pl40
- Upsetting the DPMI apple cart during testing of timer.exe. Now
the following rules have been applied with hacking :
1) calls to realmode procedures do NOT run handle_signals() so
that DPMI properly deals with them upon return.
2) hardware int's are first reflected to the possible
protected mode interrupt handle, which may (and usually
does) reflect them back to the realmode handler.
Fri Jan 13 1995
- Added Alan's mouse patches
- Added Scotts big patch to make int.c and move signals into signal.c
- Small patch to bios_emm.c so that seg -> phy requests are properly
handled.
Mon Jan 9 1995
- Small change to EMS so that Allocate pages allows allocation
of 0 pages. This allows Windows 3.0 to run small EMS frame.
- Scott has brought garrot into DOSEMU :).
- Got Hans's ./tools/sh.kversion to work. sorry Hans.
- [email protected] Michael Beck
Here it comes. The patch is very stupid, and add the classname XDosEmu
when dosemu runs with X-Support. Use fvwm's ICON "XDosEmu"
to get the icon.
BTW, perhaps someone should change the config-parsing, so instead of
the Iconname the user can set the classname.
ALSO:
> > And last: I have converted a lot of fonts for DosEmu from
> > MS Wind**s FON files and some other sources (CPI and FEDIT files).
> > Sorryly The FON files are copyrighted, so I think I cannot distribute
> > them. However, perhaps I can distribute the converter, so at
> > least the millions of millions Wind**s owners can convert them ;-).
> > Mail me if you are interested.
>
> Yes, always interested. This means that vga.pcf would not be alone? I
> could just add it into the dosemu directory on tsx-11.
>
I send you the package, but my english is very bad, so perhaps someone
check it and rewrote my readme (sorry for that, but my time is
limited now, the hollidays are over :-(
Sun Jan 8 1995
- Released pre0.53_39
- All Hans' patches to get a working kversion.h system in place.
Finally we can easily(?) keep dosemu working with various
releases.
- From Alan:
Hi James,
I saw in the code you've been doing a bit of hacking with 2/3 button
mice. Well I modified a bit of the code and hope this helps a little.
What I've done is provided switchable PC Mouse/Microsoft mice modes
within DOSEMU. I've re-written mouse.S to become mouse.asm (Sorry, I couldn't
suss out gas to compile dos progs, so I had to use a86). Anyway I've also
provided the NEW ! raw mouse.com at the end of this message in uuencoded
format.
There have been a few more subtle changes to the code that you'll
probably notice too. One of the more obvious, is that the internaldriver
now can have 3 button emulation on 2 button mice.
Anyway MOUSE.COM now takes some arguments...
r - resets the iret. Put "mouse r" in your autoexec now..
i - inquire current configuration of mouse driver.
p - Set PC Mouse mode (3 buttons)
m - Set Microsoft mode (2 buttons)
I'll be implementing more as we go along...
Some of the PS/2 Mouse BIOS routines have been deleted/re-written, as the
existing code was wrong.
Alan.
Hi again.
Some more fixes.
Apparently according to my documentation there are some wrong doings
in the show/hide stuff. There should be a counter which if 0 the cursor shows,
but it is possible to do ... hide(), hide() which will make the counter -2,
then doing a show() with put the counter at -1, but will still not show the
cursor. Doing another show() will make the cursor appear.
- Alan's patches to get Hans' emumod system compiling again.
- Added new lredir.exe and lredir.c from Tim Josling <[email protected]>:
The problems fixed are:
Doesn't check that argv[2] exists before using it, causing a loop in some
cases.
Function that returns nothing is specified to return some type of int,
causing compiler complaints.
Drive mounted read-only is reported as read-write.
I tested the fixes pretty thoroughly so they shoudl be OK. I compiled
with Turbo C++ 3.0 when I tested them.
The file below is the full source in dos format (with ^M's). I tried to
generate a diff file but this didn't work as the original file didn't
have the ^M's on many lines so as my editer put them on every line I
ended up with many spurious diff's.
The version of lredir was the one from 0.53pl37.
Regards,
Tim Josling
- Added Lutz's latest DPMI patches. GO32 now runs and shows
memory. Some go32 DPMI programs are running. Yah Lutz.
Wed Jan 4 1995
- Released pre0.53_38. Happy New Year.
- Added Marty's next set of patches.
- Moved Hans' enhancements form 'make doeverything' to
'make itall' so that as kernels change, make doeverything
remains OK.
- Jiggled around where ioctl's to acquire_vt were in vc.c in
an effort to stop more of the VC switch hanging bug.
Tue Jan 3 1995
- Added Marty's Unix.exe to send unix commands from DOSEMU.
To use, just ln files to a unix.exe that you wish to run.
I.E:
ln ./commands/unix.exe ls.exe
from within dosemu, just enter ls and the ls command is executed.