Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
80 user(s) are online (74 user(s) are browsing Forums)

Members: 1
Guests: 79

AmigaSociety, more...

Support us!

Headlines

 
  Register To Post  

« 1 2 3 4 (5) 6 7 »
Re: Latest DOSBOX : with PPC dynamic recompiler and stuff , right there!
Not too shy to talk
Not too shy to talk


See User information
Thanks, now ISO Hom & M II GOG is mounted correctly. The console reports that OGG audio tracks are loading. Unfortunately, I still have silence in the speakers :( I tried settings with Soundbaster 100% Compatible and Gravis Ultrasound.
CDROMLoaded homm2_01.ogg [44100 Hz2-channel1.9 minutes]
CDROMLoaded homm2_02.ogg [44100 Hz2-channel2.0 minutes]
CDROMLoaded homm2_03.ogg [44100 Hz2-channel1.8 minutes]
CDROMLoaded homm2_04.ogg [44100 Hz2-channel2.8 minutes]
CDROMLoaded homm2_05.ogg [44100 Hz2-channel2.6 minutes]
CDROMLoaded homm2_06.ogg [44100 Hz2-channel2.6 minutes]
CDROMLoaded homm2_07.ogg [44100 Hz2-channel2.4 minutes]
CDROMLoaded homm2_08.ogg [44100 Hz2-channel2.5 minutes]
CDROMLoaded homm2_09.ogg [44100 Hz2-channel2.9 minutes]
CDROMLoaded homm2_10.ogg [44100 Hz2-channel2.0 minutes]
CDROMLoaded homm2_11.ogg [44100 Hz2-channel2.1 minutes]
CDROMLoaded homm2_12.ogg [44100 Hz2-channel1.9 minutes]
CDROMLoaded homm2_13.ogg [44100 Hz2-channel2.1 minutes]
CDROMLoaded homm2_14.ogg [44100 Hz2-channel2.5 minutes]
CDROMLoaded homm2_15.ogg [44100 Hz2-channel1.8 minutes]
CDROMLoaded homm2_16.ogg [44100 Hz2-channel2.0 minutes]
CDROMLoaded homm2_17.ogg [44100 Hz2-channel2.2 minutes]
CDROMLoaded homm2_18.ogg [44100 Hz2-channel0.4 minutes]
CDROMLoaded homm2_19.ogg [44100 Hz2-channel0.1 minutes]
CDROMLoaded homm2_20.ogg [44100 Hz2-channel0.1 minutes]
CDROMLoaded homm2_21.ogg [44100 Hz2-channel1.0 minutes]
CDROMLoaded homm2_22.ogg [44100 Hz2-channel0.2 minutes]
CDROMLoaded homm2_23.ogg [44100 Hz2-channel0.9 minutes]
CDROMLoaded homm2_24.ogg [44100 Hz2-channel0.1 minutes]
CDROMLoaded homm2_25.ogg [44100 Hz2-channel0.1 minutes]
CDROMLoaded homm2_26.ogg [44100 Hz2-channel0.1 minutes]
CDROMLoaded homm2_27.ogg [44100 Hz2-channel1.1 minutes]
CDROMLoaded homm2_28.ogg [44100 Hz2-channel0.1 minutes]
CDROMLoaded homm2_29.ogg [44100 Hz2-channel0.1 minutes]
CDROMLoaded homm2_30.ogg [44100 Hz2-channel0.1 minutes]
CDROMLoaded homm2_31.ogg [44100 Hz2-channel0.1 minutes]
CDROMLoaded homm2_32.ogg [44100 Hz2-channel0.1 minutes]
CDROMLoaded homm2_33.ogg [44100 Hz2-channel0.1 minutes]
CDROMLoaded homm2_34.ogg [44100 Hz2-channel0.1 minutes]
CDROMLoaded homm2_35.ogg [44100 Hz2-channel0.1 minutes]
CDROMLoaded homm2_36.ogg [44100 Hz2-channel0.1 minutes]
CDROMLoaded homm2_37.ogg [44100 Hz2-channel0.1 minutes]
CDROMLoaded homm2_38.ogg [44100 Hz2-channel0.1 minutes]
CDROMLoaded homm2_39.ogg [44100 Hz2-channel0.1 minutes]
CDROMLoaded homm2_40.ogg [44100 Hz2-channel0.1 minutes]
CDROMLoaded homm2_41.ogg [44100 Hz2-channel1.3 minutes]
CDROMGetTrack at sector 4294967149 is outside the playable range
CDROM
GetTrack at sector 4294967149 is outside the playable range
CDROM
GetTrack at sector 4294967149 is outside the playable range
CDROM
GetTrack at sector 4294967149 is outside the playable range
CDROM
GetTrack at sector 4294967149 is outside the playable range
CDROM
GetTrack at sector 4294967149 is outside the playable range
CDROM
GetTrack at sector 4294967149 is outside the playable range
CDROM
GetTrack at sector 4294967149 is outside the playable range
CDROM
GetTrack at sector 4294967149 is outside the playable range
CDROM
GetTrack at sector 4294967149 is outside the playable range
CDROM
GetTrack at sector 4294967149 is outside the playable range
CDROM
GetTrack at sector 4294967149 is outside the playable range
CDROM
GetTrack at sector 4294967149 is outside the playable range
CDROM
GetTrack at sector 4294967149 is outside the playable range
CDROM
GetTrack at sector 4294967149 is outside the playable range
CDROM
GetTrack at sector 4294967149 is outside the playable range
CDROM
GetTrack at sector 4294967149 is outside the playable range
CDROM
GetTrack at sector 4294967149 is outside the playable range
CDROM
GetTrack at sector 4294967149 is outside the playable range
CDROM
GetTrack at sector 4294967149 is outside the playable range
CDROM
GetTrack at sector 4294967149 is outside the playable range
CDROM
GetTrack at sector 4294967149 is outside the playable range
CDROM
GetTrack at sector 4294967149 is outside the playable range
CDROM
GetTrack at sector 4294967149 is outside the playable range
CDROM
GetTrack at sector 4294967149 is outside the playable range
CDROM
GetTrack at sector 4294967149 is outside the playable range
CDROM
GetTrack at sector 4294967149 is outside the playable range
CDROM
GetTrack at sector 4294967149 is outside the playable range
CDROM
GetTrack at sector 4294967149 is outside the playable range
CDROM
GetTrack at sector 4294967149 is outside the playable range
CDROM
GetTrack at sector 4294967149 is outside the playable range
CDROM
GetTrack at sector 4294967149 is outside the playable range
CDROM
GetTrack at sector 4294967149 is outside the playable range
CDROM
GetTrack at sector 4294967149 is outside the playable range
CDROM
GetTrack at sector 4294967149 is outside the playable range
CDROM
GetTrack at sector 4294967149 is outside the playable range
CDROM
GetTrack at sector 4294967149 is outside the playable range
CDROM
GetTrack at sector 4294967149 is outside the playable range
CDROM
GetTrack at sector 4294967149 is outside the playable range
CDROM
GetTrack at sector 4294967149 is outside the playable range
CDROM
GetTrack at sector 4294967149 is outside the playable range
CDROM
GetTrack at sector 4294967149 is outside the playable range
CDROM
GetTrack at sector 4294967149 is outside the playable range
CDROM
GetTrack at sector 4294967149 is outside the playable range
CDROM
GetTrack at sector 4294967149 is outside the playable range
CDROM
GetTrack at sector 4294967149 is outside the playable range
CDROM
GetTrack at sector 4294967149 is outside the playable range
CDROM
GetTrack at sector 4294967149 is outside the playable range
CDROM
GetTrack at sector 4294967149 is outside the playable range
CDROM
GetTrack at sector 4294967149 is outside the playable range
CDROM
GetTrack at sector 4294967149 is outside the playable range
CDROM
GetTrack at sector 4294967149 is outside the playable range
CDROM
GetTrack at sector 4294967149 is outside the playable range
CDROM
GetTrack at sector 4294967149 is outside the playable range

Go to top
Re: Latest DOSBOX : with PPC dynamic recompiler and stuff , right there!
Home away from home
Home away from home


See User information
@Mufa
Is it on x5000 or on x1000? If only on x1000, can you check on x5000 ? It feels like again newlib's issues with those big numbers.

Join us to improve dopus5!
AmigaOS4 on youtube
Go to top
Re: Latest DOSBOX : with PPC dynamic recompiler and stuff , right there!
Home away from home
Home away from home


See User information
@kas1e

Hard to say if it's faster or not compared to r2, PCPBench give different results, sometimes a bit slower, sometimes a bit faster .. i think i will bench a game .. doom can be an interesting one

Aniway are you able to turn off the screenblanker of OS4 when dosbox running ?


Go to top
Re: Latest DOSBOX : with PPC dynamic recompiler and stuff , right there!
Home away from home
Home away from home


See User information
@samo

Quote:

Hard to say if it's faster or not compared to r2, PCPBench give different results, sometimes a bit slower, sometimes a bit faster .. i think i will bench a game .. doom can be an interesting one


Benchs will say nothing probabaly, they too vary all the times. But imho in case with -O3 dosbox will not gain much, just if it not worse, then it can be keept

Quote:

Aniway are you able to turn off the screenblanker of OS4 when dosbox running ?


I don't use screenblankers, so can't say. But it will be strange if way how screenblankers works somehow have connection with other apps. Probabaly you can't turn them off with any other app running then ?

Join us to improve dopus5!
AmigaOS4 on youtube
Go to top
Re: Latest DOSBOX : with PPC dynamic recompiler and stuff , right there!
Amigans Defender
Amigans Defender


See User information
@kas1e

Quote:
But it will be strange if way how screenblankers works somehow have connection with other apps. Probabaly you can't turn them off with any other app running then ?

As for the system's screenblanker, it should be enough to register DOSBox with the Application Library and then set the APPATTR_NeedsGameMode attribute to TRUE whenever a game is started. The screenblanker engine will receive an APPLIBMT_GameModeEntered message, upon which it should stop invoking the blanker. (At least that's what the documentation says. Never tested it myself, as I don't use the screenblanker engine.)

EDIT: Sorry, I was wrong, the attribute that controls blanker activity is APPATTR_AllowsBlanker. Although APPATTR_NeedsGameMode can also be useful; see my post below.


Edited by trixie on 2020/2/9 15:45:15
The Rear Window blog

AmigaOne X5000 @ 2GHz / 4GB RAM / Radeon RX 560 / ESI Juli@ / AmigaOS 4.1 Final Edition
SAM440ep-flex @ 667MHz / 1GB RAM / Radeon 9250 / AmigaOS 4.1 Final Edition
Go to top
Re: Latest DOSBOX : with PPC dynamic recompiler and stuff , right there!
Home away from home
Home away from home


See User information
@kas1e

Quote:
I don't use screenblankers, so can't say. But it will be strange if way how screenblankers works somehow have connection with other apps. Probabaly you can't turn them off with any other app running then ?


Don't know exactly how it works, but for what i've understand an application need to be registered individually in order to disable the blanker engine, Huno do somethings similar with his games/ports and it works.

Pratically when a software is running, the blanker is somekind "freezed" in background letting users to mantain their application (with the content visible) always "opened" even without any user input
Then the internal timer of the blanler will resume back as soon as you close the game window, so yes it's possible in OS4 even without the need disable entirely the blanker engine

EDIT:
Ah it seems Trixie explain in detail how it works

Go to top
Re: Latest DOSBOX : with PPC dynamic recompiler and stuff , right there!
Home away from home
Home away from home


See User information
@Trixie
Quote:

As for the system's screenblanker, it should be enough to register DOSBox with the Application Library and then set the APPATTR_NeedsGameMode attribute to TRUE whenever a game is started. The screenblanker engine will receive an APPLIBMT_GameModeEntered message, upon which it should stop invoking the blanker. (At least that's what the documentation says. Never tested it myself, as I don't use the screenblanker engine.)


Probably not necessary "when game is started", but when just dosbox started ? As in terms of emualtion when we start dosbox "game is started".

Is it something which i can just copy+paste at begining of main() , and at the end when exit happens ? Nothing else need it ? I mean, can you share ready to paste code , so if something will go there wrong i will point by finger and saying "dunno, its Trixie's code" ?:)

