25 November 2009, 13:12 | #181 |
Natteravn
Join Date: Nov 2009
Location: Herford / Germany
Posts: 2,496
|
You're right. I didn't look at the source. But then I want to know why it crashed at first. Maybe Jason can do a binary-compare of the two executables...
|
25 November 2009, 13:32 | #182 | |
Registered User
Join Date: Aug 2004
Location: 19 Jump Street
Posts: 238
|
Quote:
The filesizes are different and there's too many changes between the files to know where to look. What I can see from a quick search is that the opcode $4e7a0801 appears in both executables at almost the same offsets so it's clear there's something else causing the crash. |
|
25 November 2009, 14:19 | #183 |
move.l #$c0ff33,throat
Join Date: Dec 2005
Location: Berlin/Joymoney
Posts: 6,863
|
I checked, problem is this:
Code:
tst.l a0 |
25 November 2009, 14:42 | #184 | |
Natteravn
Join Date: Nov 2009
Location: Herford / Germany
Posts: 2,496
|
Quote:
So it was just luck when assembling with the original Devpac, which doesn't perform that much optimizations. To be on the safe side I would suggest to switch to 68020 mode for the movec only: Code:
opt p=68020 movec vbr,d0 opt p=68000 |
|
25 November 2009, 14:46 | #185 | |
gone
Join Date: Apr 2007
Location: completely gone
Posts: 1,596
|
Out of interest StingRay - what does tst.l a0 get optimised to on 68020+ that dies on 68000?
Quote:
Last edited by pmc; 25 November 2009 at 15:17. Reason: Changed to a more worthwhile post. :-) |
|
25 November 2009, 15:57 | #186 |
move.l #$c0ff33,throat
Join Date: Dec 2005
Location: Berlin/Joymoney
Posts: 6,863
|
tst.l ax is not a valid 68000 instruction (which is why it crashes on 68000). On 68000 you would have to do cmp.l #0,ax (which is the original code in the replayer init) or move.l ax,dx.
|
25 November 2009, 16:02 | #187 |
gone
Join Date: Apr 2007
Location: completely gone
Posts: 1,596
|
Oh OK - yeah, I should know that really!
Thanks StingRay. |
30 November 2009, 15:11 | #188 |
Posts: n/a
|
Hi All,
Wow, seeing all the old 68k code is great, never knew a site like this existed. Keep up the good work, look forward to seeing the finished product.. |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
what demo would you like to see re-made | psygnosis | request.Demos | 2 | 26 July 2013 23:42 |
Another old skool intro for you | pmc | Coders. Tutorials | 20 | 15 February 2010 15:27 |
Made a new (!) Scoopex demo called 'Blitter Sweet' | Photon | Coders. General | 43 | 12 October 2008 14:35 |
Help!! Who made this demo ??? | Kristian95 | request.Demos | 11 | 26 April 2007 16:54 |
Best Old-Skool RTS? | Cam | Nostalgia & memories | 39 | 08 November 2002 22:45 |
|
|