Define fields without creating output.

Create issue
Issue #1 resolved
Laurens Holst repo owner created an issue

Creepy writes:

How can you define fields without creating output (to point to variabels in RAM when creating a ROM)? Sjasm uses # for that, tniasm uses RB.

Comments (4)

  1. Laurens Holst reporter

    Idea:

    ds 4000H,VIRTUAL
    

    Could be combined with a SECTION block:

        org 4000H
    ROM_PAGE1: ds 2000H
    ROM_PAGE2: ds 2000H
    ROM_PAGE3: ds 2000H
    ROM_PAGE4: ds 2000H
    RAM: ds 3000H,VIRTUAL
    
        SECTION ROM_PAGE1
    SetValue:
        ld (value),a
        ret
    
        SECTION RAM
    value: db 0
        ENDS
        ENDS
    
  2. Log in to comment