It is currently Thu Jun 20, 2013 10:31 am

All times are UTC + 1 hour




Post new topic Reply to topic  [ 13 posts ] 
Author Message
 Post subject: WinUAE crashed by PB
PostPosted: Wed Feb 04, 2004 10:46 pm 
Offline
New User
New User

Joined: Wed Feb 04, 2004 9:17 pm
Posts: 5
I just installed PureBasic on my WinUAE Amiga and discovered a strange and quite annoying behaviour. Everytime a program is terminated which got started out of the PB editor, WinUAE locks up. Right, it's not only PB on the emulated Amiga or the emulated Amiga itself, it's WinUAE which dies. Pretty extreme.

However, apparently other people seem to successfully use PB on WinUAE, so I wonder what could be the reason. Neither does it help to disable PB's debugger, nor booting the Amiga without startup-sequence and barely running PB, so nasty conflicting patches can't be the reason.

I tried several different example codes which came with PB, no wicked hacks involved therefore. Anyone with a clue what could be wrong? I'm currently working on a project where using PB on WinUAE instead of an original Amiga would make things much easier, so any help would be very appreciated.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Feb 05, 2004 1:22 am 
Offline
PureBasic Expert
PureBasic Expert
User avatar

Joined: Fri Apr 25, 2003 4:47 pm
Posts: 600
Location: New Zealand
not entirely suprised, WinUAE the last (latest) version I downloaded is natoriously buggy, it even crashes on simple workbench stuff, I'm sure they'll fix it all, "eventually".


Top
 Profile  
 
 Post subject:
PostPosted: Thu Feb 05, 2004 1:46 am 
Offline
New User
New User

Joined: Wed Feb 04, 2004 9:17 pm
Posts: 5
I tried it with an older version of WinUAE as well as with the newest (just released yesterday). Same bug. But how is it that there seem to be people who run PB on WinUAE without this problem? I read on this board that even the developer of PureBasic uses WinUAE to develop the Amiga version! Just a rumour?


Top
 Profile  
 
 Post subject:
PostPosted: Thu Feb 05, 2004 1:55 pm 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Fri Apr 25, 2003 6:35 pm
Posts: 147
Location: Greece,Athens
have not use latest winuae to test pb but i had no problems with erlier versions 0.8.23 etc
but i alwyas had problems with debugger enabled

also do you use JIT with 8mb cahce and check the "after picasso" settiing ?

and yes fred develops for some time now pb under winuae (dunno if lately finaly getz a Amiga1 or Pegasos (think we all hope ,and promised updae offcourse;)))

_________________
Christos


Top
 Profile  
 
 Post subject:
PostPosted: Thu Feb 05, 2004 11:36 pm 
Offline
New User
New User

