6502.org Forum  Projects  Code  Documents  Tools  Forum
It is currently Fri Nov 22, 2024 11:12 am

All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Wed Mar 29, 2017 6:00 pm 
Offline

Joined: Wed Mar 29, 2017 5:37 pm
Posts: 1
Programming novice with nil EE background (but lots of working experience with EE's and Programmers in the past) looking for assistance for eprom encoding after 2500AD cross assembling code. In the past we had used older 8088 computers with eprom burners - but those boxes are no longer working...now using another legacy system eprom burner and that's where most of my experience ends - need help with converting .obj files to Intel HEX code, and start address, etc.


Top
 Profile  
Reply with quote  
PostPosted: Wed Mar 29, 2017 6:28 pm 
Offline
User avatar

Joined: Wed Mar 01, 2017 8:54 pm
Posts: 660
Location: North-Germany
First: welcome!

Second: If you have the assembler sources (*.asm), you should be able to generate *.hex with your assembler. Either there are settings to do this or you need to add a line (at the beginning) to the asm source, something like " OPT HEX " (starting with a space or tab). Their are probably other OPTion settings like LIS, TTL...

Third: I have no idea whether it is possible to convert your .obj files to .hex.

Fo(u)rth: Good Luck :)


Top
 Profile  
Reply with quote  
PostPosted: Wed Mar 29, 2017 8:09 pm 
Offline
User avatar

Joined: Fri Aug 30, 2002 1:09 am
Posts: 8543
Location: Southern California
Welcome!

The 2500AD assembler uses a linker to convert the .OBJ file to .HEX. When I used it in the late 1980's, it was another man I was working with who got the linker going (after some calls to 2500AD, a process which was not without some consternation), and I just used his batch file directly and later as a template to make minor mods to. It went like this:
Code:
REM **** Batch file to assemble and link the 65C02 code ****
REM **** Input file name: M.ASM
C:\<directory>\X6502 M
C:\<directory>\LINK -c M -l0 -l0

where "<directory>" gets replaced with wherever you have the 2500AD software. Our "M.ASM" source code and output files were in the same directory where this batch file was.

_________________
http://WilsonMinesCo.com/ lots of 6502 resources
The "second front page" is http://wilsonminesco.com/links.html .
What's an additional VIA among friends, anyhow?


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 15 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: