1 / 34

Creating HEX files for the 6502

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:WIDEASMfiles.

gad
Download Presentation

Creating HEX files for the 6502

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

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. Double click on the Avocet Wide icon on your desktop

  4. Create a new project file

  5. Select Project>>New from the toolbar

  6. Navigate to c:\WIDE\ASMfiles

  7. Select default.prj

  8. Select default.prj • 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. 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

  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. 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\...)

  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. Click on the LNK button on the tool bar

  26. This is the linking file

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

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

  29. Click on the build icon

  30. Click on the build icon

  31. Check your Output window for file names & errors

  32. Check your Output window for file names & errors

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

  34. THE END

More Related