English Amiga Board


Go Back   English Amiga Board > Coders > Coders. General

 
 
Thread Tools
Old 11 November 2011, 14:56   #1
VoltureX
Registered User
 
VoltureX's Avatar
 
Join Date: Sep 2011
Location: Denmark
Posts: 175
Undefined symbol bsr.b init_bitmaps

I have problems assemble an intro code I have downloaded.

It says Undefined symbol in line: bsr.b init_bitmaps.

Can anyone explain me what that means?

Thanks

Volt.

PS: I'm using ASMPro v1.17
VoltureX is offline  
Old 11 November 2011, 15:02   #2
WayneK
Registered User
 
Join Date: May 2004
Location: Somewhere secret
Age: 50
Posts: 364
It means there is no routine called "init_bitmaps" in the source. Check to see there isn't a typo or case-sensitivity problem (Init_bitmaps != init_bitmaps, depending on your asm-pro settings).
WayneK is offline  
Old 11 November 2011, 16:21   #3
VoltureX
Registered User
 
VoltureX's Avatar
 
Join Date: Sep 2011
Location: Denmark
Posts: 175
That worked, thanks.

I have run into another error while assembling.

Undefined symbol:
clr.w p60_play

Is that the same stuff maybe?

...and what's the difference between pass 1 & 2?

I also get this illegal operator in a code:
opt c-,ow-,o+

Thanks.

Last edited by VoltureX; 11 November 2011 at 16:29.
VoltureX is offline  
Old 11 November 2011, 18:04   #4
pmc
gone
 
pmc's Avatar
 
Join Date: Apr 2007
Location: completely gone
Posts: 1,596
First issue is the same thing as before, p60_play will more than likely be case sensitive so has to match.

Second issue is that the opts are Devpac assembly options which won't mean anything to AsmOne - just comment them out
pmc is offline  
Old 11 November 2011, 19:03   #5
VoltureX
Registered User
 
VoltureX's Avatar
 
Join Date: Sep 2011
Location: Denmark
Posts: 175
Thanks

Another question.

That case sensitiveness is that across all files running this routine?

and...

What does this mean:

** Reserved Word

VBR rs.l 1

Thanks.

Last edited by VoltureX; 11 November 2011 at 19:24.
VoltureX is offline  
Old 11 November 2011, 19:41   #6
pmc
gone
 
pmc's Avatar
 
Join Date: Apr 2007
Location: completely gone
Posts: 1,596
Case sensitivity is the norm. In Devpac, there's an option to turn it off. I'm not sure if there's an equivalent for AsmOne although I wouldn't be surprised if there is - I just don't know what it is I'm afraid because I don't often use it.

Code:
VBR     rs.l     1
means that there is a longword's worth of space reserved as part of an rsreset structure. In this case, the longword is reserved so it's available to store the address of the V ector B ase R egister.
pmc is offline  
Old 11 November 2011, 20:05   #7
VoltureX
Registered User
 
VoltureX's Avatar
 
Join Date: Sep 2011
Location: Denmark
Posts: 175
Can you explain me what I do to such an error with: VBR rs.l 1 ?

Last edited by VoltureX; 11 November 2011 at 20:25.
VoltureX is offline  
Old 11 November 2011, 20:29   #8
pmc
gone
 
pmc's Avatar
 
Join Date: Apr 2007
Location: completely gone
Posts: 1,596
It sounds like the assembler is complaining that someone has used vbr as a label when the mnemonic vbr is reserved to indicate the vbr register.

The only way to fix it is to change the vbr label to something else like vbr_address for example.

However, if you did this you would also have to change any code that used that label so that it used your replacement vbr_address label instead.
pmc is offline  
Old 11 November 2011, 21:49   #9
VoltureX
Registered User
 
VoltureX's Avatar
 
Join Date: Sep 2011
Location: Denmark
Posts: 175
Thank you very much for your help. That helped me understand some of the bugs I have encountered so far in downloaded source codes.

I will get back later I guess when I try program stuff my self or put re-programmed code together.

Regards

Volt.
VoltureX is offline  
Old 12 November 2011, 01:55   #10
matthey
Banned
 
Join Date: Jan 2010
Location: Kansas
Posts: 1,284
Quote:
Originally Posted by VoltureX View Post
I also get this illegal operator in a code:
opt c-,ow-,o+
Thanks.
opt c- turns off case sensitive
opt ow- disables all opt. warnings
opt o+ enables all optimizations

See page 103 of the Devpac Manual for Devpac options...

http://www.heywheel.com/matthey/Amiga/Devpac3Manual.pdf
matthey is offline  
Old 12 November 2011, 02:18   #11
VoltureX
Registered User
 
VoltureX's Avatar
 
Join Date: Sep 2011
Location: Denmark
Posts: 175
arh kewl, that makes sence Thanks!

Is devpac better/easier than ASM-Pro and ASM-One?

Regards

Volt.
VoltureX is offline  
Old 12 November 2011, 05:21   #12
matthey
Banned
 
Join Date: Jan 2010
Location: Kansas
Posts: 1,284
Quote:
Originally Posted by VoltureX View Post
Is devpac better/easier than ASM-Pro and ASM-One?
I haven't used either very much but Devpac looks better and easier to me. I think the interface is more logical and consistent. Devpac probably has less bugs and better support for newer processors as well. The editor and debugger come down to what you like and what you are used to. There are very loyal and opinionated users of both.

Personally, I use Frank Wille's vasm (free successor to PhxAss), CED (with Arexx assemble script) and bdebug (debugger from the Barfly package on Aminet). Vasm is big and slow for low end Amigas but it's currently developed, has the best optimizations and supports most Amiga assembler commands including Devpac. I'm also helping to debug and develop it to work better as a disassembler + re-assembler I'm working on (slowly)...

http://www.heywheel.com/matthey/Amiga/ADis.lha
matthey is offline  
Old 13 November 2011, 16:11   #13
VoltureX
Registered User
 
VoltureX's Avatar
 
Join Date: Sep 2011
Location: Denmark
Posts: 175
Thanks for your help Matthey. I will stick with ASM-Pro for now but could be looking into your suggestions at a later point.

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
bsr.l on 68000 doesn't crash StingRay support.WinUAE 5 22 September 2012 21:43
AsmOne: Undefined symbol copse Coders. Asm / Hardware 2 02 April 2012 01:41
clr.b -(SP) followed by bsr... Photon Coders. General 19 18 January 2011 22:42
68040 MMU jsr/bsr Toni Wilen Coders. General 5 28 April 2010 20:57
OS 3.9 Euro Symbol and Unarc fc.studio support.Apps 1 01 January 2008 12:08

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

Top

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