English Amiga Board


Go Back   English Amiga Board > Coders > Coders. Contest

 
 
Thread Tools
Old 07 July 2019, 20:09   #1161
ross
Per aspera ad astra

ross's Avatar
 
Join Date: Mar 2017
Location: Crossing the Rubicon
Age: 49
Posts: 1,823
Quote:
Originally Posted by DamienD View Post
Yeah we know; *cough* Shadow Warriors fixed music 4th stage / trained version
It's somewhere in the cellar
ross is offline  
Old 07 July 2019, 21:21   #1162
Don_Adan
Registered User
 
Join Date: Jan 2008
Location: Warsaw/Poland
Age: 51
Posts: 1,140
Quote:
Originally Posted by mcgeezer View Post
Yes because if d0 is greater than $FF then the move.b (a0,d0),d1 will over run past the look up table.

I fixed it by simply setting d0=0, I didn't try it but I guess I could have fixed it by doing move.b (a0,d0.b),d1.

Geezer
You need only one time to clear high byte in D0, move.b modified only byte, not word or longword. If no dependencies between A4 and BYTE_REVERSE_TAB, you can use fastest version too.

Code:
; Input d1=longword
; Output d1=longword reversed
REVERSE_LONGWORD:
	move.w	d0,-(a7)
	clr.w	d0
	move.b	d1,d0
	move.b  BYTE_REVERSE_TAB(PC,d0.w),d1
	ror.w	#8,d1
	move.b	d1,d0
	move.b	BYTE_REVERSE_TAB(PC,d0.w),d1
        swap    d1
	move.b	d1,d0
	move.b	BYTE_REVERSE_TAB(PC,d0.w),d1
	ror.w   #8,d1
	move.b	d1,d0
	move.b  BYTE_REVERSE_TAB(PC,d0.w),d1
	move.w	(a7)+,d0
	rts
BYTE_REVERSE_TAB
        ds.b 256
Don_Adan is offline  
Old 07 July 2019, 21:58   #1163
mcgeezer
Registered User

 
Join Date: Oct 2017
Location: Sunderland, England
Posts: 1,250
Quote:
Originally Posted by Don_Adan View Post
You need only one time to clear high byte in D0, move.b modified only byte, not word or longword. If no dependencies between A4 and BYTE_REVERSE_TAB, you can use fastest version too.

Code:
; Input d1=longword
; Output d1=longword reversed
REVERSE_LONGWORD:
	move.w	d0,-(a7)
	clr.w	d0
	move.b	d1,d0
	move.b  BYTE_REVERSE_TAB(PC,d0.w),d1
	ror.w	#8,d1
	move.b	d1,d0
	move.b	BYTE_REVERSE_TAB(PC,d0.w),d1
        swap    d1
	move.b	d1,d0
	move.b	BYTE_REVERSE_TAB(PC,d0.w),d1
	ror.w   #8,d1
	move.b	d1,d0
	move.b  BYTE_REVERSE_TAB(PC,d0.w),d1
	move.w	(a7)+,d0
	rts
BYTE_REVERSE_TAB
        ds.b 256
Excellent Don_Adan... have plugged this in and it works great! Much smaller and tidier than my code.
mcgeezer is offline  
Old 13 July 2019, 23:42   #1164
mcgeezer
Registered User

 
Join Date: Oct 2017
Location: Sunderland, England
Posts: 1,250
I've started work on the hi-score table here.... pretty much part 1 of 2.

It isn't a game without the hi-score... however the Amiga version will only have 5 entries, the arcade had 50... there' literally no point in me coding 50 entries.

[ Show youtube player ]

Geezer
mcgeezer is offline  
Old 14 July 2019, 00:11   #1165
vulture
Registered User
 
Join Date: Oct 2007
Location: Athens , Greece
Posts: 968
Whaaaaa? Not even 10?
I'm kidding!
vulture is offline  
Old 14 July 2019, 14:44   #1166
seuden
uber cool demi god

seuden's Avatar
 
Join Date: Jun 2006
Location: Kent/England
Posts: 1,983
Cannot wait for this. Looking awesome as always. Keep up the great work mcgeezer.
seuden is offline  
Old 15 July 2019, 11:11   #1167
str0m
Registered User

 
Join Date: Oct 2016
Location: UK
Posts: 20
mcgeezer - enjoy NERG? Did you break the Rygar machine?
Attached Thumbnails
Click image for larger version

Name:	rygar.JPG
Views:	104
Size:	83.7 KB
ID:	63756  
str0m is offline  
Old 15 July 2019, 13:47   #1168
mcgeezer
Registered User

 
Join Date: Oct 2017
Location: Sunderland, England
Posts: 1,250
Quote:
Originally Posted by str0m View Post
mcgeezer - enjoy NERG? Did you break the Rygar machine?
Disgraceful how they can let a machine go like that.
mcgeezer is offline  
Old 15 July 2019, 13:52   #1169
dlfrsilver
CaptainM68K-SPS France
dlfrsilver's Avatar
 