Join us to improve dopus5!
AmigaOS4 on youtube
Go to top
Re: Latest DOSBOX : with PPC dynamic recompiler and stuff , right there!
Amigans Defender
Amigans Defender


See User information
@kas1e

Quote:
Probably not necessary "when game is started", but when just dosbox started ? As in terms of emualtion when we start dosbox "game is started".

Yes, that'd be perfectly fine I guess. Just register DOSBox with the Application Library (see the documentation I've written for the Dev Wiki), then call

IApplication->SetApplicationAttrs(appID,
APPATTR_AllowsBlanker, FALSE,
APPATTR_NeedsGameMode, TRUE,
TAG_END);

When DOSBox finishes, it makes good sense to call

IApplication->SetApplicationAttrs(appID,
APPATTR_NeedsGameMode, FALSE,
TAG_END);

This will tell applications monitoring the APPLIBMT_GameModeEntered and APPLIBMT_GameModeLeft messages (such as audio players) that they can freely make noise again. I don't think you need to set APPATTR_AllowsBlanker to TRUE, as the app is about to finish anyway. Finally, you'll call
IApplication->UnregisterApplication(appID, NULL) before you quit.

The Rear Window blog

AmigaOne X5000 @ 2GHz / 4GB RAM / Radeon RX 560 / ESI Juli@ / AmigaOS 4.1 Final Edition
SAM440ep-flex @ 667MHz / 1GB RAM / Radeon 9250 / AmigaOS 4.1 Final Edition
Go to top
Re: Latest DOSBOX : with PPC dynamic recompiler and stuff , right there!
Not too shy to talk
Not too shy to talk


