English Amiga Board


Go Back   English Amiga Board > Coders > Coders. General

 
 
Thread Tools
Old 27 January 2011, 14:17   #1
MethodGit
Junior Member
 
MethodGit's Avatar
 
Join Date: Dec 2002
Location: The Streets
Age: 39
Posts: 2,731
Need help compiling RNC MC68000 source

There are four different files which seem to give different results upon an assembling attempt through ASM-One (v1.20)...

RNC_1.S = produces the following error:
Code:
Pass 1..
** Illegal Operator
   45   ELSEIF
RNC_1C.S = appears to assemble okay.


RNC_2.S = produces the following error:
Code:
Pass 1..
** Illegal Operator
   233  getrawREP
RNC_2C.S = appears to assemble okay.


So at least two of them can survive an assembling without choking out an error, but how best to compile them? It expects me to give a BEG and END address. Bear in mind I only recently used ASM-One for the Stack Up one-file tutorial, and that source had clear headers to go by ('start' and 'theend'). Here though, I've got nothing in comparison.

Ta.
MethodGit is offline  
Old 27 January 2011, 15:30   #2
StingRay
move.l #$c0ff33,throat
 
StingRay's Avatar
 
Join Date: Dec 2005
Location: Berlin/Joymoney
Posts: 6,863
Quote:
Originally Posted by MethodGit View Post
RNC_1.S = produces the following error:
Code:
Pass 1..
** Illegal Operator
   45   ELSEIF
Change the ELSEIF to ELSE to fix this error.

Quote:
Originally Posted by MethodGit View Post
RNC_2.S = produces the following error:
Code:
Pass 1..
** Illegal Operator
   233  getrawREP
This is a macro IIRC which also has an "ELSEIF" statement, change it to ELSE, if you get another error (if memory serves me right, there are several macros used), change all ELSEIF's to ELSE.
StingRay is offline  
Old 27 January 2011, 18:12   #3
MethodGit
Junior Member
 
MethodGit's Avatar
 
Join Date: Dec 2002
Location: The Streets
Age: 39
Posts: 2,731
Thanks for that. Now........ how best to compile this? At least I *think* they're supposed to be written as binaries. I need a beginning and end field somehow.
MethodGit is offline  
Old 27 January 2011, 18:59   #4
StingRay
move.l #$c0ff33,throat
 
StingRay's Avatar
 
Join Date: Dec 2005
Location: Berlin/Joymoney
Posts: 6,863
Quote:
Originally Posted by MethodGit View Post
how best to compile this?
Compiling will be impossible. You can assemble these sources however!

Quote:
Originally Posted by MethodGit View Post
At least I *think* they're supposed to be written as binaries. I need a beginning and end field somehow.
May I ask what you actually want to do? (Well, I have a "slight" feeling I know it already) To write a binary, just add a label at the beginning of the source and one at the end (e.g. RNC_START; RNC_END). Then assemble the source and use Asm-One's "wb" command (w.rite b.inary), ASM-One will ask for "BEG" and "END", just use the labels you just created here, i.e. BEG = RNC_START, END = RNC_END.
StingRay is offline  
Old 27 January 2011, 20:11   #5
MethodGit
Junior Member
 
MethodGit's Avatar
 
Join Date: Dec 2002
Location: The Streets
Age: 39
Posts: 2,731
Quote:
Originally Posted by StingRay View Post
Compiling will be impossible. You can assemble these sources however!
Ooooh you know what I meant.

Quote:
May I ask what you actually want to do? (Well, I have a "slight" feeling I know it already) To write a binary, just add a label at the beginning of the source and one at the end (e.g. RNC_START; RNC_END). Then assemble the source and use Asm-One's "wb" command (w.rite b.inary), ASM-One will ask for "BEG" and "END", just use the labels you just created here, i.e. BEG = RNC_START, END = RNC_END.
Should I put RNC_START at, say, line 90 of RNC_1.S and RNC_END below the little arrow at the very end of the file?
MethodGit is offline  
Old 31 January 2011, 11:26   #6
MethodGit
Junior Member
 
MethodGit's Avatar
 
Join Date: Dec 2002
Location: The Streets
Age: 39
Posts: 2,731
You still able to suggest anything in regards to labels? Thank you.
MethodGit 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
Do Dojo Dan's RNC chunks use any protection? MethodGit Coders. General 12 31 August 2013 14:43
Ripping the RNC sector loader... h0ffman Coders. General 13 07 September 2011 23:00
RNC IDE CD32 loader Galahad/FLT support.WinUAE 19 24 June 2006 10:05
Compiling Joy2Key source with Lattice???? Rochabian support.Apps 0 12 November 2005 14:20
RNC Data File Depacker v2.1 Nico New to Emulation or Amiga scene 8 05 May 2002 18:05

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 16:08.

Top

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