VOGONS

Common searches


Search results

Display options

Re: Save States - Proof of concept

Ugh. Guess I'll try a very clean build and see how it goes on my end. 016 mouse.cpp + Add full POD support dosbox.cpp + Add Sdlmain POD support sdlmain.cpp + Add mouse autolock POD support NOTES: Fixes Krondor mouse loadstates from CMOS. Now I notice that CMOS Krondor loading doesn't detect my in- …

Re: Save States - Proof of concept

Copy code to clipboard 1 015 2 3 dma.cpp 4 + Add POD save/load DMA_controller NULL checks 5 6 void DmaController::SaveState( std::ostream& stream ) 7 void DmaController::LoadState( std::istream& stream ) NOTES: Should fix savestate crashes with tandy / cga modes. And likely pcjr.

Re: Save States - Proof of concept

014 midi.cpp + Add real-time MIDI savestate feature MIDI_State_SaveMessage NOTES: This should fix the MIDI crashes. Wasn't there before. Which is probably why LoadState would crash (tries to send -all- junk data on all channels). And I've noticed a CMOS load problem with Krondor (mouse). Will look …

Re: Save States - Proof of concept

That's an interesting place for a bug. But it doesn't happen for me. :( (Roland virtual SC-55 map = Betrayal at Krondor) mpu401=intelligent mididevice=win32 midiconfig=2 mt32.reverse.stereo=off mt32.verbose=off mt32.thread=on mt32.dac=1 mt32.reverb.mode=auto mt32.reverb.time=5 mt32.reverb.level=1 ( …

Re: Save States - Proof of concept

013 mixer.cpp + Rework channel POD state (vars) + Add 'enabled' - Remove 'done', 'needed', 'last' (Reset mixer vars instead on loadstate) void MixerChannel::SaveState( std::ostream& stream ) void MixerChannel::LoadState( std::istream& stream ) gus.cpp + Add mixer channel savestate POD void POD_Save …

Re: Save States - Proof of concept

011 midi_mt32.h - using sergm's syncthread file + added class MidiHandler_mt32 functions - GetSynth - Reset + added class RingBuffer function - reset midi.cpp + Updated to MT-32 sergm class POD format dosbox.cpp - using sergm's new MT-32 config format 012 cpu.cpp + proper 'cpudecoder' POD paging. …

Re: Save States - Proof of concept

@robertmo I have a good amount of debug + debugger + cheats + misc + experimental stuff in my modified build. Can't just simply 'diff'. :( @ykhwong Okay, I understand now. You're loading a loadstate at the CMOS screen (before the game fully boots up)? That doesn't work yet. I normally wait until the …

Re: Save States - Proof of concept

Patches were made with vc express 2008 + gnu-win32 'diff -r'. Didn't know about '-urN' Sadly, quite a lot of things were changed around with the new state PODs. I could go over all the patches again from the merged diff one-by-one and see what flubbed up.

Re: Save States - Proof of concept

Patch does not handle paging - too complicated for me to piece together as a POD. But it does the basic stuff for CPU. Minus special vars each core may use. And resets Dosbox performance timer on load state. Result: Games like 'Another World' go from 30% load failure hangs -> <1% atm. But this game …

Dropped partials in MT-32 games?

Hi, Having played small parts of Space Quest 3 + Monkey Island 1, I've noticed the MUNT console throw out a decent # of 'dropped partials' (playing > 32 partials at a time). So I compiled MUNT + Dosbox to use 128 MAX_PARTIALS + MAX_POLYS, which I think pseudo-simulates chaining 4 MT-32s together? …

Re: Save States - Proof of concept

Squeezed this in. Restructured VGA POD saving. All modes now saved (CGA - EGA - VGA - S3 - S3 other - misc). PIC POD hack removed. Render POD hack removed and rewritten. VGA Memory POD changed around (no POD conflicts). On a good note, Syndicate Wars handles VGA -> SVGA loadstates okay now. But not …

Re: Save States - Proof of concept

Since I may not have time to work on Dosbox states for some time, decided to patch up PIC states (full restore). Because VGA POD changes around PICs (+ Render POD indirectly), two hacks are used to work around this. Until VGA POD is fully restored and corrected. 1) PIC POD --> ZZZ__PIC (loaded after …

Re: Save States - Proof of concept

I tried the debugger but those messages fly by so~ fast. Console did mention something about resolution switch. Then it gets spammed with loads of PIC events. :lol: I find the patch more convenient. Mainly intended just for me but decided to share anyway. :) Normally I'd expect Adlib / SBlaster …

Re: Save States - Proof of concept

Small change to gui/vga_draw.cpp Sometimes it's fun to know what game resolution you're running at void VGA_SetupDrawing(Bitu /*val*/ ) { .. .. // (end of function) { char *str; const char* const mode_texts[] = { "M_CGA2", "M_CGA4", "M_EGA", "M_VGA", "M_LIN4", "M_LIN8", "M_LIN15", "M_LIN16", "M_ …

Re: Save States - Proof of concept

This is a rather large diff that spreads across most of the MUNT files (ykhwong svn-daum 2012-02-20 build). Most of the changes are 'non-intrusive' and don't change the MUNT core. A few dangling pointers / values are now (de-)init'd for savestate compatibility. Hopefully this diff patches correctly. …

Re: Save States - Proof of concept

I'll check out the mt32 patch sometime. Going to work off the svn-daum 2012-02-20 build first. Taking much longer than I wanted to map out how the MUNT ptr structures work (complex beast). I think it's about 85% done and I've finally got a feel how this system works. Save states are about 40% there …

Page 14 of 15