![]() |
![]() |
#1 |
Registered User
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 |
![]() |
![]() |
#2 |
Registered User
Join Date: May 2004
Location: Somewhere secret
Age: 49
Posts: 359
|
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).
|
![]() |
![]() |
#3 |
Registered User
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. |
![]() |
![]() |
#4 |
gone
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 ![]() |
![]() |
![]() |
#5 |
Registered User
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. |
![]() |
![]() |
#6 |
gone
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 |
![]() |
![]() |
#7 |
Registered User
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. |
![]() |
![]() |
#8 |
gone
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. |
![]() |
![]() |
#9 |
Registered User
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. ![]() |
![]() |
![]() |
#10 | |
Banned
Join Date: Jan 2010
Location: Kansas
Posts: 1,284
|
Quote:
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 |
|
![]() |
![]() |
#11 |
Registered User
Join Date: Sep 2011
Location: Denmark
Posts: 175
|
arh kewl, that makes sence
![]() Is devpac better/easier than ASM-Pro and ASM-One? Regards Volt. |
![]() |
![]() |
#12 |
Banned
Join Date: Jan 2010
Location: Kansas
Posts: 1,284
|
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 |
![]() |
![]() |
#13 |
Registered User
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. |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
![]() |
||||
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 |
|
|