See User information
@kas1e

Quote:
Is it on x5000 or on x1000? If only on x1000, can you check on x5000 ? It feels like again newlib's issues with those big numbers.


I have the same effect on X1000 and X5000.

Go to top
Re: Latest DOSBOX : with PPC dynamic recompiler and stuff , right there!
Home away from home
Home away from home


See User information
@mufa
Ok, so seems that big-fat rewrite is not that good, i ask Jmarsh maybe he can deal with original dos-box code in that terms.

@Trixie
Ok, so that what i do:

#ifdef __amigaos4__
#include <proto/exec.h>
#include <proto/application.h>
#endif

....

int main(int argccharargv[]) {

#ifdef __amigaos4__
    
struct Library *ApplicationBase NULL;
    
struct ApplicationIFace *IApplication NULL;

    
uint32 appID;

    
// application.library (to register app, to enable/disable blankers, etc).
    
if (!(ApplicationBase IExec->OpenLibrary("application.library"52))) {    
        
fprintf(stderr,"Failed to open application.library\n");
        return 
FALSE;
    }     
    
IApplication  = (struct ApplicationIFace *)IExec->GetInterface(ApplicationBase"application"2NULL);
    
    
// register an app for aplication library    
    
appID IApplication->RegisterApplication("DOSBox",
        
REGAPP_URLIdentifier"none",
        
REGAPP_Description"DOSBox x86 emulator",
    
TAG_END); 

    if (!
appID)
    {
        
/* report registration error and quit */
    
}
    
    
// disable screenblanker
    
IApplication->SetApplicationAttrs(appID,
        
APPATTR_AllowsBlankerFALSE,
        
APPATTR_NeedsGameModeTRUE,
    
TAG_END);
#endif
....

#ifdef __amigaos4__
    
IApplication->SetApplicationAttrs(appID,
        
APPATTR_NeedsGameModeFALSE,
    
TAG_END);

    if (
ApplicationBase) {
        
IApplication->UnregisterApplication(appIDNULL);
        
IExec->DropInterface((struct Interface*)IApplication);
        
IExec->CloseLibrary(ApplicationBase);
        
ApplicationBase    NULL;
    }
#endif

    
SDL_Quit_Wrapper();//Let's hope sdl will quit as well when it catches an exception
    
return 0;
}