Joined: Wed Feb 04, 2004 9:17 pm
Posts: 5
JIT cache set to 8 MB, after picasso switched on, PB debugger disabled - WinUAE still crashes. :(


Top
 Profile  
 
 Post subject:
PostPosted: Fri Feb 06, 2004 8:15 pm 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Fri Apr 25, 2003 6:35 pm
Posts: 147
Location: Greece,Athens
maybe a problem with a specific patch in amigaos
try booting from a plain workbench disk (not modified)
and kickstart3.1 (pb needs no installation)
and try to compile a simple app i.e window.pb

_________________
Christos


Top
 Profile  
 
 Post subject:
PostPosted: Sat Feb 07, 2004 1:39 pm 
Offline
New User
New User

Joined: Wed Feb 04, 2004 9:17 pm
Posts: 5
As mentioned, I even tried booting without startup-sequence to avoid problems with patches. Didn't help, unfortunately.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Feb 14, 2004 3:06 pm 
Offline
Addict
Addict
User avatar

Joined: Wed Jun 11, 2003 9:33 pm
Posts: 4008
Location: Spa, relaxing and thinking, and thinking...
Sire,
perhaps there are something wrong in your WinUAE configurations.
Try to use 0.8.23 version and change your WinUAE config testing & trying. :roll:


Top
 Profile  
 
 Post subject:
PostPosted: Fri Feb 20, 2004 12:51 am 
Offline
New User
New User

Joined: Wed Feb 04, 2004 9:17 pm
Posts: 5
Well, Psychophanta, as you may guess I already fiddled around with some config settings. If I only knew a bit more about what to look for...

BTW: Compiled executables work just fine. So actually there is a way to use PB on WinUAE. It only is not possible to start a program directly out of the PB editor. Thus debugging is impossible as well. Although not entirely. Actually is possible to debug, only closing the program and returning to the editor doesn't work, as this would be the moment WinUAE gets crashed.

I suspect it could be due to some CPU exception tricks PB pulls off. Maybe. Who knows. And how to handle it?


Top
 Profile  
 
 Post subject:
PostPosted: Fri Feb 20, 2004 9:44 am 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Fri Apr 25, 2003 6:35 pm
Posts: 147
Location: Greece,Athens
if you have time take a visit at irc at 22:00-23:00 GMT+2
i am very curius to see this and examine it
give you my config etc

_________________
Christos


Top
 Profile  
 
 Post subject:
PostPosted: Fri Feb 20, 2004 10:56 am 
Offline
Enthusiast
Enthusiast

Joined: Sat Apr 26, 2003 6:33 pm
Posts: 203
Location: Spain
Hi, i tryed last version of WinUAE v0.8.24, and Purebasic 2.90, and works peferctly, with purebasic editor, with debugger mode, creating executables, all. Here is my complete config, only options that are enabled, if are not listed, are disabled:

RAM:
Chip - 2mb
Fast - 8mb
Slow - 1.5mb
Z3-Fast - 16mb
RTG - 32mb

ROM:
kickstart 3.1.rom
ShapeShifter support

CPU:
CPU Type - 68040
CPU Emulation Speed - Fastest possible
JIT Settings:
Cache Size - 2mb
Const Jump
FPU Support
Force Settings
No Flags
Indirect

Display:
FullScreen
Correct aspect ratio
Centering:
Horizontal
Vertical
Line mode:
Doubled

Chipset:
AGA
Fast Copper
Collision level:
Sprites only

Sound emulation:
Enabled, 100% accurate
Sound buffer size - 3

_________________
Balrog Software
balrog@balrogsoftware.com
www.balrogsoftware.com


Top
 Profile  
 
 Post subject: Me too
PostPosted: Wed Feb 25, 2004 3:02 pm 
Offline
Enthusiast
Enthusiast

Joined: Sat Apr 26, 2003 3:23 pm
Posts: 229
I get exactly the same result as Sire, and have on all previous versions of WinUAE for the last couple of years -- executables run but freeze WinUAE or cause a 'Guru' when run from the editor.

Inner: surprised to hear you have such problems -- WinUAE has always been very stable for me in the Workbench environment.

I know Fred develops Amiga PB on WinUAE, so no idea what the problem could be!

_________________
James L Boyd
http://www.hi-toro.com/
Death to the Pixies!


Top
 Profile  
 
 Post subject: Re: Me too
PostPosted: Wed Jul 28, 2004 11:38 pm 
Offline
Enthusiast
Enthusiast

Joined: Sat Apr 26, 2003 4:47 am
Posts: 219
Location: Dullsville..population: me
The only way I can get PB to work is to turn off the debugger, and never do a compile&run.. just create the exe in ram: and run it from the CLI.
Unfortunatly, that means all debugging is done through loads of PrintN("var1="+str(var1)) etc .. but hey, it works..
Mind you, even then after 6 or 7 compiles, I have to reboot cos PB starts compiling my program as a resident instead of executable, and fills my HD with junk :evil:

Gotta say, PB creates even smaller exes on the Amiga than it does on Winblows.
I did some stuff the other day, just playing around.. 780 byte exe files 8O


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 13 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  

 


Powered by phpBB © 2008 phpBB Group
subSilver+ theme by Canver Software, sponsor Sanal Modifiye