6502.org Forum  Projects  Code  Documents  Tools  Forum
It is currently Wed Jul 03, 2024 3:52 am

All times are UTC




Post new topic Reply to topic  [ 6 posts ] 
Author Message
PostPosted: Mon Aug 03, 2009 8:56 pm 
Offline

Joined: Mon Aug 03, 2009 6:41 pm
Posts: 2
Hi, I was about to convert some old 6502 source code over to DASM and thought it might be cool to instead use the original tools (this is for an emulation project) if possible.

I grabbed a couple older assemblers off the net but none of the ones I tried were able to handle this particular format and set of directives. From some old doc I found it looks similar to the AMAC Atari Macro Assembler but I wasn't able to try this one.

The code is for a CP/M system that uses a 6502 as its graphics controller. It is circa 1983.

some "fingerprints":

PAGE
ORG
EQU
DB, DW, DS
HIGH / LOW pseudo ops
Hex values suffixed with 'H' vs. prefixed with '$'

The entire source file can be found at
http://bramante.metabarn.com/visual1050/src/DBOOT.ASM

Any other leads on what might have been used?

Thanks.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Mon Aug 03, 2009 9:55 pm 
Offline
User avatar

Joined: Thu Dec 11, 2008 1:28 pm
Posts: 10838
Location: England
could it be tasm?

edit: hmm, no sign of high or low directives.

edit: nice challenge!


Last edited by BigEd on Mon Aug 03, 2009 10:10 pm, edited 1 time in total.

Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Mon Aug 03, 2009 10:02 pm 
Offline

Joined: Fri Jun 27, 2003 8:12 am
Posts: 618
Location: Meadowbrook
almost thought Merlin until the h for hex which is more a pc convention.

_________________
"My biggest dream in life? Building black plywood Habitrails"


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Tue Aug 04, 2009 3:17 pm 
Offline

Joined: Fri Aug 30, 2002 2:05 pm
Posts: 347
Location: UK
Going by the mention of a Z80 in the text and the string of $1A characters at the end of the file making the file up to an exact number of 128 byte blocks I'd say it is one of the CP/M cross assemblers.

Lee.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Tue Aug 04, 2009 7:20 pm 
Offline

Joined: Mon Aug 03, 2009 6:41 pm
Posts: 2
CP/M cross-assemblers were the first suspects but none that I checked out matched. The source file did come off of a CP/M source distribution disk from Visual, so the the trailing ^Zs may just be a remnant of that and not necessarily indicative of the native build environment. Strange that Visual did not notate the build environment they used. Maybe it was home grown (though the Z80 code compiles with vanilla CP/M MAC).


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Tue Aug 04, 2009 8:31 pm 
Offline

Joined: Fri Aug 30, 2002 2:05 pm
Posts: 347
Location: UK
The first CP/M assembler I looked at, MACRO-80, supports all those ops and there is/was a version that could output 6502 code.

Lee.


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

All times are UTC


Who is online

Users browsing this forum: No registered users and 36 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: