6502.org Forum  Projects  Code  Documents  Tools  Forum
It is currently Fri Nov 01, 2024 1:33 am

All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Sat Nov 08, 2003 12:45 pm 
Offline

Joined: Tue Dec 10, 2002 11:00 am
Posts: 16
Location: West Yorkshire, UK
Hi,
Has anyone managed to get Andre Fachat's "XA65" assembler to produce a binary file?
I'm trying to write an OS loader for my 6502 computer project. The catch is, I can't see how to get xa65 to produce a raw binary file as output. ATM it seems to be producing C64 PRG files.

Thanks.
Phil.

_________________
Phil "Philpem" Pemberton
http://www.philpem.me.uk/


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Thu Nov 13, 2003 7:28 pm 
Offline

Joined: Wed Sep 04, 2002 4:08 pm
Posts: 57
Location: Iowa
I'm not 100% certain of this, but I believe that the C64's PRG format simply allows for the start address of the program to be specified in the first two bytes (this is the address where the program is to be loaded in memory, not necessarily the start vector for the program). Following these two bytes is a raw binary image of the program, suitable for EPROM programming or whatever. If you can't figure out how to get the assembler to do a raw binary, simply strip these two bytes off the front of your program in a hex editor.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Mon Nov 24, 2003 12:10 pm 
Offline

Joined: Wed Jun 04, 2003 2:13 pm
Posts: 10
Location: Poland
Look at http://www.atariarea.histeria.pl/x-asm/
It's good atari xl assembler for DOS , but ca generate binary files good as rom , and can fill area between 2 orgs !
I use it to assembly my rom files


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 28 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: