English Amiga Board


Go Back   English Amiga Board > Coders > Coders. General

 
 
Thread Tools
Old 17 April 2018, 10:21   #121
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 43
Posts: 21,786
"Standard" debugging questions:

Have you narrowed it down to specific CPU models/accelerators or is it "all"? (does it happen with 68020/030? Only with 68040+) It isn't necessarily caused by CPU speed.

Does it happen if booted without startup-sequence/directly from floppy? (without setpatch/cpu libraries)

Missing blitter waits should be easily visible in emulation (if immediate blitter/wait for blitter are not ticked) with fastest possible CPU speed.
Toni Wilen is online now  
Old 17 April 2018, 11:31   #122
mcgeezer
Registered User

 
Join Date: Oct 2017
Location: Sunderland, England
Posts: 524
Quote:
Originally Posted by Toni Wilen View Post
"Standard" debugging questions:

Have you narrowed it down to specific CPU models/accelerators or is it "all"? (does it happen with 68020/030? Only with 68040+) It isn't necessarily caused by CPU speed.

Does it happen if booted without startup-sequence/directly from floppy? (without setpatch/cpu libraries)

Missing blitter waits should be easily visible in emulation (if immediate blitter/wait for blitter are not ticked) with fastest possible CPU speed.

Hi Toni,

From the testing done to date, the game runs solid on an A1200 without an accelerator running, specifically @Nightshift tested the game and as soon as he enabled his accelerator running at 28Mhz he was able to get the game to hang.

I've always had the Blitter/Wait ticked in WinUAE so you're saying that I may be able to reproduce this if I untick it and run an A1200 config at 28Mhz - is that right?

Cheers,
McGeezer
mcgeezer is offline  
Old 17 April 2018, 11:40   #123
mcgeezer
Registered User

 
Join Date: Oct 2017
Location: Sunderland, England
Posts: 524
Quote:
Originally Posted by Asman View Post
@mcgeezer
change (mean adapt ) your blitter waits macro to
Code:
;-----------------------------------------------------------------------------
;
;in
;	a5 - _custom
;
BLITTERWAIT:	MACRO
		tst.b	dmaconr(a5)
.1\@		btst	#6,dmaconr(a5)
		bne.b	.1\@
	ENDM

;-----------------------------------------------------------------------------
This should help you.
Thanks Asman, I'll give it a try.
mcgeezer is offline  
Old 17 April 2018, 12:09   #124
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 43
Posts: 21,786
Quote:
Originally Posted by mcgeezer View Post
I've always had the Blitter/Wait ticked in WinUAE so you're saying that I may be able to reproduce this if I untick it and run an A1200 config at 28Mhz - is that right?
Yes. Both options are designed to "fix" missing blitter waits because commonly CPU speed is too fast in UAE and too many programs would break.
Toni Wilen is online now  
Old 17 April 2018, 12:10   #125
mcgeezer
Registered User

 
Join Date: Oct 2017
Location: Sunderland, England
Posts: 524
Quote:
Originally Posted by Toni Wilen View Post
Yes. Both options are designed to "fix" missing blitter waits because commonly CPU speed is too fast in UAE and too many programs would break.
Great Toni. I'll try this tonight.
mcgeezer is offline  
Old 30 June 2018, 11:16   #126
BastyCDGS
Registered User
 
Join Date: Nov 2015
Location: Freiburg / Germany
Age: 38
Posts: 58
Send a message via ICQ to BastyCDGS
Hi!

Just reading your amazing development efforts. Congratulations!

Quote:
Originally Posted by mcgeezer View Post
Thanks Apollo

There's no self modifying code or CPU timing loops.
I'll double check the blitter waits though - so a good shout.
Another thing you should check, if your code works with 32-bit memory regions.

68000/68010/68EC020 have only 24-bit address space. So if you use the upper 8 bits when adressing for something different, the code will fail on 32-bit address space.

For example, 0xC0DEDBAD will use actual address 0xDEDBAD on 24-bit address space.
BastyCDGS is offline  
 


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Docs on writing a handler TCH Coders. System 9 18 June 2017 03:46
Writing an (Xbox 360) Kinect USB Driver - achievable? lantus360 Coders. General 3 13 December 2016 13:56
Process for writing original game disk image to disk Doc99 New to Emulation or Amiga scene 6 19 May 2016 12:20
Writing AVI BippyM support.WinUAE 16 20 May 2005 23:43
Found -> Champion Driver (was: top view racing game) T_hairy_bootson Looking for a game name ? 3 06 December 2003 19:08

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 11:40.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2018, vBulletin Solutions Inc.
Page generated in 0.06735 seconds with 15 queries