English Amiga Board


Go Back   English Amiga Board > Coders > Coders. General > Coders. Tutorials

 
 
Thread Tools
Old 16 February 2006, 20:43   #1
Crackersixx
Registered User
 
Join Date: Nov 2005
Location: Seattle, wa
Age: 50
Posts: 65
New Tutorial: T2Demo WHDLoad

Hi all,

My tutorial of T2: The Arcade Game (coverdisk demo) is available in the zone and also on my website at www.reversers.net (under amiga->tutorials)

Feedback, corrections, etc... appreciated

-C6
Crackersixx is offline  
Old 17 February 2006, 01:52   #2
Galahad/FLT
Going nowhere
 
Galahad/FLT's Avatar
 
Join Date: Oct 2001
Location: United Kingdom
Age: 50
Posts: 9,004
I liked the tutorial, easy to read and well explained.

1). Could have gone into more detail as to how you know how to convert the sector values given by the game to be converted into something WHDLoad understands, otherwise you run the risk of people not understanding how you got to get WHDLoad to correctly the data correctly.

2). Is it enough to simply look for that one MOVEM.L header for the RNC loader? By giving people other clues such as looking for code containing $55555555 (in ascii as 'UUUU') or $dff07e, $dff020, $dff024, you give people a little more understanding as to how to find a loader. Remember not all loaders are RNC, but by giving a little more information you help others to find other loaders in other games. After all, a tutorial is a step toward doing another game

All in all though, a good tutorial that wasn't too 'techy' in its writing and was written so most people with even a basic grasp on coding could achieve.

Perhaps commenting the slave code more would help others to understand.
Galahad/FLT is offline  
Old 17 February 2006, 22:11   #3
Jerry
Registered User
 
Join Date: Mar 2005
Location: Germany
Age: 44
Posts: 210
Nice tutorial Crackersixx. Had a good read.
Jerry is offline  
Old 03 March 2006, 07:46   #4
Anubis
Retro Gamer
 
Anubis's Avatar
 
Join Date: Jan 2005
Location: Underworld
Age: 51
Posts: 4,061
Links where to find/buy tools needed would be helpfull in tutorial. Took me couple hours just to find couple of tools.
Anubis is offline  
Old 03 March 2006, 21:21   #5
Joe Maroni
Moderator
 
Joe Maroni's Avatar
 
Join Date: Feb 2003
Location: Germany
Age: 44
Posts: 1,303
Send a message via MSN to Joe Maroni
tell me what you are missing..
Joe Maroni is offline  
Old 04 March 2006, 01:48   #6
Crackersixx
Registered User
 
Join Date: Nov 2005
Location: Seattle, wa
Age: 50
Posts: 65
Thanks for the feedback guys. I'll be updating the tut with further info from galahad about how the disk layout translates to whdload (which I intended to include in the first place)

I may also host the needed tools on my site as well and just make mention of that in the tutorial.
Crackersixx is offline  
Old 04 March 2006, 10:44   #7
Codetapper
2 contact me: email only!
 
Codetapper's Avatar
 
Join Date: May 2001
Location: Auckland / New Zealand
Posts: 3,182
You should also add the code I sent you about detecting the quitkey while you're at it!
Codetapper is offline  
Old 06 March 2006, 16:43   #8
Anubis
Retro Gamer
 
Anubis's Avatar
 
Join Date: Jan 2005
Location: Underworld
Age: 51
Posts: 4,061
Quote:
Originally Posted by x_to
tell me what you are missing..
Even stuff I found is not the same version like tutorials. (ReSource I have is version 4.0)

Can you put in the zone all of it?
Anubis is offline  
Old 06 March 2006, 21:27   #9
Crackersixx
Registered User
 
Join Date: Nov 2005
Location: Seattle, wa
Age: 50
Posts: 65
Codetapper: I still havent gotten the quitkey functionality to work... Maybe I am hooking a bad location, i dunno, but when i press a key with a breakpoint at my location, the BP does break in.

I've just gotten a new HD for my 1200 and I am installing os3.9 so I have to wait a few more days until I can get back to trying to figure out the rest of the issues on this slave.
Crackersixx is offline  
Old 09 March 2006, 23:04   #10
Wepl
Moderator
 
Wepl's Avatar
 
Join Date: Nov 2001
Location: Germany
Posts: 866
Floppy disk

some comments

there is a macro in ReSource which called 'Disassemble BOOT sector', it directly reads the 2 sectors from disk in df0: and disassembles.
requires that a physical disk is present but would save some steps in the beginning of your example.

in the whdload slave structure you use:
Code:
                dc.l    $80000                  ;ws_BaseMemSize
                ...
_expmem         dc.l    $80000                  ;ws_ExpMem
but later:
Code:
_MemPatch
		move.l	#$80000,d0
		rts
I think this is buggy and must be:
Code:
_MemPatch
		move.l	(_expmem,pc),d0
		rts
cause you have no mem at $80000, you have only chip upto $80000 and expmem somewhere of the length = $80000
or is maybe the expmem anyway not used within this game?

it should be noted, that for sequences like:
Code:
		lea	$70000,a0		;Rob Northen Patch
		move.w	#$4ef9,(a0)+
		pea	_RobNorthenLoader(pc)
		move.l	(sp)+,(a0)+
there are macros in "whdmacros.i" defined which will create the same code by using:
Code:
		patch	$70000,_RobNorthenLoader	;Rob Northen Patch
if you dont use these macros you also dont need to include whdmacros.i
and new whdload versions provide the feature of patch list (resload_Patch) which will make this even more compact

but really nice to see such tutorials hope to see more new slaves soon...
Wepl 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
Tutorial:- Setting up a 4gb CF HDD with Classic Workbench & WHDLoad for Amiga fitzsteve project.ClassicWB 15 17 January 2019 22:38
GfxRip - My Tutorial Dj.Thunder project.Sprites 10 29 December 2012 23:42
OS X eUAE Tutorial ElB support.OtherUAE 3 27 November 2008 22:50
A short tutorial on WHDLoad wanted MelOtt Retrogaming General Discussion 2 07 March 2005 00:17
Protracker Tutorial Paradise Decay Amiga scene 2 16 January 2005 13:15

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 18:51.

Top

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