Commit 236ff74
Adding DOSBox as core for DOS TASing (#4217)
* Adding dosbox
* Adding placeholder
* Adding initial placeholder for DOSBox
* update
* Update
* Update
* progress
* Progress
* Increasing mem capacity
* Progress
* Now running timer correctly
* Progress
* Stable
* Parsin inputs
* Keyboard working
* stable before using memfiles
* Now accepting rw hdds
* Hard disk rw working
* Fixing conflict
* Getting samples
* Reading samples but sounds too low
* Reading samples but sounds too low
* Now accepting multiple cdrom/floppy images
* Allowing swapping
* Enabling cdrom and disk swapping
* Simplifying
* Simplifying
* Simplifications
* Simplfiications
* Capturing sdl delay
* Adding configuration presets
* Enabling joystick
* Enabling joysticks
* Added mouse support
* Adding mouse support
* Progress with hard disk
* Adding default hard disk images and making them selectable
* Adding mnemonics, more configs, and some refactoring on the standard confs
* Processing file extensions
* Adding sram
* Adding saveram
* Adding drive lights
* Adding drive lights
* Adding memory domains
* Removing warnings
* Fixing warning
* Revert unrelated changes to Multi-Disk Bundler
* Re-alphabetise lists and clean up diff
* Missed a bit
* Make `DOSBox`' `ISaveRam` implementations `override`
* Fix `DOSBox`' `[PortedCore]`
* Clean up string comparisons in `DOSBox` ctor
* Set values for `WriteableHardDiskOptions` instead of translating
* Clean up reading of DOSBox config presets from embedded resources
* Fix code style warning
* Removing duped line
* Fixing extension parsing
* Small adjustments
* Aligning fps to that of normal DOS
* Aligning fps to that of normal DOS
* Simplified extension getting and adding base config file resource
* Remove unused import
* Properly measuring extended mem size
* Adding more settings and simplifying machine presets
* Adding check for SRAM size to prevent wrong-sized HD being loaded
* Removing unnecessary directive
* Update correct DOS framerate
* Adding sensible configuration presets
* Adding to the config preset description text
* Update src/BizHawk.Emulation.Common/Base Implementations/Bk2MnemonicLookup.cs
Co-authored-by: feos <[email protected]>
* Removing stale config files
* Fixed mouse emulation
* Fixed mouse emulation
* Removing unused keyboard flag
* Addressing feos' comment about virtual height/width
* Fixed bug with saveram
* fix VirtualWidth
scanlines remain constant so they aren't stretched, and width is adjusted to be 4/3 of height, because video modes in DOS were designed for a 4:3 monitor. exact pixel shapes may slightly differ depending on exact pixel clock but setting 4:3 for DOS is standard.
* DependentUpon
* Making FPS configurable
* Making FPS configurable
* Adding fps num/denom
* Implementing proper fps numerator / denominator defaults for DOS
* Passing mouse deltas from bk
* Passing mouse deltas from bk to the core
* expose and use deltas directly
to make it work in hawk, one needs to bind RMouse X/Y for Mouse X/Y Delta in config.ini, by manually editing the file (for now)
* Implementing support for .cue+.bin and other cdrom types
* Fixing sensitivity
* Adjusting mouse sensitivity
* Fixing integration for windows
* [WIP] loading cds from bk
* [WIP] loading cds from bk
* Using .cdrom extension for cdroms, and passing disk name to the read callback
* Using .cdrom extension for cdroms, and passing disk name to the read callback
* Cleanup and fixing .iso loading and swapping
* Fixing .iso loading and cdrom swapping
* Adding default controllers
* Added callback for video updates to prevent tearing
* Removing unnecessary message
* Fix line endings in `Bk2MnemonicLookup.cs`
* Fix indentation
* Fix misc. whitespace crimes
* Drop redundant `<None Remove/>`
* More whitespace fixes
* More code style fixes
* Small fixes
* Fixing misc comments
* Adjusting naming
* Fixing values
* Removing dead code
* Clarifying the source of DOS framerate chosen
* Removing unused variable
* Removing duped assignments
* Fixing typo
* Removing no-longer required SRAM management
* Removing no longer required sram management functions
* Removing no-longer needed SRAM logic
* Fixing framerates as per feos's comment
* Passing init struct for a more tidy initialization. Also fixing identation for good
* Fixing hard landing on failure to load SRAM. This is needed to prevent crashes in dosbox when preserving hard disk contents
* Added missing submodule and artifact
* Reverting unnecessary change
* Removing no longer needd dosbox-iso extensions
* Removing no-longer necessary virtuals
* fix
* Adding lines into readme
* fixing indentation
* Reducing job concurrency for dosbox -- otherwise the server gets overloaded
* adding recursive submodule for dosbox-x
* Simplifying
* Simplifying
* Simplifying
* Simplifying
* Only offer drive switching if more than one drive is present
* Adding proper Disc identification for ISO9660 / Joliet (default target DOS)
* Adding CDROM case
* Moving comments to proper place
* Moving comments to proper place
* Code style fixes
* Clean up handling of Next Disc buttons
* Clean up `DOSBoxKeyboard` definition
* Remove redundant button mnemonic overrides
* remove leftover hack from my initial 2-byte range
it's hard to tell from upstream code what the range should be...
* Fixing mouse buttons getting stuck and aligning mouse speed minmaxes to what dosbox expects
* Removing default framerate for DOS
* set mouse speed range to match raw deltas range
(see 93bc502)
since this makes minimal mouse delta 1 now instead of 2 or 3 (they were different for x and y because ranges were different), I readjusted default sensitivity to match default turning in doom in upsteam
* fix casing on public fields
we use PublicField, _privateField, and localVariable casing
this commit also includes WIP to expose attoseconds like mame does, so that 1 value could be used to determine framerate, and movie parsers won't need too many changes to support DOS framerates
* fix num/denom values to match dosbox-x for when it launches into dos
video dump info was not super clear so I relied on values that are actually assigned to `fps` in `VGA_SetupDrawing()`
TODO: check other machines, update sync settings descriptions when we expose render fps info to user
* use an existing thing instead of GetFullName
it was copied from uae where I made it because I didn't know about `Path.GetFileName(rom.RomPath)`, it's now fixed in master too
increased message duration so user could read potentially long filenames (copied from uae too)
* Move init of new `MouseState` to top and eliminate locals
* fix naming for mouse states
* update submodules
* Adding function to get video refresh rate
* Adding report on video refresh rate update
* Revert "Merge branch 'dosbox' of github.com:SergioMartin86/BizHawk into dosbox"
This reverts commit e5b16a6, reversing
changes made to ced12c5.
* Merge branch 'dosbox' of github.com:SergioMartin86/BizHawk into dosbox
* Removing unnecessary directive
* Fixing reboot
* fps notice formatting
* Zero init fps vals
* Using variable framerates
* Now accepting variable framerates as given by the core
* Moving ISO9660 detection lower
* Storing refresh rate in savestate -- update it on load if different
* fix GetFullName()
* Adding function to get number of ran cycles
* Adding ICycleTiming
* attoseconds are obsolete now
* fix loading CDs with spaces in their name
* Message duration needs to be left to the user to configure. Just passing a null
* Setting notify times back to 4 seconds cause these require a bit more time to read/understand
* Updating CycleCount from within wbx
* Simplifying cycle timing
* Removing FPS change notification, using default waiting times
* Updating submodule
* Fixing bug in disc swapping
* Adding drive selection functionality
* fixing period input
* Adding logic to present disc swapping operations from repeating when holding the button
* added defines for drive id
* point submodule to specific branch
---------
Co-authored-by: YoshiRulz <[email protected]>
Co-authored-by: feos <[email protected]>
Co-authored-by: feos <[email protected]>1 parent 770c295 commit 236ff74
File tree
47 files changed
+5229
-10
lines changed- .github/workflows
- Assets
- dll
- src
- BizHawk.Client.Common
- BizHawk.Client.EmuHawk
- tools/MultiDiskBundler
- BizHawk.Emulation.Common
- Base Implementations
- Database
- BizHawk.Emulation.Cores
- Computers/DOS
- Properties
- Resources
- Waterbox
- BizHawk.Emulation.DiscSystem
- waterbox
- dosbox
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
47 files changed
+5229
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| 40 | + | |
40 | 41 | | |
41 | 42 | | |
42 | 43 | | |
| |||
61 | 62 | | |
62 | 63 | | |
63 | 64 | | |
| 65 | + | |
64 | 66 | | |
65 | 67 | | |
66 | 68 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
88 | 92 | | |
89 | 93 | | |
90 | 94 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1108 | 1108 | | |
1109 | 1109 | | |
1110 | 1110 | | |
| 1111 | + | |
| 1112 | + | |
| 1113 | + | |
| 1114 | + | |
| 1115 | + | |
| 1116 | + | |
| 1117 | + | |
| 1118 | + | |
| 1119 | + | |
| 1120 | + | |
| 1121 | + | |
| 1122 | + | |
| 1123 | + | |
| 1124 | + | |
| 1125 | + | |
| 1126 | + | |
| 1127 | + | |
| 1128 | + | |
| 1129 | + | |
| 1130 | + | |
| 1131 | + | |
| 1132 | + | |
1111 | 1133 | | |
1112 | 1134 | | |
1113 | 1135 | | |
| |||
Binary file not shown.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
251 | 251 | | |
252 | 252 | | |
253 | 253 | | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
254 | 258 | | |
255 | 259 | | |
256 | 260 | | |
| |||
998 | 1002 | | |
999 | 1003 | | |
1000 | 1004 | | |
| 1005 | + | |
| 1006 | + | |
1001 | 1007 | | |
1002 | 1008 | | |
1003 | 1009 | | |
| |||
1056 | 1062 | | |
1057 | 1063 | | |
1058 | 1064 | | |
| 1065 | + | |
1059 | 1066 | | |
1060 | 1067 | | |
1061 | 1068 | | |
| |||
1099 | 1106 | | |
1100 | 1107 | | |
1101 | 1108 | | |
| 1109 | + | |
1102 | 1110 | | |
1103 | 1111 | | |
1104 | 1112 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
23 | 24 | | |
24 | 25 | | |
25 | 26 | | |
| |||
1192 | 1193 | | |
1193 | 1194 | | |
1194 | 1195 | | |
| 1196 | + | |
| 1197 | + | |
| 1198 | + | |
1195 | 1199 | | |
1196 | 1200 | | |
1197 | 1201 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| 31 | + | |
31 | 32 | | |
32 | 33 | | |
33 | 34 | | |
| |||
2024 | 2025 | | |
2025 | 2026 | | |
2026 | 2027 | | |
2027 | | - | |
| 2028 | + | |
2028 | 2029 | | |
2029 | 2030 | | |
2030 | 2031 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| 42 | + | |
42 | 43 | | |
43 | 44 | | |
44 | 45 | | |
| |||
Lines changed: 84 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
856 | 856 | | |
857 | 857 | | |
858 | 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 | + | |
859 | 943 | | |
860 | 944 | | |
861 | 945 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
463 | 463 | | |
464 | 464 | | |
465 | 465 | | |
| 466 | + | |
| 467 | + | |
| 468 | + | |
| 469 | + | |
466 | 470 | | |
467 | 471 | | |
468 | 472 | | |
| |||
0 commit comments