English Amiga Board

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

Thread Tools
Old 22 November 2012, 13:10   #1
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?


VoltureX is offline  
Old 22 November 2012, 18:09   #2
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).

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

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 14:14
More Questions Macca project.ClassicWB 9 25 May 2008 10:24
Questions... Jeeva Amiga scene 5 04 April 2008 23:45
Two questions Drakon request.Old Rare Games 7 19 November 2002 19:33
A few questions! One1 New to Emulation or Amiga scene 2 30 October 2002 17: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 20:25.

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