creating hex files for the 6502

34
Creating HEX files for the 6502 Using the ADX-65 Cross Assembler

Upload: gad

Post on 02-Feb-2016

45 views

Category:

Documents


0 download

DESCRIPTION

Creating HEX files for the 6502. Using the ADX-65 Cross Assembler. Double click on the Avocet Wide icon on your desktop. Double click on the Avocet Wide icon on your desktop. Create a new project file. Select Project>>New from the toolbar. Navigate to c:\WIDE\ASMfiles. - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Creating HEX files for the 6502

Creating HEX files for the 6502

Using the ADX-65 Cross Assembler

Page 2: Creating HEX files for the 6502

•Double click on the Avocet Wide icon on your desktop

Page 3: Creating HEX files for the 6502

•Double click on the Avocet Wide icon on your desktop

Page 4: Creating HEX files for the 6502

•Create a new project file

Page 5: Creating HEX files for the 6502

•Select Project>>New from the toolbar

Page 6: Creating HEX files for the 6502

•Navigate to c:\WIDE\ASMfiles

Page 7: Creating HEX files for the 6502

•Select default.prj

Page 8: Creating HEX files for the 6502

•Select default.prj•Save if the program ask you to

Page 9: Creating HEX files for the 6502

•Click on Create a new asm file

Page 10: Creating HEX files for the 6502

•Now go to the program of your choice, on our website

Page 11: Creating HEX files for the 6502

•NOTE: The following steps must be done exactly in the fashion shown here

Page 12: Creating HEX files for the 6502

•To copy text, right click on mouse and choose Select All

Page 13: Creating HEX files for the 6502

•To copy text, right click on mouse and choose Select All•If you just sweep the text with your mouse to highlight the text, the copying might not work right

Page 14: Creating HEX files for the 6502

•To copy text, right click on mouse and choose Select All•If you just sweep the text with your mouse to highlight the text, the copying will not work right•In the blank asm file window, paste your text

Page 15: Creating HEX files for the 6502

•If the lines:

DEFSEG XASMSEG, ABSOLUTESEG XASMSEG

•Appear above the line:

org $f000

•In the beginning of the program, then delete it

Page 16: Creating HEX files for the 6502

•If the lines:

DEFSEG XASMSEG, ABSOLUTESEG XASMSEG

•Appear above the line:

org $f000

•In the beginning of the program, then delete it

Page 17: Creating HEX files for the 6502

•If the lines:

DEFSEG XASMSEG, ABSOLUTESEG XASMSEG

•Appear above the line:

org $f000

•In the beginning of the program, then delete it•Save your asm file with a better name

Page 18: Creating HEX files for the 6502

•Now we need to add files to our project•Right click on Source Files within the project window

Page 19: Creating HEX files for the 6502

•Now we need to add files to our project•Right click on Source Files within the project window and select Add Files..

Page 20: Creating HEX files for the 6502

•Change Files of type: C Source Files (*.c) to

Page 21: Creating HEX files for the 6502

•Change Files of type: C Source Files (*.c) to ASM Source files (*asm)

Page 22: Creating HEX files for the 6502

•Change Files of type: C Source Files (*.c) to ASM Source files (*asm) •Select your asm file (save all *.asm files under c:\WIDE\ASMfiles\...)

Page 23: Creating HEX files for the 6502

•Repeat the last couple of steps to add the file c:\WIDE\X6502\t6502.asm

Page 24: Creating HEX files for the 6502

•Click on the LNK button on the tool bar

Page 25: Creating HEX files for the 6502

•Click on the LNK button on the tool bar

Page 26: Creating HEX files for the 6502

•This is the linking file

Page 27: Creating HEX files for the 6502

•You need to have the input & output files match your *.asm file name

Page 28: Creating HEX files for the 6502

•You need to have the input & output files match your *.asm file name

Page 29: Creating HEX files for the 6502

•Click on the build icon

Page 30: Creating HEX files for the 6502

•Click on the build icon

Page 31: Creating HEX files for the 6502

•Check your Output window for file names & errors

Page 32: Creating HEX files for the 6502

•Check your Output window for file names & errors

Page 33: Creating HEX files for the 6502

•Follow instruction for the EMP-21•Your *.hex file is in c:\WIDE\ASMfiles\

Page 34: Creating HEX files for the 6502

THEEND