Menu

#436 mos6502 24bit address

None
closed-accepted
None
5
2024-12-07
2022-06-17
No

The new mos6502 port currently uses 16-bit addresses for memory locations output to .o files.

This is a discrepancy compared to the other CPU targets, which all seem to be using 24-bit addressing. And it prevents using banking utilities that take advantage of these extra upper 8 bits.

The mos6502 target can be easily changed to use 24-bit addresses by running the same "exprmasks(3);" statement in minit as for other ports. I have attached a patch which does this.

1 Attachments

Discussion

  • Benedikt Freisen

    Review note for port maintainer: This patch adds a single line of code.

     
  • Gabriele Gorla

    Gabriele Gorla - 2023-11-29

    checked in [r14473]

     

    Related

    Commit: [r14473]


    Last edit: Maarten Brock 2023-11-29
  • Gabriele Gorla

    Gabriele Gorla - 2023-11-29
    • status: open --> pending-fixed
    • assigned_to: Gabriele Gorla
    • Group: -->
     
  • Gabriele Gorla

    Gabriele Gorla - 2024-12-07
    • status: pending-fixed --> closed-fixed
     
  • Gabriele Gorla

    Gabriele Gorla - 2024-12-07
    • status: closed-fixed --> closed-accepted
     

Log in to post a comment.

MongoDB Logo MongoDB