English Amiga Board


Go Back   English Amiga Board > Coders > Coders. Asm / Hardware

 
 
Thread Tools
Old 04 January 2014, 21:52   #1
arpz
Registered User
 
Join Date: Oct 2011
Location: Southampton, UK
Posts: 27
Issue with photon/xxxx WinUAE Toolchain

Hi all,

so I decided to try and actually do something again and came across photon/scoopex's tutorials on youtube, im trying to draw a rasterline as per tutorial 2 but I end up with something that doesn't look right:



Now I've actually deviated from the path in the tutorial because I couldn't get ASMOne to work properly (1.02 from coppershade.org) and opted to use the toolchain and cross compile (http://www.pouet.net/prod.php?which=58703) and basically removed a ton of code from source/main.asm and replaced it with my own. (http://pastie.org/8601187)

Wondered if anyone could offer any insight as to why I'm not ending up with just a nice clean line?
arpz is offline  
Old 04 January 2014, 22:09   #2
arpz
Registered User
 
Join Date: Oct 2011
Location: Southampton, UK
Posts: 27
edit: fixed.

Code:
waitras1:
	cmp.b #$ac,$dff006
	bne waitras1
	move.w #$fff,$dff180
waitras2:
	cmp.b #$ac,$dff006
	beq waitras2
	move.w #$126,$dff180
^ fixed.
arpz is offline  
Old 26 September 2015, 23:33   #3
Photon
Moderator

Photon's Avatar
 
Join Date: Nov 2004
Location: Eksjö / Sweden
Posts: 4,781
Good solution (usual solution, wastes 1 scanline of rastertime). But this is why I always say to tick "Cycle Exact" box else WinUAE runs as fast as possible and now with superfast PCs a whole demo can run in under 1 scanline of rastertime. If you set Cycle Exact, you can code your effects and know (and see) how fast they will run on a real A500.
Photon 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
Photon's A1700 Photon Hardware mods 43 25 December 2011 16:30
Winuae Issue methodman support.WinUAE 5 16 December 2010 20:54
CF issue in winuae jimmer78 support.WinUAE 6 30 May 2009 22:38
Photon Storm Marlon request.Old Rare Games 11 07 September 2007 20:34
Photon Storm Tim Janssen request.Old Rare Games 9 12 September 2002 23:02

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 02:15.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2019, vBulletin Solutions Inc.
Page generated in 0.06385 seconds with 13 queries