So, DOSBox now shows fine in the Exchanger, all good, when i quit from it also disappear, but then, no button of Exchanger works. Not that it big deal or related to issue we deal with, but as i on it, maybe it worth to make it all good..

For example, buttons like "show user interface" and "hide user interface" do not active , but only one button "X" active, which should close app, but it do nothing. Probabaly i should do some more stuff there ? (re-reading your doc in meantime)

Join us to improve dopus5!
AmigaOS4 on youtube
Go to top
Re: Latest DOSBOX : with PPC dynamic recompiler and stuff , right there!
Amigans Defender
Amigans Defender


See User information
@kas1e

Quote:
buttons like "show user interface" and "hide user interface" do not active , but only one button "X" active, which should close app, but it do nothing. Probably i should do some more stuff there ? (re-reading your doc in meantime)

Yes, in order to allow application control from program managers such as Exchanger, one has to implement the minimum Application Library support as described in this section of the wiki doc. Basically, you'd have to add a signal to the program's event loop to Wait() for the application port messages, and react upon them (i.e. quit when you receive APPLIBMT_Quit, etc.) But as DOSBox uses SDL, I'm not sure how the event loop is implemented, how much work that would involve, or if it is worth the effort at all.

The Rear Window blog

AmigaOne X5000 @ 2GHz / 4GB RAM / Radeon RX 560 / ESI Juli@ / AmigaOS 4.1 Final Edition
SAM440ep-flex @ 667MHz / 1GB RAM / Radeon 9250 / AmigaOS 4.1 Final Edition
Go to top
Re: Latest DOSBOX : with PPC dynamic recompiler and stuff , right there!
Quite a regular
Quite a regular


