English Amiga Board


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

 
 
Thread Tools
Old 22 November 2012, 14:10   #1
VoltureX
Registered User
VoltureX's Avatar
 
Join Date: Sep 2011
Location: Denmark
Posts: 165
Some questions from a newbier

I have found an old code for a starfield I'm trying to learn a bit from.

The problem is that it's made for the A500 I think and won't run on my A1200 without some adjustments.

The 1st line shows an error when assembling the code.

move.w #$4000,$dff09a

Could someone explain why I can't compile this line with ASM Pro on my A1200?

Maybe the registers are different on an A1200.

What should I replace this string with and why?

Thanks

Volt.
VoltureX is offline  
Old 22 November 2012, 19:09   #2
DrCinicus
Registered User

 
Join Date: Oct 2008
Location: Assemini/Italy
Age: 46
Posts: 18
The code is correct. Probably (you did not write the error message ) the move.w is attached to the left margin and the AsmPro interpret this as a label name. Try putting a space or a tab before the instruction, or in the preferences select "Label:".

Moreover the AsmPro has the syntax highlight function so the Label and the instruction have different color in the editor (IIRC blue for labels and black for instructions).

Bye
Fabio
DrCinicus is offline  
Old 22 November 2012, 19:58   #3
VoltureX
Registered User
VoltureX's Avatar
 
Join Date: Sep 2011
Location: Denmark
Posts: 165
Thanks Fabio. It was the problem. Back to studying

Volt.
VoltureX 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
A few questions Muzer project.ClassicWB 10 12 September 2009 15:14
More Questions Macca project.ClassicWB 9 25 May 2008 11:24
Questions... Jeeva Amiga scene 5 05 April 2008 00:45
Two questions Drakon request.Old Rare Games 7 19 November 2002 20:33
A few questions! One1 New to Emulation or Amiga scene 2 30 October 2002 18:41

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


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