Skip to content

Bank [idbank] does not work correctly with ram bank #132

@jedeoric

Description

@jedeoric

use this table :

        ;  setTbl:
        ;      ; Utilisation de la table (0 <= bankid <= 63)
        ;      ;
        ;      ; ldx    bankid
        ;      ; lda    setTbl,x

        ;     ; Rom
        ;      .byte    0,0,0,0
        ;      .byte    4,4,4,4
        ;      .byte    1,1,1,1
        ;      .byte    5,5,5,5
        ;      .byte    2,2,2,2
        ;      .byte    6,6,6,6
        ;      .byte    3,3,3,3
        ;      .byte    7,7,7,7

        ;      ; Ram
        ;      .byte    0,0,0,0
        ;      .byte    1,1,1,1
        ;      .byte    2,2,2,2
        ;      .byte    3,3,3,3
        ;      .byte    4,4,4,4
        ;      .byte    5,5,5,5
        ;      .byte    6,6,6,6
        ;      .byte    7,7,7,7


        ;  bankTbl:
        ;      ; Utilisation de la table (0 <= bankid <= 63)
        ;      ;
        ;      ; ldx    bankid
        ;      ; lda    bankTbl,x

        ;      ; Rom
        ;      .byte    1,2,3,4
        ;      .byte    1,2,3,4
        ;      .byte    1,2,3,4
        ;      .byte    1,2,3,4
        ;      .byte    1,2,3,4
        ;      .byte    1,2,3,4
        ;      .byte    1,2,3,4
        ;      .byte    1,2,3,4

        ;      ; Ram
        ;      .byte    1,2,3,4
        ;      .byte    1,2,3,4
        ;      .byte    1,2,3,4
        ;      .byte    1,2,3,4
        ;      .byte    1,2,3,4
        ;      .byte    1,2,3,4
        ;      .byte    1,2,3,4
        ;      .byte    1,2,3,4

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions