creating hex files for the 6502
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 PresentationTRANSCRIPT
![Page 1: Creating HEX files for the 6502](https://reader034.vdocuments.site/reader034/viewer/2022050909/56815937550346895dc672ba/html5/thumbnails/1.jpg)
Creating HEX files for the 6502
Using the ADX-65 Cross Assembler
![Page 2: Creating HEX files for the 6502](https://reader034.vdocuments.site/reader034/viewer/2022050909/56815937550346895dc672ba/html5/thumbnails/2.jpg)
•Double click on the Avocet Wide icon on your desktop
![Page 3: Creating HEX files for the 6502](https://reader034.vdocuments.site/reader034/viewer/2022050909/56815937550346895dc672ba/html5/thumbnails/3.jpg)
•Double click on the Avocet Wide icon on your desktop
![Page 4: Creating HEX files for the 6502](https://reader034.vdocuments.site/reader034/viewer/2022050909/56815937550346895dc672ba/html5/thumbnails/4.jpg)
•Create a new project file
![Page 5: Creating HEX files for the 6502](https://reader034.vdocuments.site/reader034/viewer/2022050909/56815937550346895dc672ba/html5/thumbnails/5.jpg)
•Select Project>>New from the toolbar
![Page 6: Creating HEX files for the 6502](https://reader034.vdocuments.site/reader034/viewer/2022050909/56815937550346895dc672ba/html5/thumbnails/6.jpg)
•Navigate to c:\WIDE\ASMfiles
![Page 7: Creating HEX files for the 6502](https://reader034.vdocuments.site/reader034/viewer/2022050909/56815937550346895dc672ba/html5/thumbnails/7.jpg)
•Select default.prj
![Page 8: Creating HEX files for the 6502](https://reader034.vdocuments.site/reader034/viewer/2022050909/56815937550346895dc672ba/html5/thumbnails/8.jpg)
•Select default.prj•Save if the program ask you to
![Page 9: Creating HEX files for the 6502](https://reader034.vdocuments.site/reader034/viewer/2022050909/56815937550346895dc672ba/html5/thumbnails/9.jpg)
•Click on Create a new asm file
![Page 10: Creating HEX files for the 6502](https://reader034.vdocuments.site/reader034/viewer/2022050909/56815937550346895dc672ba/html5/thumbnails/10.jpg)
•Now go to the program of your choice, on our website
![Page 11: Creating HEX files for the 6502](https://reader034.vdocuments.site/reader034/viewer/2022050909/56815937550346895dc672ba/html5/thumbnails/11.jpg)
•NOTE: The following steps must be done exactly in the fashion shown here
![Page 12: Creating HEX files for the 6502](https://reader034.vdocuments.site/reader034/viewer/2022050909/56815937550346895dc672ba/html5/thumbnails/12.jpg)
•To copy text, right click on mouse and choose Select All
![Page 13: Creating HEX files for the 6502](https://reader034.vdocuments.site/reader034/viewer/2022050909/56815937550346895dc672ba/html5/thumbnails/13.jpg)
•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](https://reader034.vdocuments.site/reader034/viewer/2022050909/56815937550346895dc672ba/html5/thumbnails/14.jpg)
•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](https://reader034.vdocuments.site/reader034/viewer/2022050909/56815937550346895dc672ba/html5/thumbnails/15.jpg)
•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](https://reader034.vdocuments.site/reader034/viewer/2022050909/56815937550346895dc672ba/html5/thumbnails/16.jpg)
•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](https://reader034.vdocuments.site/reader034/viewer/2022050909/56815937550346895dc672ba/html5/thumbnails/17.jpg)
•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](https://reader034.vdocuments.site/reader034/viewer/2022050909/56815937550346895dc672ba/html5/thumbnails/18.jpg)
•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](https://reader034.vdocuments.site/reader034/viewer/2022050909/56815937550346895dc672ba/html5/thumbnails/19.jpg)
•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](https://reader034.vdocuments.site/reader034/viewer/2022050909/56815937550346895dc672ba/html5/thumbnails/20.jpg)
•Change Files of type: C Source Files (*.c) to
![Page 21: Creating HEX files for the 6502](https://reader034.vdocuments.site/reader034/viewer/2022050909/56815937550346895dc672ba/html5/thumbnails/21.jpg)
•Change Files of type: C Source Files (*.c) to ASM Source files (*asm)
![Page 22: Creating HEX files for the 6502](https://reader034.vdocuments.site/reader034/viewer/2022050909/56815937550346895dc672ba/html5/thumbnails/22.jpg)
•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](https://reader034.vdocuments.site/reader034/viewer/2022050909/56815937550346895dc672ba/html5/thumbnails/23.jpg)
•Repeat the last couple of steps to add the file c:\WIDE\X6502\t6502.asm
![Page 24: Creating HEX files for the 6502](https://reader034.vdocuments.site/reader034/viewer/2022050909/56815937550346895dc672ba/html5/thumbnails/24.jpg)
•Click on the LNK button on the tool bar
![Page 25: Creating HEX files for the 6502](https://reader034.vdocuments.site/reader034/viewer/2022050909/56815937550346895dc672ba/html5/thumbnails/25.jpg)
•Click on the LNK button on the tool bar
![Page 26: Creating HEX files for the 6502](https://reader034.vdocuments.site/reader034/viewer/2022050909/56815937550346895dc672ba/html5/thumbnails/26.jpg)
•This is the linking file
![Page 27: Creating HEX files for the 6502](https://reader034.vdocuments.site/reader034/viewer/2022050909/56815937550346895dc672ba/html5/thumbnails/27.jpg)
•You need to have the input & output files match your *.asm file name
![Page 28: Creating HEX files for the 6502](https://reader034.vdocuments.site/reader034/viewer/2022050909/56815937550346895dc672ba/html5/thumbnails/28.jpg)
•You need to have the input & output files match your *.asm file name
![Page 29: Creating HEX files for the 6502](https://reader034.vdocuments.site/reader034/viewer/2022050909/56815937550346895dc672ba/html5/thumbnails/29.jpg)
•Click on the build icon
![Page 30: Creating HEX files for the 6502](https://reader034.vdocuments.site/reader034/viewer/2022050909/56815937550346895dc672ba/html5/thumbnails/30.jpg)
•Click on the build icon
![Page 31: Creating HEX files for the 6502](https://reader034.vdocuments.site/reader034/viewer/2022050909/56815937550346895dc672ba/html5/thumbnails/31.jpg)
•Check your Output window for file names & errors
![Page 32: Creating HEX files for the 6502](https://reader034.vdocuments.site/reader034/viewer/2022050909/56815937550346895dc672ba/html5/thumbnails/32.jpg)
•Check your Output window for file names & errors
![Page 33: Creating HEX files for the 6502](https://reader034.vdocuments.site/reader034/viewer/2022050909/56815937550346895dc672ba/html5/thumbnails/33.jpg)
•Follow instruction for the EMP-21•Your *.hex file is in c:\WIDE\ASMfiles\
![Page 34: Creating HEX files for the 6502](https://reader034.vdocuments.site/reader034/viewer/2022050909/56815937550346895dc672ba/html5/thumbnails/34.jpg)
THEEND