04 October 2018, 22:58 | #21 |
Registered User
Join Date: Nov 2017
Location: france
Posts: 109
|
Problem solved.
- Create a table with all data length to read - Modify Trackloader to get the good information in this table (with D0 that indicated now the position in this table.) Tested, work good for All my trackloader call Code:
ASL.W #3,D0 ; D0=D0*8 LEA $2C4,A2 ; A2=$2C4 ADD.L D0,A2 ; Move good position in table MOVE.W (A2)+,D1 ; Get 'Start track' MOVE.L (A2),D0 ; Get 'Data Length to read' |
05 October 2018, 09:14 | #22 |
move.l #$c0ff33,throat
Join Date: Dec 2005
Location: Berlin/Joymoney
Posts: 6,863
|
Make sure d0 doesn't contain any random data in the high word as otherwise your add.l d0,a2 instruction won't lead to the desired result. Also: lea $2c4.w,a2 (you need small code, you should use the smallest possible instructions).
|
05 October 2018, 10:43 | #23 |
Defendit numerus
Join Date: Mar 2017
Location: Crossing the Rubicon
Age: 53
Posts: 4,468
|
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
REQ:ASM Trackloader | spud | Coders. Tutorials | 9 | 16 August 2018 11:11 |
Juggler movie demo v2.0 BYTE by BYTE! | TjLaZer | support.Demos | 3 | 30 November 2017 12:06 |
Google Search 404 error | DH | project.EAB | 6 | 07 November 2017 15:52 |
Wonderful world trackloader demo | dottyflowers | request.Demos | 1 | 23 May 2016 00:41 |
HOL -404 error- | amigamemo | HOL suggestions and feedback | 2 | 21 March 2007 01:19 |
|
|