See User information
So is it possible to opt out from this commoditylist?

Go to top
Re: Latest DOSBOX : with PPC dynamic recompiler and stuff , right there!
Amigans Defender
Amigans Defender


See User information
@Thematic

Quote:
So is it possible to opt out from this commoditylist?

What do you mean?

The Rear Window blog

AmigaOne X5000 @ 2GHz / 4GB RAM / Radeon RX 560 / ESI Juli@ / AmigaOS 4.1 Final Edition
SAM440ep-flex @ 667MHz / 1GB RAM / Radeon 9250 / AmigaOS 4.1 Final Edition
Go to top
Re: Latest DOSBOX : with PPC dynamic recompiler and stuff , right there!
Home away from home
Home away from home


See User information
@trixie
Thematic probably was under impression that its commodities now as we see in in Exchanger, but its not commoditie but just application, which Exchanger can see.

@mufa
Still can't reproduce your issue :(

I check an my settings are:

Music Preference - CD Audio
MIDI Driver - Creative Labs Sound Blaster or 100% compatible
Digital Driver - Creative Labs Sound Blaser 16 or AWE32

But not sure if it anyhow related..

Then, that what i do:

imgmount d homm3.ins -t iso
heroes2.exe

Can you recheck that it the same for you ? And if bug still will be reproduced, can you also post your full dosbox config with which you test it.

I need somehow reproduce it

Join us to improve dopus5!
AmigaOS4 on youtube
Go to top
Re: Latest DOSBOX : with PPC dynamic recompiler and stuff , right there!
Not too shy to talk
Not too shy to talk


See User information
@kas1e

Check this archive. Inside you have homm2.ins, HEROES2.CFG, my DOSBox.conf and a list of files for my HoM&M II installation.

http://amigaone.pl/robocze/files_her.lha


Go to top
Re: Latest DOSBOX : with PPC dynamic recompiler and stuff , right there!
Home away from home
Home away from home


See User information
@mufa
Tried with your config of DOSBox, with your .ins, with your heroes.cfg, and it still works, damn :( will do more tests.
For it always reproducable ? 100% the same result all the time ? And you 100% use exactly that archive:

http://kas1e.mikendezign.com/aos4/dosbox/DOSBox_r3.lha
?

Plz double-triple check. "version" on that new binary should say "DOSBox r4293 (20.11.2019), build date (8.2.2020)".

Join us to improve dopus5!
AmigaOS4 on youtube
Go to top
Re: Latest DOSBOX : with PPC dynamic recompiler and stuff , right there!
Home away from home
Home away from home


See User information
@kas1e

Roman, is there a MIDI support in this release ?
And is so, how can i enabled it ? ... i mantain "ultradir=instruments" and if i understand correctly it should work with Doom .. but i have no sound at all in game

Go to top
Re: Latest DOSBOX : with PPC dynamic recompiler and stuff , right there!
Home away from home
Home away from home


See User information
@samo79
Quote:

Roman, is there a MIDI support in this release ?

Not sure there is midi support. As i see in old corto's released there were none as well, as on running it says "sorry no midi support".

But some games for me surely play midi (like heroes2), dunno how it all works. That all need invistigation and co, so not right now for sure.


Join us to improve dopus5!
AmigaOS4 on youtube
Go to top
Re: Latest DOSBOX : with PPC dynamic recompiler and stuff , right there!
Quite a regular
Quite a regular


See User information
The PLAYMIDI program for Ultrasound just works across the different emulators (Dosbox that is). As I understand it, it's the actual old player, not an emulator edition.

Go to top
Re: Latest DOSBOX : with PPC dynamic recompiler and stuff , right there!
Home away from home
Home away from home


See User information
@All
Can anybody test on x5000 (exactly on x5000) , the old version of DosBOx (which inside of osdepots's archive in directory "old"). It's SDL1 one, and for me, once i tried to use it, it always lockup and freezes. Want to understand if it problems with my hardware/setup, or common issue.

Join us to improve dopus5!
AmigaOS4 on youtube
Go to top

  Register To Post
« 1 2 3 4 (5) 6 7 »

 




Currently Active Users Viewing This Thread: 1 ( 0 members and 1 Anonymous Users )




Powered by XOOPS 2.0 © 2001-2024 The XOOPS Project