Ok, its only been 20 odd years since I last looked at any 68000 so bear with me! Some free time to look at things.
I've been trying to re-assemble some of my old code on vasm on my macbook but its throwing the following when hitting the hardware registers.
error 2033 in line 2435 of "GAME_20.S": absolute short address out of range
> move.w #$222,$fffff8248.w
And various other similar ones.
The commandline looks fine - vasmm68k_mot -nocase -devpac -Ftos -m68000 -o game.prg GAME_20.S
Anywhere else I can check? Obviously this all worked on devpac.
Thanks.
Vasm errors
Moderators: simonsunnyboy, Mug UK, Zorro 2, Moderator Team
- prog99
- Obsessive compulsive Atari behavior
- Posts: 122
- Joined: Thu Jun 19, 2003 8:08 pm
- Location: Edinburgh
- Contact:
Vasm errors
All my real skills are undervalued
Re: Vasm errors
Hi,xerud wrote:Ok, its only been 20 odd years since I last looked at any 68000 so bear with me! Some free time to look at things.
I've been trying to re-assemble some of my old code on vasm on my macbook but its throwing the following when hitting the hardware registers.
error 2033 in line 2435 of "GAME_20.S": absolute short address out of range
> move.w #$222,$fffff8248.w
And various other similar ones.
The commandline looks fine - vasmm68k_mot -nocase -devpac -Ftos -m68000 -o game.prg GAME_20.S
Anywhere else I can check? Obviously this all worked on devpac.
Thanks.
I think you have too many "f"s in there -- 5 rather than 4, so vasm is thinking that it's bigger than a 32-bit value.
Re: Vasm errors
Hi,xerud wrote: error 2033 in line 2435 of "GAME_20.S": absolute short address out of range
> move.w #$222,$fffff8248.w
if it's not a typo in this forum, then you have 5 'f' instead of '4' in your $ffff8248, so vasm will complain about this (devpac throwed away extra 'f')
Nicolas
- prog99
- Obsessive compulsive Atari behavior
- Posts: 122
- Joined: Thu Jun 19, 2003 8:08 pm
- Location: Edinburgh
- Contact:
Re: Vasm errors
Haha! Yes, it was as simple as that. Amazing what devpac let you away with.
Thanks.
Thanks.
All my real skills are undervalued