Join Date: Dec 2004
Location: Melun nearby Paris/France
Age: 42
Posts: 8,103
Send a message via MSN to dlfrsilver
True, it should be shining and restored.
dlfrsilver is offline  
Old 15 July 2019, 15:23   #1170
str0m
Registered User

 
Join Date: Oct 2016
Location: UK
Posts: 20
heh most were in good condition to be fair, perhaps a recent purchase and awaiting proper restoration (and now fixing!)
str0m is offline  
Old 16 July 2019, 23:24   #1171
mcgeezer
Registered User

 
Join Date: Oct 2017
Location: Sunderland, England
Posts: 1,250
You'd be surprised as to how much effort it takes to actually build a hi-score entry screen. It's one of those jobs that when you build a game you don't really relish the prospect of coding it because they are really hard to get right!

There's still bugs in it but they're not big ones...probably a couple of hours work to get it nailed but I'm super tired today.

[ Show youtube player ]

The release is likely October... I now need to play test the entire thing and remove as many bugs as I can find.
mcgeezer is offline  
Old 16 July 2019, 23:49   #1172
invent
pixels

invent's Avatar
 
Join Date: May 2014
Location: Australia
Age: 48
Posts: 260
Thanks for all your efforts mcgeezer, go have a good rest
invent is offline  
Old 17 July 2019, 23:25   #1173
mcgeezer
Registered User

 
Join Date: Oct 2017
Location: Sunderland, England
Posts: 1,250
Had a bit of a night off coding and played a few of my best shooters... Nex Machina and Raiden...

While I was playing the latter something dawned on me which I confirmed by running though MAME.

Raiden has a resolution of 192x256 (despite what the arcade says).

It is absolutely a perfect candidate for the Amiga for a vertical shooter, bitplane mode could be put into x4 with all hardware sprites available along with some serious multiplexing. All the graphics are easily extracted... I'd need to look further at the tile-maps but I am tempted....

or then I could just take a break after Rygar.

Probably the latter
mcgeezer is offline  
Old 17 July 2019, 23:37   #1174
DamienD
Global Moderator

DamienD's Avatar
 
Join Date: Aug 2005
Location: London / Sydney
Age: 42
Posts: 14,583
Who doesn't love Raiden / Raiden II / Raiden DX???

If I was to throw another similar game in that I blew many a quarter on: Twin Cobra
DamienD is offline  
Old 18 July 2019, 00:17   #1175
Dunny
Registered User

Dunny's Avatar
 
Join Date: Aug 2006
Location: Scunthorpe/United Kingdom
Posts: 1,276
Quote:
Originally Posted by mcgeezer View Post
Had a bit of a night off coding and played a few of my best shooters... Nex Machina and Raiden...

While I was playing the latter something dawned on me which I confirmed by running though MAME.

Raiden has a resolution of 192x256 (despite what the arcade says).

It is absolutely a perfect candidate for the Amiga for a vertical shooter, bitplane mode could be put into x4 with all hardware sprites available along with some serious multiplexing. All the graphics are easily extracted... I'd need to look further at the tile-maps but I am tempted....

or then I could just take a break after Rygar.

Probably the latter
Thought you were volunteering for Outrun next?
Dunny is offline  
Old 18 July 2019, 00:41   #1176
DamienD
Global Moderator

DamienD's Avatar
 
Join Date: Aug 2005
Location: London / Sydney
Age: 42
Posts: 14,583
...or Wonder Boy; as I know you love it
DamienD is offline  
Old 18 July 2019, 01:09   #1177
roondar
Registered User

 
Join Date: Jul 2015
Location: The Netherlands
Posts: 1,243
If I were him, I'd volunteer for a vacation first
roondar is offline  
Old 18 July 2019, 10:19   #1178
dlfrsilver
CaptainM68K-SPS France
dlfrsilver's Avatar
 
Join Date: Dec 2004
Location: Melun nearby Paris/France
Age: 42
Posts: 8,103
Send a message via MSN to dlfrsilver
Quote:
Originally Posted by DamienD View Post
...or Wonder Boy; as I know you love it
I have already started working on this one :P
dlfrsilver is offline  
Old 18 July 2019, 10:23   #1179
malko
Ex nihilo nihil

malko's Avatar
 
Join Date: Oct 2017
Location: CH
Posts: 1,814
Coooooooool
malko is offline  
Old 18 July 2019, 11:24   #1180
DamienD
Global Moderator

DamienD's Avatar
 
Join Date: Aug 2005
Location: London / Sydney
Age: 42
Posts: 14,583
Quote:
Originally Posted by dlfrsilver View Post
I have already started working on this one :P
What, you / someone else are doing a Wonder Boy port?

...or are you saying that you're ripping all arcade assets for Graeme?
DamienD 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
Entry: Rygar AGA Edition mcgeezer Coders. Entries 75 28 February 2019 20:41
On the Ball - World Cup Edition AGA djcasey request.Old Rare Games 4 25 January 2013 12:39
On The Ball League Edition AGA , Player Manager 2 StarEye Games images which need to be WHDified 11 22 January 2010 18:21
The Vague #1 AGA-RTG edition is released ! kas1e Amiga scene 12 30 October 2007 00:27
On The Ball: World Cup Edition AGA CodyJarrett request.Old Rare Games 11 27 May 2003 06:14

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:12.


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