Presentation is loading. Please wait.

Presentation is loading. Please wait.

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

Similar presentations


Presentation on theme: "Creating HEX files for the 6502 Using the ADX-65 Cross Assembler."— Presentation transcript:

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

2 Double click on the Avocet Wide icon on your desktop

3

4 Create a new project file

5 Select Project>>New from the toolbar

6 Navigate to c:\WIDE\ASMfiles

7 Select default.prj

8 Save if the program ask you to

9 Click on Create a new asm file

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

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

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

13 If you just sweep the text with your mouse to highlight the text, the copying might not work right

14 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

15 If the lines: DEFSEG XASMSEG, ABSOLUTE SEG XASMSEG Appear above the line: org $f000 In the beginning of the program, then delete it

16 If the lines: DEFSEG XASMSEG, ABSOLUTE SEG XASMSEG Appear above the line: org $f000 In the beginning of the program, then delete it

17 If the lines: DEFSEG XASMSEG, ABSOLUTE SEG XASMSEG Appear above the line: org $f000 In the beginning of the program, then delete it Save your asm file with a better name

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

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

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

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

22 Select your asm file (save all *.asm files under c:\WIDE\ASMfiles\...)

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

24 Click on the LNK button on the tool bar

25

26 This is the linking file

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

28

29 Click on the build icon

30

31 Check your Output window for file names & errors

32

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

34 THE END


Download ppt "Creating HEX files for the 6502 Using the ADX-65 Cross Assembler."

Similar presentations


Ads by Google